docstring_tokens list | code_tokens list |
|---|---|
[
"continues",
"a",
"join",
"transformation",
"and",
"defines",
"the",
"fields",
"of",
"the",
"second",
"join",
"{",
"@",
"link",
"data",
"set",
"}",
"that",
"should",
"be",
"used",
"as",
"join",
"keys",
"the",
"resulting",
"{",
"@",
"link",
"default",
"jo... | [
"public",
"default",
"join",
"<",
"i1",
",",
"i2",
">",
"equal",
"to",
"(",
"string",
"fields",
")",
"{",
"return",
"create",
"default",
"join",
"(",
"new",
"keys",
"expression",
"keys",
"<",
">",
"(",
"fields",
",",
"input",
"2",
"get",
"type",
"(",... |
[
"get",
"a",
"json",
"serializer",
"for",
"this",
"class"
] | [
"private",
"static",
"json",
"serialization",
"<",
"success",
"data",
">",
"serializer",
"(",
")",
"{",
"return",
"new",
"json",
"serialization",
"<",
">",
"(",
"success",
"data",
"class",
",",
"false",
",",
"true",
")",
";",
"}"
] |
[
"tests",
"that",
"creating",
"tags",
"with",
"different",
"comments",
"(",
"same",
"name",
")",
"causes",
"a",
"conflict",
",",
"and",
"that",
"we",
"can",
"add",
"the",
"correct",
"one",
"to",
"the",
"result"
] | [
"public",
"void",
"test",
"create",
"tags",
"same",
"name",
"different",
"comment",
"conflict",
"(",
")",
"throws",
"exception",
"{",
"mtf",
"initialize",
"(",
"notepad",
",",
"new",
"program",
"modifier",
"listener",
"(",
")",
"{",
"@",
"override",
"public"... |
[
"should",
"be",
"called",
"to",
"ensure",
"counter",
"values",
"are",
"made",
"visible",
"across",
"threads",
"the",
"playback",
"thread",
"should",
"call",
"this",
"method",
"after",
"updating",
"the",
"counter",
"values",
"any",
"other",
"thread",
"should",
... | [
"public",
"synchronized",
"void",
"ensure",
"updated",
"(",
")",
"{",
"/",
"/",
"do",
"nothing",
"the",
"use",
"of",
"synchronized",
"ensures",
"a",
"memory",
"barrier",
"should",
"another",
"thread",
"also",
"/",
"/",
"call",
"this",
"method",
"}"
] |
[
"should",
"the",
"node",
"transport",
"stats",
"be",
"returned"
] | [
"public",
"nodes",
"stats",
"request",
"builder",
"set",
"transport",
"(",
"boolean",
"transport",
")",
"{",
"add",
"or",
"remove",
"metric",
"(",
"transport",
",",
"nodes",
"stats",
"request",
"metric",
"transport",
")",
";",
"return",
"this",
";",
"}"
] |
[
"parses",
"the",
"configuration",
"to",
"get",
"the",
"number",
"of",
"slots",
"and",
"validates",
"the",
"value"
] | [
"public",
"static",
"int",
"get",
"slot",
"(",
"configuration",
"configuration",
")",
"{",
"int",
"slots",
"=",
"configuration",
"get",
"integer",
"(",
"task",
"manager",
"options",
"num",
"task",
"slots",
",",
"1",
")",
";",
"/",
"/",
"we",
"need",
"thi... |
[
"generate",
"and",
"display",
"the",
"instruction",
"for",
"the",
"current",
"program",
"location"
] | [
"protected",
"void",
"location",
"changed",
"(",
"program",
"location",
"loc",
")",
"{",
"/",
"/",
"we",
"only",
"want",
"to",
"update",
"if",
":",
"/",
"/",
"1",
")",
"we",
"have",
"a",
"valid",
"location",
",",
"/",
"/",
"2",
")",
"the",
"locatio... |
[
"set",
"maximum",
"errors",
"to",
"tolerate",
"before",
"disk",
"balancer",
"step",
"fails"
] | [
"void",
"set",
"max",
"disk",
"errors",
"(",
"long",
"max",
"disk",
"errors",
")",
";"
] |
[
"returns",
"the",
"point",
"at",
"which",
"the",
"state",
"was",
"instantiated"
] | [
"public",
"sequence",
"number",
"get",
"entry",
"point",
"(",
")",
"{",
"return",
"pcode",
"entry",
";",
"}"
] |
[
"returns",
"a",
"map",
"of",
"all",
"registered",
"{",
"@",
"link",
"auth",
"headers",
"provider",
"}",
"s"
] | [
"public",
"immutable",
"map",
"<",
"string",
",",
"auth",
"headers",
"provider",
">",
"get",
"auth",
"headers",
"providers",
"map",
"(",
")",
"{",
"return",
"auth",
"headers",
"provider",
"map",
";",
"}"
] |
[
"returns",
"an",
"immutable",
"map",
"containing",
"the",
"given",
"entries",
",",
"in",
"order"
] | [
"public",
"static",
"<",
"k",
",",
"v",
">",
"immutable",
"map",
"<",
"k",
",",
"v",
">",
"of",
"(",
"k",
"k",
"1",
",",
"v",
"v",
"1",
",",
"k",
"k",
"2",
",",
"v",
"v",
"2",
")",
"{",
"return",
"regular",
"immutable",
"map",
"from",
"entr... |
[
"gets",
"an",
"asset",
"file"
] | [
"public",
"fi",
"get",
"(",
"string",
"path",
")",
"{",
"return",
"get",
"(",
"path",
",",
"false",
")",
";",
"}"
] |
[
"return",
"whether",
"the",
"character",
"encoding",
"has",
"been",
"set",
"if",
"{",
"@",
"code",
"false",
"}",
",",
"{",
"@",
"link",
"#",
"get",
"character",
"encoding",
"(",
")",
"}",
"will",
"return",
"a",
"default",
"encoding",
"value"
] | [
"public",
"boolean",
"is",
"charset",
"(",
")",
"{",
"return",
"this",
"charset",
";",
"}"
] |
[
"test",
"the",
"property",
"'",
"attribute",
"string",
"'"
] | [
"public",
"void",
"attribute",
"string",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"attribute",
"string",
"}"
] |
[
"gets",
"the",
"value",
"of",
"the",
"bit",
"at",
"the",
"given",
"index"
] | [
"public",
"static",
"boolean",
"get",
"(",
"int",
"[",
"]",
"bits",
",",
"int",
"idx",
")",
"{",
"int",
"array",
"idx",
"=",
"idx",
">",
">",
"5",
";",
"int",
"bit",
"=",
"1",
"<",
"<",
"(",
"idx",
"&",
"0x",
"1f",
")",
";",
"return",
"(",
... |
[
"test",
"a",
"cluster",
"with",
"even",
"distribution",
",",
"then",
"three",
"nodes",
"are",
"added",
"to",
"the",
"cluster",
",",
"runs",
"balancer",
"with",
"two",
"of",
"the",
"nodes",
"in",
"the",
"include",
"list"
] | [
"public",
"void",
"test",
"balancer",
"with",
"include",
"list",
"with",
"ports",
"(",
")",
"throws",
"exception",
"{",
"final",
"configuration",
"conf",
"=",
"new",
"hdfs",
"configuration",
"(",
")",
";",
"init",
"conf",
"(",
"conf",
")",
";",
"do",
"te... |
[
"returns",
"true",
"if",
"this",
"task",
"scheduler",
"is",
"in",
"the",
"process",
"of",
"running",
"a",
"task",
"or",
"has",
"a",
"pending",
"task"
] | [
"public",
"synchronized",
"boolean",
"is",
"busy",
"(",
")",
"{",
"return",
"task",
"thread",
"!",
"=",
"null",
"|",
"|",
"scheduled",
"task",
"!",
"=",
"null",
";",
"}"
] |
[
"returns",
"integer",
"value",
"of",
"big",
"integer",
"or",
"integer",
"max",
"value",
"if",
"does",
"not",
"fit"
] | [
"static",
"int",
"big",
"integer",
"to",
"int",
"(",
"pdb",
"applicator",
"my",
"applicator",
",",
"big",
"integer",
"big",
")",
"{",
"try",
"{",
"return",
"big",
"int",
"value",
"exact",
"(",
")",
";",
"}",
"catch",
"(",
"arithmetic",
"exception",
"e"... |
[
"get",
"the",
"job",
"history",
"file",
"path",
"for",
"a",
"given",
"job",
"id",
"the",
"job",
"history",
"file",
"at",
"this",
"path",
"may",
"or",
"may",
"not",
"be",
"existing",
"depending",
"on",
"the",
"job",
"completion",
"state",
"the",
"file",
... | [
"public",
"string",
"get",
"job",
"history",
"url",
"(",
"job",
"i",
"d",
"job",
"id",
")",
"throws",
"i",
"o",
"exception",
",",
"interrupted",
"exception",
"{",
"if",
"(",
"job",
"history",
"dir",
"=",
"=",
"null",
")",
"{",
"job",
"history",
"dir"... |
[
"called",
"when",
"the",
"value",
"of",
"{",
"@",
"link",
"#",
"is",
"playing",
"(",
")",
"}",
"changes"
] | [
"default",
"void",
"on",
"is",
"playing",
"changed",
"(",
"boolean",
"is",
"playing",
")",
"{",
"}"
] |
[
"returns",
"the",
"path",
"relative",
"to",
"the",
"context",
"root",
",",
"like",
"\"",
"foobarzot",
"\"",
"note",
"no",
"leading",
"slash",
"but",
"trailing",
"slash"
] | [
"string",
"get",
"url",
"(",
")",
";"
] |
[
"set",
"the",
"timeout",
"to",
"use",
"for",
"receive",
"calls",
"(",
"in",
"milliseconds",
")",
"the",
"default",
"is",
"{",
"@",
"link",
"#",
"receive",
"timeout",
"indefinite",
"wait",
"}",
",",
"which",
"indicates",
"a",
"blocking",
"receive",
"without... | [
"public",
"void",
"set",
"receive",
"timeout",
"(",
"long",
"receive",
"timeout",
")",
"{",
"this",
"receive",
"timeout",
"=",
"receive",
"timeout",
";",
"}"
] |
[
"estimate",
"of",
"the",
"number",
"of",
"bytes",
"in",
"the",
"cache"
] | [
"public",
"long",
"get",
"storage",
"estimate",
"bytes",
"(",
")",
"{",
"return",
"storage",
"estimate",
"bytes",
";",
"}"
] |
[
"converts",
"the",
"given",
"set",
"of",
"vertices",
"to",
"a",
"new",
"set",
"where",
"any",
"vertices",
"that",
"are",
"part",
"of",
"a",
"group",
"are",
"replaced",
"with",
"the",
"outermost",
"group",
"containing",
"it"
] | [
"public",
"set",
"<",
"attributed",
"vertex",
">",
"convert",
"to",
"outermost",
"vertices",
"(",
"set",
"<",
"attributed",
"vertex",
">",
"vertices",
")",
"{",
"set",
"<",
"attributed",
"vertex",
">",
"set",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
"... |
[
"declares",
"the",
"fragments",
"required",
"by",
"this",
"aspect",
"for",
"the",
"configuration",
"of",
"the",
"host",
"machine",
"this",
"aspect",
"'",
"s",
"actions",
"execute",
"on",
"this",
"is",
"not",
"the",
"same",
"as",
"the",
"aspect",
"'",
"s",
... | [
"public",
"config",
"aware",
"aspect",
"builder",
"requires",
"host",
"configuration",
"fragments",
"by",
"starlark",
"builtin",
"name",
"(",
"collection",
"<",
"string",
">",
"configuration",
"fragment",
"names",
")",
"{",
"aspect",
"builder",
"requires",
"config... |
[
"find",
"purchase",
"order",
"by",
"id",
"for",
"valid",
"response",
"try",
"integer",
"i",
"ds",
"with",
"value",
"&",
"lt",
";",
"&",
"#",
"x",
"3",
"d",
";",
"5",
"or",
"&",
"gt",
";",
"10",
"other",
"values",
"will",
"generated",
"exceptions"
] | [
"public",
"order",
"get",
"order",
"by",
"id",
"(",
"long",
"order",
"id",
")",
"throws",
"api",
"exception",
"{",
"api",
"response",
"<",
"order",
">",
"local",
"var",
"response",
"=",
"get",
"order",
"by",
"id",
"with",
"http",
"info",
"(",
"order",
... |
[
"converts",
"the",
"given",
"distance",
"from",
"the",
"given",
"distance",
"unit",
",",
"to",
"the",
"given",
"distance",
"unit"
] | [
"public",
"static",
"double",
"convert",
"(",
"double",
"distance",
",",
"distance",
"unit",
"from",
",",
"distance",
"unit",
"to",
")",
"{",
"if",
"(",
"from",
"=",
"=",
"to",
")",
"{",
"return",
"distance",
";",
"}",
"else",
"{",
"return",
"distance"... |
[
"check",
"to",
"see",
"if",
"a",
"byte",
"array",
"is",
"valid",
"utf",
"-",
"8"
] | [
"public",
"static",
"void",
"validate",
"u",
"t",
"f",
"8",
"(",
"byte",
"[",
"]",
"utf",
"8",
",",
"int",
"start",
",",
"int",
"len",
")",
"throws",
"malformed",
"input",
"exception",
"{",
"int",
"count",
"=",
"start",
";",
"int",
"lead",
"byte",
... |
[
"removes",
"a",
"target",
"from",
"the",
"{",
"@",
"link",
"package",
"}",
"under",
"construction",
"intended",
"to",
"be",
"used",
"only",
"by",
"{",
"@",
"link",
"com",
"google",
"devtools",
"build",
"lib",
"skyframe",
"package",
"function",
"}",
"to",
... | [
"void",
"remove",
"target",
"(",
"target",
"target",
")",
"{",
"if",
"(",
"target",
"get",
"package",
"(",
")",
"=",
"=",
"pkg",
")",
"{",
"this",
"targets",
"remove",
"(",
"target",
"get",
"name",
"(",
")",
")",
";",
"}",
"}"
] |
[
"converts",
"the",
"specified",
"xml",
"element",
"into",
"a",
"string"
] | [
"public",
"static",
"string",
"to",
"string",
"(",
"element",
"root",
")",
"{",
"x",
"m",
"l",
"outputter",
"outputter",
"=",
"new",
"generic",
"x",
"m",
"l",
"outputter",
"(",
")",
";",
"return",
"outputter",
"output",
"string",
"(",
"root",
")",
";",... |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"public",
"int",
"get",
"previous",
"offset",
"(",
")",
"{",
"return",
"previous",
"offset",
";",
"}"
] |
[
"analyzing",
"all",
"the",
"association",
"models",
"in",
"the",
"collection",
"judge",
"their",
"association",
"types",
"if",
"it",
"'",
"s",
"one",
"2one",
"or",
"many",
"2one",
"associations",
",",
"add",
"the",
"foreign",
"key",
"column",
"to",
"the",
... | [
"private",
"void",
"add",
"associations",
"(",
"collection",
"<",
"associations",
"model",
">",
"associated",
"models",
",",
"s",
"q",
"lite",
"database",
"db",
",",
"boolean",
"force",
")",
"{",
"for",
"(",
"associations",
"model",
"association",
"model",
"... |
[
"gets",
"the",
"default",
"ghidra",
"installation",
"directory",
"that",
"'",
"s",
"defined",
"in",
"the",
"preferences"
] | [
"public",
"static",
"file",
"get",
"ghidra",
"default",
"install",
"dir",
"(",
")",
"{",
"i",
"preference",
"store",
"prefs",
"=",
"activator",
"get",
"default",
"(",
")",
"get",
"preference",
"store",
"(",
")",
";",
"string",
"ghidra",
"default",
"install... |
[
"tests",
"value",
"serialization",
"utils"
] | [
"public",
"void",
"test",
"value",
"serialization",
"(",
")",
"throws",
"exception",
"{",
"type",
"serializer",
"<",
"long",
">",
"value",
"serializer",
"=",
"long",
"serializer",
"instance",
";",
"long",
"expected",
"value",
"=",
"long",
"max",
"value",
"-"... |
[
"max",
"connection",
"retries",
"on",
"socket",
"time",
"outs"
] | [
"public",
"int",
"get",
"max",
"retries",
"on",
"socket",
"timeouts",
"(",
")",
"{",
"return",
"max",
"retries",
"on",
"socket",
"timeouts",
";",
"}"
] |
[
"set",
"the",
"type",
"of",
"this",
"body",
"this",
"may",
"alter",
"the",
"mass",
"and",
"velocity"
] | [
"public",
"void",
"set",
"type",
"(",
"body",
"type",
"type",
")",
"{",
"jni",
"set",
"type",
"(",
"addr",
",",
"type",
"get",
"value",
"(",
")",
")",
";",
"}",
"/",
"/",
"@",
"off",
"/",
"*",
"jni",
"inline",
"b",
"2",
"body",
"type",
"get",
... |
[
"write",
"a",
"printable",
"representation",
"of",
"a",
"byte",
"array",
"non",
"-",
"printable",
"characters",
"are",
"hex",
"escaped",
"in",
"the",
"format",
"\\",
"\\",
"x",
"%",
"02x",
",",
"eg",
":",
"\\",
"x",
"0",
"0",
"\\",
"x",
"0",
"5",
"... | [
"private",
"static",
"string",
"to",
"string",
"(",
"final",
"byte",
"[",
"]",
"b",
",",
"int",
"off",
",",
"int",
"len",
")",
"{",
"string",
"builder",
"result",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"if",
"(",
"b",
"=",
"=",
"null",
"... |
[
"asynchronously",
"gets",
"a",
"watch",
"into",
"the",
"cluster",
"see",
"<",
"a",
"href",
"=",
"\"",
"https",
":",
"www",
"elastic",
"coguideenelasticsearchreferencecurrentwatcher",
"-",
"api",
"-",
"get",
"-",
"watch",
"html",
"\"",
">",
"the",
"docs",
"fo... | [
"public",
"cancellable",
"get",
"watch",
"async",
"(",
"get",
"watch",
"request",
"request",
",",
"request",
"options",
"options",
",",
"action",
"listener",
"<",
"get",
"watch",
"response",
">",
"listener",
")",
"{",
"return",
"rest",
"high",
"level",
"clie... |
[
"get",
"map",
"integer"
] | [
"public",
"map",
"<",
"string",
",",
"integer",
">",
"get",
"map",
"integer",
"(",
")",
"{",
"return",
"map",
"integer",
";",
"}"
] |
[
"return",
"current",
"sequence",
"number",
"and",
"then",
"increase",
"it",
"by",
"1"
] | [
"long",
"get",
"and",
"inc",
"current",
"seqno",
"(",
")",
"{",
"long",
"old",
"=",
"this",
"current",
"seqno",
";",
"this",
"current",
"seqno",
"+",
"+",
";",
"return",
"old",
";",
"}"
] |
[
"verify",
"that",
"we",
"don",
"'",
"t",
"see",
"any",
"state",
"changeswatermarks",
"when",
"all",
"active",
"channels",
"are",
"unaligned",
"earlier",
"versions",
"of",
"the",
"valve",
"had",
"a",
"bug",
"that",
"would",
"cause",
"it",
"to",
"emit",
"a",... | [
"public",
"void",
"test",
"no",
"output",
"when",
"all",
"active",
"channels",
"are",
"unaligned",
"(",
")",
"throws",
"exception",
"{",
"status",
"watermark",
"output",
"valve",
"output",
"=",
"new",
"status",
"watermark",
"output",
"(",
")",
";",
"status",... |
[
"order",
"by",
"tenant",
"id",
"(",
"needs",
"to",
"be",
"followed",
"by",
"{",
"@",
"link",
"#",
"asc",
"(",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"desc",
"(",
")",
"}",
")"
] | [
"model",
"query",
"order",
"by",
"tenant",
"id",
"(",
")",
";"
] |
[
"render",
"the",
"template",
"with",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"using",
"the",
"given",
"{",
"@",
"code",
"model",
"attributes",
"}",
"the",
"model",
"attributes",
"are",
"mapped",
"under",
"a",
"{",
"@",
"linkplain",
"org",
"springf... | [
"server",
"response",
"render",
"(",
"string",
"name",
",",
"object",
"model",
"attributes",
")",
";"
] |
[
"true",
"if",
"the",
"two",
"items",
"are",
"the",
"same",
",",
"except",
"that",
"they",
"come",
"from",
"a",
"different",
"source",
"file"
] | [
"public",
"boolean",
"is",
"equivalent",
"(",
"t",
"o",
"c",
"item",
"other",
")",
"{",
"if",
"(",
"this",
"=",
"=",
"other",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"other",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if... |
[
"obtain",
"an",
"{",
"@",
"link",
"allocation",
"}",
"when",
"the",
"caller",
"has",
"finished",
"with",
"the",
"{",
"@",
"link",
"allocation",
"}",
",",
"it",
"should",
"be",
"returned",
"by",
"calling",
"{",
"@",
"link",
"#",
"release",
"(",
"allocat... | [
"allocation",
"allocate",
"(",
")",
";"
] |
[
"allows",
"the",
"command",
"to",
"provide",
"command",
"-",
"specific",
"option",
"defaults",
"andor",
"requirements",
"this",
"method",
"is",
"called",
"after",
"all",
"command",
"-",
"line",
"and",
"rc",
"file",
"options",
"have",
"been",
"parsed"
] | [
"default",
"void",
"edit",
"options",
"(",
"options",
"parser",
"options",
"parser",
")",
"{",
"}"
] |
[
"return",
"the",
"priority",
"of",
"the",
"job"
] | [
"public",
"synchronized",
"job",
"priority",
"get",
"job",
"priority",
"(",
")",
"{",
"return",
"job",
"priority",
"value",
"of",
"(",
"super",
"get",
"priority",
"(",
")",
"name",
"(",
")",
")",
";",
"}"
] |
[
"returns",
"the",
"value",
"for",
"this",
"setting",
"but",
"falls",
"back",
"to",
"the",
"second",
"provided",
"settings",
"object"
] | [
"public",
"final",
"t",
"get",
"(",
"settings",
"primary",
",",
"settings",
"secondary",
")",
"{",
"if",
"(",
"exists",
"(",
"primary",
")",
")",
"{",
"return",
"get",
"(",
"primary",
")",
";",
"}",
"if",
"(",
"exists",
"(",
"secondary",
")",
")",
... |
[
"return",
"the",
"view",
"'",
"s",
"name",
"should",
"never",
"be",
"{",
"@",
"code",
"null",
"}",
",",
"if",
"the",
"view",
"was",
"correctly",
"configured"
] | [
"public",
"string",
"get",
"bean",
"name",
"(",
")",
"{",
"return",
"this",
"bean",
"name",
";",
"}"
] |
[
"get",
"the",
"hostname",
"where",
"the",
"container",
"runs"
] | [
"public",
"string",
"get",
"host",
"(",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"subclass",
"must",
"implement",
"this",
"method",
"\"",
")",
";",
"}"
] |
[
"obtain",
"the",
"cumulative",
"cpu",
"time",
"since",
"the",
"system",
"is",
"on"
] | [
"public",
"long",
"get",
"cumulative",
"cpu",
"time",
"(",
")",
"{",
"return",
"cumulative",
"cpu",
"time",
"long",
"value",
"(",
")",
";",
"}"
] |
[
"sets",
"the",
"size",
"of",
"the",
"central",
"directory",
"in",
"bytes",
"if",
"the",
"size",
"is",
"larger",
"than",
"0xffffffff",
",",
"the",
"file",
"is",
"set",
"to",
"zip",
"6",
"4",
"mode",
"see",
"<",
"a",
"href",
"=",
"\"",
"http",
":",
"... | [
"public",
"void",
"set",
"central",
"directory",
"size",
"(",
"long",
"central",
"directory",
"size",
")",
"{",
"this",
"central",
"directory",
"size",
"=",
"central",
"directory",
"size",
";",
"if",
"(",
"central",
"directory",
"size",
">",
"0xffffffff",
"l... |
[
"randomly",
"adds",
"fields",
",",
"objects",
",",
"or",
"arrays",
"to",
"the",
"provided",
"builder",
"the",
"maximum",
"depth",
"is",
"5"
] | [
"private",
"static",
"void",
"add",
"fields",
"(",
"random",
"random",
",",
"x",
"content",
"builder",
"builder",
",",
"int",
"min",
"num",
"fields",
",",
"int",
"current",
"depth",
")",
"throws",
"i",
"o",
"exception",
"{",
"int",
"num",
"fields",
"=",
... |
[
"add",
"an",
"annotation",
"for",
"the",
"subsequent",
"output",
"any",
"previously",
"open",
"annotation",
"will",
"be",
"closed",
"by",
"this",
"call",
",",
"and",
"the",
"new",
"annotation",
"marks",
"all",
"subsequent",
"output",
"until",
"another",
"annot... | [
"public",
"void",
"annotate",
"(",
"string",
"msg",
")",
";"
] |
[
"return",
"the",
"fallback",
"class",
"loader",
"to",
"use",
"when",
"no",
"class",
"loader",
"was",
"specified",
"and",
"object",
"input",
"stream",
"'",
"s",
"own",
"default",
"class",
"loader",
"failed",
"the",
"default",
"implementation",
"simply",
"return... | [
"protected",
"class",
"loader",
"get",
"fallback",
"class",
"loader",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"return",
"null",
";",
"}"
] |
[
"returns",
"all",
"function",
"tags",
"associated",
"with",
"the",
"given",
"function",
"id"
] | [
"set",
"<",
"function",
"tag",
">",
"get",
"function",
"tags",
"by",
"function",
"i",
"d",
"(",
"long",
"function",
"id",
")",
"throws",
"i",
"o",
"exception",
"{",
"set",
"<",
"function",
"tag",
">",
"tags",
"=",
"new",
"hash",
"set",
"<",
">",
"(... |
[
"remove",
"the",
"login",
"method",
"that",
"is",
"followed",
"by",
"a",
"space",
"from",
"the",
"username",
"e",
"g",
"\"",
"jack",
"(",
"auth",
":",
"simple",
")",
"\"",
"{",
"@",
"literal",
"-",
">",
"}",
"\"",
"jack",
"\""
] | [
"public",
"static",
"string",
"trim",
"login",
"method",
"(",
"string",
"user",
"name",
")",
"{",
"int",
"space",
"index",
"=",
"user",
"name",
"index",
"of",
"(",
"'",
"'",
")",
";",
"if",
"(",
"space",
"index",
">",
"=",
"0",
")",
"{",
"user",
... |
[
"register",
"a",
"{",
"@",
"link",
"channel",
"}",
"with",
"this",
"{",
"@",
"link",
"event",
"loop",
"}",
"using",
"a",
"{",
"@",
"link",
"channel",
"future",
"}",
"the",
"passed",
"{",
"@",
"link",
"channel",
"future",
"}",
"will",
"get",
"notified... | [
"channel",
"future",
"register",
"(",
"channel",
"promise",
"promise",
")",
";"
] |
[
"receive",
"verify",
"data",
",",
"find",
"processor",
"to",
"process"
] | [
"public",
"boolean",
"on",
"verify",
"(",
"distro",
"data",
"distro",
"data",
")",
"{",
"string",
"resource",
"type",
"=",
"distro",
"data",
"get",
"distro",
"key",
"(",
")",
"get",
"resource",
"type",
"(",
")",
";",
"distro",
"data",
"processor",
"data"... |
[
"the",
"entries",
"defined",
"for",
"this",
"type",
"<",
"code",
">",
"repeated",
"aapt",
"pb",
"entry",
"entry",
"=",
"3",
";",
"<",
"code",
">"
] | [
"public",
"builder",
"add",
"entry",
"(",
"int",
"index",
",",
"com",
"android",
"aapt",
"resources",
"entry",
"builder",
"builder",
"for",
"value",
")",
"{",
"copy",
"on",
"write",
"(",
")",
";",
"instance",
"add",
"entry",
"(",
"index",
",",
"builder",... |
[
"print",
"a",
"message",
"as",
"an",
"error"
] | [
"private",
"void",
"error",
"(",
"string",
"category",
",",
"string",
"message",
",",
"object",
"args",
")",
"{",
"println",
"(",
"\"",
"error",
":",
"%",
"s",
":",
"%",
"s",
"\"",
",",
"category",
",",
"string",
"format",
"(",
"message",
",",
"args"... |
[
"tests",
"that",
"connection",
"success",
"with",
"the",
"default",
"tls",
"version",
"note",
"that",
"debug",
"mode",
"for",
"javax",
"net",
"ssl",
"can",
"be",
"enabled",
"via",
"{",
"@",
"code",
"system",
"set",
"property",
"(",
"\"",
"javax",
"net",
... | [
"public",
"void",
"test",
"tls",
"defaults",
"(",
"list",
"<",
"string",
">",
"server",
"protocols",
",",
"list",
"<",
"string",
">",
"client",
"protocols",
")",
"throws",
"exception",
"{",
"/",
"/",
"create",
"certificates",
"for",
"use",
"by",
"client",
... |
[
"pet",
"status",
"in",
"the",
"store"
] | [
"public",
"string",
"get",
"status",
"(",
")",
"{",
"if",
"(",
"status",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"return",
"status",
"value",
"(",
")",
";",
"}"
] |
[
"adds",
"a",
"listener",
"to",
"the",
"event",
"dispatcher"
] | [
"public",
"void",
"add",
"listener",
"(",
"handler",
"event",
"handler",
",",
"bandwidth",
"meter",
"event",
"listener",
"event",
"listener",
")",
"{",
"assertions",
"check",
"not",
"null",
"(",
"event",
"handler",
")",
";",
"assertions",
"check",
"not",
"nu... |
[
"return",
"the",
"message",
"inserts"
] | [
"public",
"object",
"[",
"]",
"get",
"inserts",
"(",
")",
"{",
"return",
"this",
"inserts",
";",
"}"
] |
[
"adds",
"{",
"@",
"link",
"extension",
"}",
"s",
"that",
"will",
"be",
"invoked",
"with",
"the",
"other",
"mountunmount",
"binders",
"can",
"be",
"used",
"to",
"add",
"generic",
"functionality",
"(",
"e",
"g",
"accessibility",
")",
"to",
"a",
"render",
"... | [
"public",
"final",
"void",
"add",
"mount",
"unmount",
"extensions",
"(",
"extension",
"<",
"?",
",",
"?",
"super",
"mount",
"content",
">",
"extensions",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"extensions",
"length",
";",
"i",
"+"... |
[
"creates",
"a",
"string",
"representation",
"of",
"the",
"byte",
"array",
"from",
"the",
"given",
"offset",
"to",
"the",
"end",
"of",
"the",
"array",
"(",
"for",
"parsing",
"other",
"info",
"keys",
")"
] | [
"private",
"static",
"string",
"parse",
"remaining",
"key",
"(",
"byte",
"[",
"]",
"b",
",",
"int",
"offset",
")",
"{",
"return",
"new",
"string",
"(",
"b",
",",
"offset",
",",
"b",
"length",
"-",
"offset",
",",
"charset",
"for",
"name",
"(",
"\"",
... |
[
"this",
"is",
"called",
"when",
"the",
"{",
"@",
"link",
"mount",
"item",
"}",
"s",
"mounted",
"on",
"this",
"{",
"@",
"link",
"mount",
"state",
"}",
"need",
"to",
"be",
"re",
"-",
"bound",
"with",
"the",
"same",
"component",
"the",
"common",
"case",... | [
"void",
"rebind",
"(",
")",
"{",
"assert",
"main",
"thread",
"(",
")",
";",
"if",
"(",
"m",
"layout",
"outputs",
"ids",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"size",
"=",
"m",
"layout",
"outputs"... |
[
"return",
"a",
"local",
"map",
"spill",
"index",
"file",
"created",
"earlier"
] | [
"public",
"path",
"get",
"spill",
"index",
"file",
"(",
"int",
"spill",
"number",
")",
"throws",
"i",
"o",
"exception",
"{",
"return",
"l",
"dir",
"alloc",
"get",
"local",
"path",
"to",
"read",
"(",
"string",
"format",
"(",
"spill",
"index",
"file",
"p... |
[
"create",
"a",
"new",
"resource",
"by",
"p",
"o",
"s",
"ting",
"the",
"given",
"object",
"to",
"the",
"url",
",",
"and",
"returns",
"the",
"response",
"as",
"{",
"@",
"link",
"response",
"entity",
"}",
"the",
"{",
"@",
"code",
"request",
"}",
"parame... | [
"<",
"t",
">",
"response",
"entity",
"<",
"t",
">",
"post",
"for",
"entity",
"(",
"uri",
"url",
",",
"@",
"nullable",
"object",
"request",
",",
"class",
"<",
"t",
">",
"response",
"type",
")",
"throws",
"rest",
"client",
"exception",
";",
"/",
"/",
... |
[
"add",
"namenodes",
"to",
"the",
"static",
"resolution",
"list",
"to",
"avoid",
"going",
"through",
"dns",
"which",
"can",
"be",
"really",
"slow",
"in",
"some",
"configurations"
] | [
"private",
"void",
"setup",
"static",
"host",
"resolution",
"(",
"int",
"name",
"service",
"id",
"count",
",",
"string",
"hostname",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"name",
"service",
"id",
"count",
";",
"i",
"+",
"+",
")... |
[
"process",
"the",
"cluster",
"request"
] | [
"cluster",
"response",
"<",
"r",
">",
"process",
"request",
"(",
"cluster",
"request",
"<",
"t",
">",
"request",
")",
";"
] |
[
"given",
"the",
"byte",
"offset",
"into",
"a",
"unit",
",",
"get",
"the",
"column",
"position"
] | [
"public",
"int",
"get",
"column",
"position",
"(",
"byte",
"block",
"block",
",",
"int",
"byte",
"offset",
")",
"{",
"return",
"0",
";",
"}"
] |
[
"endpoint",
"to",
"retrieve",
"a",
"product",
"'",
"s",
"inventories"
] | [
"public",
"int",
"get",
"product",
"inventories",
"(",
")",
"{",
"return",
"5",
";",
"}"
] |
[
"register",
"one",
"or",
"more",
"{",
"@",
"link",
"org",
"springframework",
"web",
"bind",
"annotation",
"controller",
"advice",
"}",
"instances",
"to",
"be",
"used",
"in",
"tests",
"(",
"specified",
"{",
"@",
"code",
"class",
"}",
"will",
"be",
"turned",... | [
"public",
"standalone",
"mock",
"mvc",
"builder",
"set",
"controller",
"advice",
"(",
"object",
"controller",
"advice",
")",
"{",
"this",
"controller",
"advice",
"=",
"instantiate",
"if",
"necessary",
"(",
"controller",
"advice",
")",
";",
"return",
"this",
";... |
[
"get",
"the",
"combined",
"statuses",
"of",
"slice",
"subtasks",
",",
"merged",
"with",
"the",
"given",
"list",
"of",
"statuses"
] | [
"public",
"bulk",
"by",
"scroll",
"task",
"status",
"get",
"status",
"(",
"list",
"<",
"bulk",
"by",
"scroll",
"task",
"status",
"or",
"exception",
">",
"statuses",
")",
"{",
"/",
"/",
"we",
"only",
"have",
"access",
"to",
"the",
"statuses",
"of",
"req... |
[
"supply",
"a",
"{",
"@",
"code",
"map",
"}",
"of",
"beans",
"to",
"be",
"registered",
"with",
"the",
"jmx",
"{",
"@",
"code",
"m",
"bean",
"server",
"}",
"the",
"string",
"keys",
"are",
"the",
"basis",
"for",
"the",
"creation",
"of",
"jmx",
"object",... | [
"public",
"void",
"set",
"beans",
"(",
"map",
"<",
"string",
",",
"object",
">",
"beans",
")",
"{",
"this",
"beans",
"=",
"beans",
";",
"}"
] |
[
"picks",
"the",
"table",
"data",
"to",
"use",
"for",
"all",
"future",
"states",
"(",
"e",
"g",
",",
"filtering",
",",
"sorting",
",",
"etc",
")",
"data",
"can",
"be",
"reused",
"if",
"its",
"filter",
"is",
"a",
"superset",
"of",
"the",
"pending",
"fi... | [
"private",
"table",
"data",
"<",
"t",
">",
"pick",
"existing",
"table",
"data",
"(",
")",
"{",
"if",
"(",
"disable",
"sub",
"filtering",
")",
"{",
"return",
"model",
"get",
"all",
"table",
"data",
"(",
")",
";",
"}",
"table",
"data",
"<",
"t",
">",... |
[
"returns",
"an",
"immutable",
"set",
"containing",
"{",
"@",
"code",
"element",
"}",
"preferred",
"over",
"{",
"@",
"link",
"collections",
"#",
"singleton",
"}",
"for",
"code",
"consistency",
",",
"{",
"@",
"code",
"null",
"}",
"rejection",
",",
"and",
"... | [
"public",
"static",
"<",
"e",
">",
"immutable",
"set",
"<",
"e",
">",
"of",
"(",
"e",
"element",
")",
"{",
"return",
"new",
"singleton",
"immutable",
"set",
"<",
"e",
">",
"(",
"element",
")",
";",
"}"
] |
[
"configure",
"implementation",
"for",
"intercepting",
"point"
] | [
"public",
"constructor",
"point",
"builder",
"implement",
"(",
"final",
"string",
"class",
"name",
"of",
"advice",
")",
"{",
"this",
"class",
"name",
"of",
"advice",
"=",
"class",
"name",
"of",
"advice",
";",
"return",
"this",
";",
"}"
] |
[
"determine",
"if",
"the",
"currently",
"captured",
"view",
"is",
"under",
"the",
"given",
"point",
"in",
"the",
"parent",
"view",
"'",
"s",
"coordinate",
"system",
"if",
"there",
"is",
"no",
"captured",
"view",
"this",
"method",
"will",
"return",
"false"
] | [
"public",
"boolean",
"is",
"captured",
"view",
"under",
"(",
"int",
"x",
",",
"int",
"y",
")",
"{",
"return",
"is",
"view",
"under",
"(",
"m",
"captured",
"view",
",",
"x",
",",
"y",
")",
";",
"}"
] |
[
"computes",
"the",
"quantile",
"values",
"of",
"the",
"given",
"dataset",
",",
"performing",
"the",
"computation",
"in",
"-",
"place"
] | [
"public",
"map",
"<",
"integer",
",",
"double",
">",
"compute",
"in",
"place",
"(",
"double",
"dataset",
")",
"{",
"check",
"argument",
"(",
"dataset",
"length",
">",
"0",
",",
"\"",
"cannot",
"calculate",
"quantiles",
"of",
"an",
"empty",
"dataset",
"\"... |
[
"sets",
"the",
"space",
"that",
"is",
"left",
"out",
"between",
"stacked",
"forms",
"(",
"with",
"no",
"label",
")"
] | [
"public",
"void",
"set",
"stack",
"space",
"(",
"float",
"space",
")",
"{",
"m",
"stack",
"space",
"=",
"space",
";",
"}"
] |
[
"ensures",
"that",
"the",
"selected",
"state",
"of",
"the",
"button",
"matches",
"<",
"code",
">",
"selected",
"<",
"code",
">",
"note",
":",
"this",
"works",
"for",
"most",
"toggle",
"button",
"implementations",
"which",
"are",
"derived",
"from",
"abstract"... | [
"public",
"static",
"void",
"set",
"toggle",
"button",
"selected",
"(",
"abstract",
"button",
"button",
",",
"boolean",
"selected",
")",
"{",
"boolean",
"is",
"selected",
"=",
"button",
"is",
"selected",
"(",
")",
";",
"if",
"(",
"is",
"selected",
"!",
"... |
[
"clears",
"a",
"bit",
"at",
"the",
"given",
"index"
] | [
"public",
"void",
"clear",
"bit",
"(",
"int",
"index",
")",
"{",
"set",
"bit",
"(",
"index",
",",
"false",
")",
";",
"}"
] |
[
"mark",
"table",
"as",
"invalid",
"subsequent",
"table",
"use",
"may",
"generate",
"an",
"exception"
] | [
"void",
"invalidate",
"(",
")",
"{",
"boolean",
"is",
"index",
"table",
"=",
"table",
"record",
"get",
"indexed",
"column",
"(",
")",
">",
"=",
"0",
";",
"table",
"record",
"=",
"null",
";",
"root",
"buffer",
"id",
"=",
"-",
"1",
";",
"node",
"mgr"... |
[
"gets",
"current",
"document",
"revision"
] | [
"public",
"string",
"get",
"current",
"revision",
"(",
"final",
"string",
"id",
")",
"{",
"return",
"db",
"get",
"current",
"revision",
"(",
"id",
")",
";",
"}"
] |
[
"return",
"true",
"if",
"this",
"additional",
"properties",
"class",
"object",
"is",
"equal",
"to",
"o"
] | [
"public",
"boolean",
"equals",
"(",
"object",
"o",
")",
"{",
"if",
"(",
"this",
"=",
"=",
"o",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
"... |
[
"shared",
"specification",
"between",
"beats",
",",
"logstash",
",",
"and",
"ingest",
"node"
] | [
"public",
"void",
"test",
"json",
"specification",
"(",
")",
"throws",
"exception",
"{",
"object",
"mapper",
"mapper",
"=",
"new",
"object",
"mapper",
"(",
")",
";",
"json",
"node",
"root",
"node",
"=",
"mapper",
"read",
"tree",
"(",
"this",
"get",
"clas... |
[
"inject",
"all",
"of",
"the",
"blocks",
"returned",
"from",
"source",
"f",
"s",
"dataset",
"'",
"s",
"block",
"reports",
"into",
"destination",
"f",
"s",
"dataset"
] | [
"private",
"void",
"inject",
"blocks",
"from",
"block",
"report",
"(",
"simulated",
"f",
"s",
"dataset",
"source",
"f",
"s",
"dataset",
",",
"simulated",
"f",
"s",
"dataset",
"destination",
"f",
"s",
"dataset",
")",
"throws",
"i",
"o",
"exception",
"{",
... |
[
"throws",
"an",
"{",
"@",
"code",
"unsupported",
"operation",
"exception",
"}"
] | [
"public",
"builder",
"<",
"k",
",",
"v",
">",
"order",
"entries",
"by",
"value",
"(",
"comparator",
"<",
"?",
"super",
"v",
">",
"value",
"comparator",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"not",
"available",
"on"... |
[
"specify",
"the",
"advisor",
"adapter",
"registry",
"to",
"use",
"default",
"is",
"the",
"global",
"advisor",
"adapter",
"registry"
] | [
"public",
"void",
"set",
"advisor",
"adapter",
"registry",
"(",
"advisor",
"adapter",
"registry",
"advisor",
"adapter",
"registry",
")",
"{",
"this",
"advisor",
"adapter",
"registry",
"=",
"advisor",
"adapter",
"registry",
";",
"}"
] |
[
"sets",
"a",
"built",
"-",
"in",
"timestamp",
"extractor",
"that",
"converts",
"an",
"existing",
"{",
"@",
"link",
"long",
"}",
"or",
"{",
"@",
"link",
"types",
"#",
"sql",
"timestamp",
"}",
"field",
"into",
"the",
"rowtime",
"attribute"
] | [
"public",
"rowtime",
"timestamps",
"from",
"field",
"(",
"string",
"field",
"name",
")",
"{",
"internal",
"properties",
"put",
"string",
"(",
"rowtime",
"timestamps",
"type",
",",
"rowtime",
"timestamps",
"type",
"value",
"from",
"field",
")",
";",
"internal",... |
[
"creates",
"a",
"directory",
"for",
"the",
"path",
"represented",
"by",
"this",
"file"
] | [
"public",
"boolean",
"mkdir",
"(",
")",
"{",
"return",
"resource",
"mkdir",
"(",
")",
";",
"}"
] |
[
"comprehensive",
"correctness",
"testing",
"is",
"done",
"in",
"the",
"test",
"quantile",
"digest",
"aggregation",
"function",
"and",
"test",
"t",
"digest",
"aggregation",
"function"
] | [
"public",
"void",
"test",
"statistical",
"digest",
"(",
"string",
"type",
")",
"{",
"assert",
"query",
"(",
"format",
"(",
"\"",
"select",
"value",
"at",
"quantile",
"(",
"%",
"s",
"agg",
"(",
"cast",
"(",
"orderkey",
"as",
"double",
")",
")",
",",
"... |
[
"searches",
"for",
"a",
"vertex",
"with",
"a",
"matching",
"id",
"and",
"returns",
"it"
] | [
"public",
"job",
"vertex",
"find",
"vertex",
"by",
"i",
"d",
"(",
"job",
"vertex",
"i",
"d",
"id",
")",
"{",
"return",
"this",
"task",
"vertices",
"get",
"(",
"id",
")",
";",
"}"
] |
[
"collects",
"and",
"processes",
"all",
"the",
"rule",
"and",
"attribute",
"documentation",
"in",
"input",
"dirs",
"and",
"generates",
"the",
"build",
"encyclopedia",
"into",
"the",
"output",
"dir"
] | [
"public",
"abstract",
"void",
"generate",
"documentation",
"(",
"list",
"<",
"string",
">",
"input",
"dirs",
",",
"string",
"output",
"dir",
",",
"string",
"deny",
"list",
")",
"throws",
"build",
"encyclopedia",
"doc",
"exception",
",",
"i",
"o",
"exception"... |
[
"set",
"the",
"matrix",
"to",
"a",
"rotation",
"matrix",
"between",
"two",
"vectors"
] | [
"public",
"matrix",
"4",
"set",
"to",
"rotation",
"(",
"final",
"float",
"x",
"1",
",",
"final",
"float",
"y",
"1",
",",
"final",
"float",
"z",
"1",
",",
"final",
"float",
"x",
"2",
",",
"final",
"float",
"y",
"2",
",",
"final",
"float",
"z",
"2"... |
[
"executes",
"the",
"given",
"spawn",
",",
"possibly",
"asynchronously",
",",
"and",
"returns",
"a",
"spawn",
"continuation",
"to",
"represent",
"the",
"execution",
"otherwise",
"all",
"requirements",
"from",
"{",
"@",
"link",
"#",
"exec",
"}",
"apply"
] | [
"default",
"spawn",
"continuation",
"begin",
"execution",
"(",
"spawn",
"spawn",
",",
"action",
"execution",
"context",
"action",
"execution",
"context",
")",
"throws",
"interrupted",
"exception",
"{",
"try",
"{",
"return",
"spawn",
"continuation",
"immediate",
"(... |
[
"a",
"sensible",
"definition",
"of",
"{",
"@",
"link",
"#",
"head",
"map",
"(",
"object",
")",
"}",
"in",
"terms",
"of",
"{",
"@",
"link",
"#",
"head",
"map",
"(",
"object",
",",
"boolean",
")",
"}",
"if",
"you",
"override",
"{",
"@",
"code",
"he... | [
"protected",
"sorted",
"map",
"<",
"k",
",",
"v",
">",
"standard",
"head",
"map",
"(",
"k",
"to",
"key",
")",
"{",
"return",
"head",
"map",
"(",
"to",
"key",
",",
"false",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.