docstring_tokens sequence | code_tokens sequence |
|---|---|
[
"create",
"a",
"composite",
"filter",
"based",
"on",
"this",
"filter",
"and",
"the",
"provided",
"filter",
"if",
"this",
"filter",
"does",
"not",
"match",
",",
"the",
"next",
"filter",
"will",
"not",
"be",
"applied"
] | [
"default",
"method",
"filter",
"and",
"(",
"method",
"filter",
"next",
")",
"{",
"assert",
"not",
"null",
"(",
"next",
",",
"\"",
"next",
"method",
"filter",
"must",
"not",
"be",
"null",
"\"",
")",
";",
"return",
"method",
"-",
">",
"matches",
"(",
"... |
[
"the",
"normal",
"test",
"case",
"start",
"with",
"an",
"imbalanced",
"cluster",
",",
"then",
"balancer",
"should",
"balance",
"succeed",
"but",
"not",
"exit",
",",
"then",
"make",
"the",
"cluster",
"imbalanced",
"and",
"wait",
"for",
"balancer",
"to",
"bala... | [
"public",
"void",
"test",
"balancer",
"service",
"balance",
"twice",
"(",
")",
"throws",
"exception",
"{",
"configuration",
"conf",
"=",
"new",
"hdfs",
"configuration",
"(",
")",
";",
"conf",
"set",
"time",
"duration",
"(",
"d",
"f",
"s",
"config",
"keys",... |
[
"resolves",
"the",
"version",
"based",
"on",
"operation",
"type",
"{",
"@",
"link",
"#",
"op",
"type",
"(",
")",
"}"
] | [
"private",
"long",
"resolve",
"version",
"defaults",
"(",
")",
"{",
"if",
"(",
"op",
"type",
"=",
"=",
"op",
"type",
"create",
"&",
"&",
"version",
"=",
"=",
"versions",
"match",
"any",
")",
"{",
"return",
"versions",
"match",
"deleted",
";",
"}",
"e... |
[
"execute",
"the",
"procedure",
"until",
"its",
"stage",
"is",
"updated",
"to",
"the",
"target",
"stage"
] | [
"private",
"static",
"void",
"execute",
"procedure",
"(",
"dist",
"cp",
"procedure",
"procedure",
",",
"stage",
"target",
",",
"call",
"call",
")",
"throws",
"i",
"o",
"exception",
"{",
"stage",
"stage",
"=",
"stage",
"pre",
"check",
";",
"procedure",
"upd... |
[
"while",
"satisfying",
"filedirectory",
",",
"trigger",
"the",
"cluster",
"'",
"s",
"checkpoint",
"to",
"make",
"sure",
"satisfier",
"persistence",
"work",
"as",
"expected",
"this",
"test",
"case",
"runs",
"as",
"below",
":",
"1",
"use",
"satisfy",
"storage",
... | [
"public",
"void",
"test",
"with",
"checkpoint",
"(",
")",
"throws",
"exception",
"{",
"secondary",
"name",
"node",
"secondary",
"=",
"null",
";",
"try",
"{",
"cluster",
"set",
"up",
"(",
")",
";",
"fs",
"set",
"storage",
"policy",
"(",
"test",
"file",
... |
[
"the",
"position",
"in",
"the",
"file",
"at",
"which",
"this",
"symbol",
"is",
"defined",
"for",
"debug",
"use",
"<",
"code",
">",
"optional",
"aapt",
"pb",
"source",
"position",
"source",
"=",
"2",
";",
"<",
"code",
">"
] | [
"public",
"builder",
"clear",
"source",
"(",
")",
"{",
"copy",
"on",
"write",
"(",
")",
";",
"instance",
"clear",
"source",
"(",
")",
";",
"return",
"this",
";",
"}"
] |
[
"to",
"test",
"\\",
"&",
"quot",
";",
"client",
"\\",
"&",
"quot",
";",
"model",
"to",
"test",
"\\",
"&",
"quot",
";",
"client",
"\\",
"&",
"quot",
";",
"model"
] | [
"public",
"api",
"response",
"<",
"client",
">",
"test",
"client",
"model",
"with",
"http",
"info",
"(",
"client",
"body",
")",
"throws",
"api",
"exception",
"{",
"object",
"local",
"var",
"post",
"body",
"=",
"body",
";",
"/",
"/",
"verify",
"the",
"r... |
[
"model",
"tests",
"for",
"tag"
] | [
"public",
"void",
"test",
"tag",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"tag",
"}"
] |
[
"get",
"nameservice",
"id",
"for",
"the",
"backup",
"node",
"based",
"on",
"backup",
"node",
"rpc",
"address",
"matching",
"the",
"local",
"node",
"address"
] | [
"public",
"static",
"string",
"get",
"backup",
"name",
"service",
"id",
"(",
"configuration",
"conf",
")",
"{",
"return",
"get",
"name",
"service",
"id",
"(",
"conf",
",",
"dfs",
"namenode",
"backup",
"address",
"key",
")",
";",
"}"
] |
[
"adds",
"a",
"new",
"member",
"to",
"the",
"first",
"available",
"slot",
"and",
"updates",
"slot",
"assignments",
"if",
"the",
"number",
"of",
"member",
"is",
"supported",
"by",
"the",
"current",
"pattern"
] | [
"public",
"boolean",
"add",
"member",
"(",
"formation",
"member",
"member",
")",
"{",
"/",
"/",
"check",
"if",
"the",
"pattern",
"supports",
"one",
"more",
"slot",
"if",
"(",
"pattern",
"supports",
"slots",
"(",
"slot",
"assignments",
"size",
"+",
"1",
"... |
[
"after",
"{",
"@",
"link",
"abstract",
"span",
"}",
"is",
"finished",
",",
"as",
"be",
"controller",
"by",
"\"",
"skywalking",
"-",
"api",
"\"",
"module",
",",
"notify",
"the",
"{",
"@",
"link",
"trace",
"segment",
"}",
"to",
"archive",
"it"
] | [
"public",
"void",
"archive",
"(",
"abstract",
"tracing",
"span",
"finished",
"span",
")",
"{",
"spans",
"add",
"(",
"finished",
"span",
")",
";",
"}"
] |
[
"applies",
"a",
"state",
"handler",
"to",
"a",
"component",
"node",
"from",
"the",
"cache"
] | [
"public",
"static",
"boolean",
"load",
"timeline",
"snapshot",
"(",
"debug",
"component",
"node",
",",
"string",
"destination",
")",
"{",
"thread",
"utils",
"assert",
"main",
"thread",
"(",
")",
";",
"final",
"component",
"tree",
"old",
"tree",
"=",
"node",
... |
[
"default",
"implementation",
"that",
"does",
"nothing"
] | [
"public",
"action",
"get",
"project",
"action",
"(",
"project",
"project",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"loads",
"all",
"indices",
"states",
"available",
"on",
"disk"
] | [
"list",
"<",
"index",
"metadata",
">",
"load",
"indices",
"states",
"(",
"predicate",
"<",
"string",
">",
"exclude",
"index",
"path",
"ids",
"predicate",
")",
"throws",
"i",
"o",
"exception",
"{",
"list",
"<",
"index",
"metadata",
">",
"index",
"metadata",... |
[
"package",
"private",
"method",
"to",
"help",
"unit",
"test"
] | [
"void",
"run",
"once",
"(",
")",
"{",
"try",
"{",
"/",
"/",
"the",
"fetch",
"task",
"should",
"run",
"if",
"the",
"split",
"assignment",
"is",
"not",
"empty",
"or",
"there",
"is",
"a",
"split",
"/",
"/",
"change",
"if",
"(",
"should",
"run",
"fetch... |
[
"get",
"map",
"array",
"integer"
] | [
"public",
"map",
"<",
"string",
",",
"list",
"<",
"integer",
">",
">",
"get",
"map",
"array",
"integer",
"(",
")",
"{",
"return",
"map",
"array",
"integer",
";",
"}"
] |
[
"order",
"by",
"deployment",
"name",
"(",
"needs",
"to",
"be",
"followed",
"by",
"{",
"@",
"link",
"#",
"asc",
"(",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"desc",
"(",
")",
"}",
")"
] | [
"deployment",
"query",
"order",
"by",
"deployment",
"name",
"(",
")",
";"
] |
[
"an",
"optional",
"parameter",
"that",
"focuses",
"the",
"exploration",
"on",
"documents",
"that",
"match",
"the",
"given",
"query"
] | [
"public",
"void",
"guiding",
"query",
"(",
"query",
"builder",
"query",
"builder",
")",
"{",
"guiding",
"query",
"=",
"query",
"builder",
";",
"}"
] |
[
"checks",
"whether",
"the",
"given",
"filter",
"is",
"already",
"registered",
"in",
"the",
"chain"
] | [
"public",
"static",
"boolean",
"has",
"filter",
"(",
"filter",
"filter",
")",
"{",
"jenkins",
"j",
"=",
"jenkins",
"get",
"instance",
"or",
"null",
"(",
")",
";",
"plugin",
"servlet",
"filter",
"container",
"=",
"null",
";",
"if",
"(",
"j",
"!",
"=",
... |
[
"this",
"tests",
"the",
"overload",
"of",
"the",
"method",
"that",
"uses",
"a",
"map",
"for",
"query",
"parameters",
"instead",
"of",
"listing",
"them",
"out",
"individually"
] | [
"public",
"void",
"test",
"body",
"with",
"query",
"params",
"test",
"query",
"map",
"(",
")",
"{",
"user",
"user",
"=",
"null",
";",
"fake",
"api",
"test",
"body",
"with",
"query",
"params",
"query",
"params",
"query",
"params",
"=",
"new",
"fake",
"a... |
[
"skips",
"checks",
"for",
"existing",
"keys",
",",
"doesn",
"'",
"t",
"increment",
"size"
] | [
"private",
"void",
"add",
"resize",
"(",
"t",
"key",
")",
"{",
"t",
"[",
"]",
"key",
"table",
"=",
"this",
"key",
"table",
";",
"for",
"(",
"int",
"i",
"=",
"place",
"(",
"key",
")",
";",
";",
"i",
"=",
"(",
"i",
"+",
"1",
")",
"&",
"mask",... |
[
"gets",
"server",
"worker",
"threads"
] | [
"public",
"int",
"get",
"server",
"worker",
"threads",
"(",
")",
"{",
"return",
"server",
"worker",
"threads",
";",
"}"
] |
[
"this",
"method",
"is",
"deprecated",
"use",
"set",
"fills",
"(",
")",
"instead"
] | [
"public",
"void",
"set",
"gradient",
"colors",
"(",
"list",
"<",
"fill",
">",
"gradient",
"colors",
")",
"{",
"this",
"m",
"fills",
"=",
"gradient",
"colors",
";",
"}"
] |
[
"verifies",
"the",
"display",
"of",
"references",
"to",
"functions"
] | [
"public",
"void",
"test",
"view",
"references",
"to",
"function",
"(",
")",
"{",
"double",
"click",
"x",
"ref",
"(",
"\"",
"1001005",
"\"",
",",
"\"",
"xref",
"[",
"1",
"]",
":",
"\"",
")",
";",
"component",
"provider",
"comp",
"=",
"wait",
"for",
... |
[
"add",
"a",
"map",
"of",
"parameters",
"to",
"this",
"parameter",
"source"
] | [
"public",
"map",
"sql",
"parameter",
"source",
"add",
"values",
"(",
"@",
"nullable",
"map",
"<",
"string",
",",
"?",
">",
"values",
")",
"{",
"if",
"(",
"values",
"!",
"=",
"null",
")",
"{",
"values",
"for",
"each",
"(",
"(",
"key",
",",
"value",
... |
[
"find",
"by",
"username"
] | [
"public",
"list",
"<",
"couch",
"db",
"u",
"2",
"f",
"device",
"registration",
">",
"find",
"by",
"username",
"(",
"final",
"string",
"username",
")",
"{",
"return",
"query",
"view",
"(",
"\"",
"by",
"username",
"\"",
",",
"username",
")",
";",
"}"
] |
[
"make",
"calls",
"to",
"the",
"b",
"2",
"b",
"service",
"dummy",
"api"
] | [
"private",
"static",
"void",
"make",
"service",
"calls",
"(",
"tenant",
"tenant",
",",
"calls",
"count",
"calls",
"count",
")",
"{",
"var",
"timer",
"=",
"new",
"throttle",
"timer",
"impl",
"(",
"10",
",",
"calls",
"count",
")",
";",
"var",
"service",
... |
[
"reset",
"the",
"list",
"of",
"paths",
"each",
"time",
"the",
"dialog",
"is",
"shown"
] | [
"public",
"void",
"show",
"(",
"plugin",
"tool",
"tool",
")",
"{",
"set",
"plugin",
"paths",
"list",
"data",
"(",
"preferences",
"get",
"plugin",
"paths",
"(",
")",
")",
";",
"set",
"apply",
"enabled",
"(",
"plugin",
"paths",
"changed",
")",
";",
"set"... |
[
"provide",
"an",
"{",
"@",
"link",
"exchange",
"function",
"}",
"pre",
"-",
"configured",
"with",
"{",
"@",
"link",
"client",
"http",
"connector",
"}",
"and",
"{",
"@",
"link",
"exchange",
"strategies",
"}",
"this",
"is",
"an",
"alternative",
"to",
",",
... | [
"builder",
"exchange",
"function",
"(",
"exchange",
"function",
"exchange",
"function",
")",
";"
] |
[
"get",
"the",
"thunk",
"function",
"corresponding",
"to",
"an",
"external",
"function",
"such",
"thunks",
"should",
"reside",
"within",
"the",
"external",
"block",
"(",
"note",
":",
"this",
"is",
"specific",
"to",
"the",
"elf",
"import",
")"
] | [
"private",
"address",
"get",
"external",
"thunk",
"address",
"(",
"string",
"symbol",
"name",
")",
"throws",
"not",
"found",
"exception",
"{",
"symbol",
"external",
"symbol",
"=",
"current",
"program",
"get",
"symbol",
"table",
"(",
")",
"get",
"external",
"... |
[
"store",
"the",
"user",
"parameter",
"and",
"free",
"buffer",
"index",
"lists",
"and",
"write",
"the",
"file",
"header"
] | [
"private",
"void",
"write",
"header",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"if",
"(",
"read",
"only",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"\"",
"file",
"is",
"read",
"-",
"only",
"\"",
")",
";",
"}",
"/",
"/",
"output... |
[
"deserializes",
"the",
"kafka",
"record"
] | [
"t",
"deserialize",
"(",
"consumer",
"record",
"<",
"byte",
"[",
"]",
",",
"byte",
"[",
"]",
">",
"record",
")",
"throws",
"exception",
";"
] |
[
"verify",
"resolving",
"path",
"will",
"return",
"an",
"iip",
"that",
"tracks",
"if",
"the",
"original",
"path",
"was",
"a",
"raw",
"path"
] | [
"public",
"void",
"test",
"i",
"nodes",
"in",
"path",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"f",
"s",
"directory",
"fsd",
"=",
"cluster",
"get",
"namesystem",
"(",
")",
"get",
"f",
"s",
"directory",
"(",
")",
";",
"final",
"string",
"path",... |
[
"test",
"serialization",
"of",
"outer",
"boolean",
"types"
] | [
"public",
"void",
"fake",
"outer",
"boolean",
"serialize",
"test",
"(",
")",
"throws",
"api",
"exception",
"{",
"boolean",
"body",
"=",
"null",
";",
"completable",
"future",
"<",
"boolean",
">",
"response",
"=",
"api",
"fake",
"outer",
"boolean",
"serialize"... |
[
"for",
"j",
"unit",
"testing",
"only",
",",
"set",
"the",
"option",
"for",
"resolving",
"a",
"conflict"
] | [
"void",
"set",
"conflict",
"decision",
"(",
"int",
"decision",
")",
"{",
"switch",
"(",
"decision",
")",
"{",
"case",
"canceled",
":",
"case",
"ask",
"user",
":",
"case",
"keep",
"my",
":",
"case",
"keep",
"latest",
":",
"case",
"keep",
"original",
":"... |
[
"returns",
"true",
"if",
"automatic",
"connection",
"recovery",
"is",
"enabled",
",",
"false",
"otherwise"
] | [
"public",
"boolean",
"is",
"automatic",
"recovery",
"(",
")",
"{",
"return",
"automatic",
"recovery",
";",
"}"
] |
[
"returns",
"the",
"proper",
"utf",
"-",
"8",
"representation",
"of",
"a",
"string",
"that",
"was",
"erroneously",
"read",
"using",
"latin",
"1"
] | [
"private",
"static",
"string",
"convert",
"latin",
"1",
"to",
"utf",
"8",
"(",
"string",
"latin",
"1",
")",
"{",
"return",
"new",
"string",
"(",
"latin",
"1",
"get",
"bytes",
"(",
"standard",
"charsets",
"iso",
"8859",
"1",
")",
",",
"standard",
"chars... |
[
"this",
"method",
"will",
"check",
"for",
"running",
"transitions",
"which",
"do",
"not",
"exist",
"after",
"a",
"layout",
"change",
"therefore",
",",
"they",
"need",
"to",
"be",
"interrupted",
"and",
"\"",
"finished",
"\""
] | [
"void",
"finish",
"undeclared",
"transitions",
"(",
")",
"{",
"for",
"(",
"animation",
"state",
"animation",
"state",
":",
"new",
"array",
"list",
"<",
">",
"(",
"m",
"animation",
"states",
"values",
"(",
")",
")",
")",
"{",
"if",
"(",
"animation",
"st... |
[
"runs",
"{",
"@",
"link",
"#",
"test",
"method",
"}",
"on",
"every",
"instance",
"method",
"of",
"the",
"class",
"of",
"{",
"@",
"code",
"instance",
"}",
"with",
"at",
"least",
"{",
"@",
"code",
"minimal",
"visibility",
"}",
",",
"including",
"those",
... | [
"public",
"void",
"test",
"instance",
"methods",
"(",
"object",
"instance",
",",
"visibility",
"minimal",
"visibility",
")",
"{",
"for",
"(",
"method",
"method",
":",
"get",
"instance",
"methods",
"to",
"test",
"(",
"instance",
"get",
"class",
"(",
")",
",... |
[
"get",
"parameter",
"types",
"hints",
"the",
"right",
"-",
"hand",
"side",
"should",
"be",
"{",
"@",
"link",
"sample",
"family",
"}"
] | [
"public",
"class",
"[",
"]",
"get",
"parameter",
"types",
"(",
")",
"{",
"return",
"new",
"class",
"[",
"]",
"{",
"sample",
"family",
"class",
"}",
";",
"}"
] |
[
"when",
"the",
"incremental",
"mesh",
"config",
"request",
"is",
"the",
"first",
"in",
"a",
"stream",
",",
"the",
"initial",
"resource",
"versions",
"must",
"be",
"populated",
"otherwise",
",",
"initial",
"resource",
"versions",
"must",
"be",
"omitted",
"the",... | [
"public",
"java",
"lang",
"string",
"get",
"initial",
"resource",
"versions",
"or",
"throw",
"(",
"java",
"lang",
"string",
"key",
")",
"{",
"if",
"(",
"key",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"null",
"pointer",
"exception",
"... |
[
"set",
"the",
"number",
"of",
"return",
"bytes"
] | [
"public",
"void",
"set",
"num",
"return",
"bytes",
"(",
"int",
"return",
"bytes",
")",
"{",
"this",
"num",
"return",
"bytes",
"=",
"return",
"bytes",
";",
"}"
] |
[
"validates",
"the",
"to",
"string",
"method",
"for",
"file",
"status"
] | [
"private",
"void",
"validate",
"to",
"string",
"(",
"file",
"status",
"file",
"status",
")",
"throws",
"i",
"o",
"exception",
"{",
"string",
"builder",
"expected",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"expected",
"append",
"(",
"\"",
"file",
"... |
[
"creates",
"closure",
"in",
"accordance",
"with",
"method",
"return",
"type"
] | [
"closure",
"create",
"closure",
"(",
"final",
"meta",
"holder",
"meta",
"holder",
",",
"final",
"method",
"method",
",",
"final",
"object",
"o",
",",
"final",
"object",
"args",
")",
";"
] |
[
"call",
"this",
"method",
"to",
"refresh",
"the",
"graph",
"with",
"a",
"given",
"matrix"
] | [
"public",
"matrix",
"refresh",
"(",
"matrix",
"new",
"matrix",
",",
"view",
"chart",
",",
"boolean",
"invalidate",
")",
"{",
"m",
"matrix",
"touch",
"set",
"(",
"new",
"matrix",
")",
";",
"/",
"/",
"make",
"sure",
"scale",
"and",
"translation",
"are",
... |
[
"get",
"absolute",
"maximum",
"resource",
"requirement",
"for",
"a",
"queue"
] | [
"public",
"resource",
"get",
"maximum",
"resource",
"requirement",
"(",
"string",
"label",
",",
"string",
"queue",
",",
"set",
"<",
"string",
">",
"resource",
"types",
")",
"{",
"return",
"internal",
"get",
"labeled",
"resource",
"requirement",
"for",
"queue",... |
[
"creates",
"a",
"new",
"{",
"@",
"link",
"list",
"}",
"which",
"holds",
"the",
"{",
"@",
"link",
"inet",
"socket",
"address",
"}",
"es"
] | [
"list",
"<",
"inet",
"socket",
"address",
">",
"address",
"list",
"(",
")",
"{",
"list",
"<",
"inet",
"socket",
"address",
">",
"address",
"list",
"=",
"new",
"array",
"list",
"<",
"inet",
"socket",
"address",
">",
"(",
"name",
"server",
"count",
")",
... |
[
"return",
"whether",
"to",
"inhibit",
"the",
"delivery",
"of",
"messages",
"published",
"by",
"its",
"own",
"connection"
] | [
"public",
"boolean",
"is",
"pub",
"sub",
"no",
"local",
"(",
")",
"{",
"return",
"this",
"pub",
"sub",
"no",
"local",
";",
"}"
] |
[
"method",
"to",
"select",
"which",
"known",
"fid",
"databases",
"are",
"currently",
"active",
"during",
"search"
] | [
"private",
"synchronized",
"void",
"choose",
"active",
"fid",
"dbs",
"(",
")",
"{",
"active",
"fid",
"configure",
"dialog",
"dialog",
"=",
"new",
"active",
"fid",
"configure",
"dialog",
"(",
"fid",
"file",
"manager",
"get",
"fid",
"files",
"(",
")",
")",
... |
[
"returns",
"the",
"base",
"-",
"10",
"logarithm",
"of",
"{",
"@",
"code",
"x",
"}",
",",
"rounded",
"according",
"to",
"the",
"specified",
"rounding",
"mode"
] | [
"public",
"static",
"int",
"log",
"1",
"0",
"(",
"big",
"integer",
"x",
",",
"rounding",
"mode",
"mode",
")",
"{",
"check",
"positive",
"(",
"\"",
"x",
"\"",
",",
"x",
")",
";",
"if",
"(",
"fits",
"in",
"long",
"(",
"x",
")",
")",
"{",
"return"... |
[
"makes",
"the",
"built",
"attribute",
"mandatory"
] | [
"public",
"builder",
"<",
"type",
">",
"mandatory",
"(",
")",
"{",
"return",
"set",
"property",
"flag",
"(",
"property",
"flag",
"mandatory",
",",
"\"",
"mandatory",
"\"",
")",
";",
"}"
] |
[
"processes",
"each",
"model",
"'",
"s",
"property",
"that",
"relates",
"to",
"another",
"model"
] | [
"public",
"boolean",
"process",
"foreign",
"key",
"(",
"codegen",
"model",
"model",
",",
"codegen",
"property",
"property",
",",
"map",
"<",
"string",
",",
"object",
">",
"relation",
"definition",
")",
"{",
"string",
"data",
"type",
"=",
"property",
"get",
... |
[
"builds",
"the",
"{",
"@",
"code",
"router",
"function",
"}",
"all",
"created",
"routes",
"are",
"{",
"@",
"linkplain",
"router",
"function",
"#",
"and",
"(",
"router",
"function",
")",
"composed",
"}",
"with",
"one",
"another",
",",
"and",
"filters",
"(... | [
"router",
"function",
"<",
"server",
"response",
">",
"build",
"(",
")",
";"
] |
[
"generates",
"a",
"random",
"chart",
"data",
"object",
"with",
"just",
"one",
"data",
"set"
] | [
"private",
"bar",
"data",
"generate",
"data",
"bar",
"(",
"int",
"cnt",
")",
"{",
"array",
"list",
"<",
"bar",
"entry",
">",
"entries",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"12",... |
[
"only",
"select",
"tasks",
"which",
"have",
"a",
"local",
"variable",
"value",
"greater",
"than",
"the",
"passed",
"value",
"when",
"they",
"ended",
"booleans",
",",
"byte",
"-",
"arrays",
"and",
"{",
"@",
"link",
"serializable",
"}",
"objects",
"(",
"whic... | [
"t",
"task",
"variable",
"value",
"greater",
"than",
"(",
"string",
"name",
",",
"object",
"value",
")",
";"
] |
[
"sets",
"up",
"mocking",
"support",
"for",
"genrules"
] | [
"public",
"static",
"void",
"setup",
"(",
"mock",
"tools",
"config",
"config",
")",
"throws",
"i",
"o",
"exception",
"{",
"config",
"create",
"(",
"\"",
"tools",
"/",
"genrule",
"/",
"build",
"\"",
",",
"\"",
"exports",
"files",
"(",
"[",
"'",
"genrule... |
[
"identify",
"an",
"user"
] | [
"private",
"void",
"identify",
"(",
")",
"{",
"if",
"(",
"m",
"t",
"config",
"get",
"instance",
"(",
")",
"is",
"disallow",
"data",
"collection",
"(",
")",
"|",
"|",
"is",
"offline",
")",
"{",
"return",
";",
"}",
"try",
"{",
"@",
"non",
"nls",
"f... |
[
"test",
"the",
"owner",
"(",
"not",
"admin",
")",
"of",
"directory",
"can",
"set",
"the",
"quota",
"of",
"it",
"'",
"s",
"sub",
"-",
"directories"
] | [
"public",
"void",
"test",
"owner",
"can",
"set",
"sub",
"dir",
"quota",
"(",
")",
"throws",
"exception",
"{",
"final",
"string",
"user",
"name",
"=",
"\"",
"user",
"1",
"\"",
";",
"final",
"string",
"group",
"name",
"=",
"\"",
"hadoop",
"\"",
";",
"f... |
[
"initializer",
"method",
"to",
"avoid",
"the",
"publication",
"of",
"a",
"self",
"reference",
"in",
"the",
"constructor"
] | [
"public",
"void",
"init",
"(",
"cluster",
"service",
"cluster",
"service",
")",
"{",
"cluster",
"service",
"add",
"local",
"node",
"master",
"listener",
"(",
"this",
")",
";",
"cluster",
"service",
"get",
"cluster",
"settings",
"(",
")",
"add",
"settings",
... |
[
"set",
"the",
"duration",
"without",
"ongoing",
"r",
"p",
"cs",
"before",
"going",
"to",
"idle",
"mode",
"in",
"idle",
"mode",
"the",
"channel",
"shuts",
"down",
"all",
"connections",
",",
"the",
"name",
"resolver",
"and",
"the",
"load",
"balancer",
"a",
... | [
"public",
"abstract",
"t",
"idle",
"timeout",
"(",
"long",
"value",
",",
"time",
"unit",
"unit",
")",
";"
] |
[
"gets",
"the",
"boolean",
"value",
"of",
"the",
"option",
"with",
"the",
"given",
"name",
"from",
"the",
"given",
"list",
"of",
"options"
] | [
"public",
"static",
"boolean",
"get",
"boolean",
"option",
"value",
"(",
"string",
"option",
"name",
",",
"list",
"<",
"option",
">",
"options",
",",
"boolean",
"default",
"value",
")",
"{",
"if",
"(",
"options",
"!",
"=",
"null",
")",
"{",
"for",
"(",... |
[
"{",
"@",
"link",
"#",
"handle",
"(",
")",
"}"
] | [
"public",
"boolean",
"is",
"handled",
"(",
")",
"{",
"return",
"handled",
";",
"}"
] |
[
"delete",
"purchase",
"order",
"by",
"id",
"for",
"valid",
"response",
"try",
"integer",
"i",
"ds",
"with",
"value",
"&",
"lt",
";",
"1000",
"anything",
"above",
"1000",
"or",
"nonintegers",
"will",
"generate",
"api",
"errors"
] | [
"public",
"void",
"delete",
"order",
"(",
"string",
"order",
"id",
")",
"throws",
"api",
"exception",
"{",
"delete",
"order",
"with",
"http",
"info",
"(",
"order",
"id",
")",
";",
"}"
] |
[
"the",
"comment",
"associated",
"with",
"the",
"&",
"lt",
";",
"public",
"&",
"gt",
";",
"tag",
"<",
"code",
">",
"optional",
"string",
"comment",
"=",
"3",
";",
"<",
"code",
">"
] | [
"private",
"void",
"clear",
"comment",
"(",
")",
"{",
"bit",
"field",
"0",
"=",
"(",
"bit",
"field",
"0",
"&",
"~",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";",
"comment",
"=",
"get",
"default",
"instance",
"(",
")",
"get",
"comment"... |
[
"get",
"the",
"current",
"value",
"of",
"the",
"gauge"
] | [
"double",
"get",
"value",
"(",
")",
";"
] |
[
"returns",
"the",
"operator",
"table",
"for",
"this",
"environment",
"including",
"a",
"custom",
"calcite",
"configuration"
] | [
"private",
"sql",
"operator",
"table",
"get",
"sql",
"operator",
"table",
"(",
"calcite",
"config",
"calcite",
"config",
",",
"function",
"catalog",
"function",
"catalog",
")",
"{",
"sql",
"operator",
"table",
"base",
"operator",
"table",
"=",
"sql",
"operator... |
[
"adds",
"a",
"settings",
"consumer",
"with",
"a",
"predicate",
"that",
"is",
"only",
"evaluated",
"at",
"update",
"time",
"note",
":",
"only",
"settings",
"registered",
"in",
"{",
"@",
"link",
"settings",
"module",
"}",
"can",
"be",
"changed",
"dynamically"
... | [
"public",
"synchronized",
"<",
"t",
">",
"void",
"add",
"settings",
"update",
"consumer",
"(",
"setting",
"<",
"t",
">",
"setting",
",",
"consumer",
"<",
"t",
">",
"consumer",
",",
"consumer",
"<",
"t",
">",
"validator",
")",
"{",
"if",
"(",
"setting",... |
[
"tests",
"safemode",
"with",
"view",
"f",
"s",
"overload",
"scheme",
",",
"but",
"-",
"fs",
"option",
"with",
"local",
"fs"
] | [
"public",
"void",
"test",
"safe",
"mode",
"should",
"fail",
"on",
"local",
"target",
"f",
"s",
"(",
")",
"throws",
"exception",
"{",
"add",
"mount",
"links",
"(",
"default",
"f",
"s",
"u",
"r",
"i",
"get",
"host",
"(",
")",
",",
"new",
"string",
"[... |
[
"validates",
"the",
"fields",
"on",
"the",
"page",
"and",
"updates",
"the",
"page",
"'",
"s",
"status",
"should",
"be",
"called",
"every",
"time",
"a",
"field",
"on",
"the",
"page",
"changes"
] | [
"private",
"void",
"validate",
"(",
")",
"{",
"string",
"message",
"=",
"null",
";",
"if",
"(",
"ghidra",
"project",
"creator",
"preferences",
"get",
"ghidra",
"install",
"dirs",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"message",
"=",
"\"",
"no",
... |
[
"copy",
"the",
"contents",
"of",
"another",
"instance",
"into",
"this",
"instance"
] | [
"public",
"void",
"set",
"(",
"m",
"d",
"5",
"hash",
"that",
")",
"{",
"system",
"arraycopy",
"(",
"that",
"digest",
",",
"0",
",",
"this",
"digest",
",",
"0",
",",
"md5",
"len",
")",
";",
"}"
] |
[
"adds",
"{",
"@",
"code",
"node",
"}",
"if",
"it",
"is",
"not",
"already",
"present",
"<",
"b",
">",
"nodes",
"must",
"be",
"unique",
"<",
"b",
">",
",",
"just",
"as",
"{",
"@",
"code",
"map",
"}",
"keys",
"must",
"be",
"they",
"must",
"also",
... | [
"public",
"builder",
"<",
"n",
">",
"add",
"node",
"(",
"n",
"node",
")",
"{",
"mutable",
"graph",
"add",
"node",
"(",
"node",
")",
";",
"return",
"this",
";",
"}"
] |
[
"adds",
"a",
"route",
"to",
"the",
"given",
"handler",
"function",
"that",
"handles",
"http",
"{",
"@",
"code",
"head",
"}",
"requests"
] | [
"builder",
"head",
"(",
"handler",
"function",
"<",
"server",
"response",
">",
"handler",
"function",
")",
";"
] |
[
"create",
"a",
"proxy",
"for",
"the",
"specified",
"protocol"
] | [
"public",
"static",
"<",
"t",
">",
"t",
"create",
"r",
"m",
"proxy",
"(",
"final",
"configuration",
"configuration",
",",
"final",
"class",
"<",
"t",
">",
"protocol",
",",
"user",
"group",
"information",
"user",
",",
"final",
"token",
"<",
"?",
"extends"... |
[
"wrap",
"the",
"provided",
"aggregator",
"so",
"that",
"it",
"behaves",
"(",
"almost",
")",
"as",
"if",
"it",
"had",
"been",
"collected",
"directly"
] | [
"public",
"aggregator",
"wrap",
"(",
"final",
"aggregator",
"in",
")",
"{",
"return",
"new",
"wrapped",
"aggregator",
"(",
"in",
")",
"{",
"@",
"override",
"public",
"internal",
"aggregation",
"[",
"]",
"build",
"aggregations",
"(",
"long",
"[",
"]",
"owni... |
[
"return",
"the",
"given",
"field",
"as",
"a",
"script",
"field",
"with",
"the",
"supplied",
"script"
] | [
"public",
"void",
"add",
"script",
"field",
"(",
"string",
"name",
",",
"script",
"script",
")",
"{",
"script",
"fields",
"put",
"(",
"name",
",",
"script",
")",
";",
"}"
] |
[
"get",
"the",
"first",
"fixture",
"in",
"this",
"contact"
] | [
"public",
"fixture",
"get",
"fixture",
"a",
"(",
")",
"{",
"return",
"m",
"fixture",
"a",
";",
"}"
] |
[
"indicates",
"that",
"the",
"pairing",
"is",
"from",
"a",
"high",
"-",
"trust",
"source",
"see",
"{",
"@",
"link",
"recipient",
"#",
"external",
"high",
"trust",
"push",
"(",
"context",
",",
"signal",
"service",
"address",
")",
"}"
] | [
"public",
"static",
"@",
"non",
"null",
"recipient",
"id",
"from",
"high",
"trust",
"(",
"@",
"non",
"null",
"signal",
"service",
"address",
"address",
")",
"{",
"return",
"from",
"(",
"address",
"get",
"uuid",
"(",
")",
"or",
"null",
"(",
")",
",",
... |
[
"check",
"if",
"any",
"of",
"the",
"edges",
"specified",
"were",
"initially",
"touched",
"in",
"the",
"currently",
"active",
"gesture",
"if",
"there",
"is",
"no",
"currently",
"active",
"gesture",
"this",
"method",
"will",
"return",
"false"
] | [
"public",
"boolean",
"is",
"edge",
"touched",
"(",
"int",
"edges",
")",
"{",
"final",
"int",
"count",
"=",
"m",
"initial",
"edges",
"touched",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"count",
";",
"i",
"+",
"+",
")",
"{",
... |
[
"startend",
"tag",
"nesting",
"should",
"be",
"correct",
"regardless",
"of",
"the",
"order",
"tags",
"are",
"added"
] | [
"public",
"void",
"adjacent",
"(",
")",
"{",
"markup",
"text",
"text",
"=",
"new",
"markup",
"text",
"(",
"\"",
"abcdef",
"\"",
")",
";",
"text",
"add",
"markup",
"(",
"0",
",",
"3",
",",
"\"",
"$",
"\"",
",",
"\"",
"$",
"\"",
")",
";",
"text",... |
[
"returns",
"true",
"if",
"the",
"specified",
"{",
"@",
"link",
"fsrl",
"}",
"has",
"a",
"matched",
"ghidra",
"{",
"@",
"link",
"domain",
"file",
"}",
"in",
"the",
"current",
"project"
] | [
"public",
"static",
"boolean",
"is",
"file",
"imported",
"into",
"project",
"(",
"fsrl",
"fsrl",
")",
"{",
"return",
"is",
"file",
"open",
"(",
"fsrl",
")",
"|",
"|",
"(",
"get",
"cached",
"domain",
"file",
"for",
"(",
"fsrl",
")",
"!",
"=",
"null",
... |
[
"returns",
"the",
"compiler",
"version",
"string",
"(",
"e",
"g",
"\"",
"gcc",
"-",
"4",
"1",
"1",
"\"",
")"
] | [
"public",
"string",
"get",
"compiler",
"(",
")",
"{",
"return",
"compiler",
";",
"}"
] |
[
"gets",
"resolved",
"multifactor",
"authentication",
"providers"
] | [
"public",
"static",
"collection",
"<",
"string",
">",
"get",
"resolved",
"multifactor",
"authentication",
"providers",
"(",
"final",
"request",
"context",
"context",
")",
"{",
"return",
"context",
"get",
"conversation",
"scope",
"(",
")",
"get",
"(",
"\"",
"re... |
[
"equivalent",
"to",
"calling",
"{",
"@",
"link",
"#",
"get",
"(",
"string",
")",
"}",
"and",
"casting",
"the",
"result",
"to",
"a",
"byte",
"[",
"]"
] | [
"public",
"byte",
"[",
"]",
"get",
"bytes",
"(",
"string",
"field",
"name",
")",
"{",
"object",
"bytes",
"=",
"get",
"check",
"type",
"(",
"field",
"name",
",",
"schema",
"type",
"bytes",
")",
";",
"if",
"(",
"bytes",
"instanceof",
"byte",
"buffer",
... |
[
"simple",
"implementation",
"of",
"function",
"{",
"@",
"link",
"#",
"find",
"(",
"string",
")",
"}"
] | [
"static",
"finder",
"contains",
"(",
"string",
"word",
")",
"{",
"return",
"txt",
"-",
">",
"stream",
"of",
"(",
"txt",
"split",
"(",
"\"",
"\\",
"n",
"\"",
")",
")",
"filter",
"(",
"line",
"-",
">",
"line",
"to",
"lower",
"case",
"(",
")",
"cont... |
[
"get",
"capital",
"snake"
] | [
"public",
"string",
"get",
"capital",
"snake",
"(",
")",
"{",
"return",
"capital",
"snake",
";",
"}"
] |
[
"clears",
"and",
"fills",
"{",
"@",
"code",
"m",
"buckets",
"}",
"with",
"buckets"
] | [
"private",
"void",
"fill",
"buckets",
"(",
"sparse",
"int",
"array",
"bucket",
"sizes",
")",
"{",
"m",
"buckets",
"clear",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"bucket",
"sizes",
"size",
"(",
")",
";",
"+",
"+",
"i",
... |
[
"sets",
"the",
"<",
"code",
">",
"photo",
"urls",
"<",
"code",
">",
"property"
] | [
"public",
"void",
"set",
"photo",
"urls",
"(",
"set",
"<",
"string",
">",
"photo",
"urls",
")",
"{",
"this",
"photo",
"urls",
"=",
"photo",
"urls",
";",
"}"
] |
[
"inserts",
"an",
"a",
"tag",
"that",
"surrounds",
"the",
"given",
"position"
] | [
"public",
"void",
"add",
"hyperlink",
"(",
"int",
"start",
"pos",
",",
"int",
"end",
"pos",
",",
"string",
"url",
")",
"{",
"add",
"markup",
"(",
"start",
"pos",
",",
"end",
"pos",
",",
"\"",
"<",
"a",
"href",
"=",
"'",
"\"",
"+",
"url",
"+",
"... |
[
"is",
"this",
"panel",
"currently",
"comparing",
"a",
"data",
"match",
"?"
] | [
"private",
"boolean",
"is",
"data",
"compare",
"(",
")",
"{",
"address",
"left",
"data",
"address",
"=",
"get",
"left",
"data",
"address",
"(",
")",
";",
"address",
"right",
"data",
"address",
"=",
"get",
"right",
"data",
"address",
"(",
")",
";",
"ret... |
[
"customize",
"request",
"specification"
] | [
"public",
"test",
"endpoint",
"parameters",
"oper",
"req",
"spec",
"(",
"consumer",
"<",
"request",
"spec",
"builder",
">",
"req",
"spec",
"customizer",
")",
"{",
"req",
"spec",
"customizer",
"accept",
"(",
"req",
"spec",
")",
";",
"return",
"this",
";",
... |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"this",
"multiset",
"contains",
"at",
"least",
"one",
"occurrence",
"of",
"each",
"element",
"in",
"the",
"specified",
"collection",
"this",
"method",
"refines",
"{",
"@",
"link",
"collection",
"#",
"contains",... | [
"boolean",
"contains",
"all",
"(",
"collection",
"<",
"?",
">",
"elements",
")",
";"
] |
[
"test",
"a",
"container",
"run",
"command",
"update",
"when",
"using",
"docker",
"runtime",
"and",
"the",
"device",
"plugin",
"it",
"uses",
"is",
"like",
"nvidia",
"docker",
"v",
"1"
] | [
"public",
"void",
"test",
"device",
"resource",
"docker",
"runtime",
"plugin",
"1",
"(",
")",
"throws",
"exception",
"{",
"node",
"manager",
"n",
"m",
"context",
"context",
"=",
"mock",
"(",
"node",
"manager",
"n",
"m",
"context",
"class",
")",
";",
"n",... |
[
"reads",
"and",
"returns",
"a",
"float",
"of",
"length",
"{",
"@",
"code",
"byte",
"length",
"}",
"from",
"the",
"{",
"@",
"link",
"extractor",
"input",
"}"
] | [
"private",
"double",
"read",
"float",
"(",
"extractor",
"input",
"input",
",",
"int",
"byte",
"length",
")",
"throws",
"i",
"o",
"exception",
"{",
"long",
"integer",
"value",
"=",
"read",
"integer",
"(",
"input",
",",
"byte",
"length",
")",
";",
"double"... |
[
"set",
"the",
"maximum",
"number",
"of",
"particles"
] | [
"public",
"void",
"set",
"particle",
"max",
"count",
"(",
"int",
"count",
")",
"{",
"m",
"particle",
"system",
"set",
"particle",
"max",
"count",
"(",
"count",
")",
";",
"}"
] |
[
"sets",
"the",
"indices",
"the",
"search",
"will",
"be",
"executed",
"on"
] | [
"public",
"search",
"request",
"builder",
"set",
"indices",
"(",
"string",
"indices",
")",
"{",
"request",
"indices",
"(",
"indices",
")",
";",
"return",
"this",
";",
"}"
] |
[
"enabledisable",
"the",
"joint",
"motor"
] | [
"public",
"void",
"enable",
"motor",
"(",
"boolean",
"flag",
")",
"{",
"m",
"body",
"a",
"set",
"awake",
"(",
"true",
")",
";",
"m",
"body",
"b",
"set",
"awake",
"(",
"true",
")",
";",
"m",
"enable",
"motor",
"=",
"flag",
";",
"}"
] |
[
"return",
"the",
"blur",
"bitmap",
"fast",
"zoom",
"out",
",",
"blur",
",",
"zoom",
"in"
] | [
"public",
"static",
"bitmap",
"fast",
"blur",
"(",
"final",
"bitmap",
"src",
",",
"@",
"float",
"range",
"(",
"from",
"=",
"0",
",",
"to",
"=",
"1",
",",
"from",
"inclusive",
"=",
"false",
")",
"final",
"float",
"scale",
",",
"@",
"float",
"range",
... |
[
"creates",
"a",
"result",
"that",
"the",
"failure",
"is",
"not",
"recoverable",
"and",
"no",
"restarting",
"should",
"be",
"conducted",
"the",
"result",
"can",
"be",
"flagged",
"to",
"be",
"from",
"a",
"global",
"failure",
"triggered",
"by",
"the",
"schedule... | [
"public",
"static",
"failure",
"handling",
"result",
"unrecoverable",
"(",
"throwable",
"error",
",",
"boolean",
"global",
"failure",
")",
"{",
"return",
"new",
"failure",
"handling",
"result",
"(",
"error",
",",
"global",
"failure",
")",
";",
"}"
] |
[
"this",
"method",
"is",
"expected",
"to",
"merge",
"the",
"custom",
"split",
"info",
"with",
"split",
"to",
"recreate",
"the",
"custom",
"file",
"split",
"it",
"is",
"expected",
"to",
"return",
"optional",
"empty",
"(",
")",
"if",
"the",
"custom",
"split",... | [
"optional",
"<",
"file",
"split",
">",
"recreate",
"file",
"split",
"with",
"custom",
"info",
"(",
"file",
"split",
"split",
",",
"map",
"<",
"string",
",",
"string",
">",
"custom",
"split",
"info",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"dequeue",
"one",
"element",
"from",
"head",
"of",
"the",
"queue",
",",
"will",
"block",
"if",
"queue",
"is",
"empty"
] | [
"synchronized",
"t",
"dequeue",
"(",
")",
"throws",
"interrupted",
"exception",
"{",
"check",
"consumer",
"(",
")",
";",
"while",
"(",
"0",
"=",
"=",
"size",
")",
"{",
"wait",
"(",
")",
";",
"}",
"return",
"dequeue",
"(",
")",
";",
"}"
] |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 12