docstring_tokens list | code_tokens list |
|---|---|
[
"sparse",
"chunks",
"have",
"a",
"significant",
"number",
"of",
"n",
"as",
"and",
"support",
"for",
"skipping",
"over",
"large",
"runs",
"of",
"n",
"as",
"in",
"a",
"row"
] | [
"return",
"len",
";"
] |
[
"report",
"the",
"chunk",
"min",
"-",
"value",
"(",
"excluding",
"n",
"as",
")",
"or",
"na",
"n",
"if",
"unknown",
"actual",
"min",
"can",
"be",
"higher",
"than",
"reported",
"used",
"to",
"short",
"-",
"cut",
"rollup",
"stats",
"for",
"constant",
"and... | [
"return",
"double",
"na",
"n",
";"
] |
[
"report",
"the",
"chunk",
"max",
"-",
"value",
"(",
"excluding",
"n",
"as",
")",
"or",
"na",
"n",
"if",
"unknown",
"actual",
"max",
"can",
"be",
"lower",
"than",
"reported",
"used",
"to",
"short",
"-",
"cut",
"rollup",
"stats",
"for",
"constant",
"and"... | [
"return",
"double",
"na",
"n",
";"
] |
[
"return",
"the",
"next",
"chunk",
"or",
"null",
"if",
"at",
"end",
"mostly",
"useful",
"for",
"parsers",
"or",
"optimized",
"stencil",
"calculations",
"that",
"want",
"to",
"roll",
"off",
"the",
"end",
"of",
"a",
"chunk",
"but",
"in",
"a",
"highly",
"opt... | [
"return",
"vec",
"next",
"chunk",
"(",
"this",
")",
";"
] |
[
"custom",
"serializers",
"implemented",
"by",
"chunk",
"subclasses",
":",
"the",
"mem",
"field",
"contains",
"all",
"the",
"fields",
"already"
] | [
"return",
"bb",
"put",
"a",
"1",
"(",
"mem",
")",
";"
] |
[
"fixed",
"-",
"width",
"format",
"printing",
"support",
"filled",
"in",
"by",
"the",
"subclasses"
] | [
"return",
"-",
"1",
";"
] |
[
"convenience",
"methods",
"wrapping",
"around",
"visitor",
"interface"
] | [
"return",
"process",
"rows",
"(",
"new",
"chunk",
"visitor",
"new",
"chunk",
"visitor",
"(",
"nc",
")",
",",
"from",
",",
"to",
")",
"nc",
";"
] |
[
"dense",
"bulk",
"interface",
"fetch",
"values",
"from",
"the",
"given",
"range"
] | [
"return",
"get",
"doubles",
"(",
"vals",
",",
"from",
",",
"to",
",",
"double",
"na",
"n",
")",
";"
] |
[
"dense",
"bulk",
"interface",
"fetch",
"values",
"from",
"the",
"given",
"ids"
] | [
"return",
"process",
"rows",
"(",
"new",
"chunk",
"visitor",
"double",
"ary",
"visitor",
"(",
"vals",
")",
",",
"ids",
")",
"vals",
";"
] |
[
"sparse",
"bulk",
"interface",
"stream",
"through",
"the",
"compressed",
"values",
"and",
"extract",
"them",
"into",
"dense",
"double",
"array"
] | [
"return",
"get",
"sparse",
"doubles",
"(",
"vals",
",",
"ids",
",",
"double",
"na",
"n",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"configuration",
"you",
"want",
"to",
"delete",
"from",
"cloud",
"front",
"<",
"/",
"p",
">"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"of",
"the",
"<",
"code",
">",
"e",
"tag",
"<",
"/",
"code",
">",
"header",
"that",
"you",
"received",
"when",
"retrieving",
"the",
"profile",
"to",
"delete",
"for",
"example",
":",
"<",
"code",
">",
"e2qwruhapomqzl",
"... | [
"this",
"if",
"match",
"=",
"if",
"match",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"of",
"the",
"<",
"code",
">",
"e",
"tag",
"<",
"/",
"code",
">",
"header",
"that",
"you",
"received",
"when",
"retrieving",
"the",
"profile",
"to",
"delete",
"for",
"example",
":",
"<",
"code",
">",
"e2qwruhapomqzl",
"... | [
"return",
"this",
"if",
"match",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"of",
"the",
"<",
"code",
">",
"e",
"tag",
"<",
"/",
"code",
">",
"header",
"that",
"you",
"received",
"when",
"retrieving",
"the",
"configuration",
"identity",
"to",
"delete",
"for",
"example",
":",
"<",
"code",
">",
"... | [
"set",
"if",
"match",
"(",
"if",
"match",
")",
";",
"return",
"this",
";"
] |
[
"notifies",
"a",
"change",
"of",
"the",
"roots",
"list",
"via",
"content",
"resolver"
] | [
"final",
"uri",
"uri",
"=",
"documents",
"contract",
"build",
"roots",
"uri",
"(",
"mtp",
"documents",
"provider",
"authority",
")",
";",
"m",
"resolver",
"notify",
"change",
"(",
"uri",
",",
"null",
",",
"false",
")",
";"
] |
[
"does",
"a",
"failsafe",
"get",
"with",
"an",
"optional",
"executor"
] | [
"scheduled",
"executor",
"service",
"executor",
"=",
"get",
"executor",
"(",
")",
";",
"return",
"unwrap",
"exceptions",
"(",
"(",
")",
"-",
">",
"executor",
"=",
"=",
"null",
"?",
"(",
"t",
")",
"failsafe",
"with",
"(",
"retry",
"policy",
")",
"get",
... |
[
"does",
"a",
"failsafe",
"get",
"with",
"an",
"optional",
"executor"
] | [
"scheduled",
"executor",
"service",
"executor",
"=",
"get",
"executor",
"(",
")",
";",
"return",
"unwrap",
"exceptions",
"(",
"(",
")",
"-",
">",
"executor",
"=",
"=",
"null",
"?",
"(",
"t",
")",
"failsafe",
"with",
"(",
"circuit",
"breaker",
")",
"get... |
[
"does",
"a",
"failsafe",
"run",
"with",
"an",
"optional",
"executor"
] | [
"scheduled",
"executor",
"service",
"executor",
"=",
"get",
"executor",
"(",
")",
";",
"if",
"(",
"executor",
"=",
"=",
"null",
")",
"failsafe",
"with",
"(",
"breaker",
")",
"run",
"(",
"runnable",
")",
";",
"else",
"failsafe",
"with",
"(",
"breaker",
... |
[
"does",
"a",
"failsafe",
"get",
"with",
"an",
"optional",
"executor"
] | [
"scheduled",
"executor",
"service",
"executor",
"=",
"get",
"executor",
"(",
")",
";",
"return",
"unwrap",
"exceptions",
"(",
"(",
")",
"-",
">",
"executor",
"=",
"=",
"null",
"?",
"(",
"t",
")",
"failsafe",
"with",
"(",
"breaker",
")",
"with",
"fallba... |
[
"does",
"a",
"failsafe",
"get",
"with",
"an",
"optional",
"executor"
] | [
"scheduled",
"executor",
"service",
"executor",
"=",
"get",
"executor",
"(",
")",
";",
"return",
"unwrap",
"exceptions",
"(",
"(",
")",
"-",
">",
"executor",
"=",
"=",
"null",
"?",
"(",
"t",
")",
"failsafe",
"with",
"(",
"retry",
"policy",
")",
"with",... |
[
"get",
"the",
"registered",
"feature",
"instance",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"this",
"is",
"a",
"class",
"based",
"feature",
"registration"
] | [
"return",
"feature",
";"
] |
[
"returns",
"the",
"executor",
"service",
"used",
"by",
"this",
"client",
"to",
"execute",
"async",
"requests"
] | [
"return",
"executor",
"service",
";"
] |
[
"shuts",
"down",
"the",
"client",
"releasing",
"all",
"managed",
"resources",
"this",
"includes",
"forcibly",
"terminating",
"all",
"pending",
"asynchronous",
"service",
"calls",
"clients",
"who",
"wish",
"to",
"give",
"pending",
"asynchronous",
"service",
"calls",
... | [
"super",
"shutdown",
"(",
")",
";",
"executor",
"service",
"shutdown",
"now",
"(",
")",
";"
] |
[
"adds",
"{"
] | [
"if",
"(",
"node",
"!",
"=",
"null",
")",
"{",
"add",
"def",
"(",
"new",
"def",
"(",
"node",
")",
")",
";",
"}"
] |
[
"adds",
"{"
] | [
"if",
"(",
"def",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"set",
"<",
"def",
">",
"defs",
"=",
"get",
"defs",
"(",
")",
";",
"if",
"(",
"!",
"defs",
"contains",
"(",
"def",
")",
")",
"{",
"defs",
"add",
"(",
"def",
")",
";",
"if",
... |
[
"returns",
"the",
"first",
"definition",
"which",
"by",
"convention",
"is",
"treated",
"as",
"the",
"one",
"that",
"introduced",
"the",
"binding"
] | [
"return",
"get",
"defs",
"(",
")",
"is",
"empty",
"(",
")",
"?",
"null",
":",
"get",
"defs",
"(",
")",
"iterator",
"(",
")",
"next",
"(",
")",
";"
] |
[
"bindings",
"can",
"be",
"sorted",
"by",
"their",
"location",
"for",
"outlining",
"purposes"
] | [
"return",
"get",
"signature",
"node",
"(",
")",
"get",
"start",
"(",
")",
"-",
"(",
"(",
"binding",
")",
"o",
")",
"get",
"signature",
"node",
"(",
")",
"get",
"start",
"(",
")",
";"
] |
[
"return",
"the",
"(",
"possibly",
"empty",
")",
"set",
"of",
"definitions",
"for",
"this",
"binding"
] | [
"if",
"(",
"defs",
"=",
"=",
"null",
")",
"{",
"defs",
"=",
"new",
"hash",
"set",
"<",
"def",
">",
"(",
"def",
"set",
"initial",
"capacity",
")",
";",
"}",
"return",
"defs",
";"
] |
[
"returns",
"the",
"number",
"of",
"definitions",
"found",
"for",
"this",
"binding"
] | [
"return",
"defs",
"=",
"=",
"null",
"?",
"0",
":",
"defs",
"size",
"(",
")",
";"
] |
[
"returns",
"the",
"set",
"of",
"references",
"to",
"this",
"binding"
] | [
"if",
"(",
"refs",
"=",
"=",
"null",
")",
"{",
"refs",
"=",
"new",
"hash",
"set",
"<",
"ref",
">",
"(",
"ref",
"set",
"initial",
"capacity",
")",
";",
"}",
"return",
"refs",
";"
] |
[
"/",
"*",
"multiple",
"bindings",
"can",
"exist",
"for",
"the",
"same",
"qname",
"but",
"they",
"should",
"appear",
"at",
"different",
"locations",
"otherwise",
"they",
"are",
"considered",
"the",
"same",
"by",
"the",
"equals",
"method",
"of",
"n",
"binding"... | [
"if",
"(",
"o",
"instanceof",
"binding",
")",
"{",
"binding",
"other",
"=",
"(",
"binding",
")",
"o",
";",
"return",
"other",
"get",
"def",
"(",
")",
"equals",
"(",
"get",
"def",
"(",
")",
")",
";",
"}",
"else",
"{",
"return",
"false",
";",
"}"
] |
[
"returns",
"an",
"unmodifiable",
"instance",
"of",
"the",
"default",
"stop",
"words",
"set"
] | [
"return",
"default",
"set",
"holder",
"default",
"stop",
"set",
";"
] |
[
"creates",
"{",
"@",
"link",
"org",
"apache",
"lucene",
"analysis",
"analyzer",
"token",
"stream",
"components",
"}",
"used",
"to",
"tokenize",
"all",
"the",
"text",
"in",
"the",
"provided",
"{",
"@",
"link",
"reader",
"}"
] | [
"final",
"tokenizer",
"source",
"=",
"new",
"standard",
"tokenizer",
"(",
")",
";",
"token",
"stream",
"result",
"=",
"new",
"lower",
"case",
"filter",
"(",
"source",
")",
";",
"result",
"=",
"new",
"stop",
"filter",
"(",
"result",
",",
"stopwords",
")",... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"resource",
"group",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"group",
"to",
"update",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex"... | [
"set",
"group",
"name",
"(",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"username",
"of",
"the",
"user",
"for",
"the",
"work",
"space",
"this",
"username",
"must",
"exist",
"in",
"the",
"aws",
"directory",
"service",
"directory",
"for",
"the",
"work",
"space",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"user",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"user",
"to",
"add",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
... | [
"set",
"user",
"name",
"(",
"user",
"name",
")",
";",
"return",
"this",
";"
] |
[
"called",
"by",
"the",
"constructor",
"to",
"start",
"the",
"writer",
"threads",
"used",
"by",
"tests",
"that",
"need",
"to",
"override",
"starting",
"the",
"threads"
] | [
"for",
"(",
"writer",
"thread",
"thread",
":",
"writer",
"threads",
")",
"{",
"thread",
"start",
"(",
")",
";",
"}"
] |
[
"cache",
"the",
"block",
"with",
"the",
"specified",
"name",
"and",
"buffer"
] | [
"cache",
"block",
"with",
"wait",
"(",
"cache",
"key",
",",
"cached",
"item",
",",
"in",
"memory",
",",
"wait",
"when",
"cache",
")",
";"
] |
[
"cache",
"the",
"block",
"to",
"ram",
"cache"
] | [
"if",
"(",
"cache",
"enabled",
")",
"{",
"if",
"(",
"backing",
"map",
"contains",
"key",
"(",
"cache",
"key",
")",
"|",
"|",
"ram",
"cache",
"contains",
"key",
"(",
"cache",
"key",
")",
")",
"{",
"if",
"(",
"block",
"cache",
"util",
"should",
"repl... |
[
"bucket",
"map"
] | [
"if",
"(",
"!",
"cache",
"enabled",
")",
"{",
"return",
"false",
";",
"}",
"r",
"a",
"m",
"queue",
"entry",
"removed",
"block",
"=",
"check",
"ram",
"cache",
"(",
"cache",
"key",
")",
";",
"bucket",
"entry",
"bucket",
"entry",
"=",
"backing",
"map",
... |
[
"return",
"the",
"count",
"of",
"bucket",
"sizeinfos",
"still",
"need",
"free",
"space"
] | [
"bucket",
"allocator",
"index",
"statistics",
"[",
"]",
"stats",
"=",
"bucket",
"allocator",
"get",
"index",
"statistics",
"(",
")",
";",
"int",
"full",
"count",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"stats",
"length",
";",
... |
[
"used",
"for",
"test"
] | [
"this",
"writer",
"enabled",
"=",
"false",
";"
] |
[
"put",
"the",
"new",
"bucket",
"entry",
"into",
"backing",
"map",
"notice",
"that",
"we",
"are",
"allowed",
"to",
"replace",
"the",
"existing",
"cache",
"with",
"a",
"new",
"block",
"for",
"the",
"same",
"cache",
"key",
"there",
"s",
"a",
"corner",
"case... | [
"bucket",
"entry",
"previous",
"entry",
"=",
"backing",
"map",
"put",
"(",
"key",
",",
"bucket",
"entry",
")",
";",
"if",
"(",
"previous",
"entry",
"!",
"=",
"null",
"&",
"&",
"previous",
"entry",
"!",
"=",
"bucket",
"entry",
")",
"{",
"reentrant",
"... |
[
"evicts",
"all",
"blocks",
"for",
"a",
"specific",
"h",
"file",
"<",
"p",
">",
"this",
"is",
"used",
"for",
"evict",
"-",
"on",
"-",
"close",
"to",
"remove",
"all",
"blocks",
"of",
"a",
"specific",
"h",
"file"
] | [
"set",
"<",
"block",
"cache",
"key",
">",
"key",
"set",
"=",
"blocks",
"by",
"h",
"file",
"sub",
"set",
"(",
"new",
"block",
"cache",
"key",
"(",
"hfile",
"name",
",",
"long",
"min",
"value",
")",
",",
"true",
",",
"new",
"block",
"cache",
"key",
... |
[
"block",
"has",
"been",
"accessed",
"update",
"its",
"local",
"access",
"counter"
] | [
"this",
"access",
"counter",
"=",
"access",
"counter",
";",
"if",
"(",
"this",
"priority",
"=",
"=",
"block",
"priority",
"single",
")",
"{",
"this",
"priority",
"=",
"block",
"priority",
"multi",
";",
"}"
] |
[
"only",
"used",
"in",
"test"
] | [
"for",
"(",
"writer",
"thread",
"writer",
"thread",
":",
"writer",
"threads",
")",
"{",
"writer",
"thread",
"disable",
"writer",
"(",
")",
";",
"writer",
"thread",
"interrupt",
"(",
")",
";",
"writer",
"thread",
"join",
"(",
")",
";",
"}"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"unique",
"problems",
"<",
"/",
"p",
">",
"<",
"p",
">",
"allowed",
"values",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"pending",
":",
"a",
"pending",
"cond... | [
"return",
"unique",
"problems",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"unique",
"problems",
"<",
"/",
"p",
">",
"<",
"p",
">",
"allowed",
"values",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"pending",
":",
"a",
"pending",
"cond... | [
"this",
"unique",
"problems",
"=",
"unique",
"problems",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"unique",
"problems",
"<",
"/",
"p",
">",
"<",
"p",
">",
"allowed",
"values",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"pending",
":",
"a",
"pending",
"cond... | [
"set",
"unique",
"problems",
"(",
"unique",
"problems",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"unique",
"problems"
] | [
"this",
"unique",
"problems",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"number",
"of",
"items",
"that",
"are",
"returned",
"is",
"significantly",
"large",
"this",
"is",
"an",
"identifier",
"that",
"is",
"also",
"returned",
"which",
"can",
"be",
"used",
"in",
"a",
"subsequent",
"call",
"to",
"this... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"this",
"message",
"=",
"message",
";"
] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"hash",
"code",
"for",
"multiple",
"objects",
"using",
"{"
] | [
"return",
"arrays",
"hash",
"code",
"(",
"objects",
")",
";"
] |
[
"<",
"p",
">",
"the",
"message",
"about",
"the",
"availability",
"zone",
"<",
"/",
"p",
">"
] | [
"set",
"message",
"(",
"message",
")",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"(",
"cross",
"operator",
"base",
"<",
"?",
",",
"?",
",",
"?",
",",
"?",
">",
")",
"super",
"get",
"operator",
"(",
")",
";"
] |
[
"we",
"assume",
"that",
"the",
"cardinality",
"is",
"the",
"product",
"of",
"the",
"input",
"cardinalities",
"and",
"that",
"the",
"result",
"width",
"is",
"the",
"sum",
"of",
"the",
"input",
"widths"
] | [
"long",
"card",
"1",
"=",
"get",
"first",
"predecessor",
"node",
"(",
")",
"get",
"estimated",
"num",
"records",
"(",
")",
";",
"long",
"card",
"2",
"=",
"get",
"second",
"predecessor",
"node",
"(",
")",
"get",
"estimated",
"num",
"records",
"(",
")",
... |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"final",
"integer",
"value",
"=",
"this",
"get",
"value",
"(",
")",
";",
"return",
"value",
"!",
"=",
"null",
"&",
"&",
"value",
"!",
"=",
"0",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"builder",
"append",
"(",
"x",
"m",
"l",
"handler",
"add",
"tag",
"value",
"(",
"this",
"get",
"key",
"(",
")",
",",
"this",
"get",
"value",
"(",
")",
")",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"final",
"integer",
"value",
"=",
"integer",
"parse",
"int",
"(",
"x",
"m",
"l",
"handler",
"get",
"tag",
"value",
"(",
"node",
",",
"this",
"get",
"key",
"(",
")",
")",
")",
";",
"this",
"set",
"value",
"(",
"value",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"final",
"long",
"long",
"value",
"=",
"repository",
"get",
"step",
"attribute",
"integer",
"(",
"step",
"id",
",",
"this",
"get",
"key",
"(",
")",
")",
";",
"this",
"set",
"value",
"(",
"long",
"value",
"int",
"value",
"(",
")",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"node",
"put",
"int",
"(",
"this",
"get",
"key",
"(",
")",
",",
"this",
"get",
"value",
"(",
")",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"this",
"set",
"value",
"(",
"node",
"get",
"int",
"(",
"this",
"get",
"key",
"(",
")",
",",
"this",
"get",
"value",
"(",
")",
")",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"repository",
"save",
"step",
"attribute",
"(",
"transformation",
"id",
",",
"step",
"id",
",",
"this",
"get",
"key",
"(",
")",
",",
"this",
"get",
"value",
"(",
")",
")",
";"
] |
[
"the",
"phone",
"number",
"to",
"get",
"information",
"about",
"the",
"phone",
"number",
"that",
"you",
"provide",
"should",
"include",
"a",
"country",
"code",
"if",
"the",
"number",
"doesn",
"t",
"include",
"a",
"valid",
"country",
"code",
"the",
"operation... | [
"this",
"phone",
"number",
"=",
"phone",
"number",
";"
] |
[
"the",
"phone",
"number",
"to",
"get",
"information",
"about",
"the",
"phone",
"number",
"that",
"you",
"provide",
"should",
"include",
"a",
"country",
"code",
"if",
"the",
"number",
"doesn",
"t",
"include",
"a",
"valid",
"country",
"code",
"the",
"operation... | [
"return",
"this",
"phone",
"number",
";"
] |
[
"<",
"p",
">",
"the",
"phone",
"number",
"for",
"which",
"you",
"want",
"to",
"check",
"the",
"opt",
"out",
"status",
"<",
"/",
"p",
">"
] | [
"set",
"phone",
"number",
"(",
"phone",
"number",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"servlet",
"startup",
"class",
",",
"this",
")",
";"
] |
[
"determine",
"if",
"the",
"stacktrace",
"attribute",
"should",
"be",
"included"
] | [
"include",
"stacktrace",
"include",
"=",
"get",
"error",
"properties",
"(",
")",
"get",
"include",
"stacktrace",
"(",
")",
";",
"if",
"(",
"include",
"=",
"=",
"include",
"stacktrace",
"always",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"include",... |
[
"provide",
"access",
"to",
"the",
"error",
"properties"
] | [
"return",
"this",
"error",
"properties",
";"
] |
[
"{"
] | [
"try",
"{",
"safe",
"run",
"(",
")",
";",
"}",
"catch",
"(",
"interrupted",
"exception",
"ignored",
")",
"{",
"thread",
"current",
"thread",
"(",
")",
"interrupt",
"(",
")",
";",
"}"
] |
[
"external",
"use"
] | [
"if",
"(",
"skip",
"next",
"apply",
"(",
")",
")",
"return",
";",
"reset",
"tint",
"resource",
"(",
"0",
")",
";",
"set",
"skip",
"next",
"apply",
"(",
"false",
")",
";"
] |
[
"a",
"comma",
"separated",
"list",
"of",
"routing",
"values",
"to",
"control",
"the",
"shards",
"the",
"search",
"will",
"be",
"executed",
"on"
] | [
"return",
"this",
"routing",
";"
] |
[
"returns",
"the",
"request",
"timeout"
] | [
"return",
"timeout",
";"
] |
[
"the",
"number",
"of",
"top",
"-",
"matching",
"documents",
"that",
"are",
"considered",
"during",
"each",
"hop",
"(",
"default",
"is",
"{",
"@",
"link",
"sampler",
"aggregation",
"builder",
"#",
"default",
"shard",
"sample",
"size",
"}",
"very",
"small",
... | [
"sample",
"size",
"=",
"max",
"number",
"of",
"docs",
"per",
"hop",
";"
] |
[
"optional",
"choice",
"of",
"single",
"-",
"value",
"field",
"on",
"which",
"to",
"diversify",
"sampled",
"search",
"results"
] | [
"sample",
"diversity",
"field",
"=",
"name",
";"
] |
[
"optional",
"number",
"of",
"permitted",
"docs",
"with",
"same",
"value",
"in",
"sampled",
"search",
"results",
"must",
"also",
"declare",
"which",
"field",
"using",
"sample",
"diversity",
"field"
] | [
"this",
"max",
"docs",
"per",
"diversity",
"value",
"=",
"max",
"docs",
";"
] |
[
"controls",
"the",
"choice",
"of",
"algorithm",
"used",
"to",
"select",
"interesting",
"terms",
"the",
"default",
"value",
"is",
"true",
"which",
"means",
"terms",
"are",
"selected",
"based",
"on",
"significance",
"(",
"see",
"the",
"{",
"@",
"link",
"signif... | [
"this",
"use",
"significance",
"=",
"value",
";"
] |
[
"return",
"detailed",
"information",
"about",
"vertex",
"frequencies",
"as",
"part",
"of",
"json",
"results",
"-",
"defaults",
"to",
"false"
] | [
"this",
"return",
"detailed",
"info",
"=",
"value",
";"
] |
[
"add",
"a",
"stage",
"in",
"the",
"graph",
"exploration",
"each",
"hop",
"represents",
"a",
"stage",
"of",
"querying",
"elasticsearch",
"to",
"identify",
"terms",
"which",
"can",
"then",
"be",
"connnected",
"to",
"other",
"terms",
"in",
"a",
"subsequent",
"h... | [
"hop",
"parent",
"=",
"null",
";",
"if",
"(",
"hops",
"size",
"(",
")",
">",
"0",
")",
"{",
"parent",
"=",
"hops",
"get",
"(",
"hops",
"size",
"(",
")",
"-",
"1",
")",
";",
"}",
"hop",
"new",
"hop",
"=",
"new",
"hop",
"(",
"parent",
")",
";... |
[
"gets",
"the",
"term"
] | [
"return",
"term",
";"
] |
[
"returns",
"null"
] | [
"return",
"null",
";"
] |
[
"finds",
"the",
"index",
"of",
"the",
"attribute",
"with",
"the",
"given",
"name",
"in",
"the",
"given",
"array",
"of",
"attributes"
] | [
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"attributes",
"count",
";",
"index",
"+",
"+",
")",
"{",
"attribute",
"attribute",
"=",
"attributes",
"[",
"index",
"]",
";",
"if",
"(",
"attribute",
"get",
"attribute",
"name",
"(",
"target",
... |
[
"finds",
"the",
"attribute",
"with",
"the",
"given",
"name",
"in",
"the",
"given",
"array",
"of",
"attributes"
] | [
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"attributes",
"count",
";",
"index",
"+",
"+",
")",
"{",
"attribute",
"attribute",
"=",
"attributes",
"[",
"index",
"]",
";",
"if",
"(",
"attribute",
"get",
"attribute",
"name",
"(",
"target",
... |
[
"find",
"the",
"index",
"of",
"the",
"element",
"with",
"maximum",
"absolute",
"value"
] | [
"return",
"(",
"int",
")",
"cblas",
"isamax",
"(",
"(",
"int",
")",
"n",
",",
"(",
"float",
"pointer",
")",
"x",
"data",
"(",
")",
"address",
"pointer",
"(",
")",
",",
"inc",
"x",
")",
";"
] |
[
"find",
"the",
"index",
"of",
"the",
"element",
"with",
"maximum",
"absolute",
"value"
] | [
"return",
"(",
"int",
")",
"cblas",
"idamax",
"(",
"(",
"int",
")",
"n",
",",
"(",
"double",
"pointer",
")",
"x",
"data",
"(",
")",
"address",
"pointer",
"(",
")",
",",
"inc",
"x",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"n",
"f",
"d",
"path",
"set",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"n",
"f",
"d",
"path",
"set",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"n",
"f",
"d",
"path",
"set",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"n",
"f",
"d",
"path",
"set",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"n",
"f",
"d",
"path",
"set",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"n",
"f",
"d",
"path",
"set",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"n",
"f",
"d",
"path",
"set",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"n",
"f",
"d",
"path",
"set",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"n",
"f",
"d",
"path",
"set",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.