docstring_tokens list | code_tokens list |
|---|---|
[
"ensure",
"that",
"deadlocks",
"do",
"not",
"occur",
"during",
"concurrent",
"operations",
"of",
"various",
"types"
] | [
"check",
"deadlocks",
"repeat",
"(",
"5",
",",
"2",
",",
"2",
",",
"2",
",",
"rename",
"cnt",
",",
"delete",
"cnt",
",",
"update",
"cnt",
",",
"mkdirs",
"cnt",
",",
"create",
"cnt",
")",
";"
] |
[
"add",
"all",
"edges",
"e",
"incident",
"to",
"v",
"onto",
"pq",
"if",
"the",
"other",
"endpoint",
"has",
"not",
"yet",
"been",
"scanned"
] | [
"assert",
"!",
"marked",
"[",
"v",
"]",
";",
"marked",
"[",
"v",
"]",
"=",
"true",
";",
"for",
"(",
"edge",
"e",
":",
"g",
"adj",
"(",
"v",
")",
")",
"if",
"(",
"!",
"marked",
"[",
"e",
"other",
"(",
"v",
")",
"]",
")",
"pq",
"insert",
"(... |
[
"indexer",
"implements",
"i",
"fn",
"for",
"attr",
"access"
] | [
"if",
"(",
"obj",
"instanceof",
"i",
"lookup",
")",
"return",
"(",
"(",
"i",
"lookup",
")",
"obj",
")",
"val",
"at",
"(",
"this",
")",
";",
"return",
"rt",
"get",
"(",
"obj",
",",
"this",
")",
";"
] |
[
"used",
"in",
"tests",
"to",
"test",
"whether",
"the",
"scanner",
"has",
"been",
"suspended"
] | [
"return",
"resumer",
"!",
"=",
"null",
";"
] |
[
"used",
"internally",
"accumulating",
"metrics",
"on",
"scan",
"to",
"enable",
"collection",
"of",
"metrics",
"on",
"a",
"scanner",
"call",
"{"
] | [
"return",
"scan",
"metrics",
";"
] |
[
"execute",
"with",
"callback"
] | [
"execute",
"(",
")",
";",
"if",
"(",
"callback",
"!",
"=",
"null",
")",
"{",
"callback",
"call",
"(",
")",
";",
"}"
] |
[
"-",
"-",
"-",
"[",
"egl",
"get",
"output",
"layers",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"get",
"output",
"layers",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
"}",
"ret... |
[
"-",
"-",
"-",
"[",
"egl",
"get",
"output",
"ports",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"get",
"output",
"ports",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
"}",
"retu... |
[
"-",
"-",
"-",
"[",
"egl",
"query",
"output",
"layer",
"attrib",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"query",
"output",
"layer",
"attrib",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
... |
[
"-",
"-",
"-",
"[",
"egl",
"query",
"output",
"layer",
"string",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"query",
"output",
"layer",
"string",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
... |
[
"-",
"-",
"-",
"[",
"egl",
"query",
"output",
"port",
"attrib",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"query",
"output",
"port",
"attrib",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
... |
[
"-",
"-",
"-",
"[",
"egl",
"query",
"output",
"port",
"string",
"e",
"x",
"t",
"]",
"-",
"-",
"-"
] | [
"long",
"function",
"address",
"=",
"egl",
"get",
"capabilities",
"(",
")",
"egl",
"query",
"output",
"port",
"string",
"e",
"x",
"t",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"check",
"(",
"dpy",
")",
";",
... |
[
"returns",
"true",
"if",
"field",
"full",
"resource",
"plan",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"full",
"resource",
"plan",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"full",
"resource",
"plan",
":",
"return",
"is",
"set",
"full",
"resource",
"plan",
"(",... |
[
"/",
"*",
"add",
"bottles",
"to",
"test",
"strips"
] | [
"for",
"(",
"bottle",
"bottle",
":",
"bottles",
")",
"{",
"int",
"id",
"=",
"bottle",
"get",
"id",
"(",
")",
";",
"int",
"bit",
"index",
"=",
"0",
";",
"while",
"(",
"id",
">",
"0",
")",
"{",
"if",
"(",
"(",
"id",
"&",
"1",
")",
"=",
"=",
... |
[
"/",
"*",
"get",
"test",
"strips",
"that",
"are",
"positive",
"on",
"a",
"particular",
"day"
] | [
"array",
"list",
"<",
"integer",
">",
"positive",
"=",
"new",
"array",
"list",
"<",
"integer",
">",
"(",
")",
";",
"for",
"(",
"test",
"strip",
"test",
"strip",
":",
"test",
"strips",
")",
"{",
"int",
"id",
"=",
"test",
"strip",
"get",
"id",
"(",
... |
[
"/",
"*",
"create",
"number",
"by",
"setting",
"bits",
"with",
"indices",
"specified",
"in",
"positive"
] | [
"int",
"id",
"=",
"0",
";",
"for",
"(",
"integer",
"bit",
"index",
":",
"positive",
")",
"{",
"id",
"|",
"=",
"1",
"<",
"<",
"bit",
"index",
";",
"}",
"return",
"id",
";"
] |
[
"<",
"p",
">",
"an",
"object",
"representing",
"the",
"api",
"operations",
"<",
"/",
"p",
">",
"<",
"p",
">",
"these",
"ssl",
"/",
"tls",
"certificates",
"are",
"only",
"usable",
"by",
"lightsail",
"load",
"balancers",
"you",
"can",
"t",
"get",
"the",
... | [
"if",
"(",
"this",
"operations",
"=",
"=",
"null",
")",
"{",
"set",
"operations",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"operation",
">",
"(",
"operations",
"length",
")",
")",
";",
"}",
"for",
"(",
"operation",
"ele",
":",
"operations",
... |
[
"<",
"p",
">",
"an",
"object",
"representing",
"the",
"api",
"operations",
"<",
"/",
"p",
">",
"<",
"p",
">",
"these",
"ssl",
"/",
"tls",
"certificates",
"are",
"only",
"usable",
"by",
"lightsail",
"load",
"balancers",
"you",
"can",
"t",
"get",
"the",
... | [
"set",
"operations",
"(",
"operations",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"feature",
"extractor",
"as",
"a",
"zero",
"stage"
] | [
"this",
"final",
"feature",
"extractor",
"=",
"feature",
"extractor",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"label",
"extractor",
"for",
"the",
"produced",
"model"
] | [
"this",
"lb",
"extractor",
"=",
"lb",
"extractor",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"preprocessor"
] | [
"preprocessors",
"add",
"(",
"preprocessor",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"trainer"
] | [
"this",
"final",
"stage",
"=",
"trainer",
";",
"return",
"this",
";"
] |
[
"fits",
"the",
"pipeline",
"to",
"the",
"input",
"cache"
] | [
"dataset",
"builder",
"dataset",
"builder",
"=",
"new",
"cache",
"based",
"dataset",
"builder",
"<",
">",
"(",
"ignite",
",",
"cache",
")",
";",
"return",
"fit",
"(",
"dataset",
"builder",
")",
";"
] |
[
"fits",
"the",
"pipeline",
"to",
"the",
"input",
"mock",
"data"
] | [
"dataset",
"builder",
"dataset",
"builder",
"=",
"new",
"local",
"dataset",
"builder",
"<",
">",
"(",
"data",
",",
"parts",
")",
";",
"return",
"fit",
"(",
"dataset",
"builder",
")",
";"
] |
[
"sets",
"another",
"array",
"to",
"be",
"wrapped",
"by",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"*",
"important",
"notes",
":",
"<",
"code",
">",
"resize",
"(",
"int",
")",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"ensu... | [
"int",
"len",
";",
"len",
"=",
"array",
"length",
";",
"this",
"array",
"=",
"array",
";"
] |
[
"returns",
"array",
"wrapped",
"by",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"*",
"important",
"notes",
":",
"this",
"method",
"does",
"not",
"copy",
"<",
"var",
">",
"array",
"<",
"/",
"var",
">",
"*"
] | [
"return",
"this",
"array",
";"
] |
[
"returns",
"the",
"wrapped",
"value",
"of",
"the",
"element",
"at",
"the",
"specified",
"index",
"*",
"the",
"result",
"is",
"the",
"same",
"as",
"of",
"<",
"code",
">",
"new",
"long",
"(",
"array",
"(",
")",
"[",
"index",
"]",
")",
"<",
"/",
"code... | [
"return",
"new",
"long",
"(",
"this",
"array",
"[",
"index",
"]",
")",
";"
] |
[
"returns",
"value",
"of",
"the",
"element",
"at",
"the",
"specified",
"index",
"*",
"the",
"result",
"is",
"the",
"same",
"as",
"of",
"<",
"code",
">",
"array",
"(",
")",
"[",
"index",
"]",
"<",
"/",
"code",
">",
"*"
] | [
"return",
"this",
"array",
"[",
"index",
"]",
";"
] |
[
"assigns",
"a",
"new",
"value",
"to",
"the",
"element",
"at",
"the",
"specified",
"index",
"*",
"if",
"an",
"exception",
"is",
"thrown",
"then",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"remains",
"unchanged",
"*"
] | [
"this",
"array",
"[",
"index",
"]",
"=",
"value",
";"
] |
[
"copies",
"a",
"region",
"of",
"values",
"at",
"one",
"offset",
"to",
"another",
"offset",
"in",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"*",
"copying",
"is",
"performed",
"here",
"through",
"<",
"code",
">",
"arraycopy",
"(",
"objec... | [
"if",
"(",
"len",
">",
"0",
")",
"{",
"long",
"[",
"]",
"array",
"=",
"this",
"array",
";",
"system",
"arraycopy",
"(",
"array",
",",
"src",
"offset",
",",
"array",
",",
"dest",
"offset",
",",
"len",
")",
";",
"}"
] |
[
"resizes",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"*",
"the",
"result",
"is",
"the",
"same",
"as",
"of",
"<",
"code",
">",
"set",
"array",
"(",
"resize",
"(",
"array",
"(",
")",
"size",
")",
")",
"<",
"/",
"code",
">",
"this... | [
"int",
"len",
";",
"long",
"[",
"]",
"array",
"=",
"this",
"array",
";",
"if",
"(",
"(",
"len",
"=",
"array",
"length",
")",
"!",
"=",
"size",
")",
"{",
"long",
"[",
"]",
"new",
"array",
"=",
"empty",
";",
"if",
"(",
"size",
"!",
"=",
"0",
... |
[
"ensures",
"the",
"size",
"(",
"capacity",
")",
"of",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"*",
"the",
"result",
"is",
"the",
"same",
"as",
"of",
"<",
"code",
">",
"set",
"array",
"(",
"ensure",
"size",
"(",
"array",
"(",
")... | [
"int",
"len",
";",
"long",
"[",
"]",
"array",
"=",
"this",
"array",
",",
"new",
"array",
";",
"if",
"(",
"(",
"(",
"(",
"len",
"=",
"array",
"length",
")",
"-",
"size",
")",
"|",
"size",
")",
"<",
"0",
")",
"{",
"if",
"(",
"size",
"<",
"0",... |
[
"resizes",
"a",
"given",
"array",
"*",
"this",
"method",
"changes",
"(",
"creates",
"a",
"new",
"array",
"and",
"copies",
"the",
"content",
"to",
"it",
")",
"the",
"length",
"of",
"the",
"specified",
"array",
"to",
"the",
"specified",
"one",
"important",
... | [
"int",
"len",
";",
"if",
"(",
"(",
"len",
"=",
"array",
"length",
")",
"!",
"=",
"size",
")",
"{",
"long",
"[",
"]",
"new",
"array",
"=",
"empty",
";",
"if",
"(",
"size",
"!",
"=",
"0",
")",
"{",
"if",
"(",
"len",
">",
"size",
")",
"if",
... |
[
"ensures",
"the",
"length",
"(",
"capacity",
")",
"of",
"a",
"given",
"array",
"*",
"this",
"method",
"grows",
"(",
"only",
"if",
"<",
"var",
">",
"size",
"<",
"/",
"var",
">",
"is",
"greater",
"than",
"<",
"code",
">",
"length",
"<",
"/",
"code",
... | [
"int",
"len",
";",
"if",
"(",
"(",
"(",
"(",
"len",
"=",
"array",
"length",
")",
"-",
"size",
")",
"|",
"size",
")",
"<",
"0",
")",
"{",
"if",
"(",
"size",
"<",
"0",
")",
"size",
"=",
"-",
"1",
">",
">",
">",
"1",
";",
"if",
"(",
"(",
... |
[
"fills",
"in",
"the",
"region",
"of",
"a",
"given",
"array",
"with",
"the",
"specified",
"value",
"*",
"all",
"the",
"elements",
"in",
"the",
"specified",
"region",
"of",
"<",
"var",
">",
"array",
"<",
"/",
"var",
">",
"are",
"set",
"to",
"<",
"var",... | [
"int",
"next",
"=",
"array",
"length",
",",
"block",
";",
"if",
"(",
"len",
">",
"0",
")",
"{",
"long",
"temp",
";",
"temp",
"=",
"array",
"[",
"(",
"block",
"=",
"offset",
")",
"+",
"(",
"-",
"-",
"len",
")",
"]",
";",
"if",
"(",
"(",
"nex... |
[
"reverses",
"the",
"elements",
"order",
"in",
"a",
"given",
"array",
"*",
"the",
"first",
"element",
"is",
"exchanged",
"with",
"the",
"least",
"one",
"the",
"second",
"one",
"is",
"exchanged",
"with",
"the",
"element",
"just",
"before",
"the",
"last",
"on... | [
"int",
"offset",
"=",
"0",
",",
"len",
"=",
"array",
"length",
";",
"while",
"(",
"-",
"-",
"len",
">",
"offset",
")",
"{",
"long",
"value",
"=",
"array",
"[",
"offset",
"]",
";",
"array",
"[",
"offset",
"+",
"+",
"]",
"=",
"array",
"[",
"len",... |
[
"adds",
"a",
"given",
"vector",
"(",
"array",
")",
"to",
"another",
"one",
"*",
"every",
"element",
"of",
"the",
"second",
"array",
"(",
"missing",
"element",
"is",
"treated",
"to",
"be",
"zero",
")",
"is",
"added",
"to",
"the",
"corresponding",
"element... | [
"int",
"offset",
"=",
"array",
"a",
"length",
",",
"len",
";",
"if",
"(",
"array",
"a",
"!",
"=",
"array",
"b",
")",
"{",
"if",
"(",
"(",
"len",
"=",
"array",
"b",
"length",
")",
"<",
"=",
"offset",
")",
"offset",
"=",
"len",
";",
"while",
"(... |
[
"subtracts",
"a",
"given",
"vector",
"(",
"array",
")",
"from",
"another",
"one",
"*",
"every",
"element",
"of",
"the",
"second",
"array",
"(",
"missing",
"element",
"is",
"treated",
"to",
"be",
"zero",
")",
"is",
"subtracted",
"from",
"the",
"correspondin... | [
"int",
"offset",
"=",
"array",
"a",
"length",
",",
"len",
";",
"if",
"(",
"array",
"a",
"!",
"=",
"array",
"b",
")",
"{",
"if",
"(",
"(",
"len",
"=",
"array",
"b",
"length",
")",
"<",
"=",
"offset",
")",
"offset",
"=",
"len",
";",
"while",
"(... |
[
"multiplies",
"a",
"given",
"vector",
"(",
"array",
")",
"by",
"a",
"value",
"*",
"every",
"element",
"of",
"the",
"specified",
"array",
"is",
"multiplied",
"by",
"<",
"var",
">",
"value",
"<",
"/",
"var",
">",
"(",
"overflow",
"is",
"not",
"checked",
... | [
"int",
"offset",
"=",
"array",
"length",
";",
"if",
"(",
"value",
"!",
"=",
"1l",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"0l",
")",
"while",
"(",
"offset",
"-",
"-",
">",
"0",
")",
"array",
"[",
"offset",
"]",
"=",
"0l",
";",
"while",
"(",
... |
[
"multiplies",
"two",
"given",
"vectors",
"(",
"arrays",
")",
"in",
"a",
"scalar",
"way",
"*",
"every",
"element",
"of",
"the",
"first",
"array",
"is",
"multiplied",
"by",
"the",
"corresponding",
"element",
"of",
"the",
"second",
"array",
"(",
"missing",
"e... | [
"int",
"offset",
";",
"long",
"result",
"=",
"0l",
";",
"int",
"len",
"=",
"array",
"a",
"length",
";",
"if",
"(",
"(",
"offset",
"=",
"array",
"b",
"length",
")",
">",
"=",
"len",
")",
"offset",
"=",
"len",
";",
"while",
"(",
"offset",
"-",
"-... |
[
"computes",
"the",
"result",
"of",
"substitution",
"of",
"a",
"given",
"value",
"into",
"the",
"polynome",
"specified",
"by",
"its",
"coefficients",
"*",
"the",
"result",
"is",
"the",
"same",
"as",
"of",
"<",
"code",
">",
"sum",
"(",
"array",
"[",
"index... | [
"int",
"offset",
"=",
"array",
"length",
"-",
"1",
";",
"long",
"result",
"=",
"0l",
";",
"if",
"(",
"offset",
">",
"=",
"0",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"0l",
")",
"offset",
"=",
"0",
";",
"for",
"(",
"result",
"=",
"array",
"[",... |
[
"sums",
"the",
"elements",
"in",
"the",
"region",
"of",
"a",
"given",
"array",
"*",
"negative",
"<",
"var",
">",
"len",
"<",
"/",
"var",
">",
"is",
"treated",
"as",
"zero",
"the",
"sum",
"overflow",
"is",
"not",
"checked",
"*"
] | [
"long",
"result",
"=",
"array",
"length",
";",
"result",
"=",
"0l",
";",
"while",
"(",
"len",
"-",
"-",
">",
"0",
")",
"result",
"+",
"=",
"array",
"[",
"offset",
"+",
"+",
"]",
";",
"return",
"result",
";"
] |
[
"count",
"non",
"-",
"zero",
"elements",
"in",
"a",
"given",
"array",
"*",
"this",
"method",
"returns",
"the",
"count",
"of",
"elements",
"of",
"<",
"var",
">",
"array",
"<",
"/",
"var",
">",
"which",
"are",
"not",
"equal",
"to",
"zero",
"*"
] | [
"int",
"offset",
"=",
"array",
"length",
",",
"count",
"=",
"0",
";",
"while",
"(",
"offset",
"-",
"-",
">",
"0",
")",
"if",
"(",
"array",
"[",
"offset",
"]",
"!",
"=",
"0l",
")",
"count",
"+",
"+",
";",
"return",
"count",
";"
] |
[
"searches",
"forward",
"for",
"value",
"in",
"a",
"given",
"array",
"*",
"negative",
"<",
"var",
">",
"index",
"<",
"/",
"var",
">",
"is",
"treated",
"as",
"zero",
"too",
"big",
"<",
"var",
">",
"index",
"<",
"/",
"var",
">",
"is",
"treated",
"as",... | [
"if",
"(",
"index",
"<",
"=",
"0",
")",
"index",
"=",
"0",
";",
"index",
"-",
"-",
";",
"int",
"len",
"=",
"array",
"length",
";",
"while",
"(",
"+",
"+",
"index",
"<",
"len",
"&",
"&",
"array",
"[",
"index",
"]",
"!",
"=",
"value",
")",
";... |
[
"searches",
"backward",
"for",
"value",
"in",
"a",
"given",
"array",
"*",
"negative",
"<",
"var",
">",
"index",
"<",
"/",
"var",
">",
"is",
"treated",
"as",
"<",
"code",
">",
"-",
"1",
"<",
"/",
"code",
">",
"too",
"big",
"<",
"var",
">",
"index"... | [
"if",
"(",
"index",
"<",
"0",
")",
"index",
"=",
"-",
"1",
";",
"int",
"len",
";",
"if",
"(",
"(",
"len",
"=",
"array",
"length",
")",
"<",
"=",
"index",
")",
"index",
"=",
"len",
"-",
"1",
";",
"index",
"+",
"+",
";",
"while",
"(",
"index"... |
[
"searches",
"forward",
"for",
"the",
"specified",
"sequence",
"in",
"a",
"given",
"array",
"*",
"the",
"searched",
"sequence",
"of",
"values",
"is",
"specified",
"by",
"<",
"var",
">",
"sub",
"array",
"<",
"/",
"var",
">",
"<",
"var",
">",
"offset",
"<... | [
"int",
"cur",
"offset",
"=",
"sub",
"array",
"length",
",",
"array",
"len",
"=",
"array",
"length",
";",
"if",
"(",
"index",
"<",
"=",
"0",
")",
"index",
"=",
"0",
";",
"if",
"(",
"len",
">",
"0",
")",
"{",
"array",
"len",
"-",
"=",
"len",
";... |
[
"searches",
"backward",
"for",
"the",
"specified",
"sequence",
"in",
"a",
"given",
"array",
"*",
"the",
"searched",
"sequence",
"of",
"values",
"is",
"specified",
"by",
"<",
"var",
">",
"sub",
"array",
"<",
"/",
"var",
">",
"<",
"var",
">",
"offset",
"... | [
"int",
"cur",
"offset",
"=",
"sub",
"array",
"length",
",",
"array",
"len",
";",
"if",
"(",
"len",
"<",
"=",
"0",
")",
"len",
"=",
"0",
";",
"if",
"(",
"(",
"array",
"len",
"=",
"array",
"length",
"-",
"len",
")",
"<",
"=",
"index",
")",
"ind... |
[
"converts",
"the",
"region",
"of",
"a",
"given",
"array",
"to",
"its",
"in",
"-",
"line",
"string",
"representation",
"*",
"the",
"decimal",
"string",
"representations",
"of",
"signed",
"or",
"unsigned",
"<",
"code",
">",
"long",
"<",
"/",
"code",
">",
"... | [
"int",
"digit",
"=",
"array",
"length",
";",
"long",
"value",
";",
"digit",
"=",
"0",
";",
"if",
"(",
"len",
">",
"0",
")",
"{",
"value",
"=",
"array",
"[",
"offset",
"]",
";",
"value",
"=",
"array",
"[",
"offset",
"+",
"len",
"-",
"1",
"]",
... |
[
"produces",
"a",
"hash",
"code",
"value",
"for",
"a",
"given",
"array",
"*",
"this",
"method",
"mixes",
"hash",
"codes",
"of",
"all",
"the",
"elements",
"of",
"<",
"var",
">",
"array",
"<",
"/",
"var",
">",
"to",
"produce",
"a",
"single",
"hash",
"co... | [
"int",
"code",
"=",
"0",
",",
"offset",
"=",
"0",
";",
"long",
"value",
";",
"for",
"(",
"int",
"len",
"=",
"array",
"length",
";",
"offset",
"<",
"len",
";",
"code",
"=",
"(",
"code",
"<",
"<",
"5",
")",
"-",
"code",
")",
"{",
"value",
"=",
... |
[
"tests",
"whether",
"or",
"not",
"the",
"specified",
"two",
"arrays",
"are",
"equal",
"*",
"this",
"method",
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"and",
"only",
"if",
"both",
"of",
"the",
"arrays",
"are",
"of",
"the",
"sa... | [
"int",
"offset",
"=",
"array",
"a",
"length",
";",
"if",
"(",
"array",
"a",
"!",
"=",
"array",
"b",
")",
"if",
"(",
"array",
"b",
"length",
"!",
"=",
"offset",
")",
"return",
"false",
";",
"else",
"while",
"(",
"offset",
"-",
"-",
">",
"0",
")"... |
[
"count",
"the",
"mismatches",
"of",
"two",
"given",
"array",
"regions",
"*",
"this",
"method",
"returns",
"the",
"count",
"of",
"elements",
"of",
"the",
"first",
"array",
"region",
"which",
"are",
"not",
"equal",
"to",
"the",
"corresponding",
"elements",
"of... | [
"int",
"count",
"=",
"array",
"a",
"length",
"-",
"array",
"b",
"length",
";",
"count",
"=",
"0",
";",
"if",
"(",
"len",
">",
"0",
")",
"{",
"long",
"value",
"=",
"array",
"a",
"[",
"offset",
"a",
"]",
";",
"value",
"=",
"array",
"a",
"[",
"o... |
[
"compares",
"two",
"given",
"array",
"regions",
"*",
"this",
"method",
"returns",
"a",
"signed",
"integer",
"indicating",
"less",
"-",
"equal",
"-",
"greater",
"relation",
"between",
"the",
"specified",
"array",
"regions",
"of",
"signed",
"or",
"unsigned",
"<"... | [
"long",
"value",
"=",
"array",
"a",
"length",
"-",
"array",
"b",
"length",
";",
"if",
"(",
"len",
"a",
">",
"0",
")",
"{",
"value",
"=",
"array",
"a",
"[",
"offset",
"a",
"]",
";",
"value",
"=",
"array",
"a",
"[",
"offset",
"a",
"+",
"len",
"... |
[
"sorts",
"the",
"elements",
"in",
"the",
"region",
"of",
"a",
"given",
"array",
"using",
"quick",
"algorithm",
"*",
"elements",
"in",
"the",
"region",
"are",
"sorted",
"into",
"ascending",
"signed",
"or",
"unsigned",
"order",
"but",
"equal",
"elements",
"may... | [
"if",
"(",
"len",
">",
"0",
")",
"{",
"long",
"value",
"=",
"array",
"[",
"offset",
"]",
",",
"temp",
";",
"if",
"(",
"len",
">",
"1",
")",
"{",
"value",
"=",
"array",
"[",
"len",
"+",
"=",
"offset",
"-",
"1",
"]",
";",
"int",
"[",
"]",
"... |
[
"searches",
"(",
"fast",
")",
"for",
"value",
"in",
"a",
"given",
"sorted",
"array",
"*",
"<",
"var",
">",
"array",
"<",
"/",
"var",
">",
"(",
"or",
"its",
"specified",
"range",
")",
"must",
"be",
"sorted",
"ascending",
"or",
"the",
"result",
"is",
... | [
"if",
"(",
"len",
">",
"0",
")",
"{",
"int",
"middle",
";",
"long",
"temp",
"=",
"array",
"[",
"offset",
"]",
";",
"temp",
"=",
"array",
"[",
"len",
"+",
"=",
"offset",
"-",
"1",
"]",
";",
"if",
"(",
"!",
"is",
"unsigned",
")",
"do",
"{",
"... |
[
"indicates",
"whether",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"object",
"is",
"equal",
"to",
"the",
"specified",
"one",
"*",
"this",
"method",
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"and",
"only",
"if",
"<",
"v... | [
"return",
"obj",
"=",
"=",
"this",
"|",
"|",
"obj",
"instanceof",
"long",
"vector",
"&",
"&",
"equals",
"(",
"this",
"array",
",",
"(",
"(",
"long",
"vector",
")",
"obj",
")",
"array",
")",
";"
] |
[
"tests",
"for",
"being",
"semantically",
"greater",
"than",
"the",
"argument",
"*",
"the",
"result",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"and",
"only",
"if",
"<",
"var",
">",
"obj",
"<",
"/",
"var",
">",
"is",
"instance",
"... | [
"if",
"(",
"obj",
"!",
"=",
"this",
"&",
"&",
"obj",
"instanceof",
"long",
"vector",
")",
"{",
"long",
"[",
"]",
"array",
"=",
"this",
"array",
",",
"other",
"array",
"=",
"(",
"(",
"long",
"vector",
")",
"obj",
")",
"array",
";",
"if",
"(",
"c... |
[
"converts",
"<",
"code",
">",
"this",
"<",
"/",
"code",
">",
"vector",
"to",
"its",
"in",
"-",
"line",
"string",
"representation",
"*",
"the",
"decimal",
"string",
"representations",
"of",
"signed",
"<",
"code",
">",
"long",
"<",
"/",
"code",
">",
"val... | [
"long",
"[",
"]",
"array",
"=",
"this",
"array",
";",
"return",
"to",
"string",
"(",
"array",
",",
"0",
",",
"array",
"length",
",",
"'",
"'",
",",
"false",
")",
";"
] |
[
"create",
"a",
"socket",
"channel"
] | [
"socket",
"channel",
"sock",
";",
"sock",
"=",
"socket",
"channel",
"open",
"(",
")",
";",
"sock",
"configure",
"blocking",
"(",
"false",
")",
";",
"sock",
"socket",
"(",
")",
"set",
"so",
"linger",
"(",
"false",
",",
"-",
"1",
")",
";",
"sock",
"s... |
[
"register",
"with",
"the",
"selection",
"and",
"connect"
] | [
"sock",
"key",
"=",
"sock",
"register",
"(",
"selector",
",",
"selection",
"key",
"op",
"connect",
")",
";",
"boolean",
"immediate",
"connect",
"=",
"sock",
"connect",
"(",
"addr",
")",
";",
"if",
"(",
"immediate",
"connect",
")",
"{",
"send",
"thread",
... |
[
"returns",
"the",
"address",
"to",
"which",
"the",
"socket",
"is",
"connected"
] | [
"return",
"remote",
"socket",
"address",
";"
] |
[
"returns",
"the",
"local",
"address",
"to",
"which",
"the",
"socket",
"is",
"bound"
] | [
"return",
"local",
"socket",
"address",
";"
] |
[
"enter",
"a",
"loop",
"processing",
"incoming",
"frames",
"until",
"orderly",
"shutdown",
"or",
"a",
"socket",
"exception",
"is",
"thrown",
"this",
"method",
"returns",
"normally",
"on",
"orderly",
"shutdown",
"throws",
"otherwise"
] | [
"frame",
"frame",
"=",
"new",
"frame",
"(",
")",
";",
"do",
"{",
"frame",
"read",
"from",
"(",
"m",
"buffered",
"input",
")",
";",
"m",
"current",
"payload",
"write",
"(",
"frame",
"payload",
"data",
",",
"0",
",",
"(",
"int",
")",
"frame",
"payloa... |
[
"{"
] | [
"authorize",
"(",
"ctx",
",",
"security",
"permission",
"cache",
"read",
")",
";",
"ignite",
"cache",
"cache",
"=",
"filter",
"platform",
"=",
"=",
"filter",
"platform",
"java",
"&",
"&",
"!",
"is",
"keep",
"binary",
"(",
")",
"?",
"raw",
"cache",
"(",... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"class",
"for",
"name",
"(",
"class",
"name",
")",
";"
] |
[
"ignores",
"fields",
"fields",
"are",
"not",
"copied",
"to",
"the",
"destination"
] | [
"return",
"null",
";"
] |
[
"finalizes",
"creation",
"of",
"destination",
"proxy",
"class"
] | [
"make",
"static",
"init",
"block",
"(",
")",
";",
"make",
"proxy",
"constructor",
"(",
")",
";",
"process",
"super",
"methods",
"(",
")",
";",
"wd",
"dest",
"visit",
"end",
"(",
")",
";"
] |
[
"creates",
"static",
"initialization",
"block",
"that",
"simply",
"calls",
"all",
"advice",
"static",
"init",
"methods",
"in",
"correct",
"order"
] | [
"if",
"(",
"wd",
"advice",
"clinits",
"!",
"=",
"null",
")",
"{",
"method",
"visitor",
"mv",
"=",
"wd",
"dest",
"visit",
"method",
"(",
"asm",
"util",
"acc",
"static",
",",
"clinit",
",",
"desc",
"void",
",",
"null",
",",
"null",
")",
";",
"mv",
... |
[
"creates",
"init",
"method",
"that",
"simply",
"calls",
"all",
"advice",
"constructor",
"methods",
"in",
"correct",
"order",
"this",
"created",
"init",
"method",
"is",
"called",
"from",
"each",
"destination",
"s",
"constructor"
] | [
"method",
"visitor",
"mv",
"=",
"wd",
"dest",
"visit",
"method",
"(",
"asm",
"util",
"acc",
"private",
"|",
"asm",
"util",
"acc",
"final",
",",
"proxetta",
"names",
"init",
"method",
"name",
",",
"desc",
"void",
",",
"null",
",",
"null",
")",
";",
"m... |
[
"checks",
"for",
"all",
"public",
"super",
"methods",
"that",
"are",
"not",
"overridden"
] | [
"for",
"(",
"class",
"reader",
"cr",
":",
"target",
"class",
"info",
"super",
"class",
"readers",
")",
"{",
"cr",
"accept",
"(",
"new",
"empty",
"class",
"visitor",
"(",
")",
"{",
"string",
"declared",
"class",
"name",
";",
"@",
"override",
"public",
"... |
[
"matches",
"pointcuts",
"on",
"method",
"if",
"no",
"pointcut",
"found",
"returns",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] | [
"list",
"<",
"proxy",
"aspect",
"data",
">",
"aspect",
"list",
"=",
"null",
";",
"for",
"(",
"proxy",
"aspect",
"data",
"aspect",
"data",
":",
"wd",
"proxy",
"aspects",
")",
"{",
"if",
"(",
"aspect",
"data",
"apply",
"(",
"msign",
")",
")",
"{",
"i... |
[
"adds",
"32",
"-",
"bit",
"integer",
"to",
"output"
] | [
"m",
"storage",
"write",
"(",
"event",
"type",
"int",
")",
";",
"write",
"4",
"bytes",
"(",
"val",
")",
";"
] |
[
"adds",
"64",
"-",
"bit",
"long",
"to",
"output"
] | [
"m",
"storage",
"write",
"(",
"event",
"type",
"long",
")",
";",
"write",
"8",
"bytes",
"(",
"val",
")",
";"
] |
[
"adds",
"a",
"4",
"-",
"byte",
"floating",
"point",
"value",
"to",
"output"
] | [
"int",
"v",
"=",
"float",
"float",
"to",
"int",
"bits",
"(",
"val",
")",
";",
"m",
"storage",
"write",
"(",
"event",
"type",
"float",
")",
";",
"write",
"4",
"bytes",
"(",
"v",
")",
";"
] |
[
"adds",
"a",
"string",
"to",
"the",
"output"
] | [
"m",
"storage",
"write",
"(",
"event",
"type",
"string",
")",
";",
"write",
"4",
"bytes",
"(",
"val",
"length",
"(",
")",
")",
";",
"byte",
"[",
"]",
"bytes",
"=",
"val",
"get",
"bytes",
"(",
"standard",
"charsets",
"utf",
"8",
")",
";",
"m",
"st... |
[
"used",
"to",
"print",
"out",
"token",
"names",
"like",
"id",
"during",
"debugging",
"and",
"error",
"reporting",
"the",
"generated",
"parsers",
"implement",
"a",
"method",
"that",
"overrides",
"this",
"to",
"point",
"to",
"their",
"string",
"[",
"]",
"token... | [
"@",
"deprecated",
"public",
"abstract",
"string",
"[",
"]",
"get",
"token",
"names",
"(",
")",
";"
] |
[
"for",
"debugging",
"and",
"other",
"purposes",
"might",
"want",
"the",
"grammar",
"name",
"have",
"antlr",
"generate",
"an",
"implementation",
"for",
"this",
"method"
] | [
"public",
"abstract",
"string",
"get",
"grammar",
"file",
"name",
"(",
")",
";"
] |
[
"get",
"the",
"atn",
"interpreter",
"used",
"by",
"the",
"recognizer",
"for",
"prediction"
] | [
"return",
"interp",
";"
] |
[
"if",
"profiling",
"during",
"the",
"parse",
"/",
"lex",
"this",
"will",
"return",
"decision",
"info",
"records",
"for",
"each",
"decision",
"in",
"recognizer",
"in",
"a",
"parse",
"info",
"object"
] | [
"return",
"null",
";"
] |
[
"set",
"the",
"atn",
"interpreter",
"used",
"by",
"the",
"recognizer",
"for",
"prediction"
] | [
"interp",
"=",
"interpreter",
";"
] |
[
"that",
"the",
"atn",
"interp",
"needs",
"to",
"execute"
] | [
"return",
"true",
";"
] |
[
"marks",
"that",
"there",
"are",
"no",
"more",
"keys",
"to",
"be",
"claimed",
"in",
"the",
"range"
] | [
"last",
"attempted",
"key",
"=",
"range",
"get",
"end",
"key",
"(",
")",
";"
] |
[
"calculates",
"the",
"next",
"{"
] | [
"return",
"byte",
"key",
"copy",
"from",
"(",
"bytes",
"concat",
"(",
"key",
"get",
"bytes",
"(",
")",
",",
"zero",
"byte",
"array",
")",
")",
";"
] |
[
"write",
"{",
"@",
"code",
"name",
"i",
"d",
"type",
"}",
"to",
"stream"
] | [
"stax",
"util",
"write",
"start",
"element",
"(",
"writer",
",",
"tag",
"get",
"prefix",
"(",
")",
",",
"tag",
"get",
"local",
"part",
"(",
")",
",",
"tag",
"get",
"namespace",
"u",
"r",
"i",
"(",
")",
")",
";",
"stax",
"util",
"write",
"name",
"... |
[
"write",
"an",
"{",
"@",
"code",
"attribute",
"type",
"}",
"to",
"stream"
] | [
"stax",
"util",
"write",
"start",
"element",
"(",
"writer",
",",
"assertion",
"prefix",
",",
"j",
"boss",
"s",
"a",
"m",
"l",
"constants",
"attribute",
"get",
"(",
")",
",",
"assertion",
"nsuri",
"get",
"(",
")",
")",
";",
"write",
"attribute",
"type",... |
[
"guard",
"duty",
"finding",
"activity",
"type"
] | [
"set",
"action",
"type",
"(",
"action",
"type",
")",
";",
"return",
"this",
";"
] |
[
"information",
"about",
"the",
"aws",
"api",
"call",
"action",
"described",
"in",
"this",
"finding"
] | [
"this",
"aws",
"api",
"call",
"action",
"=",
"aws",
"api",
"call",
"action",
";"
] |
[
"information",
"about",
"the",
"aws",
"api",
"call",
"action",
"described",
"in",
"this",
"finding"
] | [
"return",
"this",
"aws",
"api",
"call",
"action",
";"
] |
[
"information",
"about",
"the",
"aws",
"api",
"call",
"action",
"described",
"in",
"this",
"finding"
] | [
"set",
"aws",
"api",
"call",
"action",
"(",
"aws",
"api",
"call",
"action",
")",
";",
"return",
"this",
";"
] |
[
"information",
"about",
"the",
"dns",
"request",
"action",
"described",
"in",
"this",
"finding"
] | [
"this",
"dns",
"request",
"action",
"=",
"dns",
"request",
"action",
";"
] |
[
"information",
"about",
"the",
"dns",
"request",
"action",
"described",
"in",
"this",
"finding"
] | [
"return",
"this",
"dns",
"request",
"action",
";"
] |
[
"information",
"about",
"the",
"dns",
"request",
"action",
"described",
"in",
"this",
"finding"
] | [
"set",
"dns",
"request",
"action",
"(",
"dns",
"request",
"action",
")",
";",
"return",
"this",
";"
] |
[
"information",
"about",
"the",
"network",
"connection",
"action",
"described",
"in",
"this",
"finding"
] | [
"this",
"network",
"connection",
"action",
"=",
"network",
"connection",
"action",
";"
] |
[
"information",
"about",
"the",
"network",
"connection",
"action",
"described",
"in",
"this",
"finding"
] | [
"return",
"this",
"network",
"connection",
"action",
";"
] |
[
"information",
"about",
"the",
"network",
"connection",
"action",
"described",
"in",
"this",
"finding"
] | [
"set",
"network",
"connection",
"action",
"(",
"network",
"connection",
"action",
")",
";",
"return",
"this",
";"
] |
[
"information",
"about",
"the",
"port",
"probe",
"action",
"described",
"in",
"this",
"finding"
] | [
"this",
"port",
"probe",
"action",
"=",
"port",
"probe",
"action",
";"
] |
[
"information",
"about",
"the",
"port",
"probe",
"action",
"described",
"in",
"this",
"finding"
] | [
"return",
"this",
"port",
"probe",
"action",
";"
] |
[
"information",
"about",
"the",
"port",
"probe",
"action",
"described",
"in",
"this",
"finding"
] | [
"set",
"port",
"probe",
"action",
"(",
"port",
"probe",
"action",
")",
";",
"return",
"this",
";"
] |
[
"initialises",
"the",
"puzzle",
"and",
"solution",
"set",
"at",
"[",
"0",
"0",
"]"
] | [
"solve",
"(",
"0x",
"0",
"0",
"0",
"2",
"0",
"0",
"4",
"0",
"0",
"8",
"0",
"1",
"0",
"0",
"2",
"0",
"l",
",",
"0",
",",
"0",
")",
";",
"return",
"solutions",
";"
] |
[
"serializes",
"the",
"current",
"solution",
"to",
"a",
"string"
] | [
"char",
"[",
"]",
"puzzle",
"=",
"new",
"char",
"[",
"50",
"]",
";",
"shape",
"shape",
";",
"int",
"row",
";",
"int",
"col",
";",
"for",
"(",
"entry",
"entry",
":",
"solution",
")",
"{",
"shape",
"=",
"entry",
"shape",
";",
"row",
"=",
"entry",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.