docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"<",
"p",
">",
"when",
"the",
"<",
"code",
">",
"string",
"set",
"value",
"<",
"/",
"code",
">",
"type",
"is",
"set",
"the",
"value",
"of",
"the",
"resource",
"must",
"be",
"a",
"string",
"type",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"string",
"set",
"value",
"=",
"=",
"null",
")",
"{",
"string",
"set",
"value",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"string",
"set",
"value",
";"
] |
[
"<",
"p",
">",
"when",
"the",
"<",
"code",
">",
"string",
"set",
"value",
"<",
"/",
"code",
">",
"type",
"is",
"set",
"the",
"value",
"of",
"the",
"resource",
"must",
"be",
"a",
"string",
"type",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"string",
"set",
"value",
"=",
"=",
"null",
")",
"{",
"this",
"string",
"set",
"value",
"=",
"null",
";",
"return",
";",
"}",
"this",
"string",
"set",
"value",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"string",
"set",
"value",
")",
";"
] |
[
"<",
"p",
">",
"when",
"the",
"<",
"code",
">",
"string",
"set",
"value",
"<",
"/",
"code",
">",
"type",
"is",
"set",
"the",
"value",
"of",
"the",
"resource",
"must",
"be",
"a",
"string",
"type",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"string",
"set",
"value",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"string",
"set",
"value",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"string",
"set",
"value",
"=",
"=",
"null",
")",
"{",
"set",
"string",
"set",
"value",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"string",
"set",
"value",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"string",
"set",
"value",
")",
"{",
"this",
"string",
"set",
"value",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"when",
"the",
"<",
"code",
">",
"string",
"set",
"value",
"<",
"/",
"code",
">",
"type",
"is",
"set",
"the",
"value",
"of",
"the",
"resource",
"must",
"be",
"a",
"string",
"type",
"<",
"/",
"p",
">"
] | [
"set",
"string",
"set",
"value",
"(",
"string",
"set",
"value",
")",
";",
"return",
"this",
";"
] |
[
"get",
"a",
"list",
"of",
"fields",
"provided",
"a",
"result",
"set"
] | [
"protected",
"abstract",
"field",
"<",
"?",
">",
"[",
"]",
"get",
"fields",
"(",
"result",
"set",
"meta",
"data",
"rs",
")",
"throws",
"s",
"q",
"l",
"exception",
";"
] |
[
"subclasses",
"should",
"indicate",
"whether",
"they",
"want",
"an",
"updatable",
"{"
] | [
"abstract",
"boolean",
"is",
"for",
"update",
"(",
")",
";"
] |
[
"subclasses",
"may",
"override",
"this",
"method",
"<",
"p",
">",
"{"
] | [
"return",
"null",
";"
] |
[
"resource",
"method",
"invocation",
"handler",
"provider"
] | [
"for",
"(",
"resource",
"method",
"invocation",
"handler",
"provider",
"provider",
":",
"providers",
"get",
"(",
")",
")",
"{",
"try",
"{",
"invocation",
"handler",
"handler",
"=",
"provider",
"create",
"(",
"resource",
"method",
")",
";",
"if",
"(",
"handler",
"!",
"=",
"null",
")",
"{",
"return",
"handler",
";",
"}",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"logger",
"log",
"(",
"level",
"severe",
",",
"localization",
"messages",
"error",
"processing",
"method",
"(",
"resource",
"method",
",",
"provider",
"get",
"class",
"(",
")",
"get",
"name",
"(",
")",
")",
",",
"e",
")",
";",
"}",
"}",
"return",
"default",
"handler",
";"
] |
[
"side",
"effect",
":",
"initialize",
"cycle",
"to",
"be",
"self",
"loop"
] | [
"for",
"(",
"int",
"v",
"=",
"0",
";",
"v",
"<",
"g",
"v",
"(",
")",
";",
"v",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"w",
":",
"g",
"adj",
"(",
"v",
")",
")",
"{",
"if",
"(",
"v",
"=",
"=",
"w",
")",
"{",
"cycle",
"=",
"new",
"stack",
"<",
"integer",
">",
"(",
")",
";",
"cycle",
"push",
"(",
"v",
")",
";",
"cycle",
"push",
"(",
"v",
")",
";",
"return",
"true",
";",
"}",
"}",
"}",
"return",
"false",
";"
] |
[
"returns",
"the",
"locale"
] | [
"return",
"the",
"locale",
";"
] |
[
"sets",
"the",
"locale"
] | [
"this",
"the",
"locale",
"=",
"locale",
";"
] |
[
"returns",
"the",
"version",
"timestamp"
] | [
"return",
"version",
"timestamp",
";"
] |
[
"sets",
"the",
"version",
"timestamp"
] | [
"this",
"version",
"timestamp",
"=",
"version",
"timestamp",
";"
] |
[
"return",
"the",
"entity",
"-",
"name",
"mapped",
"to",
"the",
"given",
"class",
"within",
"our",
"inheritance",
"hierarchy",
"if",
"any"
] | [
"return",
"(",
"string",
")",
"entity",
"name",
"by",
"inheritence",
"class",
"map",
"get",
"(",
"inheritence",
"class",
")",
";"
] |
[
"temporary",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~"
] | [
"return",
"property",
"names",
";"
] |
[
"whether",
"or",
"not",
"this",
"class",
"can",
"be",
"lazy",
"(",
"ie",
"intercepted",
")"
] | [
"return",
"bytecode",
"enhancement",
"metadata",
"is",
"enhanced",
"for",
"lazy",
"loading",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"patch",
"group",
"whose",
"patch",
"snapshot",
"should",
"be",
"retrieved",
"<",
"/",
"p",
">"
] | [
"set",
"patch",
"group",
"(",
"patch",
"group",
")",
";",
"return",
"this",
";"
] |
[
"copy",
"a",
"text",
"string",
"to",
"the",
"system",
"clipboard"
] | [
"android",
"content",
"clipboard",
"manager",
"clipboard",
"manager",
"=",
"(",
"android",
"content",
"clipboard",
"manager",
")",
"context",
"get",
"system",
"service",
"(",
"context",
"clipboard",
"service",
")",
";",
"clip",
"data",
"clip",
"=",
"clip",
"data",
"new",
"plain",
"text",
"(",
"label",
",",
"text",
")",
";",
"clipboard",
"manager",
"set",
"primary",
"clip",
"(",
"clip",
")",
";"
] |
[
"return",
"the",
"first",
"found",
"{",
"@",
"link",
"async",
"context",
"delegate",
"provider",
"}",
"(",
"via",
"{",
"@",
"link",
"providers",
"#",
"get",
"all",
"providers",
"(",
"injection",
"manager",
"class",
")",
"}",
")",
"or",
"{",
"@",
"code",
"#",
"default",
"async",
"delegate",
"}",
"if",
"other",
"delegate",
"cannot",
"be",
"found"
] | [
"final",
"iterator",
"<",
"async",
"context",
"delegate",
"provider",
">",
"providers",
"=",
"providers",
"get",
"all",
"providers",
"(",
"app",
"handler",
"get",
"injection",
"manager",
"(",
")",
",",
"async",
"context",
"delegate",
"provider",
"class",
")",
"iterator",
"(",
")",
";",
"if",
"(",
"providers",
"has",
"next",
"(",
")",
")",
"{",
"return",
"providers",
"next",
"(",
")",
";",
"}",
"return",
"(",
"request",
",",
"response",
")",
"-",
">",
"default",
"async",
"delegate",
";"
] |
[
"dispatch",
"client",
"requests",
"to",
"a",
"resource",
"class"
] | [
"final",
"response",
"writer",
"response",
"writer",
"=",
"service",
"impl",
"(",
"base",
"uri",
",",
"request",
"uri",
",",
"servlet",
"request",
",",
"servlet",
"response",
")",
";",
"return",
"values",
"lazy",
"(",
"new",
"value",
"<",
"integer",
">",
"(",
")",
"{",
"@",
"override",
"public",
"integer",
"get",
"(",
")",
"{",
"return",
"response",
"writer",
"response",
"context",
"resolved",
"(",
")",
"?",
"response",
"writer",
"get",
"response",
"status",
"(",
")",
":",
"-",
"1",
";",
"}",
"}",
")",
";"
] |
[
"get",
"default",
"{",
"@",
"link",
"javax",
"ws",
"rs",
"core",
"security",
"context",
"}",
"for",
"given",
"{",
"@",
"code",
"request",
"}"
] | [
"return",
"new",
"security",
"context",
"(",
")",
"{",
"@",
"override",
"public",
"principal",
"get",
"user",
"principal",
"(",
")",
"{",
"return",
"request",
"get",
"user",
"principal",
"(",
")",
";",
"}",
"@",
"override",
"public",
"boolean",
"is",
"user",
"in",
"role",
"(",
"final",
"string",
"role",
")",
"{",
"return",
"request",
"is",
"user",
"in",
"role",
"(",
"role",
")",
";",
"}",
"@",
"override",
"public",
"boolean",
"is",
"secure",
"(",
")",
"{",
"return",
"request",
"is",
"secure",
"(",
")",
";",
"}",
"@",
"override",
"public",
"string",
"get",
"authentication",
"scheme",
"(",
")",
"{",
"return",
"request",
"get",
"auth",
"type",
"(",
")",
";",
"}",
"}",
";"
] |
[
"spi",
"/",
"extension",
"hook",
"to",
"configure",
"resource",
"config"
] | [
"for",
"(",
"final",
"servlet",
"container",
"provider",
"servlet",
"container",
"provider",
":",
"all",
"servlet",
"container",
"providers",
")",
"{",
"servlet",
"container",
"provider",
"configure",
"(",
"resource",
"config",
")",
";",
"}"
] |
[
"extract",
"init",
"params",
"from",
"{",
"@",
"link",
"web",
"config",
"}"
] | [
"final",
"map",
"<",
"string",
",",
"object",
">",
"props",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"final",
"enumeration",
"names",
"=",
"web",
"config",
"get",
"init",
"parameter",
"names",
"(",
")",
";",
"while",
"(",
"names",
"has",
"more",
"elements",
"(",
")",
")",
"{",
"final",
"string",
"name",
"=",
"(",
"string",
")",
"names",
"next",
"element",
"(",
")",
";",
"props",
"put",
"(",
"name",
",",
"web",
"config",
"get",
"init",
"parameter",
"(",
"name",
")",
")",
";",
"}",
"return",
"props",
";"
] |
[
"extract",
"parameters",
"contained",
"in",
"{",
"@",
"link",
"http",
"servlet",
"request",
"servlet",
"request",
"}",
"and",
"put",
"them",
"into",
"{",
"@",
"link",
"container",
"request",
"container",
"request",
"}",
"under",
"{",
"@",
"value",
"org",
"glassfish",
"jersey",
"server",
"internal",
"internal",
"server",
"properties",
"#",
"form",
"decoded",
"property",
"}",
"property",
"(",
"as",
"{",
"@",
"link",
"form",
"}",
"instance",
")"
] | [
"if",
"(",
"media",
"types",
"type",
"equal",
"(",
"media",
"type",
"application",
"form",
"urlencoded",
"type",
",",
"container",
"request",
"get",
"media",
"type",
"(",
")",
")",
"&",
"&",
"!",
"container",
"request",
"has",
"entity",
"(",
")",
")",
"{",
"final",
"form",
"form",
"=",
"new",
"form",
"(",
")",
";",
"final",
"enumeration",
"parameter",
"names",
"=",
"servlet",
"request",
"get",
"parameter",
"names",
"(",
")",
";",
"final",
"string",
"query",
"string",
"=",
"servlet",
"request",
"get",
"query",
"string",
"(",
")",
";",
"final",
"list",
"<",
"string",
">",
"query",
"params",
"=",
"query",
"string",
"!",
"=",
"null",
"?",
"get",
"decoded",
"query",
"param",
"list",
"(",
"query",
"string",
")",
":",
"collections",
"<",
"string",
">",
"empty",
"list",
"(",
")",
";",
"final",
"boolean",
"keep",
"query",
"params",
"=",
"query",
"params",
"as",
"form",
"params",
"|",
"|",
"query",
"params",
"is",
"empty",
"(",
")",
";",
"final",
"multivalued",
"map",
"<",
"string",
",",
"string",
">",
"form",
"map",
"=",
"form",
"as",
"map",
"(",
")",
";",
"while",
"(",
"parameter",
"names",
"has",
"more",
"elements",
"(",
")",
")",
"{",
"final",
"string",
"name",
"=",
"(",
"string",
")",
"parameter",
"names",
"next",
"element",
"(",
")",
";",
"final",
"list",
"<",
"string",
">",
"values",
"=",
"arrays",
"as",
"list",
"(",
"servlet",
"request",
"get",
"parameter",
"values",
"(",
"name",
")",
")",
";",
"form",
"map",
"put",
"(",
"name",
",",
"keep",
"query",
"params",
"?",
"values",
":",
"filter",
"query",
"params",
"(",
"name",
",",
"values",
",",
"query",
"params",
")",
")",
";",
"}",
"if",
"(",
"!",
"form",
"map",
"is",
"empty",
"(",
")",
")",
"{",
"container",
"request",
"set",
"property",
"(",
"internal",
"server",
"properties",
"form",
"decoded",
"property",
",",
"form",
")",
";",
"if",
"(",
"logger",
"is",
"loggable",
"(",
"level",
"warning",
")",
")",
"{",
"logger",
"log",
"(",
"level",
"warning",
",",
"localization",
"messages",
"form",
"param",
"consumed",
"(",
"container",
"request",
"get",
"request",
"uri",
"(",
")",
")",
")",
";",
"}",
"}",
"}"
] |
[
"get",
"{",
"@",
"link",
"application",
"handler",
"}",
"used",
"by",
"this",
"web",
"component"
] | [
"return",
"app",
"handler",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"image",
"used",
"to",
"create",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"image",
"name",
"(",
"image",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"public",
"private",
"or",
"shared",
"image",
"to",
"use",
"<",
"/",
"p",
">"
] | [
"set",
"image",
"arn",
"(",
"image",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"instance",
"type",
"to",
"use",
"when",
"launching",
"fleet",
"instances",
"the",
"following",
"instance",
"types",
"are",
"available",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"standard",
"medium",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"standard",
"large",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"compute",
"large",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"compute",
"xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"compute",
"2xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"compute",
"4xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"compute",
"8xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"memory",
"large",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"memory",
"xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"memory",
"2xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"memory",
"4xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"memory",
"8xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"design",
"large",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"design",
"xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"design",
"2xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"design",
"4xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"desktop",
"2xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"pro",
"4xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"pro",
"8xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"stream",
"graphics",
"-",
"pro",
"1",
"6xlarge",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"instance",
"type",
"(",
"instance",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"desired",
"capacity",
"for",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"this",
"compute",
"capacity",
"=",
"compute",
"capacity",
";"
] |
[
"<",
"p",
">",
"the",
"desired",
"capacity",
"for",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"compute",
"capacity",
";"
] |
[
"<",
"p",
">",
"the",
"desired",
"capacity",
"for",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"compute",
"capacity",
"(",
"compute",
"capacity",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"vpc",
"configuration",
"for",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"vpc",
"config",
"(",
"vpc",
"config",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"time",
"that",
"a",
"streaming",
"session",
"can",
"run",
"in",
"seconds",
"specify",
"a",
"value",
"between",
"600",
"and",
"57600",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"user",
"duration",
"in",
"seconds",
"(",
"max",
"user",
"duration",
"in",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"after",
"disconnection",
"when",
"a",
"session",
"is",
"considered",
"to",
"have",
"ended",
"in",
"seconds",
"if",
"a",
"user",
"who",
"was",
"disconnected",
"reconnects",
"within",
"this",
"time",
"interval",
"the",
"user",
"is",
"connected",
"to",
"their",
"previous",
"session",
"specify",
"a",
"value",
"between",
"60",
"and",
"57600",
"<",
"/",
"p",
">"
] | [
"set",
"disconnect",
"timeout",
"in",
"seconds",
"(",
"disconnect",
"timeout",
"in",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"fleet",
"name",
"for",
"display",
"<",
"/",
"p",
">"
] | [
"set",
"display",
"name",
"(",
"display",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"enables",
"or",
"disables",
"default",
"internet",
"access",
"for",
"the",
"fleet",
"<",
"/",
"p",
">"
] | [
"set",
"enable",
"default",
"internet",
"access",
"(",
"enable",
"default",
"internet",
"access",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"information",
"needed",
"to",
"join",
"a",
"microsoft",
"active",
"directory",
"domain",
"<",
"/",
"p",
">"
] | [
"set",
"domain",
"join",
"info",
"(",
"domain",
"join",
"info",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"properties"
] | [
"this",
"properties",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"double",
"value",
"of",
"(",
"value",
")",
"int",
"value",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"converter",
"type",
"integer",
";"
] |
[
"returns",
"the",
"access",
"token",
"extractor"
] | [
"return",
"o",
"auth",
"1",
"access",
"token",
"extractor",
"instance",
"(",
")",
";"
] |
[
"returns",
"the",
"base",
"string",
"extractor"
] | [
"return",
"new",
"base",
"string",
"extractor",
"impl",
"(",
")",
";"
] |
[
"returns",
"the",
"header",
"extractor"
] | [
"return",
"new",
"header",
"extractor",
"impl",
"(",
")",
";"
] |
[
"returns",
"the",
"request",
"token",
"extractor"
] | [
"return",
"o",
"auth",
"1",
"request",
"token",
"extractor",
"instance",
"(",
")",
";"
] |
[
"returns",
"the",
"signature",
"service"
] | [
"return",
"new",
"h",
"m",
"a",
"c",
"sha",
"1",
"signature",
"service",
"(",
")",
";"
] |
[
"returns",
"the",
"timestamp",
"service"
] | [
"return",
"new",
"timestamp",
"service",
"impl",
"(",
")",
";"
] |
[
"returns",
"the",
"verb",
"for",
"the",
"request",
"token",
"endpoint",
"(",
"defaults",
"to",
"post",
")"
] | [
"return",
"verb",
"post",
";"
] |
[
"returns",
"the",
"url",
"that",
"receives",
"the",
"request",
"token",
"requests"
] | [
"public",
"abstract",
"string",
"get",
"request",
"token",
"endpoint",
"(",
")",
";"
] |
[
"returns",
"the",
"url",
"where",
"you",
"should",
"redirect",
"your",
"users",
"to",
"authenticate",
"your",
"application"
] | [
"final",
"parameter",
"list",
"parameters",
"=",
"new",
"parameter",
"list",
"(",
")",
";",
"parameters",
"add",
"(",
"o",
"auth",
"constants",
"token",
",",
"request",
"token",
"get",
"token",
"(",
")",
")",
";",
"return",
"parameters",
"append",
"to",
"(",
"get",
"authorization",
"base",
"url",
"(",
")",
")",
";"
] |
[
"http",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"5",
"8",
"4",
"9",
"says",
"that",
"the",
"client",
"may",
"omit",
"the",
"empty",
"oauth",
"token",
"protocol",
"parameter",
"from",
"the",
"request",
"but",
"not",
"all",
"oauth",
"servers",
"are",
"good",
"boys"
] | [
"return",
"false",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"database",
"that",
"you",
"are",
"looking",
"up",
"<",
"/",
"p",
">"
] | [
"set",
"relational",
"database",
"name",
"(",
"relational",
"database",
"name",
")",
";",
"return",
"this",
";"
] |
[
"compare",
"two",
"strings",
"lexicographically",
"mirrors",
"{"
] | [
"if",
"(",
"s",
"1",
"=",
"=",
"s",
"2",
")",
"{",
"return",
"0",
";",
"}",
"else",
"if",
"(",
"s",
"1",
"=",
"=",
"null",
")",
"{",
"return",
"-",
"1",
";",
"}",
"else",
"if",
"(",
"s",
"2",
"=",
"=",
"null",
")",
"{",
"return",
"1",
";",
"}",
"else",
"{",
"return",
"s",
"1",
"compare",
"to",
"(",
"s",
"2",
")",
";",
"}"
] |
[
"compare",
"two",
"strings",
"lexicographically",
"ignoring",
"case",
"differences",
"mirrors",
"{"
] | [
"if",
"(",
"s",
"1",
"=",
"=",
"s",
"2",
")",
"{",
"return",
"0",
";",
"}",
"if",
"(",
"s",
"1",
"=",
"=",
"null",
")",
"{",
"return",
"-",
"1",
";",
"}",
"if",
"(",
"s",
"2",
"=",
"=",
"null",
")",
"{",
"return",
"1",
";",
"}",
"return",
"s",
"1",
"compare",
"to",
"ignore",
"case",
"(",
"s",
"2",
")",
";"
] |
[
"/",
"*",
"returns",
"empty",
"string",
"if",
"passed",
"string",
"is",
"null",
"otherwise",
"returns",
"passed",
"string"
] | [
"if",
"(",
"s",
"=",
"=",
"null",
")",
"{",
"return",
"\"",
"\"",
";",
"}",
"return",
"s",
";"
] |
[
"returns",
"true",
"if",
"two",
"strings",
"are",
"equal",
"or",
"two",
"strings",
"are",
"null"
] | [
"if",
"(",
"s",
"1",
"=",
"=",
"null",
")",
"{",
"return",
"s",
"2",
"=",
"=",
"null",
";",
"}",
"return",
"s",
"1",
"equals",
"(",
"s",
"2",
")",
";"
] |
[
"/",
"*",
"capitalizes",
"the",
"first",
"letter",
"in",
"the",
"passed",
"string",
"-",
"based",
"on",
"apache",
"commons",
"/",
"lang",
"3",
"/",
"string",
"utils",
"http",
":",
"/",
"/",
"svn",
"apache",
"org",
"/",
"viewvc",
"/",
"commons",
"/",
"proper",
"/",
"lang",
"/",
"trunk",
"/",
"src",
"/",
"main",
"/",
"java",
"/",
"org",
"/",
"apache",
"/",
"commons",
"/",
"lang",
"3",
"/",
"string",
"utils",
"java",
"?",
"revision",
"=",
"1497829",
"&",
"view",
"=",
"markup"
] | [
"int",
"str",
"len",
";",
"if",
"(",
"str",
"=",
"=",
"null",
"|",
"|",
"(",
"str",
"len",
"=",
"str",
"length",
"(",
")",
")",
"=",
"=",
"0",
")",
"{",
"return",
"str",
";",
"}",
"char",
"first",
"char",
"=",
"str",
"char",
"at",
"(",
"0",
")",
";",
"if",
"(",
"character",
"is",
"title",
"case",
"(",
"first",
"char",
")",
")",
"{",
"return",
"str",
";",
"}",
"return",
"new",
"string",
"builder",
"(",
"str",
"len",
")",
"append",
"(",
"character",
"to",
"title",
"case",
"(",
"first",
"char",
")",
")",
"append",
"(",
"str",
"substring",
"(",
"1",
")",
")",
"to",
"string",
"(",
")",
";"
] |
[
"used",
"to",
"convert",
"a",
"language",
"code",
"(",
"[",
"lc",
"]",
"[",
"rc",
"]",
"where",
"lc",
"is",
"language",
"code",
"(",
"en",
"fr",
"es",
"etc",
")",
"and",
"rc",
"is",
"region",
"code",
"(",
"zh",
"-",
"cn",
"zh",
"-",
"hk",
"zh",
"-",
"tw",
"etc",
")",
"to",
"a",
"displayable",
"string",
"with",
"the",
"languages",
"name"
] | [
"if",
"(",
"languague",
"code",
"=",
"=",
"null",
"|",
"|",
"languague",
"code",
"length",
"(",
")",
"<",
"2",
"|",
"|",
"languague",
"code",
"length",
"(",
")",
">",
"6",
")",
"{",
"return",
"\"",
"\"",
";",
"}",
"locale",
"language",
"locale",
"=",
"new",
"locale",
"(",
"languague",
"code",
"substring",
"(",
"0",
",",
"2",
")",
")",
";",
"return",
"language",
"locale",
"get",
"display",
"language",
"(",
"display",
"locale",
")",
"+",
"languague",
"code",
"substring",
"(",
"2",
")",
";"
] |
[
"/",
"*",
"simple",
"wrapper",
"for",
"integer",
"value",
"of",
"(",
"string",
")",
"so",
"caller",
"doesn",
"t",
"need",
"to",
"catch",
"number",
"format",
"exception"
] | [
"return",
"string",
"to",
"int",
"(",
"s",
",",
"0",
")",
";"
] |
[
"formats",
"the",
"string",
"for",
"the",
"given",
"quantity",
"using",
"the",
"given",
"arguments",
"we",
"need",
"this",
"because",
"our",
"translation",
"platform",
"doesn",
"t",
"support",
"android",
"plurals"
] | [
"if",
"(",
"quantity",
"=",
"=",
"0",
")",
"{",
"return",
"context",
"get",
"string",
"(",
"zero",
")",
";",
"}",
"if",
"(",
"quantity",
"=",
"=",
"1",
")",
"{",
"return",
"context",
"get",
"string",
"(",
"one",
")",
";",
"}",
"return",
"string",
"format",
"(",
"context",
"get",
"string",
"(",
"other",
")",
",",
"quantity",
")",
";"
] |
[
"this",
"helper",
"initialize",
"the",
"performance",
"evaluator",
"with",
"requested",
"performance",
"evaluation",
"method"
] | [
"performance",
"evaluate",
"performance",
"evaluator",
"=",
"null",
";",
"list",
"<",
"merged",
"anomaly",
"result",
"d",
"t",
"o",
">",
"known",
"anomalies",
"=",
"merged",
"anomaly",
"result",
"d",
"a",
"o",
"find",
"overlapping",
"by",
"function",
"id",
"(",
"function",
"id",
",",
"window",
"interval",
"get",
"start",
"millis",
"(",
")",
",",
"window",
"interval",
"get",
"end",
"millis",
"(",
")",
")",
";",
"list",
"<",
"merged",
"anomaly",
"result",
"d",
"t",
"o",
">",
"detected",
"merged",
"anomalies",
"=",
"merged",
"anomaly",
"result",
"d",
"a",
"o",
"find",
"overlapping",
"by",
"function",
"id",
"(",
"cloned",
"function",
"id",
",",
"window",
"interval",
"get",
"start",
"millis",
"(",
")",
",",
"window",
"interval",
"get",
"end",
"millis",
"(",
")",
")",
";",
"switch",
"(",
"performance",
"evaluation",
"method",
")",
"{",
"case",
"f1",
"score",
":",
"performance",
"evaluator",
"=",
"new",
"f",
"1",
"score",
"by",
"time",
"performance",
"evaluation",
"(",
"known",
"anomalies",
",",
"detected",
"merged",
"anomalies",
")",
";",
"break",
";",
"case",
"recall",
":",
"performance",
"evaluator",
"=",
"new",
"recall",
"by",
"time",
"preformance",
"evaluation",
"(",
"known",
"anomalies",
",",
"detected",
"merged",
"anomalies",
")",
";",
"break",
";",
"case",
"precision",
":",
"performance",
"evaluator",
"=",
"new",
"precision",
"by",
"time",
"performance",
"evaluation",
"(",
"known",
"anomalies",
",",
"detected",
"merged",
"anomalies",
")",
";",
"break",
";",
"case",
"anomaly",
"percentage",
":",
"default",
":",
"performance",
"evaluator",
"=",
"new",
"anomaly",
"percentage",
"performance",
"evaluation",
"(",
"window",
"interval",
",",
"detected",
"merged",
"anomalies",
")",
";",
"}",
"return",
"performance",
"evaluator",
";"
] |
[
"how",
"long",
"to",
"wait",
"after",
"the",
"first",
"failure",
"before",
"retrying"
] | [
"return",
"initial",
"backoff",
"millis",
";"
] |
[
"when",
"backoff",
"reaches",
"this",
"upper",
"bound",
"it",
"does",
"not",
"increase",
"any",
"more",
"behaviour",
"after",
"that",
"changes",
"depending",
"on",
"fail",
"on",
"max",
"backoff",
"option"
] | [
"return",
"max",
"backoff",
"millis",
";"
] |
[
"when",
"backoff",
"reaches",
"this",
"upper",
"bound",
"it",
"does",
"not",
"increase",
"any",
"more",
"behaviour",
"after",
"that",
"changes",
"depending",
"on",
"fail",
"on",
"max",
"backoff",
"option"
] | [
"this",
"max",
"backoff",
"millis",
"=",
"max",
"backoff",
"millis",
";",
"return",
"this",
";"
] |
[
"factor",
"with",
"which",
"to",
"multiply",
"backoff",
"after",
"a",
"failed",
"retry"
] | [
"return",
"multiplier",
";"
] |
[
"whether",
"to",
"fail",
"when",
"the",
"max",
"-",
"backoff",
"has",
"reached",
"or",
"continue",
"waiting",
"max",
"-",
"backoff",
"-",
"millis",
"at",
"each",
"iteration",
"when",
"on",
"fail",
"client",
"shuts",
"down"
] | [
"return",
"fail",
"on",
"max",
"backoff",
";"
] |
[
"by",
"how",
"much",
"to",
"randomize",
"backoffs",
"at",
"each",
"iteration",
"calculated",
"back",
"-",
"off",
"is",
"randomized",
"via",
"following",
"method",
"random",
"(",
"-",
"jitter",
"*",
"current",
"backoff",
"jitter",
"*",
"current",
"backoff",
")"
] | [
"return",
"jitter",
";"
] |
[
"at",
"each",
"iteration",
"calculated",
"back",
"-",
"off",
"is",
"randomized",
"via",
"following",
"method",
"random",
"(",
"-",
"jitter",
"*",
"current",
"backoff",
"jitter",
"*",
"current",
"backoff",
")"
] | [
"this",
"jitter",
"=",
"jitter",
";",
"return",
"this",
";"
] |
[
"enables",
"connection",
"retry",
"logic",
"when",
"disabled",
"old",
"configurations",
"are",
"used",
":",
"{",
"@",
"link",
"client",
"network",
"config",
"#",
"get",
"connection",
"attempt",
"limit",
"(",
")",
"}",
"{",
"@",
"link",
"client",
"network",
"config",
"#",
"get",
"connection",
"attempt",
"period",
"(",
")",
"}",
"(",
")",
"}"
] | [
"this",
"enabled",
"=",
"enabled",
";",
"return",
"this",
";"
] |
[
"receives",
"a",
"block",
"of",
"rtp",
"data"
] | [
"socket",
"receive",
"(",
"packet",
")",
";",
"padding",
"=",
"packet",
"has",
"padding",
"(",
")",
";",
"extension",
"=",
"packet",
"has",
"extension",
"(",
")",
";",
"csrc",
"count",
"=",
"packet",
"get",
"cscr",
"count",
"(",
")",
";",
"marker",
"=",
"packet",
"has",
"marker",
"(",
")",
";",
"payload",
"type",
"=",
"packet",
"get",
"payload",
"type",
"(",
")",
";",
"sequence",
"number",
"=",
"packet",
"get",
"sequence",
"number",
"(",
")",
";",
"timestamp",
"=",
"packet",
"get",
"timestamp",
"(",
")",
";",
"ssrc",
"=",
"packet",
"get",
"sscr",
"(",
")",
";",
"csrc",
"list",
"=",
"packet",
"get",
"cscr",
"list",
"(",
")",
";",
"initialized",
"=",
"true",
";",
"return",
"packet",
"get",
"payload",
"(",
")",
";"
] |
[
"creates",
"war",
"for",
"test",
"database",
"login",
"module",
"with",
"example",
"d",
"s",
"database"
] | [
"return",
"create",
"war",
"(",
"db",
")",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"change",
"token",
"<",
"/",
"code",
">",
"that",
"you",
"used",
"to",
"submit",
"the",
"<",
"code",
">",
"update",
"rate",
"based",
"rule",
"<",
"/",
"code",
">",
"request",
"you",
"can",
"also",
"use",
"this",
"value",
"to",
"query",
"the",
"status",
"of",
"the",
"request",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"get",
"change",
"token",
"status",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"change",
"token",
"(",
"change",
"token",
")",
";",
"return",
"this",
";"
] |
[
"waits",
"for",
"two",
"animation",
"frames",
"to",
"ensure",
"animation",
"values",
"change"
] | [
"final",
"count",
"down",
"latch",
"latch",
"=",
"new",
"count",
"down",
"latch",
"(",
"2",
")",
";",
"m",
"activity",
"get",
"window",
"(",
")",
"get",
"decor",
"view",
"(",
")",
"post",
"on",
"animation",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"latch",
"count",
"down",
"(",
")",
";",
"if",
"(",
"latch",
"get",
"count",
"(",
")",
">",
"0",
")",
"{",
"m",
"activity",
"get",
"window",
"(",
")",
"get",
"decor",
"view",
"(",
")",
"post",
"on",
"animation",
"(",
"this",
")",
";",
"}",
"}",
"}",
")",
";",
"assert",
"true",
"(",
"latch",
"await",
"(",
"1",
",",
"time",
"unit",
"seconds",
")",
")",
";"
] |
[
"{"
] | [
"for",
"(",
"ignite",
"internal",
"future",
"<",
"?",
">",
"fut",
":",
"futures",
"(",
")",
")",
"{",
"if",
"(",
"is",
"mini",
"(",
"fut",
")",
")",
"{",
"final",
"mini",
"future",
"f",
"=",
"(",
"mini",
"future",
")",
"fut",
";",
"if",
"(",
"f",
"node",
"id",
"(",
")",
"equals",
"(",
"node",
"id",
")",
")",
"{",
"cctx",
"kernal",
"context",
"(",
")",
"closure",
"(",
")",
"run",
"local",
"safe",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"f",
"on",
"node",
"left",
"(",
"node",
"id",
")",
";",
"}",
"}",
")",
";",
"}",
"}",
"}",
"return",
"true",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"status",
"of",
"the",
"identity",
":",
"pending",
"success",
"failed",
"or",
"temporary",
"failure",
"<",
"/",
"p",
">"
] | [
"this",
"verification",
"status",
"=",
"verification",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"status",
"of",
"the",
"identity",
":",
"pending",
"success",
"failed",
"or",
"temporary",
"failure",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"verification",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"status",
"of",
"the",
"identity",
":",
"pending",
"success",
"failed",
"or",
"temporary",
"failure",
"<",
"/",
"p",
">"
] | [
"set",
"verification",
"status",
"(",
"verification",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"status",
"of",
"the",
"identity",
":",
"pending",
"success",
"failed",
"or",
"temporary",
"failure",
"<",
"/",
"p",
">"
] | [
"with",
"verification",
"status",
"(",
"verification",
"status",
")",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"status",
"of",
"the",
"identity",
":",
"pending",
"success",
"failed",
"or",
"temporary",
"failure",
"<",
"/",
"p",
">"
] | [
"this",
"verification",
"status",
"=",
"verification",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"txt",
"record",
"that",
"you",
"must",
"place",
"in",
"the",
"dns",
"settings",
"of",
"the",
"domain",
"to",
"complete",
"domain",
"verification",
"with",
"amazon",
"ses",
"<",
"/",
"p",
">",
"<",
"p",
">",
"as",
"amazon",
"ses",
"searches",
"for",
"the",
"txt",
"record",
"the",
"domain",
"s",
"verification",
"status",
"is",
"pending",
"when",
"amazon",
"ses",
"detects",
"the",
"record",
"the",
"domain",
"s",
"verification",
"status",
"changes",
"to",
"success",
"if",
"amazon",
"ses",
"is",
"unable",
"to",
"detect",
"the",
"record",
"within",
"72",
"hours",
"the",
"domain",
"s",
"verification",
"status",
"changes",
"to",
"failed",
"in",
"that",
"case",
"if",
"you",
"still",
"want",
"to",
"verify",
"the",
"domain",
"you",
"must",
"restart",
"the",
"verification",
"process",
"from",
"the",
"beginning",
"<",
"/",
"p",
">"
] | [
"this",
"verification",
"token",
"=",
"verification",
"token",
";"
] |
[
"<",
"p",
">",
"a",
"txt",
"record",
"that",
"you",
"must",
"place",
"in",
"the",
"dns",
"settings",
"of",
"the",
"domain",
"to",
"complete",
"domain",
"verification",
"with",
"amazon",
"ses",
"<",
"/",
"p",
">",
"<",
"p",
">",
"as",
"amazon",
"ses",
"searches",
"for",
"the",
"txt",
"record",
"the",
"domain",
"s",
"verification",
"status",
"is",
"pending",
"when",
"amazon",
"ses",
"detects",
"the",
"record",
"the",
"domain",
"s",
"verification",
"status",
"changes",
"to",
"success",
"if",
"amazon",
"ses",
"is",
"unable",
"to",
"detect",
"the",
"record",
"within",
"72",
"hours",
"the",
"domain",
"s",
"verification",
"status",
"changes",
"to",
"failed",
"in",
"that",
"case",
"if",
"you",
"still",
"want",
"to",
"verify",
"the",
"domain",
"you",
"must",
"restart",
"the",
"verification",
"process",
"from",
"the",
"beginning",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"verification",
"token",
";"
] |
[
"<",
"p",
">",
"the",
"verification",
"token",
"for",
"a",
"domain",
"identity",
"null",
"for",
"email",
"address",
"identities",
"<",
"/",
"p",
">"
] | [
"set",
"verification",
"token",
"(",
"verification",
"token",
")",
";",
"return",
"this",
";"
] |
[
"marshals",
"and",
"unmarshals",
"object"
] | [
"optimized",
"object",
"output",
"stream",
"out",
"=",
"null",
";",
"optimized",
"object",
"input",
"stream",
"in",
"=",
"null",
";",
"try",
"{",
"out",
"=",
"optimized",
"object",
"stream",
"registry",
"out",
"(",
")",
";",
"out",
"context",
"(",
"cls",
"map",
",",
"ctx",
",",
"null",
",",
"true",
")",
";",
"out",
"write",
"object",
"(",
"obj",
")",
";",
"byte",
"[",
"]",
"arr",
"=",
"out",
"out",
"(",
")",
"array",
"(",
")",
";",
"in",
"=",
"optimized",
"object",
"stream",
"registry",
"in",
"(",
")",
";",
"in",
"context",
"(",
"cls",
"map",
",",
"ctx",
",",
"null",
",",
"get",
"class",
"(",
")",
"get",
"class",
"loader",
"(",
")",
")",
";",
"in",
"in",
"(",
")",
"bytes",
"(",
"arr",
",",
"arr",
"length",
")",
";",
"object",
"obj",
"0",
"=",
"in",
"read",
"object",
"(",
")",
";",
"check",
"handles",
"(",
"out",
",",
"in",
")",
";",
"return",
"(",
"t",
")",
"obj",
"0",
";",
"}",
"finally",
"{",
"optimized",
"object",
"stream",
"registry",
"close",
"out",
"(",
"out",
")",
";",
"optimized",
"object",
"stream",
"registry",
"close",
"in",
"(",
"in",
")",
";",
"}"
] |
[
"checks",
"that",
"handles",
"are",
"equal",
"in",
"output",
"and",
"input",
"streams"
] | [
"object",
"[",
"]",
"out",
"handles",
"=",
"out",
"handled",
"objects",
"(",
")",
";",
"object",
"[",
"]",
"in",
"handles",
"=",
"in",
"handled",
"objects",
"(",
")",
";",
"assert",
"equals",
"(",
"out",
"handles",
"length",
",",
"in",
"handles",
"length",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"out",
"handles",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"out",
"handles",
"[",
"i",
"]",
"=",
"=",
"null",
")",
"assert",
"true",
"(",
"in",
"handles",
"[",
"i",
"]",
"=",
"=",
"null",
")",
";",
"else",
"{",
"assert",
"false",
"(",
"in",
"handles",
"[",
"i",
"]",
"=",
"=",
"null",
")",
";",
"assert",
"true",
"(",
"out",
"handles",
"[",
"i",
"]",
"get",
"class",
"(",
")",
"=",
"=",
"in",
"handles",
"[",
"i",
"]",
"get",
"class",
"(",
")",
")",
";",
"}",
"}"
] |
[
"{"
] | [
"in",
"read",
"int",
"(",
")",
";",
"in",
"read",
"object",
"(",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"test",
"object",
"obj",
"=",
"(",
"test",
"object",
")",
"o",
";",
"return",
"long",
"val",
"!",
"=",
"null",
"?",
"long",
"val",
"equals",
"(",
"obj",
"long",
"val",
")",
":",
"obj",
"long",
"val",
"=",
"=",
"null",
"&",
"&",
"double",
"val",
"!",
"=",
"null",
"?",
"double",
"val",
"equals",
"(",
"obj",
"double",
"val",
")",
":",
"obj",
"double",
"val",
"=",
"=",
"null",
"&",
"&",
"arrays",
"equals",
"(",
"long",
"arr",
",",
"obj",
"long",
"arr",
")",
"&",
"&",
"arrays",
"equals",
"(",
"double",
"arr",
",",
"obj",
"double",
"arr",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"externalizable",
"test",
"object",
"1",
"obj",
"=",
"(",
"externalizable",
"test",
"object",
"1",
")",
"o",
";",
"return",
"long",
"val",
"!",
"=",
"null",
"?",
"long",
"val",
"equals",
"(",
"obj",
"long",
"val",
")",
":",
"obj",
"long",
"val",
"=",
"=",
"null",
"&",
"&",
"double",
"val",
"!",
"=",
"null",
"?",
"double",
"val",
"equals",
"(",
"obj",
"double",
"val",
")",
":",
"obj",
"double",
"val",
"=",
"=",
"null",
"&",
"&",
"arrays",
"equals",
"(",
"long",
"arr",
",",
"obj",
"long",
"arr",
")",
"&",
"&",
"arrays",
"equals",
"(",
"double",
"arr",
",",
"obj",
"double",
"arr",
")",
";"
] |
[
"{"
] | [
"out",
"write",
"long",
"(",
"long",
"val",
")",
";",
"out",
"write",
"double",
"(",
"double",
"val",
")",
";",
"u",
"write",
"array",
"(",
"out",
",",
"long",
"arr",
")",
";",
"u",
"write",
"array",
"(",
"out",
",",
"double",
"arr",
")",
";"
] |
[
"{"
] | [
"long",
"val",
"=",
"in",
"read",
"long",
"(",
")",
";",
"double",
"val",
"=",
"in",
"read",
"double",
"(",
")",
";",
"object",
"[",
"]",
"arr",
"=",
"u",
"read",
"array",
"(",
"in",
")",
";",
"long",
"arr",
"=",
"arrays",
"copy",
"of",
"(",
"arr",
",",
"arr",
"length",
",",
"long",
"[",
"]",
"class",
")",
";",
"arr",
"=",
"u",
"read",
"array",
"(",
"in",
")",
";",
"double",
"arr",
"=",
"arrays",
"copy",
"of",
"(",
"arr",
",",
"arr",
"length",
",",
"double",
"[",
"]",
"class",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"externalizable",
"test",
"object",
"2",
"obj",
"=",
"(",
"externalizable",
"test",
"object",
"2",
")",
"o",
";",
"return",
"long",
"val",
"!",
"=",
"null",
"?",
"long",
"val",
"equals",
"(",
"obj",
"long",
"val",
")",
":",
"obj",
"long",
"val",
"=",
"=",
"null",
"&",
"&",
"double",
"val",
"!",
"=",
"null",
"?",
"double",
"val",
"equals",
"(",
"obj",
"double",
"val",
")",
":",
"obj",
"double",
"val",
"=",
"=",
"null",
"&",
"&",
"arrays",
"equals",
"(",
"long",
"arr",
",",
"obj",
"long",
"arr",
")",
"&",
"&",
"arrays",
"equals",
"(",
"double",
"arr",
",",
"obj",
"double",
"arr",
")",
";"
] |
[
"{"
] | [
"out",
"write",
"long",
"(",
"long",
"val",
")",
";",
"u",
"write",
"array",
"(",
"out",
",",
"long",
"arr",
")",
";"
] |
[
"{"
] | [
"long",
"val",
"=",
"in",
"read",
"long",
"(",
")",
";",
"object",
"[",
"]",
"arr",
"=",
"u",
"read",
"array",
"(",
"in",
")",
";",
"long",
"arr",
"=",
"arrays",
"copy",
"of",
"(",
"arr",
",",
"arr",
"length",
",",
"long",
"[",
"]",
"class",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"link",
"test",
"object",
"1",
"obj",
"=",
"(",
"link",
"test",
"object",
"1",
")",
"o",
";",
"return",
"val",
"=",
"=",
"obj",
"val",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"link",
"test",
"object",
"2",
"obj",
"=",
"(",
"link",
"test",
"object",
"2",
")",
"o",
";",
"return",
"ref",
"!",
"=",
"null",
"?",
"ref",
"equals",
"(",
"obj",
"ref",
")",
":",
"obj",
"ref",
"=",
"=",
"null",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"cycle",
"link",
"test",
"object",
"obj",
"=",
"(",
"cycle",
"link",
"test",
"object",
")",
"o",
";",
"return",
"val",
"=",
"=",
"obj",
"val",
"&",
"&",
"ref",
"!",
"=",
"null",
"?",
"ref",
"val",
"=",
"=",
"val",
":",
"obj",
"ref",
"=",
"=",
"null",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"no",
"default",
"constructor",
"test",
"object",
"obj",
"=",
"(",
"no",
"default",
"constructor",
"test",
"object",
")",
"o",
";",
"return",
"val",
"=",
"=",
"obj",
"val",
";"
] |
[
"{"
] | [
"if",
"(",
"obj",
"=",
"=",
"this",
")",
"return",
"true",
";",
"if",
"(",
"!",
"(",
"obj",
"instanceof",
"nested",
"read",
"write",
"object",
")",
")",
"return",
"false",
";",
"nested",
"read",
"write",
"object",
"o",
"=",
"(",
"nested",
"read",
"write",
"object",
")",
"obj",
";",
"return",
"o",
"val",
"=",
"=",
"val",
"&",
"&",
"objects",
"equals",
"(",
"o",
"str",
",",
"str",
")",
"&",
"&",
"objects",
"equals",
"(",
"o",
"obj",
"1",
",",
"obj",
"1",
")",
"&",
"&",
"objects",
"equals",
"(",
"o",
"obj",
"2",
",",
"obj",
"2",
")",
";"
] |
[
"{"
] | [
"int",
"res",
"=",
"obj",
"1",
"!",
"=",
"null",
"?",
"obj",
"1",
"hash",
"code",
"(",
")",
":",
"0",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"(",
"obj",
"2",
"!",
"=",
"null",
"?",
"obj",
"2",
"hash",
"code",
"(",
")",
":",
"0",
")",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"val",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"(",
"str",
"!",
"=",
"null",
"?",
"str",
"hash",
"code",
"(",
")",
":",
"0",
")",
";",
"return",
"res",
";"
] |
[
"expert",
":",
"returns",
"the",
"terms",
"being",
"merged"
] | [
"return",
"subs",
";"
] |
[
"expert",
":",
"returns",
"pointers",
"to",
"the",
"sub",
"-",
"readers",
"corresponding",
"to",
"the",
"terms",
"being",
"merged"
] | [
"return",
"sub",
"slices",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"of",
"the",
"device",
"<",
"/",
"p",
">"
] | [
"set",
"device",
"id",
"(",
"device",
"id",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.