docstring_tokens list | code_tokens list |
|---|---|
[
"/",
"*",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"identical",
"code",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"else",
"if",
"(",
"o",
"=",
"=",
"null",
")",
"return",
"false",
";",
"else",
"if",
"(",
"!",
"(",
"o",
"instanceof",
"static",
"buffer",
")",
")",
"return",
"false",
";",
"return",
... |
[
"<",
"p",
">",
"the",
"application",
"id",
"for",
"an",
"amazon",
"pinpoint",
"application",
"<",
"/",
"p",
">"
] | [
"set",
"application",
"id",
"(",
"application",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"an",
"iam",
"role",
"that",
"authorizes",
"amazon",
"cognito",
"to",
"publish",
"events",
"to",
"amazon",
"pinpoint",
"analytics",
"<",
"/",
"p",
">"
] | [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"external",
"id",
"<",
"/",
"p",
">"
] | [
"this",
"external",
"id",
"=",
"external",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"external",
"id",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"external",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"external",
"id",
"<",
"/",
"p",
">"
] | [
"set",
"external",
"id",
"(",
"external",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"user",
"data",
"shared",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"amazon",
"cognito",
"will",
"include",
"user",
"data",
"in",
"the",
"events",
"it",
"publishes",
"to",
... | [
"this",
"user",
"data",
"shared",
"=",
"user",
"data",
"shared",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"user",
"data",
"shared",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"amazon",
"cognito",
"will",
"include",
"user",
"data",
"in",
"the",
"events",
"it",
"publishes",
"to",
... | [
"return",
"this",
"user",
"data",
"shared",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"user",
"data",
"shared",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"amazon",
"cognito",
"will",
"include",
"user",
"data",
"in",
"the",
"events",
"it",
"publishes",
"to",
... | [
"set",
"user",
"data",
"shared",
"(",
"user",
"data",
"shared",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"user",
"data",
"shared",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"amazon",
"cognito",
"will",
"include",
"user",
"data",
"in",
"the",
"events",
"it",
"publishes",
"to",
... | [
"return",
"this",
"user",
"data",
"shared",
";"
] |
[
"returns",
"the",
"bytes",
"assuming",
"a",
"null",
"-",
"terminated",
"string",
"if",
"{"
] | [
"long",
"size",
"=",
"limit",
"-",
"position",
";",
"if",
"(",
"size",
"<",
"=",
"0",
")",
"{",
"size",
"=",
"strlen",
"(",
"this",
")",
";",
"}",
"byte",
"[",
"]",
"array",
"=",
"new",
"byte",
"[",
"(",
"int",
")",
"math",
"min",
"(",
"size"... |
[
"decodes",
"the",
"native",
"bytes",
"assuming",
"they",
"are",
"encoded",
"in",
"the",
"named",
"charset",
"assumes",
"a",
"null",
"-",
"terminated",
"string",
"if",
"{",
"@",
"code",
"limit",
"<",
"=",
"position",
"}"
] | [
"return",
"new",
"string",
"(",
"get",
"string",
"bytes",
"(",
")",
",",
"charset",
"name",
")",
";"
] |
[
"decodes",
"the",
"native",
"bytes",
"assuming",
"they",
"are",
"encoded",
"in",
"the",
"platform",
"s",
"default",
"charset",
"assumes",
"a",
"null",
"-",
"terminated",
"string",
"if",
"{",
"@",
"code",
"limit",
"<",
"=",
"position",
"}"
] | [
"return",
"new",
"string",
"(",
"get",
"string",
"bytes",
"(",
")",
")",
";"
] |
[
"encodes",
"the",
"string",
"into",
"the",
"named",
"charset",
"and",
"copies",
"it",
"in",
"native",
"memory",
"including",
"a",
"terminating",
"null",
"byte",
"sets",
"the",
"limit",
"to",
"just",
"before",
"the",
"terminating",
"null",
"byte"
] | [
"byte",
"[",
"]",
"bytes",
"=",
"s",
"get",
"bytes",
"(",
"charset",
"name",
")",
";",
"return",
"put",
"(",
"bytes",
")",
"put",
"(",
"bytes",
"length",
",",
"(",
"byte",
")",
"0",
")",
"limit",
"(",
"bytes",
"length",
")",
";"
] |
[
"encodes",
"the",
"string",
"into",
"the",
"platform",
"s",
"default",
"charset",
"and",
"copies",
"it",
"in",
"native",
"memory",
"including",
"a",
"terminating",
"null",
"byte",
"sets",
"the",
"limit",
"to",
"just",
"before",
"the",
"terminating",
"null",
... | [
"byte",
"[",
"]",
"bytes",
"=",
"s",
"get",
"bytes",
"(",
")",
";",
"return",
"put",
"(",
"bytes",
")",
"put",
"(",
"bytes",
"length",
",",
"(",
"byte",
")",
"0",
")",
"limit",
"(",
"bytes",
"length",
")",
";"
] |
[
"copies",
"the",
"{",
"@",
"code",
"byte",
"}",
"value",
"to",
"the",
"i",
"-",
"th",
"element",
"of",
"a",
"native",
"array"
] | [
"public",
"native",
"byte",
"pointer",
"put",
"(",
"long",
"i",
",",
"byte",
"b",
")",
";"
] |
[
"reads",
"a",
"portion",
"of",
"the",
"native",
"array",
"into",
"a",
"java",
"array"
] | [
"public",
"native",
"byte",
"pointer",
"get",
"(",
"byte",
"[",
"]",
"array",
",",
"int",
"offset",
",",
"int",
"length",
")",
";"
] |
[
"writes",
"a",
"portion",
"of",
"a",
"java",
"array",
"into",
"the",
"native",
"array"
] | [
"public",
"native",
"byte",
"pointer",
"put",
"(",
"byte",
"[",
"]",
"array",
",",
"int",
"offset",
",",
"int",
"length",
")",
";"
] |
[
"{"
] | [
"return",
"subject",
"factory",
";"
] |
[
"sets",
"layout",
"id"
] | [
"protected",
"abstract",
"int",
"set",
"layout",
"id",
"(",
")",
";"
] |
[
"create",
"a",
"new",
"stat",
"fill",
"in",
"dummy",
"values",
"trying",
"to",
"catch",
"assert",
"failure",
"to",
"copy",
"in",
"client",
"or",
"server",
"code"
] | [
"stat",
"stat",
"=",
"new",
"stat",
"(",
")",
";",
"stat",
"set",
"aversion",
"(",
"100",
")",
";",
"stat",
"set",
"ctime",
"(",
"100",
")",
";",
"stat",
"set",
"cversion",
"(",
"100",
")",
";",
"stat",
"set",
"czxid",
"(",
"100",
")",
";",
"st... |
[
"generates",
"spnego",
"init",
"token",
"with",
"given",
"initial",
"ticket",
"and",
"supported",
"mechanisms"
] | [
"d",
"e",
"r",
"octet",
"string",
"ticket",
"for",
"preferred",
"mech",
"=",
"new",
"d",
"e",
"r",
"octet",
"string",
"(",
"ticket",
")",
";",
"a",
"s",
"n",
"1",
"encodable",
"vector",
"mech",
"seq",
"=",
"new",
"a",
"s",
"n",
"1",
"encodable",
... |
[
"get",
"the",
"command",
"string",
"to",
"query",
"the",
"hardlink",
"count",
"of",
"a",
"file"
] | [
"abstract",
"string",
"[",
"]",
"link",
"count",
"(",
"file",
"file",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"/",
"*"
] | [
"string",
"[",
"]",
"buf",
"=",
"new",
"string",
"[",
"get",
"link",
"count",
"command",
"length",
"]",
";",
"system",
"arraycopy",
"(",
"get",
"link",
"count",
"command",
",",
"0",
",",
"buf",
",",
"0",
",",
"get",
"link",
"count",
"command",
"lengt... |
[
"/",
"*"
] | [
"string",
"[",
"]",
"buf",
"=",
"new",
"string",
"[",
"get",
"link",
"count",
"command",
"length",
"]",
";",
"system",
"arraycopy",
"(",
"get",
"link",
"count",
"command",
",",
"0",
",",
"buf",
",",
"0",
",",
"get",
"link",
"count",
"command",
"lengt... |
[
"creates",
"a",
"{",
"@",
"link",
"org",
"apache",
"lucene",
"analysis",
"analyzer",
"token",
"stream",
"components",
"}",
"which",
"tokenizes",
"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",
")",... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"job",
"vertex",
"id",
";"
] |
[
"returns",
"the",
"number",
"of",
"subtasks"
] | [
"return",
"subtask",
"stats",
"length",
";"
] |
[
"returns",
"the",
"number",
"of",
"acknowledged",
"subtasks"
] | [
"return",
"num",
"acknowledged",
"subtasks",
";"
] |
[
"returns",
"the",
"latest",
"acknowledged",
"subtask",
"stats",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"none",
"was",
"acknowledged",
"yet"
] | [
"return",
"latest",
"acked",
"subtask",
"stats",
";"
] |
[
"returns",
"the",
"ack",
"timestamp",
"of",
"the",
"latest",
"acknowledged",
"subtask",
"or",
"<",
"code",
">",
"-",
"1",
"<",
"/",
"code",
">",
"if",
"none",
"was",
"acknowledged",
"yet"
] | [
"subtask",
"state",
"stats",
"subtask",
"=",
"latest",
"acked",
"subtask",
"stats",
";",
"if",
"(",
"subtask",
"!",
"=",
"null",
")",
"{",
"return",
"subtask",
"get",
"ack",
"timestamp",
"(",
")",
";",
"}",
"else",
"{",
"return",
"-",
"1",
";",
"}"
] |
[
"returns",
"the",
"total",
"checkpoint",
"state",
"size",
"over",
"all",
"subtasks"
] | [
"return",
"summary",
"stats",
"get",
"state",
"size",
"stats",
"(",
")",
"get",
"sum",
"(",
")",
";"
] |
[
"returns",
"the",
"total",
"buffered",
"bytes",
"during",
"alignment",
"over",
"all",
"subtasks"
] | [
"return",
"summary",
"stats",
"get",
"alignment",
"buffered",
"stats",
"(",
")",
"get",
"sum",
"(",
")",
";"
] |
[
"returns",
"the",
"duration",
"of",
"this",
"checkpoint",
"at",
"the",
"task",
"/",
"operator",
"calculated",
"as",
"the",
"time",
"since",
"triggering",
"until",
"the",
"latest",
"acknowledged",
"subtask",
"or",
"<",
"code",
">",
"-",
"1",
"<",
"/",
"code... | [
"subtask",
"state",
"stats",
"subtask",
"=",
"get",
"latest",
"acknowledged",
"subtask",
"stats",
"(",
")",
";",
"if",
"(",
"subtask",
"!",
"=",
"null",
")",
"{",
"return",
"math",
"max",
"(",
"0",
",",
"subtask",
"get",
"ack",
"timestamp",
"(",
")",
... |
[
"returns",
"the",
"stats",
"for",
"all",
"subtasks"
] | [
"return",
"subtask",
"stats",
";"
] |
[
"returns",
"the",
"summary",
"of",
"the",
"subtask",
"stats"
] | [
"return",
"summary",
"stats",
";"
] |
[
"updates",
"the",
"summary",
"with",
"the",
"given",
"subtask"
] | [
"state",
"size",
"add",
"(",
"subtask",
"stats",
"get",
"state",
"size",
"(",
")",
")",
";",
"ack",
"timestamp",
"add",
"(",
"subtask",
"stats",
"get",
"ack",
"timestamp",
"(",
")",
")",
";",
"sync",
"checkpoint",
"duration",
"add",
"(",
"subtask",
"st... |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"state",
"size",
"of",
"completed",
"checkpoints"
] | [
"return",
"state",
"size",
";"
] |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"ack",
"timestamps"
] | [
"return",
"ack",
"timestamp",
";"
] |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"sync",
"checkpoint",
"duration"
] | [
"return",
"sync",
"checkpoint",
"duration",
";"
] |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"async",
"checkpoint",
"duration"
] | [
"return",
"async",
"checkpoint",
"duration",
";"
] |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"bytes",
"buffered",
"during",
"alignment"
] | [
"return",
"alignment",
"buffered",
";"
] |
[
"returns",
"the",
"summary",
"stats",
"for",
"the",
"alignment",
"duration"
] | [
"return",
"alignment",
"duration",
";"
] |
[
"todo",
":",
"this",
"might",
"create",
"multiple",
"packaged",
"injector",
"that",
"are",
"not",
"identical",
"to",
"each",
"other",
"e",
"g",
"different",
"build",
"target",
"in",
"a",
"package",
"/",
"dir",
"can",
"generated",
"different",
"modules",
"/",... | [
"for",
"all",
"packages",
"(",
"all",
"modules",
",",
"all",
"injected",
",",
"processing",
"env",
",",
"round",
"environment",
",",
"utils",
",",
"p",
"-",
">",
"{",
"new",
"packaged",
"injector",
"generator",
"(",
"p",
",",
"processing",
"env",
",",
... |
[
"stops",
"process"
] | [
"output",
"reader",
"interrupt",
"(",
")",
";",
"outputs",
"clear",
"(",
")",
";",
"process",
"destroy",
"(",
")",
";"
] |
[
"determines",
"whether",
"all",
"children",
"of",
"a",
"node",
"are",
"deselected"
] | [
"final",
"i",
"node",
"filter",
"<",
"node",
"type",
">",
"filter",
"=",
"standard",
"filters",
"get",
"selected",
"filter",
"(",
")",
";",
"return",
"graph",
"algorithms",
"collect",
"children",
"(",
"node",
",",
"filter",
")",
"size",
"(",
")",
"=",
... |
[
"determines",
"whether",
"all",
"parents",
"of",
"a",
"node",
"are",
"deselected"
] | [
"final",
"i",
"node",
"filter",
"<",
"node",
"type",
">",
"filter",
"=",
"standard",
"filters",
"get",
"selected",
"filter",
"(",
")",
";",
"return",
"graph",
"algorithms",
"collect",
"parents",
"(",
"node",
",",
"filter",
")",
"size",
"(",
")",
"=",
"... |
[
"returns",
"a",
"list",
"of",
"nodes",
"that",
"match",
"the",
"given",
"filter"
] | [
"final",
"list",
"<",
"node",
"type",
">",
"items",
"=",
"new",
"array",
"list",
"<",
"node",
"type",
">",
"(",
")",
";",
"graph",
"iterate",
"(",
"new",
"i",
"node",
"callback",
"<",
"node",
"type",
">",
"(",
")",
"{",
"@",
"override",
"public",
... |
[
"returns",
"all",
"nodes",
"in",
"the",
"graph"
] | [
"final",
"i",
"node",
"filter",
"<",
"node",
"type",
">",
"true",
"filter",
"=",
"standard",
"filters",
"get",
"true",
"filter",
"(",
")",
";",
"return",
"get",
"nodes",
"(",
"graph",
",",
"true",
"filter",
")",
";"
] |
[
"returns",
"the",
"predecessors",
"of",
"the",
"selected",
"nodes",
"of",
"a",
"graph"
] | [
"return",
"graph",
"algorithms",
"get",
"predecessors",
"(",
"get",
"selected",
"nodes",
"(",
"graph",
")",
")",
";"
] |
[
"returns",
"the",
"successors",
"of",
"the",
"selected",
"nodes",
"of",
"a",
"graph"
] | [
"return",
"graph",
"algorithms",
"get",
"successors",
"(",
"get",
"selected",
"nodes",
"(",
"graph",
")",
")",
";"
] |
[
"creates",
"a",
"list",
"of",
"all",
"visible",
"nodes",
"of",
"the",
"graph"
] | [
"final",
"set",
"<",
"node",
"type",
">",
"nodes",
"=",
"new",
"hash",
"set",
"<",
"node",
"type",
">",
"(",
")",
";",
"graph",
"iterate",
"visible",
"(",
"new",
"i",
"node",
"callback",
"<",
"node",
"type",
">",
"(",
")",
"{",
"@",
"override",
"... |
[
"selects",
"all",
"predecessors",
"of",
"a",
"node"
] | [
"graph",
"select",
"nodes",
"(",
"graph",
"algorithms",
"get",
"predecessors",
"(",
"node",
")",
",",
"true",
")",
";"
] |
[
"selects",
"all",
"predecessors",
"of",
"the",
"selected",
"nodes"
] | [
"graph",
"select",
"nodes",
"(",
"get",
"predecessors",
"of",
"selection",
"(",
"graph",
")",
",",
"true",
")",
";"
] |
[
"selects",
"all",
"successors",
"of",
"the",
"selected",
"nodes"
] | [
"graph",
"select",
"nodes",
"(",
"get",
"successors",
"of",
"selection",
"(",
"graph",
")",
",",
"true",
")",
";"
] |
[
"gets",
"the",
"root",
"j",
"u",
"l",
"logger",
"and",
"removes",
"all",
"registered",
"handlers",
"then",
"redirects",
"all",
"active",
"j",
"u",
"l",
"to",
"slf4j",
"<",
"p",
"/",
">",
"n",
"b",
"this",
"should",
"only",
"happen",
"once",
"hence",
... | [
"jul",
"hijacking",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"if",
"(",
"!",
"jul",
"hijacked",
")",
"{",
"s",
"l",
"f",
"4",
"j",
"bridge",
"handler",
"remove",
"handlers",
"for",
"root",
"logger",
"(",
")",
";",
"s",
"l",
"f",
"4",
"j",
"br... |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"id",
"that",
"uniquely",
"identifies",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"this",
"value",
"should",
"be",
"identical",
"to",
"the",
"value",
"of",
"the",
"<",
"code",
">... | [
"this",
"m",
"l",
"model",
"id",
"=",
"m",
"l",
"model",
"id",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"id",
"that",
"uniquely",
"identifies",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"this",
"value",
"should",
"be",
"identical",
"to",
"the",
"value",
"of",
"the",
"<",
"code",
">... | [
"return",
"this",
"m",
"l",
"model",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"assigned",
"to",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"during",
"creation",
"<",
"/",
"p",
">"
] | [
"set",
"m",
"l",
"model",
"id",
"(",
"m",
"l",
"model",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"name",
"or",
"description",
"of",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"m",
"l",
"model",
"name",
"=",
"m",
"l",
"model",
"name",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"name",
"or",
"description",
"of",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"m",
"l",
"model",
"name",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"supplied",
"name",
"or",
"description",
"of",
"the",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"m",
"l",
"model",
"name",
"(",
"m",
"l",
"model",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"scoring",
"threshold",
"is",
"used",
"in",
"binary",
"classification",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"<",
"?",
"oxy",
"insert",
"start",
"author",
"=",
"laurama",
"timestamp",
"=",
"20160329t114851",
... | [
"this",
"score",
"threshold",
"=",
"score",
"threshold",
";"
] |
[
"<",
"p",
">",
"the",
"scoring",
"threshold",
"is",
"used",
"in",
"binary",
"classification",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"<",
"?",
"oxy",
"insert",
"start",
"author",
"=",
"laurama",
"timestamp",
"=",
"20160329t114851",
... | [
"return",
"this",
"score",
"threshold",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"score",
"threshold",
"<",
"/",
"code",
">",
"used",
"in",
"binary",
"classification",
"<",
"code",
">",
"m",
"l",
"model",
"<",
"/",
"code",
">",
"that",
"marks",
"the",
"boundary",
"between",
"a",
"positive",... | [
"set",
"score",
"threshold",
"(",
"score",
"threshold",
")",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"checks",
"capacity",
"and",
"extend",
"it",
"if",
"needed",
"all",
"data",
"copied",
"to",
"new",
"storage",
"and",
"only",
"one",
"empty",
"leaf",
"will",
"be",
"available",
"to",
"insert",
"extra",
"wasted",
"space",
"is",
"equal",
"to... | [
"if",
"(",
"i",
"pointer",
"+",
"1",
"<",
"data",
"length",
"|",
"|",
"j",
"pointer",
"<",
"data",
"[",
"i",
"pointer",
"]",
"length",
")",
"{",
"return",
";",
"}",
"int",
"prev",
"length",
"=",
"data",
"length",
";",
"object",
"[",
"]",
"[",
"... |
[
"returns",
"available",
"leaf",
"to",
"insert",
"data",
"if",
"current",
"leaf",
"is",
"already",
"full",
"creates",
"new",
"leaf",
"and",
"returns",
"it"
] | [
"if",
"(",
"j",
"pointer",
">",
"=",
"data",
"length",
")",
"{",
"data",
"[",
"+",
"+",
"i",
"pointer",
"]",
"=",
"new",
"object",
"[",
"data",
"length",
"]",
";",
"j",
"pointer",
"=",
"0",
";",
"}",
"return",
"data",
"[",
"i",
"pointer",
"]",
... |
[
"create",
"a",
"new",
"spring",
"system",
"providing",
"the",
"appropriate",
"constructor",
"parameters",
"to",
"work",
"properly",
"in",
"an",
"android",
"environment"
] | [
"return",
"new",
"spring",
"system",
"(",
"android",
"spring",
"looper",
"factory",
"create",
"spring",
"looper",
"(",
")",
")",
";"
] |
[
"main",
"method"
] | [] |
[
"todo",
":",
"receipts",
"loading",
"here"
] | [
"return",
"counter",
";"
] |
[
"specifies",
"that",
"any",
"field",
"that",
"matches",
"the",
"specified",
"matcher",
"should",
"be",
"removed"
] | [
"return",
"new",
"member",
"removal",
"(",
"field",
"matcher",
"or",
"(",
"matcher",
")",
",",
"method",
"matcher",
")",
";"
] |
[
"specifies",
"that",
"any",
"method",
"that",
"matches",
"the",
"specified",
"matcher",
"should",
"be",
"removed"
] | [
"return",
"strip",
"invokables",
"(",
"is",
"method",
"(",
")",
"and",
"(",
"matcher",
")",
")",
";"
] |
[
"specifies",
"that",
"any",
"constructor",
"that",
"matches",
"the",
"specified",
"matcher",
"should",
"be",
"removed"
] | [
"return",
"strip",
"invokables",
"(",
"is",
"constructor",
"(",
")",
"and",
"(",
"matcher",
")",
")",
";"
] |
[
"specifies",
"that",
"any",
"method",
"or",
"constructor",
"that",
"matches",
"the",
"specified",
"matcher",
"should",
"be",
"removed"
] | [
"return",
"new",
"member",
"removal",
"(",
"field",
"matcher",
",",
"method",
"matcher",
"or",
"(",
"matcher",
")",
")",
";"
] |
[
"{"
] | [
"map",
"<",
"string",
",",
"field",
"description",
"in",
"defined",
"shape",
">",
"mapped",
"fields",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"field",
"description",
"in",
"defined",
"shape",
">",
"(",
")",
";",
"for",
"(",
"field",
"description",... |
[
"get",
"rule",
"by",
"name"
] | [
"return",
"new",
"key",
"(",
"rule",
"name",
")",
";"
] |
[
"get",
"registered",
"toolchains"
] | [
"return",
"(",
")",
"-",
">",
"get",
"registered",
"toolchains",
"function",
";"
] |
[
"get",
"registered",
"execution",
"platforms"
] | [
"return",
"(",
")",
"-",
">",
"get",
"registered",
"execution",
"platforms",
"function",
";"
] |
[
"get",
"the",
"current",
"value",
"from",
"the",
"underlying",
"dynamic",
"property"
] | [
"return",
"prop",
"get",
"boolean",
"(",
"default",
"value",
")",
";"
] |
[
"get",
"the",
"current",
"value",
"from",
"the",
"underlying",
"dynamic",
"property"
] | [
"return",
"prop",
"get",
"integer",
"(",
"default",
"value",
")",
";"
] |
[
"get",
"the",
"current",
"value",
"from",
"the",
"underlying",
"dynamic",
"property"
] | [
"return",
"prop",
"get",
"long",
"(",
"default",
"value",
")",
";"
] |
[
"get",
"the",
"current",
"value",
"from",
"the",
"underlying",
"dynamic",
"property"
] | [
"return",
"prop",
"get",
"string",
"(",
"default",
"value",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"setter",
"/",
"getter",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"this",
"class",
"path",
"scanner",
"=",
"class",
"path",
"scanner",
";"
] |
[
"the",
"unique",
"arn",
"of",
"the",
"input",
"(",
"generated",
"immutable",
")"
] | [
"set",
"arn",
"(",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"a",
"list",
"of",
"channel",
"i",
"ds",
"that",
"that",
"input",
"is",
"attached",
"to",
"(",
"currently",
"an",
"input",
"can",
"only",
"be",
"attached",
"to",
"one",
"channel",
")"
] | [
"return",
"attached",
"channels",
";"
] |
[
"a",
"list",
"of",
"channel",
"i",
"ds",
"that",
"that",
"input",
"is",
"attached",
"to",
"(",
"currently",
"an",
"input",
"can",
"only",
"be",
"attached",
"to",
"one",
"channel",
")"
] | [
"if",
"(",
"attached",
"channels",
"=",
"=",
"null",
")",
"{",
"this",
"attached",
"channels",
"=",
"null",
";",
"return",
";",
"}",
"this",
"attached",
"channels",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"attached",
"chan... |
[
"a",
"list",
"of",
"channel",
"i",
"ds",
"that",
"that",
"input",
"is",
"attached",
"to",
"(",
"currently",
"an",
"input",
"can",
"only",
"be",
"attached",
"to",
"one",
"channel",
")",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">"... | [
"if",
"(",
"this",
"attached",
"channels",
"=",
"=",
"null",
")",
"{",
"set",
"attached",
"channels",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"attached",
"channels",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"e... |
[
"a",
"list",
"of",
"channel",
"i",
"ds",
"that",
"that",
"input",
"is",
"attached",
"to",
"(",
"currently",
"an",
"input",
"can",
"only",
"be",
"attached",
"to",
"one",
"channel",
")"
] | [
"set",
"attached",
"channels",
"(",
"attached",
"channels",
")",
";",
"return",
"this",
";"
] |
[
"a",
"list",
"of",
"the",
"destinations",
"of",
"the",
"input",
"(",
"push",
"-",
"type",
")"
] | [
"return",
"destinations",
";"
] |
[
"a",
"list",
"of",
"the",
"destinations",
"of",
"the",
"input",
"(",
"push",
"-",
"type",
")"
] | [
"if",
"(",
"destinations",
"=",
"=",
"null",
")",
"{",
"this",
"destinations",
"=",
"null",
";",
"return",
";",
"}",
"this",
"destinations",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"input",
"destination",
">",
"(",
"destinations",
")",
";"
] |
[
"a",
"list",
"of",
"the",
"destinations",
"of",
"the",
"input",
"(",
"push",
"-",
"type",
")",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if"... | [
"if",
"(",
"this",
"destinations",
"=",
"=",
"null",
")",
"{",
"set",
"destinations",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"input",
"destination",
">",
"(",
"destinations",
"length",
")",
")",
";",
"}",
"for",
"(",
"input",
"destination",
... |
[
"a",
"list",
"of",
"the",
"destinations",
"of",
"the",
"input",
"(",
"push",
"-",
"type",
")"
] | [
"set",
"destinations",
"(",
"destinations",
")",
";",
"return",
"this",
";"
] |
[
"the",
"generated",
"id",
"of",
"the",
"input",
"(",
"unique",
"for",
"user",
"account",
"immutable",
")"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"the",
"user",
"-",
"assigned",
"name",
"(",
"this",
"is",
"a",
"mutable",
"value",
")"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"i",
"ds",
"of",
"the",
"security",
"groups",
"for",
"the",
"load",
"balancer",
"<",
"/",
"p",
">"
] | [
"return",
"security",
"groups",
";"
] |
[
"<",
"p",
">",
"the",
"i",
"ds",
"of",
"the",
"security",
"groups",
"for",
"the",
"load",
"balancer",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"security",
"groups",
"=",
"=",
"null",
")",
"{",
"this",
"security",
"groups",
"=",
"null",
";",
"return",
";",
"}",
"this",
"security",
"groups",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"security",
"groups",
... |
[
"a",
"list",
"of",
"i",
"ds",
"for",
"all",
"the",
"security",
"groups",
"attached",
"to",
"the",
"input",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",... | [
"if",
"(",
"this",
"security",
"groups",
"=",
"=",
"null",
")",
"{",
"set",
"security",
"groups",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"security",
"groups",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
... |
[
"a",
"list",
"of",
"i",
"ds",
"for",
"all",
"the",
"security",
"groups",
"attached",
"to",
"the",
"input"
] | [
"set",
"security",
"groups",
"(",
"security",
"groups",
")",
";",
"return",
"this",
";"
] |
[
"a",
"list",
"of",
"the",
"sources",
"of",
"the",
"input",
"(",
"pull",
"-",
"type",
")"
] | [
"return",
"sources",
";"
] |
[
"a",
"list",
"of",
"the",
"sources",
"of",
"the",
"input",
"(",
"pull",
"-",
"type",
")"
] | [
"if",
"(",
"sources",
"=",
"=",
"null",
")",
"{",
"this",
"sources",
"=",
"null",
";",
"return",
";",
"}",
"this",
"sources",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"input",
"source",
">",
"(",
"sources",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.