docstring_tokens list | code_tokens list |
|---|---|
[
"computes",
"the",
"difference",
"between",
"display",
"device",
"infos",
"assumes",
"other",
"is",
"not",
"null"
] | [
"int",
"diff",
"=",
"0",
";",
"if",
"(",
"state",
"!",
"=",
"other",
"state",
")",
"{",
"diff",
"|",
"=",
"diff",
"state",
";",
"}",
"if",
"(",
"color",
"mode",
"!",
"=",
"other",
"color",
"mode",
")",
"{",
"diff",
"|",
"=",
"diff",
"color",
... |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"<",
"/",
"p",
">"
] | [
"this",
"classification",
"=",
"classification",
";"
] |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"classification",
";"
] |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"such",
"as",
"twitter",
"json",
"omniture",
"logs",
"amazon",
"cloud",
"watch",
"logs",
"and",
"so",
"on",
"<",
"/",
"p",
">"
] | [
"set",
"classification",
"(",
"classification",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"new",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"applied",
"to",
"a",
"data",
"store",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"built",
"-",
"in",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazo... | [
"this",
"grok",
"pattern",
"=",
"grok",
"pattern",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"applied",
"to",
"a",
"data",
"store",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"built",
"-",
"in",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazo... | [
"return",
"this",
"grok",
"pattern",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"used",
"by",
"this",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"grok",
"pattern",
"(",
"grok",
"pattern",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"defined",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"custom",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
... | [
"this",
"custom",
"patterns",
"=",
"custom",
"patterns",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"defined",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"custom",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
... | [
"return",
"this",
"custom",
"patterns",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"used",
"by",
"this",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"custom",
"patterns",
"(",
"custom",
"patterns",
")",
";",
"return",
"this",
";"
] |
[
"compares",
"the",
"current",
"api",
"version",
"to",
"another",
"api",
"version"
] | [
"if",
"(",
"!",
"prerelease",
"is",
"empty",
"(",
")",
")",
"{",
"if",
"(",
"other",
"prerelease",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"-",
"1",
";",
"}",
"return",
"prerelease",
"compare",
"to",
"(",
"other",
"prerelease",
")",
";",
"}",
... |
[
"resumes",
"a",
"call",
"in",
"progress"
] | [
"get",
"telecomm",
"manager",
"(",
")",
"show",
"in",
"call",
"screen",
"(",
"false",
")",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"an",
"sas",
"context",
"has",
"arrived",
"with",
"the",
"current",
"request",
"or",
"not",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"sas",
"context",
"received",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"a",
"client",
"authentication",
"token",
"has",
"arrived",
"with",
"the",
"current",
"request",
"or",
"not",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"authentication",
"token",
"received",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"username",
"that",
"arrived",
"with",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"username",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"password",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"password",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"target",
"name",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"target",
"name",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"{",
"@",
"code",
"org",
"omg",
"csi",
"identity",
"token",
"}",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"identity",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"principal",
"name",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"principal",
"name",
";"
] |
[
"{"
] | [
"mode",
"=",
"null",
";",
"path",
"modes",
"=",
"null",
";",
"set",
"null",
"mode",
"=",
"false",
";",
"set",
"secondary",
"fs",
"=",
"false",
";"
] |
[
"{"
] | [
"g",
"stop",
"all",
"(",
"true",
")",
";"
] |
[
"set",
"igfs",
"modes",
"for",
"particular",
"paths"
] | [
"assert",
"modes",
"!",
"=",
"null",
";",
"path",
"modes",
"=",
"new",
"linked",
"hash",
"map",
"<",
">",
"(",
"modes",
"length",
",",
"1",
"0f",
")",
";",
"for",
"(",
"ignite",
"bi",
"tuple",
"<",
"string",
",",
"igfs",
"mode",
">",
"mode",
":",... |
[
"ensure",
"that",
"data",
"is",
"not",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"primary",
"mode"
] | [
"mode",
"=",
"primary",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"ensure",
"that",
"data",
"is",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"dual",
"sync",
"mode"
] | [
"mode",
"=",
"dual",
"sync",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"ensure",
"that",
"data",
"is",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"dual",
"sync",
"mode"
] | [
"mode",
"=",
"dual",
"async",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"resolve",
"igfs",
"mode",
"for",
"the",
"given",
"path",
"and",
"compare",
"it",
"with",
"expected",
"one"
] | [
"assert",
"igfs",
"!",
"=",
"null",
";",
"igfs",
"path",
"path",
"=",
"new",
"igfs",
"path",
"(",
"path",
"str",
")",
";",
"igfs",
"mode",
"resolver",
"rslvr",
"=",
"igfs",
"mode",
"resolver",
"(",
")",
";",
"igfs",
"mode",
"mode",
"=",
"rslvr",
"r... |
[
"elapsed",
"time",
"in",
"milliseconds",
"for",
"the",
"request",
"as",
"seen",
"from",
"the",
"client"
] | [
"public",
"abstract",
"long",
"get",
"elapsed",
"time",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"resources",
"you",
"want",
"to",
"remove",
"from",
"being",
"monitored",
"by",
"amazon",
"macie",
"<",
"/",
"p",
">"
] | [
"this",
"member",
"account",
"id",
"=",
"member",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"resources",
"you",
"want",
"to",
"remove",
"from",
"being",
"monitored",
"by",
"amazon",
"macie",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"member",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"s3",
"resources",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"set",
"member",
"account",
"id",
"(",
"member",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"return",
"s",
"3",
"resources",
"update",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"s",
"3",
"resources",
"update",
"=",
"=",
"null",
")",
"{",
"this",
"s",
"3",
"resources",
"update",
"=",
"null",
";",
"return",
";",
"}",
"this",
"s",
"3",
"resources",
"update",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
... |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"th... | [
"if",
"(",
"this",
"s",
"3",
"resources",
"update",
"=",
"=",
"null",
")",
"{",
"set",
"s",
"3",
"resources",
"update",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
"3",
"resource",
"classification",
"update",
">",
"(",
"s",
"3",
"resources... |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"3",
"resources",
"update",
"(",
"s",
"3",
"resources",
"update",
")",
";",
"return",
"this",
";"
] |
[
"encode",
"/",
"decode",
"another",
"block",
"of",
"input",
"data",
"this",
"output",
"is",
"provided",
"by",
"the",
"caller",
"and",
"must",
"be",
"big",
"enough",
"to",
"hold",
"all",
"the",
"coded",
"data",
"on",
"exit",
"this",
"opwill",
"be",
"set",... | [
"public",
"abstract",
"boolean",
"process",
"(",
"byte",
"[",
"]",
"input",
",",
"int",
"offset",
",",
"int",
"len",
",",
"boolean",
"finish",
")",
";"
] |
[
"decode",
"the",
"base",
"6",
"4",
"-",
"encoded",
"data",
"in",
"input",
"and",
"return",
"the",
"data",
"in",
"a",
"new",
"byte",
"array"
] | [
"return",
"decode",
"(",
"str",
"get",
"bytes",
"(",
")",
",",
"flags",
")",
";"
] |
[
"decode",
"the",
"base",
"6",
"4",
"-",
"encoded",
"data",
"in",
"input",
"and",
"return",
"the",
"data",
"in",
"a",
"new",
"byte",
"array"
] | [
"return",
"decode",
"(",
"input",
",",
"0",
",",
"input",
"length",
",",
"flags",
")",
";"
] |
[
"base",
"6",
"4",
"-",
"encode",
"the",
"given",
"data",
"and",
"return",
"a",
"newly",
"allocated",
"byte",
"[",
"]",
"with",
"the",
"result"
] | [
"return",
"encode",
"(",
"input",
",",
"0",
",",
"input",
"length",
",",
"flags",
")",
";"
] |
[
"fill",
"service",
"callbacks"
] | [
"on",
"fill",
"request",
"failure",
"or",
"timeout",
"(",
"request",
"id",
",",
"false",
",",
"message",
",",
"service",
"package",
"name",
")",
";"
] |
[
"fill",
"service",
"callbacks"
] | [
"on",
"fill",
"request",
"failure",
"or",
"timeout",
"(",
"request",
"id",
",",
"true",
",",
"null",
",",
"service",
"package",
"name",
")",
";"
] |
[
"generates",
"a",
"{"
] | [
"m",
"handler",
"send",
"message",
"(",
"obtain",
"message",
"(",
"session",
":",
":",
"do",
"log",
"context",
"committed",
",",
"this",
")",
")",
";"
] |
[
"thread",
"-",
"safe",
"version",
"of",
"{"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"remove",
"self",
"locked",
"(",
")",
";",
"}"
] |
[
"sets",
"this",
"current",
"frame",
"to",
"the",
"input",
"stack",
"map",
"frame",
"of",
"the",
"next",
"current",
"instruction",
"i",
"e",
"the",
"instruction",
"just",
"after",
"the",
"given",
"one",
"it",
"is",
"assumed",
"that",
"the",
"value",
"of",
... | [
"super",
"execute",
"(",
"opcode",
",",
"arg",
",",
"symbol",
"arg",
",",
"symbol",
"table",
")",
";",
"frame",
"successor",
"=",
"new",
"frame",
"(",
"null",
")",
";",
"merge",
"(",
"symbol",
"table",
",",
"successor",
",",
"0",
")",
";",
"copy",
... |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"profile",
"when",
"you",
"specify",
"aac",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specify",
"the",
"aac",
"profile",
"for",
"the",
"outp... | [
"set",
"profile",
"(",
"profile",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
... | [
"this",
"bit",
"depth",
"=",
"bit",
"depth",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
... | [
"return",
"this",
"bit",
"depth",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
... | [
"set",
"bit",
"depth",
"(",
"bit",
"depth",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the"... | [
"this",
"bit",
"order",
"=",
"bit",
"order",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the"... | [
"return",
"this",
"bit",
"order",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the"... | [
"set",
"bit",
"order",
"(",
"bit",
"order",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"... | [
"this",
"signed",
"=",
"signed",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"... | [
"return",
"this",
"signed",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"... | [
"set",
"signed",
"(",
"signed",
")",
";",
"return",
"this",
";"
] |
[
"unary",
"not",
":",
"only",
"applicable",
"to",
"integral",
"types"
] | [
"return",
"~",
"v",
";"
] |
[
"unary",
"negation",
"and",
"plus",
":",
"applicable",
"to",
"all",
"numeric",
"types"
] | [
"return",
"-",
"v",
";"
] |
[
"multiplication",
"/",
"division",
"/",
"remainder",
"/",
"subtraction",
":",
"applicable",
"to",
"all",
"integer",
"types"
] | [
"return",
"a",
"*",
"b",
";"
] |
[
"additionally",
"if",
"either",
"type",
"is",
"a",
"string",
"the",
"other",
"type",
"can",
"be",
"any",
"arbitrary",
"type",
"(",
"including",
"null",
")"
] | [
"return",
"a",
"+",
"b",
";"
] |
[
"eq",
":",
"applicable",
"to",
"any",
"arbitrary",
"type",
"including",
"nulls",
"for",
"both",
"arguments",
"!",
"!",
"!"
] | [
"return",
"a",
"=",
"=",
"b",
";"
] |
[
"comparison",
"operators",
":",
"applicable",
"for",
"any",
"numeric",
"type"
] | [
"return",
"a",
"<",
"b",
";"
] |
[
"bitwise",
"operators",
":",
"valid",
"only",
"for",
"integral",
"types"
] | [
"return",
"a",
"&",
"b",
";"
] |
[
"we",
"implement",
"all",
"shifts",
"as",
"long",
"shifts",
"because",
"the",
"extra",
"bits",
"are",
"ignored",
"anyway"
] | [
"return",
"a",
"<",
"<",
"b",
";"
] |
[
"unboxes",
"a",
"class",
"to",
"its",
"primitive",
"type",
"or",
"returns",
"the",
"original",
"class",
"if",
"its",
"not",
"a",
"boxed",
"type"
] | [
"return",
"method",
"type",
"method",
"type",
"(",
"clazz",
")",
"unwrap",
"(",
")",
"return",
"type",
"(",
")",
";"
] |
[
"returns",
"a",
"generic",
"method",
"handle",
"for",
"any",
"operator",
"that",
"can",
"handle",
"all",
"valid",
"signatures",
"nulls",
"corner",
"cases"
] | [
"return",
"type",
"op",
"mapping",
"get",
"(",
"object",
"class",
")",
"get",
"(",
"name",
")",
";"
] |
[
"slow",
"dynamic",
"cast",
":",
"casts",
"{"
] | [
"if",
"(",
"lhs",
"!",
"=",
"null",
")",
"{",
"return",
"dynamic",
"cast",
"(",
"lhs",
"get",
"class",
"(",
")",
",",
"return",
"value",
")",
";",
"}",
"else",
"{",
"return",
"return",
"value",
";",
"}"
] |
[
"slow",
"dynamic",
"cast",
":",
"casts",
"{"
] | [
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"clazz",
"=",
"=",
"value",
"get",
"class",
"(",
")",
")",
"{",
"return",
"value",
";",
"}",
"if",
"(",
"clazz",
"=",
"=",
"integer",
"class",
")",
"{",
"return",
"get",
"number",
"(",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"security",
"configuration",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"project",
"was",
"created",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
] | [
"this",
"created",
"time",
"stamp",
"=",
"created",
"time",
"stamp",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"project",
"was",
"created",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"created",
"time",
"stamp",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"at",
"which",
"this",
"security",
"configuration",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"time",
"stamp",
"(",
"created",
"time",
"stamp",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"if",
"no",
"value",
"is",
"specified",
"the",
"default",
"is",
"no",
"encryption",
"<",
"/",
"p",
">"
] | [
"this",
"encryption",
"configuration",
"=",
"encryption",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"if",
"no",
"value",
"is",
"specified",
"the",
"default",
"is",
"no",
"encryption",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"encryption",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"associated",
"with",
"this",
"security",
"configuration",
"<",
"/",
"p",
">"
] | [
"set",
"encryption",
"configuration",
"(",
"encryption",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"from",
"this",
"array",
"all",
"of",
"elements",
"contained",
"in",
"the",
"specified",
"array"
] | [
"int",
"size",
"=",
"this",
"size",
";",
"int",
"start",
"size",
"=",
"size",
";",
"long",
"[",
"]",
"items",
"=",
"this",
"items",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"array",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+... |
[
"removes",
"and",
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"-",
"-",
"size",
"]",
";"
] |
[
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"size",
"-",
"1",
"]",
";"
] |
[
"reduces",
"the",
"size",
"of",
"the",
"backing",
"array",
"to",
"the",
"size",
"of",
"the",
"actual",
"items",
"this",
"is",
"useful",
"to",
"release",
"memory",
"when",
"many",
"items",
"have",
"been",
"removed",
"or",
"if",
"it",
"is",
"known",
"that"... | [
"if",
"(",
"items",
"length",
"!",
"=",
"size",
")",
"resize",
"(",
"size",
")",
";",
"return",
"items",
";"
] |
[
"reduces",
"the",
"size",
"of",
"the",
"array",
"to",
"the",
"specified",
"size",
"if",
"the",
"array",
"is",
"already",
"smaller",
"than",
"the",
"specified",
"size",
"no",
"action",
"is",
"taken"
] | [
"if",
"(",
"size",
">",
"new",
"size",
")",
"size",
"=",
"new",
"size",
";"
] |
[
"returns",
"a",
"random",
"item",
"from",
"the",
"array",
"or",
"zero",
"if",
"the",
"array",
"is",
"empty"
] | [
"if",
"(",
"size",
"=",
"=",
"0",
")",
"return",
"0",
";",
"return",
"items",
"[",
"math",
"utils",
"random",
"(",
"0",
",",
"size",
"-",
"1",
")",
"]",
";"
] |
[
"{"
] | [
"return",
"partitioned",
";"
] |
[
"{"
] | [
"return",
"3",
";"
] |
[
"{"
] | [
"int",
"key",
"=",
"0",
";",
"ignite",
"cache",
"<",
"object",
",",
"object",
">",
"cache",
"=",
"grid",
"(",
"0",
")",
"cache",
"(",
"default",
"cache",
"name",
")",
";",
"while",
"(",
"true",
")",
"{",
"collection",
"<",
"cluster",
"node",
">",
... |
[
"{"
] | [
"return",
"1",
";"
] |
[
"{"
] | [
"return",
"0",
";"
] |
[
"{"
] | [
"return",
"1",
";"
] |
[
"{"
] | [
"return",
"true",
";"
] |
[
"convenience",
"method",
"to",
"share",
"a",
"piece",
"of",
"content"
] | [
"new",
"share",
"api",
"(",
"share",
"content",
")",
"share",
"(",
"callback",
")",
";"
] |
[
"return",
"the",
"interpolated",
"error",
"message",
"for",
"this",
"validation",
"error"
] | [
"this",
"message",
"=",
"message",
";"
] |
[
"returns",
"the",
"graph",
"node",
"to",
"share",
"to"
] | [
"return",
"this",
"graph",
"node",
";"
] |
[
"sets",
"the",
"graph",
"node",
"to",
"share",
"to",
"(",
"this",
"can",
"be",
"a",
"user",
"id",
"event",
"id",
"page",
"id",
"group",
"id",
"album",
"id",
"etc",
")"
] | [
"this",
"graph",
"node",
"=",
"graph",
"node",
";"
] |
[
"returns",
"the",
"share",
"content",
"from",
"the",
"button"
] | [
"return",
"this",
"share",
"content",
";"
] |
[
"get",
"the",
"graph",
"path",
"path",
"after",
"graph",
"node",
"must",
"be",
"properly",
"url",
"encoded"
] | [
"try",
"{",
"return",
"string",
"format",
"(",
"locale",
"root",
",",
"graph",
"path",
"format",
",",
"u",
"r",
"l",
"encoder",
"encode",
"(",
"get",
"graph",
"node",
"(",
")",
",",
"default",
"charset",
")",
",",
"path",
"after",
"graph",
"node",
")... |
[
"{"
] | [
"grid",
"query",
"processor",
"idx",
"cls",
"=",
"indexing",
"with",
"context",
"class",
";",
"super",
"before",
"tests",
"started",
"(",
")",
";",
"batch",
"size",
"=",
"17",
";"
] |
[
"{"
] | [
"return",
"connect",
"(",
"grid",
"(",
"0",
")",
",",
"null",
")",
";"
] |
[
"check",
"that",
"there",
"s",
"nothing",
"in",
"cache"
] | [
"assert",
"equals",
"(",
"0",
",",
"cache",
"(",
")",
"size",
"(",
"cache",
"peek",
"mode",
"all",
")",
")",
";"
] |
[
"check",
"that",
"streaming",
"state",
"on",
"target",
"node",
"is",
"as",
"expected"
] | [
"sql",
"client",
"context",
"cli",
"ctx",
"=",
"sql",
"client",
"context",
"(",
")",
";",
"grid",
"test",
"utils",
"wait",
"for",
"condition",
"(",
"(",
")",
"-",
">",
"cli",
"ctx",
"is",
"stream",
"(",
")",
"=",
"=",
"on",
",",
"1000",
")",
";",... |
[
"{"
] | [
"batch",
"size",
"=",
"1",
";",
"super",
"assert",
"statement",
"forbidden",
"(",
"sql",
")",
";"
] |
[
"{"
] | [
"indexing",
"with",
"context",
"cli",
"ctx",
"=",
"cli",
"ctx",
";",
"return",
"super",
"stream",
"batched",
"update",
"query",
"(",
"schema",
"name",
",",
"qry",
",",
"params",
",",
"cli",
"ctx",
")",
";"
] |
[
"{"
] | [
"indexing",
"with",
"context",
"cli",
"ctx",
"=",
"cli",
"ctx",
";",
"return",
"super",
"query",
"sql",
"fields",
"(",
"schema",
"name",
",",
"qry",
",",
"cli",
"ctx",
",",
"keep",
"binary",
",",
"fail",
"on",
"multiple",
"stmts",
",",
"tracker",
",",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.