docstring_tokens
list | code_tokens
list |
---|---|
[
"calculates",
"diff",
"between",
"two",
"immutable",
"open",
"int",
"maps",
"of",
"non",
"-",
"diffable",
"objects"
] |
[
"assert",
"after",
"!",
"=",
"null",
"&",
"&",
"before",
"!",
"=",
"null",
";",
"return",
"new",
"immutable",
"open",
"int",
"map",
"diff",
"<",
">",
"(",
"before",
",",
"after",
",",
"key",
"serializer",
",",
"value",
"serializer",
")",
";"
] |
[
"calculates",
"diff",
"between",
"two",
"maps",
"of",
"diffable",
"objects"
] |
[
"assert",
"after",
"!",
"=",
"null",
"&",
"&",
"before",
"!",
"=",
"null",
";",
"return",
"new",
"jdk",
"map",
"diff",
"<",
">",
"(",
"before",
",",
"after",
",",
"key",
"serializer",
",",
"diffable",
"value",
"serializer",
"get",
"write",
"only",
"instance",
"(",
")",
")",
";"
] |
[
"calculates",
"diff",
"between",
"two",
"maps",
"of",
"non",
"-",
"diffable",
"objects"
] |
[
"assert",
"after",
"!",
"=",
"null",
"&",
"&",
"before",
"!",
"=",
"null",
";",
"return",
"new",
"jdk",
"map",
"diff",
"<",
">",
"(",
"before",
",",
"after",
",",
"key",
"serializer",
",",
"value",
"serializer",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"immutable",
"open",
"maps"
] |
[
"return",
"new",
"immutable",
"open",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"value",
"serializer",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"immutable",
"open",
"maps"
] |
[
"return",
"new",
"immutable",
"open",
"int",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"value",
"serializer",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"maps",
"of",
"diffable",
"objects"
] |
[
"return",
"new",
"jdk",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"value",
"serializer",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"immutable",
"open",
"maps",
"of",
"diffable",
"objects",
"using",
"diffable",
"proto",
"object"
] |
[
"return",
"new",
"immutable",
"open",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"new",
"diffable",
"value",
"reader",
"<",
">",
"(",
"reader",
",",
"diff",
"reader",
")",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"immutable",
"open",
"int",
"maps",
"of",
"diffable",
"objects",
"using",
"diffable",
"proto",
"object"
] |
[
"return",
"new",
"immutable",
"open",
"int",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"new",
"diffable",
"value",
"reader",
"<",
">",
"(",
"reader",
",",
"diff",
"reader",
")",
")",
";"
] |
[
"loads",
"an",
"object",
"that",
"represents",
"difference",
"between",
"two",
"maps",
"of",
"diffable",
"objects",
"using",
"diffable",
"proto",
"object"
] |
[
"return",
"new",
"jdk",
"map",
"diff",
"<",
">",
"(",
"in",
",",
"key",
"serializer",
",",
"new",
"diffable",
"value",
"reader",
"<",
">",
"(",
"reader",
",",
"diff",
"reader",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"diff",
"map",
"with",
"the",
"given",
"key",
"removed",
"does",
"not",
"modify",
"the",
"invoking",
"instance",
"if",
"the",
"key",
"does",
"not",
"exist",
"in",
"the",
"diff",
"map",
"the",
"same",
"instance",
"is",
"returned"
] |
[
"if",
"(",
"this",
"diffs",
"contains",
"key",
"(",
"key",
")",
"=",
"=",
"false",
"&",
"&",
"this",
"upserts",
"contains",
"key",
"(",
"key",
")",
"=",
"=",
"false",
")",
"{",
"return",
"this",
";",
"}",
"map",
"<",
"k",
",",
"diff",
"<",
"t",
">",
">",
"new",
"diffs",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
"this",
"diffs",
")",
";",
"new",
"diffs",
"remove",
"(",
"key",
")",
";",
"map",
"<",
"k",
",",
"t",
">",
"new",
"upserts",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
"this",
"upserts",
")",
";",
"new",
"upserts",
"remove",
"(",
"key",
")",
";",
"return",
"new",
"immutable",
"open",
"map",
"diff",
"<",
">",
"(",
"this",
"key",
"serializer",
",",
"this",
"value",
"serializer",
",",
"this",
"deletes",
",",
"new",
"diffs",
",",
"new",
"upserts",
")",
";"
] |
[
"the",
"keys",
"that",
"when",
"this",
"diff",
"is",
"applied",
"to",
"a",
"map",
"should",
"be",
"removed",
"from",
"the",
"map"
] |
[
"return",
"deletes",
";"
] |
[
"map",
"entries",
"that",
"when",
"this",
"diff",
"is",
"applied",
"to",
"a",
"map",
"should",
"be",
"incrementally",
"updated",
"the",
"incremental",
"update",
"is",
"represented",
"using",
"the",
"{",
"@",
"link",
"diff",
"}",
"interface"
] |
[
"return",
"diffs",
";"
] |
[
"map",
"entries",
"that",
"when",
"this",
"diff",
"is",
"applied",
"to",
"a",
"map",
"should",
"be",
"added",
"to",
"the",
"map",
"or",
"fully",
"replace",
"the",
"previous",
"value"
] |
[
"return",
"upserts",
";"
] |
[
"called",
"by",
"the",
"scr",
"to",
"deactivate",
"the",
"component",
"when",
"either",
"the",
"configuration",
"is",
"removed",
"or",
"mandatory",
"references",
"are",
"no",
"longer",
"satisfied",
"or",
"the",
"component",
"has",
"simply",
"been",
"stopped"
] |
[
"if",
"(",
"this",
"insteon",
"client",
"!",
"=",
"null",
")",
"{",
"this",
"insteon",
"client",
"stop",
"(",
")",
";",
"this",
"insteon",
"client",
"=",
"null",
";",
"}"
] |
[
"this",
"will",
"look",
"through",
"items",
"that",
"have",
"a",
"binding",
"to",
"the",
"isy",
"unit",
"and",
"return",
"a",
"collection",
"of",
"them",
"to",
"be",
"checked",
"using",
"the",
"address",
"this",
"allows",
"a",
"many",
"to",
"one",
"relationship",
"of",
"a",
"item",
"in",
"isy",
"to",
"open",
"hab",
"items"
] |
[
"for",
"(",
"i",
"s",
"y",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"collection",
"<",
"i",
"s",
"y",
"binding",
"config",
">",
"config",
"=",
"provider",
"get",
"binding",
"config",
"from",
"address",
"(",
"address",
",",
"cmd",
")",
";",
"if",
"(",
"config",
"!",
"=",
"null",
")",
"{",
"return",
"config",
";",
"}",
"}",
"return",
"collections",
"empty",
"list",
";"
] |
[
"returns",
"a",
"binding",
"for",
"a",
"item",
"based",
"on",
"name"
] |
[
"for",
"(",
"i",
"s",
"y",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"i",
"s",
"y",
"binding",
"config",
"config",
"=",
"provider",
"get",
"binding",
"config",
"from",
"item",
"name",
"(",
"item",
"name",
")",
";",
"if",
"(",
"config",
"!",
"=",
"null",
")",
"{",
"return",
"config",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"run",
"a",
"update",
"status",
"on",
"every",
"item",
"in",
"open",
"hab",
"that",
"has",
"a",
"isy",
"binding",
"reference"
] |
[
"for",
"(",
"i",
"s",
"y",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"for",
"(",
"string",
"item",
"name",
":",
"provider",
"get",
"item",
"names",
"(",
")",
")",
"{",
"i",
"s",
"y",
"binding",
"config",
"config",
"=",
"provider",
"get",
"binding",
"config",
"from",
"item",
"name",
"(",
"item",
"name",
")",
";",
"update",
"status",
"(",
"item",
"name",
",",
"config",
")",
";",
"}",
"}"
] |
[
"implementation",
"of",
"protected",
"abstract",
"method",
"this",
"invokes",
"the",
"subclass",
"s",
"implementation",
"of",
"the",
"map",
"row",
"(",
")",
"method"
] |
[
"return",
"new",
"row",
"mapper",
"impl",
"(",
"parameters",
",",
"context",
")",
";"
] |
[
"subclasses",
"must",
"implement",
"this",
"method",
"to",
"convert",
"each",
"row",
"of",
"the",
"result",
"set",
"into",
"an",
"object",
"of",
"the",
"result",
"type"
] |
[
"@",
"nullable",
"protected",
"abstract",
"t",
"map",
"row",
"(",
"result",
"set",
"rs",
",",
"int",
"row",
"num",
",",
"@",
"nullable",
"object",
"[",
"]",
"parameters",
",",
"@",
"nullable",
"map",
"<",
"?",
",",
"?",
">",
"context",
")",
"throws",
"s",
"q",
"l",
"exception",
";"
] |
[
"encodes",
"single",
"uri",
"component"
] |
[
"if",
"(",
"source",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"byte",
"[",
"]",
"bytes",
"=",
"encode",
"bytes",
"(",
"string",
"util",
"get",
"bytes",
"(",
"source",
",",
"encoding",
")",
",",
"uri",
"part",
")",
";",
"char",
"[",
"]",
"chars",
"=",
"new",
"char",
"[",
"bytes",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"bytes",
"length",
";",
"i",
"+",
"+",
")",
"{",
"chars",
"[",
"i",
"]",
"=",
"(",
"char",
")",
"bytes",
"[",
"i",
"]",
";",
"}",
"return",
"new",
"string",
"(",
"chars",
")",
";"
] |
[
"encodes",
"byte",
"array",
"using",
"allowed",
"characters",
"from",
"{"
] |
[
"byte",
"array",
"output",
"stream",
"bos",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
"source",
"length",
")",
";",
"for",
"(",
"byte",
"b",
":",
"source",
")",
"{",
"if",
"(",
"b",
"<",
"0",
")",
"{",
"b",
"+",
"=",
"256",
";",
"}",
"if",
"(",
"uri",
"part",
"is",
"valid",
"(",
"(",
"char",
")",
"b",
")",
")",
"{",
"bos",
"write",
"(",
"b",
")",
";",
"}",
"else",
"{",
"bos",
"write",
"(",
"'",
"%",
"'",
")",
";",
"char",
"hex",
"1",
"=",
"character",
"to",
"upper",
"case",
"(",
"character",
"for",
"digit",
"(",
"(",
"b",
">",
">",
"4",
")",
"&",
"0x",
"f",
",",
"16",
")",
")",
";",
"char",
"hex",
"2",
"=",
"character",
"to",
"upper",
"case",
"(",
"character",
"for",
"digit",
"(",
"b",
"&",
"0x",
"f",
",",
"16",
")",
")",
";",
"bos",
"write",
"(",
"hex",
"1",
")",
";",
"bos",
"write",
"(",
"hex",
"2",
")",
";",
"}",
"}",
"return",
"bos",
"to",
"byte",
"array",
"(",
")",
";"
] |
[
"encodes",
"string",
"using",
"default",
"rfcp",
"rules"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"string",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"unreserved",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"scheme",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"scheme",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"scheme",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"user",
"info",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"user",
"info",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"user",
"info",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"host",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"host",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"host",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"port",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"port",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"port",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"path",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"path",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"path",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"path",
"segment",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"segment",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"path",
"segment",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"query",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"query",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"query",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"query",
"parameter",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"query",
"param",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"query",
"param",
")",
";"
] |
[
"encodes",
"the",
"given",
"uri",
"fragment",
"with",
"the",
"given",
"encoding"
] |
[
"return",
"encode",
"uri",
"component",
"(",
"fragment",
",",
"encoding",
",",
"u",
"r",
"i",
"part",
"fragment",
")",
";"
] |
[
"creates",
"url",
"builder",
"for",
"user",
"-",
"friendly",
"way",
"of",
"building",
"u",
"r",
"ls",
"provided",
"path",
"is",
"parsed",
"and",
"{"
] |
[
"return",
"build",
"(",
"path",
",",
"true",
")",
";"
] |
[
"creates",
"url",
"builder",
"with",
"given",
"path",
"that",
"can",
"be",
"optionally",
"encoded",
"since",
"most",
"of",
"the",
"time",
"path",
"is",
"valid",
"and",
"does",
"not",
"require",
"to",
"be",
"encoded",
"use",
"this",
"method",
"to",
"gain",
"some",
"performance",
"when",
"encoding",
"flag",
"is",
"turned",
"off",
"provided",
"path",
"is",
"used",
"without",
"processing",
"<",
"p",
">",
"the",
"purpose",
"of",
"builder",
"is",
"to",
"help",
"with",
"query",
"parameters",
"all",
"other",
"uri",
"parts",
"should",
"be",
"set",
"previously",
"or",
"after",
"the",
"url",
"is",
"built"
] |
[
"return",
"new",
"builder",
"(",
"path",
",",
"encode",
"path",
",",
"jodd",
"core",
"encoding",
")",
";"
] |
[
"appends",
"new",
"query",
"parameter",
"to",
"the",
"url"
] |
[
"url",
"append",
"(",
"has",
"params",
"?",
"'",
"&",
"'",
":",
"'",
"?",
"'",
")",
";",
"has",
"params",
"=",
"true",
";",
"url",
"append",
"(",
"encode",
"query",
"param",
"(",
"name",
",",
"encoding",
")",
")",
";",
"if",
"(",
"(",
"value",
"!",
"=",
"null",
")",
"&",
"&",
"(",
"value",
"length",
"(",
")",
">",
"0",
")",
")",
"{",
"url",
"append",
"(",
"'",
"=",
"'",
")",
";",
"url",
"append",
"(",
"encode",
"query",
"param",
"(",
"value",
",",
"encoding",
")",
")",
";",
"}",
"return",
"this",
";"
] |
[
"returns",
"full",
"url"
] |
[
"return",
"url",
"to",
"string",
"(",
")",
";"
] |
[
"private",
"boolean",
"colocated",
"=",
"false",
";"
] |
[
"this",
"tenant",
"role",
"=",
"tenant",
"role",
";"
] |
[
"use",
"some",
"values",
"from",
"anscombe",
"s",
"quartet",
"for",
"testing"
] |
[
"final",
"float",
"[",
"]",
"q",
"1x",
"=",
"{",
"10",
"0f",
",",
"8",
"0f",
",",
"13",
"0f",
",",
"9",
"0f",
",",
"11",
"0f",
",",
"14",
"0f",
",",
"6",
"0f",
",",
"4",
"0f",
",",
"12",
"0f",
",",
"7",
"0f",
",",
"5",
"0f",
"}",
";",
"final",
"float",
"[",
"]",
"q",
"4x",
"=",
"{",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"19",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
",",
"8",
"0f",
"}",
";",
"numeric",
"column",
"summary",
"<",
"float",
">",
"q",
"1",
"=",
"summarize",
"(",
"q",
"1x",
")",
";",
"numeric",
"column",
"summary",
"<",
"float",
">",
"q",
"4",
"=",
"summarize",
"(",
"q",
"4x",
")",
";",
"assert",
"assert",
"equals",
"(",
"9",
"0",
",",
"q",
"1",
"get",
"mean",
"(",
")",
"double",
"value",
"(",
")",
",",
"0",
"0f",
")",
";",
"assert",
"assert",
"equals",
"(",
"9",
"0",
",",
"q",
"4",
"get",
"mean",
"(",
")",
"double",
"value",
"(",
")",
",",
"0",
"0f",
")",
";",
"assert",
"assert",
"equals",
"(",
"11",
"0",
",",
"q",
"1",
"get",
"variance",
"(",
")",
"double",
"value",
"(",
")",
",",
"1e",
"-",
"1",
"0d",
")",
";",
"assert",
"assert",
"equals",
"(",
"11",
"0",
",",
"q",
"4",
"get",
"variance",
"(",
")",
"double",
"value",
"(",
")",
",",
"1e",
"-",
"1",
"0d",
")",
";",
"double",
"stddev",
"=",
"math",
"sqrt",
"(",
"11",
"0f",
")",
";",
"assert",
"assert",
"equals",
"(",
"stddev",
",",
"q",
"1",
"get",
"standard",
"deviation",
"(",
")",
"double",
"value",
"(",
")",
",",
"1e",
"-",
"1",
"0d",
")",
";",
"assert",
"assert",
"equals",
"(",
"stddev",
",",
"q",
"4",
"get",
"standard",
"deviation",
"(",
")",
"double",
"value",
"(",
")",
",",
"1e",
"-",
"1",
"0d",
")",
";"
] |
[
"helper",
"method",
"for",
"summarizing",
"a",
"list",
"of",
"values"
] |
[
"return",
"new",
"aggregate",
"combine",
"harness",
"<",
"float",
",",
"numeric",
"column",
"summary",
"<",
"float",
">",
",",
"float",
"summary",
"aggregator",
">",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"compare",
"results",
"(",
"numeric",
"column",
"summary",
"<",
"float",
">",
"result",
"1",
",",
"numeric",
"column",
"summary",
"<",
"float",
">",
"result",
"2",
")",
"{",
"assert",
"assert",
"equals",
"(",
"result",
"1",
"get",
"min",
"(",
")",
",",
"result",
"2",
"get",
"min",
"(",
")",
",",
"0",
"0f",
")",
";",
"assert",
"assert",
"equals",
"(",
"result",
"1",
"get",
"max",
"(",
")",
",",
"result",
"2",
"get",
"max",
"(",
")",
",",
"0",
"0f",
")",
";",
"assert",
"assert",
"equals",
"(",
"result",
"1",
"get",
"mean",
"(",
")",
",",
"result",
"2",
"get",
"mean",
"(",
")",
",",
"1e",
"-",
"1",
"2d",
")",
";",
"assert",
"assert",
"equals",
"(",
"result",
"1",
"get",
"variance",
"(",
")",
",",
"result",
"2",
"get",
"variance",
"(",
")",
",",
"1e",
"-",
"9d",
")",
";",
"assert",
"assert",
"equals",
"(",
"result",
"1",
"get",
"standard",
"deviation",
"(",
")",
",",
"result",
"2",
"get",
"standard",
"deviation",
"(",
")",
",",
"1e",
"-",
"1",
"2d",
")",
";",
"}",
"}",
"summarize",
"(",
"values",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"load",
"balancer",
"you",
"can",
"specify",
"one",
"load",
"balancer",
"only",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"load",
"balancer",
"names",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"load",
"balancer",
"names",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"load",
"balancer",
"names",
"=",
"=",
"null",
")",
"{",
"set",
"load",
"balancer",
"names",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"load",
"balancer",
"names",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"load",
"balancer",
"names",
")",
"{",
"this",
"load",
"balancer",
"names",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"load",
"balancer",
"you",
"can",
"specify",
"one",
"load",
"balancer",
"only",
"<",
"/",
"p",
">"
] |
[
"set",
"load",
"balancer",
"names",
"(",
"load",
"balancer",
"names",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"as",
"key",
"/",
"value",
"pairs",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"tags",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tag",
">",
"(",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"tag",
"ele",
":",
"tags",
")",
"{",
"this",
"tags",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"this",
"method",
"defines",
"which",
"nodes",
"should",
"be",
"taken",
"in",
"account",
"when",
"choosing",
"next",
"hope",
":",
"maximum",
"popularity",
"lowest",
"popularity",
"or",
"average",
"popularity",
"default",
"value",
":",
"maximum"
] |
[
"this",
"popularity",
"mode",
"=",
"popularity",
"mode",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"defines",
"how",
"much",
"nodes",
"should",
"take",
"place",
"in",
"next",
"hop",
"selection",
"something",
"like",
"top",
"-",
"n",
"nodes",
"or",
"bottom",
"-",
"n",
"nodes",
"default",
"value",
":",
"10"
] |
[
"this",
"spread",
"=",
"top",
"n",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"allows",
"you",
"to",
"define",
"if",
"nodes",
"within",
"popularity",
"spread",
"should",
"have",
"equal",
"chances",
"to",
"be",
"picked",
"for",
"next",
"hop",
"or",
"they",
"should",
"have",
"chances",
"proportional",
"to",
"their",
"popularity"
] |
[
"this",
"spectrum",
"=",
"spectrum",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"defines",
"a",
"chance",
"for",
"walk",
"restart",
"good",
"value",
"would",
"be",
"somewhere",
"between",
"0",
"03",
"-",
"0",
"07"
] |
[
"super",
"set",
"restart",
"probability",
"(",
"alpha",
")",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"builds",
"popularity",
"walker",
"object",
"with",
"previously",
"specified",
"params"
] |
[
"popularity",
"walker",
"<",
"t",
">",
"walker",
"=",
"new",
"popularity",
"walker",
"<",
">",
"(",
")",
";",
"walker",
"no",
"edge",
"handling",
"=",
"this",
"no",
"edge",
"handling",
";",
"walker",
"source",
"graph",
"=",
"this",
"source",
"graph",
";",
"walker",
"walk",
"length",
"=",
"this",
"walk",
"length",
";",
"walker",
"seed",
"=",
"this",
"seed",
";",
"walker",
"walk",
"direction",
"=",
"this",
"walk",
"direction",
";",
"walker",
"alpha",
"=",
"this",
"alpha",
";",
"walker",
"popularity",
"mode",
"=",
"this",
"popularity",
"mode",
";",
"walker",
"spread",
"=",
"this",
"spread",
";",
"walker",
"spectrum",
"=",
"this",
"spectrum",
";",
"walker",
"order",
"=",
"new",
"int",
"[",
"source",
"graph",
"num",
"vertices",
"(",
")",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"walker",
"order",
"length",
";",
"i",
"+",
"+",
")",
"{",
"walker",
"order",
"[",
"i",
"]",
"=",
"i",
";",
"}",
"if",
"(",
"this",
"seed",
"!",
"=",
"0",
")",
"walker",
"rng",
"=",
"new",
"random",
"(",
"this",
"seed",
")",
";",
"return",
"walker",
";"
] |
[
"returns",
"a",
"string",
"representation",
"of",
"this",
"{"
] |
[
"string",
"builder",
"inner",
"text",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"string",
"delimiter",
"=",
"\"",
"\"",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"real",
"view",
"group",
"get",
"child",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"view",
"child",
"=",
"real",
"view",
"group",
"get",
"child",
"at",
"(",
"i",
")",
";",
"shadow",
"view",
"shadow",
"view",
"=",
"shadow",
"extract",
"(",
"child",
")",
";",
"string",
"child",
"text",
"=",
"shadow",
"view",
"inner",
"text",
"(",
")",
";",
"if",
"(",
"child",
"text",
"length",
"(",
")",
">",
"0",
")",
"{",
"inner",
"text",
"append",
"(",
"delimiter",
")",
";",
"delimiter",
"=",
"\"",
"\"",
";",
"}",
"inner",
"text",
"append",
"(",
"child",
"text",
")",
";",
"}",
"return",
"inner",
"text",
"to",
"string",
"(",
")",
";"
] |
[
"get",
"the",
"set",
"of",
"available",
"codecs",
"for",
"compression"
] |
[
"return",
"codecs",
"key",
"set",
"(",
")",
";"
] |
[
"get",
"the",
"ndarray",
"compressor",
"singleton"
] |
[
"return",
"instance",
";"
] |
[
"get",
"the",
"default",
"compression",
"algorithm",
"as",
"a",
"string",
"this",
"is",
"an",
"all",
"caps",
"algorithm",
"with",
"a",
"representation",
"in",
"the",
"compression",
"algorithm",
"enum"
] |
[
"synchronized",
"(",
"this",
")",
"{",
"return",
"default",
"compression",
";",
"}"
] |
[
"compress",
"the",
"given",
"data",
"buffer",
"given",
"the",
"default",
"compression",
"algorithm"
] |
[
"return",
"compress",
"(",
"buffer",
",",
"get",
"default",
"compression",
"(",
")",
")",
";"
] |
[
"in",
"place",
"compression",
"of",
"the",
"passed",
"in",
"ndarray",
"with",
"the",
"default",
"compression",
"algorithm"
] |
[
"compressi",
"(",
"array",
",",
"get",
"default",
"compression",
"(",
")",
")",
";"
] |
[
"decompress",
"several",
"ndarrays"
] |
[
"for",
"(",
"i",
"n",
"d",
"array",
"array",
":",
"arrays",
")",
"{",
"auto",
"decompress",
"(",
"array",
")",
";",
"}"
] |
[
"this",
"method",
"returns",
"compressed",
"i",
"n",
"d",
"array",
"instance",
"which",
"contains",
"jvm",
"array",
"passed",
"in"
] |
[
"return",
"codecs",
"get",
"(",
"default",
"compression",
")",
"compress",
"(",
"array",
")",
";"
] |
[
"this",
"method",
"returns",
"compressed",
"i",
"n",
"d",
"array",
"instance",
"which",
"contains",
"jvm",
"array",
"passed",
"in"
] |
[
"return",
"codecs",
"get",
"(",
"default",
"compression",
")",
"compress",
"(",
"array",
")",
";"
] |
[
"the",
"end",
"position"
] |
[
"return",
"end",
"pos",
";"
] |
[
"the",
"escaped",
"string",
"value",
"of",
"a",
"literal",
"or",
"{"
] |
[
"return",
"string",
"val",
";"
] |
[
"copy",
"len",
"bytes",
"from",
"src",
"to",
"op",
"one",
"byte",
"at",
"a",
"time",
"used",
"for",
"handling",
"copy",
"operations",
"where",
"the",
"input",
"and",
"output",
"regions",
"may",
"overlap",
"for",
"example",
"suppose",
":",
"src",
"=",
"=",
"ab",
"op",
"=",
"=",
"src",
"+",
"2",
"len",
"=",
"=",
"20",
"<",
"p",
">",
"after",
"incremental",
"copy",
"the",
"result",
"will",
"have",
"eleven",
"copies",
"of",
"ab",
"ababababababababababab",
"note",
"that",
"this",
"does",
"not",
"match",
"the",
"semantics",
"of",
"either",
"memcpy",
"(",
")",
"or",
"memmove",
"(",
")"
] |
[
"do",
"{",
"op",
"[",
"op",
"index",
"+",
"+",
"]",
"=",
"src",
"[",
"src",
"index",
"+",
"+",
"]",
";",
"}",
"while",
"(",
"-",
"-",
"length",
">",
"0",
")",
";"
] |
[
"/",
"*",
"property",
"names",
"for",
"property",
"-",
"based",
"configuration"
] |
[
"return",
"max",
"backoff",
"delay",
"ms",
";"
] |
[
"creates",
"a",
"{"
] |
[
"return",
"new",
"behavior",
"relay",
"<",
"t",
">",
"(",
")",
";"
] |
[
"creates",
"a",
"{",
"@",
"link",
"behavior",
"relay",
"}",
"that",
"emits",
"the",
"last",
"item",
"it",
"observed",
"and",
"all",
"subsequent",
"items",
"to",
"each",
"{",
"@",
"link",
"observer",
"}",
"that",
"subscribes",
"to",
"it"
] |
[
"return",
"new",
"behavior",
"relay",
"<",
"t",
">",
"(",
"default",
"value",
")",
";"
] |
[
"/",
"*",
"test",
"support"
] |
[
"return",
"subscribers",
"get",
"(",
")",
"length",
";"
] |
[
"returns",
"a",
"single",
"value",
"the",
"relay",
"currently",
"has",
"or",
"null",
"if",
"no",
"such",
"value",
"exists",
"<",
"p",
">",
"the",
"method",
"is",
"thread",
"-",
"safe"
] |
[
"return",
"value",
"get",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"subject",
"has",
"any",
"value",
"<",
"p",
">",
"the",
"method",
"is",
"thread",
"-",
"safe"
] |
[
"return",
"value",
"get",
"(",
")",
"!",
"=",
"null",
";"
] |
[
"checks",
"if",
"this",
"node",
"info",
"is",
"equal",
"to",
"the",
"{",
"@",
"param",
"other",
"}"
] |
[
"if",
"(",
"this",
"=",
"=",
"other",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"other",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"accessibility",
"role",
",",
"other",
"m",
"accessibility",
"role",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"alpha",
"!",
"=",
"other",
"m",
"alpha",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"click",
"handler",
",",
"other",
"m",
"click",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"clip",
"to",
"outline",
"!",
"=",
"other",
"m",
"clip",
"to",
"outline",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"clip",
"children",
"!",
"=",
"other",
"m",
"clip",
"children",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"content",
"description",
",",
"other",
"m",
"content",
"description",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"dispatch",
"populate",
"accessibility",
"event",
"handler",
",",
"other",
"m",
"dispatch",
"populate",
"accessibility",
"event",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"enabled",
"state",
"!",
"=",
"other",
"m",
"enabled",
"state",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"focus",
"change",
"handler",
",",
"other",
"m",
"focus",
"change",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"focus",
"state",
"!",
"=",
"other",
"m",
"focus",
"state",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"intercept",
"touch",
"handler",
",",
"other",
"m",
"intercept",
"touch",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"long",
"click",
"handler",
",",
"other",
"m",
"long",
"click",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"on",
"initialize",
"accessibility",
"event",
"handler",
",",
"other",
"m",
"on",
"initialize",
"accessibility",
"event",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"on",
"initialize",
"accessibility",
"node",
"info",
"handler",
",",
"other",
"m",
"on",
"initialize",
"accessibility",
"node",
"info",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"on",
"populate",
"accessibility",
"event",
"handler",
",",
"other",
"m",
"on",
"populate",
"accessibility",
"event",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"on",
"request",
"send",
"accessibility",
"event",
"handler",
",",
"other",
"m",
"on",
"request",
"send",
"accessibility",
"event",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"outline",
"provider",
",",
"other",
"m",
"outline",
"provider",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"perform",
"accessibility",
"action",
"handler",
",",
"other",
"m",
"perform",
"accessibility",
"action",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"rotation",
"!",
"=",
"other",
"m",
"rotation",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"scale",
"!",
"=",
"other",
"m",
"scale",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"selected",
"state",
"!",
"=",
"other",
"m",
"selected",
"state",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"send",
"accessibility",
"event",
"handler",
",",
"other",
"m",
"send",
"accessibility",
"event",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"send",
"accessibility",
"event",
"unchecked",
"handler",
",",
"other",
"m",
"send",
"accessibility",
"event",
"unchecked",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"shadow",
"elevation",
"!",
"=",
"other",
"m",
"shadow",
"elevation",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"touch",
"handler",
",",
"other",
"m",
"touch",
"handler",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"view",
"tag",
",",
"other",
"m",
"view",
"tag",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"!",
"common",
"utils",
"equals",
"(",
"m",
"view",
"tags",
",",
"other",
"m",
"view",
"tags",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"true",
";"
] |
[
"if",
"set",
"to",
"auto",
"will",
"behave",
"like",
"not",
"having",
"set",
"the",
"property"
] |
[
"final",
"deployment",
"unit",
"deployment",
"unit",
"=",
"phase",
"context",
"get",
"deployment",
"unit",
"(",
")",
";",
"final",
"module",
"specification",
"module",
"specification",
"=",
"deployment",
"unit",
"get",
"attachment",
"(",
"attachments",
"module",
"specification",
")",
";",
"final",
"module",
"loader",
"module",
"loader",
"=",
"module",
"get",
"boot",
"module",
"loader",
"(",
")",
";",
"if",
"(",
"j",
"p",
"a",
"deployment",
"marker",
"is",
"j",
"p",
"a",
"deployment",
"(",
"deployment",
"unit",
")",
")",
"{",
"add",
"search",
"dependency",
"(",
"module",
"specification",
",",
"module",
"loader",
",",
"deployment",
"unit",
")",
";",
"}"
] |
[
"{"
] |
[
"return",
"part",
";"
] |
[
"{"
] |
[
"return",
"24",
";"
] |
[
"{"
] |
[
"return",
"grid",
"to",
"string",
"builder",
"to",
"string",
"(",
"grid",
"distributed",
"tx",
"finish",
"response",
"class",
",",
"this",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"slot",
"type",
"<",
"/",
"p",
">"
] |
[
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"slot",
"type",
"to",
"delete",
"you",
"cannot",
"delete",
"the",
"<",
"code",
">",
"$",
"latest",
"<",
"/",
"code",
">",
"version",
"of",
"the",
"slot",
"type",
"to",
"delete",
"the",
"<",
"code",
">",
"$",
"latest",
"<",
"/",
"code",
">",
"version",
"use",
"the",
"<",
"a",
">",
"delete",
"slot",
"type",
"<",
"/",
"a",
">",
"operation",
"<",
"/",
"p",
">"
] |
[
"set",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"if",
"the",
"type",
"of",
"the",
"expression",
"compiled",
"last",
"is",
"void",
"add",
"aconst",
"null",
"and",
"change",
"expr",
"type",
"array",
"dim",
"class",
"name"
] |
[
"if",
"(",
"expr",
"type",
"=",
"=",
"void",
")",
"{",
"expr",
"type",
"=",
"class",
";",
"array",
"dim",
"=",
"0",
";",
"class",
"name",
"=",
"jvm",
"java",
"lang",
"object",
";",
"}"
] |
[
"inserts",
"a",
"cast",
"operator",
"to",
"the",
"return",
"type",
"if",
"the",
"return",
"type",
"is",
"void",
"this",
"does",
"nothing"
] |
[
"ct",
"class",
"return",
"type",
"=",
"code",
"gen",
"return",
"type",
";",
"expr",
"get",
"oprand",
"(",
")",
"accept",
"(",
"this",
")",
";",
"if",
"(",
"expr",
"type",
"=",
"=",
"void",
"|",
"|",
"code",
"gen",
"is",
"ref",
"type",
"(",
"expr",
"type",
")",
"|",
"|",
"array",
"dim",
">",
"0",
")",
"compile",
"unwrap",
"value",
"(",
"return",
"type",
")",
";",
"else",
"if",
"(",
"return",
"type",
"instanceof",
"ct",
"primitive",
"type",
")",
"{",
"ct",
"primitive",
"type",
"pt",
"=",
"(",
"ct",
"primitive",
"type",
")",
"return",
"type",
";",
"int",
"dest",
"type",
"=",
"member",
"resolver",
"desc",
"to",
"type",
"(",
"pt",
"get",
"descriptor",
"(",
")",
")",
";",
"expr",
"type",
"=",
"dest",
"type",
";",
"array",
"dim",
"=",
"0",
";",
"class",
"name",
"=",
"null",
";",
"}"
] |
[
"/",
"*",
"delegates",
"to",
"a",
"proc",
"handler",
"object",
"if",
"the",
"method",
"call",
"is",
"$",
"proceed",
"(",
")",
"it",
"may",
"process",
"$",
"cflow",
"(",
")"
] |
[
"a",
"s",
"tree",
"method",
"=",
"expr",
"oprand",
"1",
"(",
")",
";",
"if",
"(",
"method",
"instanceof",
"member",
")",
"{",
"string",
"name",
"=",
"(",
"(",
"member",
")",
"method",
")",
"get",
"(",
")",
";",
"if",
"(",
"code",
"gen",
"proc",
"handler",
"!",
"=",
"null",
"&",
"&",
"name",
"equals",
"(",
"code",
"gen",
"proceed",
"name",
")",
")",
"{",
"code",
"gen",
"proc",
"handler",
"set",
"return",
"type",
"(",
"this",
",",
"(",
"a",
"s",
"t",
"list",
")",
"expr",
"oprand",
"2",
"(",
")",
")",
";",
"return",
";",
"}",
"else",
"if",
"(",
"name",
"equals",
"(",
"jvst",
"code",
"gen",
"cflow",
"name",
")",
")",
"{",
"at",
"cflow",
"(",
"(",
"a",
"s",
"t",
"list",
")",
"expr",
"oprand",
"2",
"(",
")",
")",
";",
"return",
";",
"}",
"}",
"super",
"at",
"call",
"expr",
"(",
"expr",
")",
";"
] |
[
"/",
"*",
"to",
"support",
"$",
"cflow",
"(",
")"
] |
[
"expr",
"type",
"=",
"int",
";",
"array",
"dim",
"=",
"0",
";",
"class",
"name",
"=",
"null",
";"
] |
[
"/",
"*",
"to",
"support",
"$",
"$",
"(",
"$",
"$",
")",
"is",
"equivalent",
"to",
"(",
"$",
"1",
"$",
"n",
")",
"it",
"can",
"be",
"used",
"only",
"as",
"a",
"parameter",
"list",
"of",
"method",
"call"
] |
[
"if",
"(",
"code",
"gen",
"param",
"type",
"list",
"!",
"=",
"null",
"&",
"&",
"args",
"!",
"=",
"null",
"&",
"&",
"args",
"tail",
"(",
")",
"=",
"=",
"null",
")",
"{",
"a",
"s",
"tree",
"left",
"=",
"args",
"head",
"(",
")",
";",
"return",
"(",
"left",
"instanceof",
"member",
"&",
"&",
"(",
"(",
"member",
")",
"left",
")",
"get",
"(",
")",
"equals",
"(",
"code",
"gen",
"param",
"list",
"name",
")",
")",
";",
"}",
"return",
"false",
";"
] |
[
"/",
"*",
"called",
"by",
"javac",
"#",
"record",
"special",
"proceed",
"(",
")"
] |
[
"target",
"accept",
"(",
"this",
")",
";",
"int",
"nargs",
"=",
"get",
"method",
"args",
"length",
"(",
"args",
")",
";",
"at",
"method",
"args",
"(",
"args",
",",
"new",
"int",
"[",
"nargs",
"]",
",",
"new",
"int",
"[",
"nargs",
"]",
",",
"new",
"string",
"[",
"nargs",
"]",
")",
";",
"set",
"return",
"type",
"(",
"descriptor",
")",
";",
"add",
"null",
"if",
"void",
"(",
")",
";"
] |
[
"creates",
"a",
"metrics",
"with",
"empty",
"immutable",
"dimension",
"<",
"p",
">",
"use",
"this",
"for",
"metrics",
"that",
"doesn",
"t",
"need",
"any",
"dimension",
"-",
"i",
"e",
"global",
"metrics"
] |
[
"return",
"create",
"metrics",
"(",
"new",
"hash",
"map",
"<",
"string",
",",
"string",
">",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"managed",
"ledger",
"cache",
"statistics",
"from",
"ml",
"factory"
] |
[
"return",
"(",
"(",
"managed",
"ledger",
"factory",
"impl",
")",
"pulsar",
"get",
"managed",
"ledger",
"factory",
"(",
")",
")",
"get",
"cache",
"stats",
"(",
")",
";"
] |
[
"returns",
"managed",
"ledgers",
"map",
"from",
"ml",
"factory"
] |
[
"return",
"(",
"(",
"managed",
"ledger",
"factory",
"impl",
")",
"pulsar",
"get",
"managed",
"ledger",
"factory",
"(",
")",
")",
"get",
"managed",
"ledgers",
"(",
")",
";"
] |
[
"tests",
"that",
"invalid",
"detached",
"mode",
"programs",
"fail"
] |
[
"job",
"manager",
"system",
"actor",
"of",
"(",
"props",
"create",
"(",
"success",
"returning",
"actor",
"class",
")",
",",
"job",
"master",
"job",
"manager",
"name",
")",
";",
"standalone",
"cluster",
"client",
"out",
"=",
"new",
"standalone",
"cluster",
"client",
"(",
"config",
")",
";",
"out",
"set",
"detached",
"(",
"true",
")",
";",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"execute",
"twice",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"execute",
"twice",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"eager",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"job",
"result",
"message",
"+",
"detached",
"job",
"execution",
"result",
"eager",
"function",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"get",
"runtime",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"job",
"result",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"get",
"job",
"i",
"d",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"job",
"result",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"get",
"accumulator",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"job",
"result",
"message",
"+",
"detached",
"job",
"execution",
"result",
"eager",
"function",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}",
"try",
"{",
"packaged",
"program",
"prg",
"=",
"new",
"packaged",
"program",
"(",
"test",
"get",
"all",
"accumulator",
"class",
")",
";",
"out",
"run",
"(",
"prg",
",",
"1",
")",
";",
"fail",
"(",
"fail",
"message",
")",
";",
"}",
"catch",
"(",
"program",
"invocation",
"exception",
"e",
")",
"{",
"assert",
"equals",
"(",
"detached",
"job",
"execution",
"result",
"detached",
"message",
"+",
"detached",
"job",
"execution",
"result",
"job",
"result",
"message",
",",
"e",
"get",
"cause",
"(",
")",
"get",
"message",
"(",
")",
")",
";",
"}"
] |
[
"this",
"test",
"verifies",
"correct",
"job",
"submission",
"messaging",
"logic",
"and",
"plan",
"translation",
"calls"
] |
[
"job",
"manager",
"system",
"actor",
"of",
"(",
"props",
"create",
"(",
"success",
"returning",
"actor",
"class",
")",
",",
"job",
"master",
"job",
"manager",
"name",
")",
";",
"standalone",
"cluster",
"client",
"out",
"=",
"new",
"standalone",
"cluster",
"client",
"(",
"config",
")",
";",
"out",
"set",
"detached",
"(",
"true",
")",
";",
"job",
"submission",
"result",
"result",
"=",
"out",
"run",
"(",
"program",
"get",
"plan",
"with",
"jars",
"(",
")",
",",
"1",
")",
";",
"assert",
"not",
"null",
"(",
"result",
")",
";",
"program",
"delete",
"extracted",
"libraries",
"(",
")",
";"
] |
[
"add",
"dependencies",
"from",
"ctor",
"injected",
"classes",
"needed",
"by",
"required",
"keys",
"recursively",
"to",
"result",
"key",
"for",
"(",
"sub",
"component",
"builders",
"depends",
"on",
"nothing",
"even",
"for"
] |
[
"complete",
"dependencies",
"and",
"required",
"keys",
"(",
"result",
",",
"required",
"keys",
",",
"sets",
"new",
"hash",
"set",
"(",
")",
")",
";"
] |
[
"returns",
"all",
"the",
"{"
] |
[
"set",
"<",
"binding",
"key",
">",
"result",
"=",
"get",
"required",
"keys",
"(",
"components",
",",
"collection",
"to",
"multimap",
"(",
"dependency",
"infos",
")",
")",
";",
"return",
"result",
";"
] |
[
"return",
"{"
] |
[
"return",
"get",
"dependency",
"info",
"for",
"method",
"(",
"method",
",",
"dependency",
"source",
"type",
",",
"null",
",",
"core",
"injector",
"info",
")",
";"
] |
[
"return",
"binding",
"key",
"for",
"given",
"method",
"null",
"if",
"n",
"/",
"a"
] |
[
"type",
"mirror",
"return",
"type",
"=",
"executable",
"element",
"get",
"return",
"type",
"(",
")",
";",
"if",
"(",
"!",
"utils",
"is",
"bindable",
"type",
"(",
"return",
"type",
")",
")",
"{",
"return",
"null",
";",
"}",
"annotation",
"mirror",
"annotation",
"=",
"utils",
"get",
"qualifier",
"(",
"executable",
"element",
")",
";",
"if",
"(",
"utils",
"is",
"binds",
"optional",
"of",
"method",
"(",
"executable",
"element",
")",
")",
"{",
"return",
"binding",
"key",
"get",
"(",
"parameterized",
"type",
"name",
"get",
"(",
"class",
"name",
"get",
"(",
"optional",
"class",
")",
",",
"type",
"name",
"get",
"(",
"return",
"type",
")",
")",
",",
"annotation",
")",
";",
"}",
"else",
"{",
"return",
"binding",
"key",
"get",
"(",
"return",
"type",
",",
"annotation",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"bundle",
"task",
"<",
"/",
"p",
">"
] |
[
"set",
"bundle",
"id",
"(",
"bundle",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"a",
"new",
"session",
"and",
"audit",
"reader",
"only",
"if",
"there",
"is",
"nothing",
"created",
"before"
] |
[
"if",
"(",
"get",
"session",
"(",
")",
"=",
"=",
"null",
")",
"{",
"session",
"=",
"get",
"session",
"factory",
"(",
")",
"open",
"session",
"(",
")",
";",
"audit",
"reader",
"=",
"audit",
"reader",
"factory",
"get",
"(",
"session",
")",
";",
"}"
] |
[
"creates",
"a",
"new",
"session",
"and",
"audit",
"reader"
] |
[
"session",
"=",
"get",
"session",
"factory",
"(",
")",
"open",
"session",
"(",
")",
";",
"audit",
"reader",
"=",
"audit",
"reader",
"factory",
"get",
"(",
"session",
")",
";"
] |
[
"helper",
"for",
"object",
"mapper",
"with",
"data",
"frame",
"support"
] |
[
"simple",
"module",
"module",
"=",
"new",
"simple",
"module",
"(",
")",
";",
"module",
"add",
"serializer",
"(",
"data",
"frame",
"class",
",",
"new",
"data",
"frame",
"serializer",
"(",
")",
")",
";",
"return",
"module",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"repository",
"to",
"set",
"or",
"change",
"the",
"comment",
"or",
"description",
"for",
"<",
"/",
"p",
">"
] |
[
"set",
"repository",
"name",
"(",
"repository",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"new",
"comment",
"or",
"description",
"for",
"the",
"specified",
"repository",
"repository",
"descriptions",
"are",
"limited",
"to",
"1",
"000",
"characters",
"<",
"/",
"p",
">"
] |
[
"set",
"repository",
"description",
"(",
"repository",
"description",
")",
";",
"return",
"this",
";"
] |
[
"return",
"true",
"if",
"last",
"block",
"in",
"region",
"has",
"no",
"successors"
] |
[
"if",
"(",
"container",
"instanceof",
"block",
"node",
")",
"{",
"return",
"(",
"(",
"block",
"node",
")",
"container",
")",
"get",
"successors",
"(",
")",
"is",
"empty",
"(",
")",
";",
"}",
"else",
"if",
"(",
"container",
"instanceof",
"i",
"block",
")",
"{",
"return",
"true",
";",
"}",
"else",
"if",
"(",
"container",
"instanceof",
"i",
"region",
")",
"{",
"list",
"<",
"i",
"container",
">",
"blocks",
"=",
"(",
"(",
"i",
"region",
")",
"container",
")",
"get",
"sub",
"blocks",
"(",
")",
";",
"return",
"!",
"blocks",
"is",
"empty",
"(",
")",
"&",
"&",
"has",
"exit",
"block",
"(",
"blocks",
"get",
"(",
"blocks",
"size",
"(",
")",
"-",
"1",
")",
")",
";",
"}",
"else",
"{",
"throw",
"new",
"jadx",
"runtime",
"exception",
"(",
"unknown",
"container",
"type",
"(",
"container",
")",
")",
";",
"}"
] |
[
"check",
"if",
"{"
] |
[
"if",
"(",
"container",
"=",
"=",
"region",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"region",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"i",
"region",
"parent",
"=",
"region",
"get",
"parent",
"(",
")",
";",
"while",
"(",
"container",
"!",
"=",
"parent",
")",
"{",
"if",
"(",
"parent",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"region",
"contains",
"(",
"a",
"type",
"exc",
"handler",
")",
")",
"{",
"return",
"is",
"region",
"contains",
"exc",
"handler",
"region",
"(",
"container",
",",
"region",
")",
";",
"}",
"return",
"false",
";",
"}",
"region",
"=",
"parent",
";",
"parent",
"=",
"region",
"get",
"parent",
"(",
")",
";",
"}",
"return",
"true",
";"
] |
[
"returns",
"true",
"if",
"field",
"col",
"type",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"col",
"type",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"stats",
"data",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"stats",
"data",
"!",
"=",
"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",
"col",
"name",
":",
"return",
"is",
"set",
"col",
"name",
"(",
")",
";",
"case",
"col",
"type",
":",
"return",
"is",
"set",
"col",
"type",
"(",
")",
";",
"case",
"stats",
"data",
":",
"return",
"is",
"set",
"stats",
"data",
"(",
")",
";",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"gets",
"the",
"event",
"types",
"to",
"subscribe",
"to"
] |
[
"return",
"events",
";"
] |
[
"the",
"event",
"i",
"ds",
"to",
"subscribe",
"to",
"as",
"a",
"set",
"<",
"integer",
">",
"directly",
"where",
"the",
"i",
"ds",
"are",
"the",
"different",
"constants",
"in",
"org",
"apache",
"ignite",
"events",
"event",
"type"
] |
[
"this",
"events",
"=",
"events",
";"
] |
[
"<",
"p",
">",
"determines",
"the",
"largest",
"segment",
"(",
"measured",
"by",
"total",
"byte",
"size",
"of",
"the",
"segment",
"s",
"files",
"in",
"mb",
")",
"that",
"may",
"be",
"merged",
"with",
"other",
"segments",
"small",
"values",
"(",
"e",
"g",
"less",
"than",
"50",
"mb",
")",
"are",
"best",
"for",
"interactive",
"indexing",
"as",
"this",
"limits",
"the",
"length",
"of",
"pauses",
"while",
"indexing",
"to",
"a",
"few",
"seconds",
"larger",
"values",
"are",
"best",
"for",
"batched",
"indexing",
"and",
"speedier",
"searches",
"<",
"/",
"p",
">"
] |
[
"max",
"merge",
"size",
"=",
"(",
"long",
")",
"(",
"mb",
"*",
"1024",
"*",
"1024",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.