docstring_tokens list | code_tokens list |
|---|---|
[
"/",
"*",
"todo",
":",
"improve",
"this",
"and",
"other",
"implementations",
"and",
"move",
"out",
"of",
"this",
"framework",
"for",
"wider",
"use"
] | [
"helpers",
"assert",
"equal",
"ignoring",
"order",
"(",
"expected",
",",
"actual",
"contents",
"(",
")",
")",
";"
] |
[
"asserts",
"that",
"the",
"collection",
"under",
"test",
"contains",
"exactly",
"the",
"elements",
"it",
"was",
"initialized",
"with",
"plus",
"the",
"given",
"elements",
"according",
"to",
"{",
"@",
"link",
"#",
"expect",
"contents",
"(",
"java",
"util",
"c... | [
"list",
"<",
"e",
">",
"expected",
"=",
"helpers",
"copy",
"to",
"list",
"(",
"get",
"sample",
"elements",
"(",
")",
")",
";",
"expected",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"elements",
")",
")",
";",
"expect",
"contents",
"(",
"expected... |
[
"helper",
"methods",
"to",
"improve",
"readability",
"of",
"derived",
"classes"
] | [
"return",
"get",
"subject",
"generator",
"(",
")",
"get",
"collection",
"size",
"(",
")",
"get",
"num",
"elements",
"(",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"list",
"<",
"e",
">",
"list",
"=",
"new",
"array",
"list",
"<",
"e",
">",
"(",
")",
";",
"for",
"(",
"e",
"e",
":",
"get",
"subject",
"generator",
"(",
")",
"order",
"(",
"new",
"array",
"list",
"<",
"e",
">",
"(",
"get",
"sample",
"elements",... |
[
"returns",
"a",
"result",
"of",
"safe",
"addition",
"of",
"two",
"{"
] | [
"long",
"res",
"=",
"(",
"long",
")",
"a",
"+",
"(",
"long",
")",
"b",
";",
"return",
"res",
">",
"integer",
"max",
"value",
"?",
"integer",
"max",
"value",
":",
"(",
"int",
")",
"res",
";"
] |
[
"iterates",
"through",
"the",
"stack",
"trace",
"looking",
"for",
"the",
"actual",
"cause",
"of",
"the",
"deferred",
"group",
"exception",
"these",
"traces",
"can",
"be",
"huge",
"and",
"truncated",
"in",
"the",
"logs",
"so",
"it",
"s",
"really",
"useful",
... | [
"throwable",
"ex",
"=",
"e",
";",
"while",
"(",
"ex",
"get",
"class",
"(",
")",
"equals",
"(",
"deferred",
"group",
"exception",
"class",
")",
")",
"{",
"if",
"(",
"ex",
"get",
"cause",
"(",
")",
"=",
"=",
"null",
")",
"{",
"break",
";",
"}",
"... |
[
"returns",
"the",
"som",
"map",
"grid"
] | [
"return",
"neurons",
";"
] |
[
"returns",
"the",
"u",
"-",
"matrix",
"of",
"som",
"map",
"for",
"visualization"
] | [
"return",
"umatrix",
";"
] |
[
"returns",
"the",
"best",
"matched",
"unit",
"for",
"each",
"sample"
] | [
"return",
"bmu",
";"
] |
[
"returns",
"the",
"number",
"of",
"samples",
"in",
"each",
"unit"
] | [
"return",
"voronoi",
";"
] |
[
"clustering",
"the",
"neurons",
"into",
"k",
"groups",
"and",
"then",
"assigns",
"the",
"samples",
"in",
"each",
"neuron",
"to",
"the",
"corresponding",
"cluster"
] | [
"int",
"n",
"=",
"width",
"*",
"height",
";",
"double",
"[",
"]",
"[",
"]",
"units",
"=",
"new",
"double",
"[",
"n",
"]",
"[",
"d",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"l",
"=",
"0",
";",
"i",
"<",
"height",
";",
"i",
"+",
... |
[
"cluster",
"a",
"new",
"instance",
"to",
"the",
"nearest",
"neuron",
"for",
"clustering",
"purpose",
"one",
"should",
"build",
"a",
"sufficient",
"large",
"map",
"to",
"capture",
"the",
"structure",
"of",
"data",
"space",
"then",
"the",
"neurons",
"of",
"map... | [
"double",
"best",
"=",
"double",
"max",
"value",
";",
"int",
"ii",
"=",
"-",
"1",
",",
"jj",
"=",
"-",
"1",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"height",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
... |
[
"<",
"code",
">",
"bool",
"mute",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"mute",
";"
] |
[
"api"
] | [
"return",
"uri",
"builder",
";"
] |
[
"<",
"p",
">",
"/",
"proc",
"/",
"[",
"pid",
"]",
"/",
"cgroup",
"(",
"since",
"linux",
"2",
"6",
"24",
")",
"<",
"/",
"p",
">"
] | [
"return",
"cgroup",
"get",
"(",
"pid",
")",
";"
] |
[
"<",
"p",
">",
"/",
"proc",
"/",
"[",
"pid",
"]",
"/",
"stat",
"<",
"/",
"p",
">"
] | [
"return",
"stat",
"get",
"(",
"pid",
")",
";"
] |
[
"<",
"p",
">",
"provides",
"information",
"about",
"memory",
"usage",
"measured",
"in",
"pages",
"<",
"/",
"p",
">"
] | [
"return",
"statm",
"get",
"(",
"pid",
")",
";"
] |
[
"<",
"p",
">",
"/",
"proc",
"/",
"[",
"pid",
"]",
"/",
"status",
"<",
"/",
"p",
">"
] | [
"return",
"status",
"get",
"(",
"pid",
")",
";"
] |
[
"return",
"a",
"reference",
"to",
"the",
"internal",
"array",
"representing",
"matrix",
"values",
"modifying",
"this",
"array",
"will",
"also",
"change",
"the",
"matrix"
] | [
"return",
"m",
"mat",
";"
] |
[
"returns",
"the",
"value",
"for",
"a",
"given",
"row",
"and",
"column"
] | [
"return",
"m",
"mat",
"[",
"x",
"*",
"3",
"+",
"y",
"]",
";"
] |
[
"sets",
"the",
"value",
"for",
"a",
"given",
"row",
"and",
"column"
] | [
"m",
"mat",
"[",
"x",
"*",
"3",
"+",
"y",
"]",
"=",
"v",
";"
] |
[
"sets",
"the",
"matrix",
"values",
"to",
"identity"
] | [
"m",
"mat",
"[",
"0",
"]",
"=",
"1",
";",
"m",
"mat",
"[",
"1",
"]",
"=",
"0",
";",
"m",
"mat",
"[",
"2",
"]",
"=",
"0",
";",
"m",
"mat",
"[",
"3",
"]",
"=",
"0",
";",
"m",
"mat",
"[",
"4",
"]",
"=",
"1",
";",
"m",
"mat",
"[",
"5"... |
[
"sets",
"the",
"values",
"of",
"the",
"matrix",
"to",
"those",
"of",
"the",
"parameter"
] | [
"system",
"arraycopy",
"(",
"src",
"get",
"array",
"(",
")",
",",
"0",
",",
"m",
"mat",
",",
"0",
",",
"m",
"mat",
"length",
")",
";"
] |
[
"sets",
"current",
"values",
"to",
"be",
"a",
"rotation",
"matrix",
"of",
"certain",
"angle",
"about",
"a",
"given",
"axis"
] | [
"float",
"c",
",",
"s",
";",
"rot",
"*",
"=",
"(",
"float",
")",
"(",
"java",
"lang",
"math",
"pi",
"/",
"180",
"0f",
")",
";",
"c",
"=",
"(",
"float",
")",
"java",
"lang",
"math",
"cos",
"(",
"rot",
")",
";",
"s",
"=",
"(",
"float",
")",
... |
[
"makes",
"the",
"upper",
"2x",
"2",
"a",
"rotation",
"matrix",
"of",
"the",
"given",
"angle"
] | [
"load",
"identity",
"(",
")",
";",
"float",
"c",
",",
"s",
";",
"rot",
"*",
"=",
"(",
"float",
")",
"(",
"java",
"lang",
"math",
"pi",
"/",
"180",
"0f",
")",
";",
"c",
"=",
"(",
"float",
")",
"java",
"lang",
"math",
"cos",
"(",
"rot",
")",
... |
[
"makes",
"the",
"upper",
"2x",
"2",
"a",
"scale",
"matrix",
"of",
"given",
"dimensions"
] | [
"load",
"identity",
"(",
")",
";",
"m",
"mat",
"[",
"0",
"]",
"=",
"x",
";",
"m",
"mat",
"[",
"4",
"]",
"=",
"y",
";"
] |
[
"sets",
"current",
"values",
"to",
"be",
"a",
"scale",
"matrix",
"of",
"given",
"dimensions"
] | [
"load",
"identity",
"(",
")",
";",
"m",
"mat",
"[",
"0",
"]",
"=",
"x",
";",
"m",
"mat",
"[",
"4",
"]",
"=",
"y",
";",
"m",
"mat",
"[",
"8",
"]",
"=",
"z",
";"
] |
[
"sets",
"current",
"values",
"to",
"be",
"a",
"translation",
"matrix",
"of",
"given",
"dimensions"
] | [
"load",
"identity",
"(",
")",
";",
"m",
"mat",
"[",
"6",
"]",
"=",
"x",
";",
"m",
"mat",
"[",
"7",
"]",
"=",
"y",
";"
] |
[
"sets",
"current",
"values",
"to",
"be",
"the",
"result",
"of",
"multiplying",
"two",
"given",
"matrices"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"3",
";",
"i",
"+",
"+",
")",
"{",
"float",
"ri",
"0",
"=",
"0",
";",
"float",
"ri",
"1",
"=",
"0",
";",
"float",
"ri",
"2",
"=",
"0",
";",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
... |
[
"post",
"-",
"multiplies",
"the",
"current",
"matrix",
"by",
"a",
"given",
"parameter"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"multiply",
"(",
"this",
",",
"rhs",
")",
";",
"load",
"(",
"tmp",
")",
";"
] |
[
"modifies",
"the",
"current",
"matrix",
"by",
"post",
"-",
"multiplying",
"it",
"with",
"a",
"rotation",
"matrix",
"of",
"certain",
"angle",
"about",
"a",
"given",
"axis"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"rotate",
"(",
"rot",
",",
"x",
",",
"y",
",",
"z",
")",
";",
"multiply",
"(",
"tmp",
")",
";"
] |
[
"modifies",
"the",
"upper",
"2x",
"2",
"of",
"the",
"current",
"matrix",
"by",
"post",
"-",
"multiplying",
"it",
"with",
"a",
"rotation",
"matrix",
"of",
"given",
"angle"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"rotate",
"(",
"rot",
")",
";",
"multiply",
"(",
"tmp",
")",
";"
] |
[
"modifies",
"the",
"upper",
"2x",
"2",
"of",
"the",
"current",
"matrix",
"by",
"post",
"-",
"multiplying",
"it",
"with",
"a",
"scale",
"matrix",
"of",
"given",
"dimensions"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"scale",
"(",
"x",
",",
"y",
")",
";",
"multiply",
"(",
"tmp",
")",
";"
] |
[
"modifies",
"the",
"current",
"matrix",
"by",
"post",
"-",
"multiplying",
"it",
"with",
"a",
"scale",
"matrix",
"of",
"given",
"dimensions"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"scale",
"(",
"x",
",",
"y",
",",
"z",
")",
";",
"multiply",
"(",
"tmp",
")",
";"
] |
[
"modifies",
"the",
"current",
"matrix",
"by",
"post",
"-",
"multiplying",
"it",
"with",
"a",
"translation",
"matrix",
"of",
"given",
"dimensions"
] | [
"matrix",
"3f",
"tmp",
"=",
"new",
"matrix",
"3f",
"(",
")",
";",
"tmp",
"load",
"translate",
"(",
"x",
",",
"y",
")",
";",
"multiply",
"(",
"tmp",
")",
";"
] |
[
"sets",
"the",
"current",
"matrix",
"to",
"its",
"transpose"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"2",
";",
"+",
"+",
"i",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"i",
"+",
"1",
";",
"j",
"<",
"3",
";",
"+",
"+",
"j",
")",
"{",
"float",
"temp",
"=",
"m",
"mat",
"[",
"i",
"*",
"3",
... |
[
"<",
"p",
">",
"the",
"node",
"type",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"this",
"target",
"node",
"type",
"=",
"target",
"node",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"node",
"type",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"target",
"node",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"node",
"type",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"set",
"target",
"node",
"type",
"(",
"target",
"node",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"nodes",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"this",
"target",
"number",
"of",
"nodes",
"=",
"target",
"number",
"of",
"nodes",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"nodes",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"target",
"number",
"of",
"nodes",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"nodes",
"that",
"the",
"cluster",
"will",
"have",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">"
] | [
"set",
"target",
"number",
"of",
"nodes",
"(",
"target",
"number",
"of",
"nodes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"cluster",
"type",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"multi",
"-",
"node",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"... | [
"this",
"target",
"cluster",
"type",
"=",
"target",
"cluster",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"cluster",
"type",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"multi",
"-",
"node",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"... | [
"return",
"this",
"target",
"cluster",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"cluster",
"type",
"after",
"the",
"resize",
"operation",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"multi",
"-",
"node",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"... | [
"set",
"target",
"cluster",
"type",
"(",
"target",
"cluster",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"resize",
"operation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"none",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"in",
"progress",
"<",
"/",
"code",
">",
"|... | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"been",
"completely",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"completed",
"=",
"=",
"null",
")",
"{",
"import",
"tables",
"completed",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"import",
"tables",
"complet... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"been",
"completely",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"completed",
"=",
"=",
"null",
")",
"{",
"this",
"import",
"tables",
"completed",
"=",
"null",
";",
"return",
";",
"}",
"this",
"import",
"tables",
"completed",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"been",
"completely",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note"... | [
"if",
"(",
"this",
"import",
"tables",
"completed",
"=",
"=",
"null",
")",
"{",
"set",
"import",
"tables",
"completed",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"import",
"tables",
"completed",
"length... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"been",
"completely",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"set",
"import",
"tables",
"completed",
"(",
"import",
"tables",
"completed",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"are",
"being",
"currently",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"in",
"progress",
"=",
"=",
"null",
")",
"{",
"import",
"tables",
"in",
"progress",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"import",
"table... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"are",
"being",
"currently",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"in",
"progress",
"=",
"=",
"null",
")",
"{",
"this",
"import",
"tables",
"in",
"progress",
"=",
"null",
";",
"return",
";",
"}",
"this",
"import",
"tables",
"in",
"progress",
"=",
"new",
"com",
"amazonaws",
"internal",
"... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"are",
"being",
"currently",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",... | [
"if",
"(",
"this",
"import",
"tables",
"in",
"progress",
"=",
"=",
"null",
")",
"{",
"set",
"import",
"tables",
"in",
"progress",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"import",
"tables",
"in",
... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"are",
"being",
"currently",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"set",
"import",
"tables",
"in",
"progress",
"(",
"import",
"tables",
"in",
"progress",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"not",
"been",
"yet",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"not",
"started",
"=",
"=",
"null",
")",
"{",
"import",
"tables",
"not",
"started",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"import",
"table... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"not",
"been",
"yet",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"import",
"tables",
"not",
"started",
"=",
"=",
"null",
")",
"{",
"this",
"import",
"tables",
"not",
"started",
"=",
"null",
";",
"return",
";",
"}",
"this",
"import",
"tables",
"not",
"started",
"=",
"new",
"com",
"amazonaws",
"internal",
"... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"not",
"been",
"yet",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"not... | [
"if",
"(",
"this",
"import",
"tables",
"not",
"started",
"=",
"=",
"null",
")",
"{",
"set",
"import",
"tables",
"not",
"started",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"import",
"tables",
"not",
... |
[
"<",
"p",
">",
"the",
"names",
"of",
"tables",
"that",
"have",
"not",
"been",
"yet",
"imported",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"list",
"of",
"table",
"names",
"<",
"/",
"p",
">"
] | [
"set",
"import",
"tables",
"not",
"started",
"(",
"import",
"tables",
"not",
"started",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"average",
"rate",
"of",
"the",
"resize",
"operation",
"over",
"the",
"last",
"few",
"minutes",
"measured",
"in",
"megabytes",
"per",
"second",
"after",
"the",
"resize",
"operation",
"completes",
"this",
"value",
"shows",
"the",
"averag... | [
"this",
"avg",
"resize",
"rate",
"in",
"mega",
"bytes",
"per",
"second",
"=",
"avg",
"resize",
"rate",
"in",
"mega",
"bytes",
"per",
"second",
";"
] |
[
"<",
"p",
">",
"the",
"average",
"rate",
"of",
"the",
"resize",
"operation",
"over",
"the",
"last",
"few",
"minutes",
"measured",
"in",
"megabytes",
"per",
"second",
"after",
"the",
"resize",
"operation",
"completes",
"this",
"value",
"shows",
"the",
"averag... | [
"return",
"this",
"avg",
"resize",
"rate",
"in",
"mega",
"bytes",
"per",
"second",
";"
] |
[
"<",
"p",
">",
"the",
"average",
"rate",
"of",
"the",
"resize",
"operation",
"over",
"the",
"last",
"few",
"minutes",
"measured",
"in",
"megabytes",
"per",
"second",
"after",
"the",
"resize",
"operation",
"completes",
"this",
"value",
"shows",
"the",
"averag... | [
"set",
"avg",
"resize",
"rate",
"in",
"mega",
"bytes",
"per",
"second",
"(",
"avg",
"resize",
"rate",
"in",
"mega",
"bytes",
"per",
"second",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"estimated",
"total",
"amount",
"of",
"data",
"in",
"megabytes",
"on",
"the",
"cluster",
"before",
"the",
"resize",
"operation",
"began",
"<",
"/",
"p",
">"
] | [
"this",
"total",
"resize",
"data",
"in",
"mega",
"bytes",
"=",
"total",
"resize",
"data",
"in",
"mega",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"estimated",
"total",
"amount",
"of",
"data",
"in",
"megabytes",
"on",
"the",
"cluster",
"before",
"the",
"resize",
"operation",
"began",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"total",
"resize",
"data",
"in",
"mega",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"estimated",
"total",
"amount",
"of",
"data",
"in",
"megabytes",
"on",
"the",
"cluster",
"before",
"the",
"resize",
"operation",
"began",
"<",
"/",
"p",
">"
] | [
"set",
"total",
"resize",
"data",
"in",
"mega",
"bytes",
"(",
"total",
"resize",
"data",
"in",
"mega",
"bytes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"megabytes",
"that",
"have",
"been",
"transferred",
"from",
"snapshot",
"storage",
"<",
"/",
"p",
">"
] | [
"this",
"progress",
"in",
"mega",
"bytes",
"=",
"progress",
"in",
"mega",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"megabytes",
"that",
"have",
"been",
"transferred",
"from",
"snapshot",
"storage",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"progress",
"in",
"mega",
"bytes",
";"
] |
[
"<",
"p",
">",
"while",
"the",
"resize",
"operation",
"is",
"in",
"progress",
"this",
"value",
"shows",
"the",
"current",
"amount",
"of",
"data",
"in",
"megabytes",
"that",
"has",
"been",
"processed",
"so",
"far",
"when",
"the",
"resize",
"operation",
"is"... | [
"set",
"progress",
"in",
"mega",
"bytes",
"(",
"progress",
"in",
"mega",
"bytes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amount",
"of",
"time",
"an",
"in",
"-",
"progress",
"restore",
"has",
"been",
"running",
"or",
"the",
"amount",
"of",
"time",
"it",
"took",
"a",
"completed",
"restore",
"to",
"finish",
"<",
"/",
"p",
">"
] | [
"this",
"elapsed",
"time",
"in",
"seconds",
"=",
"elapsed",
"time",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"amount",
"of",
"time",
"an",
"in",
"-",
"progress",
"restore",
"has",
"been",
"running",
"or",
"the",
"amount",
"of",
"time",
"it",
"took",
"a",
"completed",
"restore",
"to",
"finish",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"elapsed",
"time",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"amount",
"of",
"seconds",
"that",
"have",
"elapsed",
"since",
"the",
"resize",
"operation",
"began",
"after",
"the",
"resize",
"operation",
"completes",
"this",
"value",
"shows",
"the",
"total",
"actual",
"time",
"in",
"seconds",
"for"... | [
"set",
"elapsed",
"time",
"in",
"seconds",
"(",
"elapsed",
"time",
"in",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"estimate",
"of",
"the",
"time",
"remaining",
"before",
"the",
"restore",
"will",
"complete",
"returns",
"0",
"for",
"a",
"completed",
"restore",
"<",
"/",
"p",
">"
] | [
"this",
"estimated",
"time",
"to",
"completion",
"in",
"seconds",
"=",
"estimated",
"time",
"to",
"completion",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"estimate",
"of",
"the",
"time",
"remaining",
"before",
"the",
"restore",
"will",
"complete",
"returns",
"0",
"for",
"a",
"completed",
"restore",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"estimated",
"time",
"to",
"completion",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"estimated",
"time",
"remaining",
"in",
"seconds",
"until",
"the",
"resize",
"operation",
"is",
"complete",
"this",
"value",
"is",
"calculated",
"based",
"on",
"the",
"average",
"resize",
"rate",
"and",
"the",
"estimated",
"amount",
"of... | [
"set",
"estimated",
"time",
"to",
"completion",
"in",
"seconds",
"(",
"estimated",
"time",
"to",
"completion",
"in",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"enum",
"with",
"possible",
"values",
"of",
"classic",
"resize",
"and",
"elastic",
"resize",
"these",
"values",
"describe",
"the",
"type",
"of",
"resize",
"operation",
"being",
"performed",
"<",
"/",
"p",
">"
] | [
"this",
"resize",
"type",
"=",
"resize",
"type",
";"
] |
[
"<",
"p",
">",
"an",
"enum",
"with",
"possible",
"values",
"of",
"classic",
"resize",
"and",
"elastic",
"resize",
"these",
"values",
"describe",
"the",
"type",
"of",
"resize",
"operation",
"being",
"performed",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"resize",
"type",
";"
] |
[
"<",
"p",
">",
"an",
"enum",
"with",
"possible",
"values",
"of",
"classic",
"resize",
"and",
"elastic",
"resize",
"these",
"values",
"describe",
"the",
"type",
"of",
"resize",
"operation",
"being",
"performed",
"<",
"/",
"p",
">"
] | [
"set",
"resize",
"type",
"(",
"resize",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"string",
"to",
"provide",
"additional",
"details",
"about",
"the",
"resize",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"message",
"(",
"message",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"encryption",
"for",
"the",
"cluster",
"after",
"the",
"resize",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"possible",
"values",
"are",
"<",
"code",
">",
"kms",
"<",
"/",
"code",
">",
"and",
"<",
"co... | [
"this",
"target",
"encryption",
"type",
"=",
"target",
"encryption",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"encryption",
"for",
"the",
"cluster",
"after",
"the",
"resize",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"possible",
"values",
"are",
"<",
"code",
">",
"kms",
"<",
"/",
"code",
">",
"and",
"<",
"co... | [
"return",
"this",
"target",
"encryption",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"encryption",
"for",
"the",
"cluster",
"after",
"the",
"resize",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"possible",
"values",
"are",
"<",
"code",
">",
"kms",
"<",
"/",
"code",
">",
"and",
"<",
"co... | [
"set",
"target",
"encryption",
"type",
"(",
"target",
"encryption",
"type",
")",
";",
"return",
"this",
";"
] |
[
"get",
"reference",
"signal",
"received",
"quality"
] | [
"return",
"m",
"rsrq",
";"
] |
[
"get",
"reference",
"signal",
"signal",
"-",
"to",
"-",
"noise",
"ratio"
] | [
"return",
"m",
"rssnr",
";"
] |
[
"get",
"reference",
"signal",
"received",
"power",
"in",
"d",
"bm"
] | [
"return",
"m",
"rsrp",
";"
] |
[
"get",
"channel",
"quality",
"indicator"
] | [
"return",
"m",
"cqi",
";"
] |
[
"get",
"signal",
"strength",
"in",
"d",
"bm"
] | [
"return",
"m",
"rsrp",
";"
] |
[
"get",
"the",
"gsm",
"timing",
"advance",
"between",
"0",
"219",
"symbols",
"(",
"normally",
"0",
"63",
")",
"integer",
"max",
"value",
"is",
"reported",
"when",
"there",
"is",
"no",
"rr",
"connection",
"refer",
"to",
"3gpp",
"45",
"010",
"sec",
"5",
"... | [
"return",
"m",
"timing",
"advance",
";"
] |
[
"log"
] | [
"rlog",
"w",
"(",
"log",
"tag",
",",
"s",
")",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition"
] | [
"this",
"core",
"definition",
"id",
"=",
"core",
"definition",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition"
] | [
"return",
"this",
"core",
"definition",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition"
] | [
"set",
"core",
"definition",
"id",
"(",
"core",
"definition",
"id",
")",
";",
"return",
"this",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition",
"version"
] | [
"this",
"core",
"definition",
"version",
"id",
"=",
"core",
"definition",
"version",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition",
"version"
] | [
"return",
"this",
"core",
"definition",
"version",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"core",
"definition",
"version"
] | [
"set",
"core",
"definition",
"version",
"id",
"(",
"core",
"definition",
"version",
"id",
")",
";",
"return",
"this",
";"
] |
[
"makes",
"a",
"random",
"cache",
"entry"
] | [
"random",
"random",
"=",
"new",
"random",
"(",
")",
";",
"cache",
"entry",
"entry",
"=",
"new",
"cache",
"entry",
"(",
")",
";",
"if",
"(",
"data",
"!",
"=",
"null",
")",
"{",
"entry",
"data",
"=",
"data",
";",
"}",
"else",
"{",
"entry",
"data",
... |
[
"like",
"{"
] | [
"return",
"make",
"random",
"cache",
"entry",
"(",
"data",
",",
"false",
",",
"false",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"port",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"port",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"uptime",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"uptime",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"topology",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"topology",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"tasks",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"tasks",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"port",
":",
"return",
"is",
"set",
"port",
"(",
")",
";",
"case",
"uptime",
":",
"r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.