docstring_tokens list | code_tokens list |
|---|---|
[
"convenience",
"method",
"for",
"creating",
"an",
"appropriately",
"typed",
"pair"
] | [
"return",
"new",
"pair",
"<",
"a",
",",
"b",
">",
"(",
"a",
",",
"b",
")",
";"
] |
[
"actually",
"set",
"the",
"nested",
"path",
"delegated",
"to",
"by",
"set",
"nested",
"path",
"and",
"push",
"nested",
"path"
] | [
"if",
"(",
"nested",
"path",
"=",
"=",
"null",
")",
"{",
"nested",
"path",
"=",
"\"",
"\"",
";",
"}",
"nested",
"path",
"=",
"canonical",
"field",
"name",
"(",
"nested",
"path",
")",
";",
"if",
"(",
"nested",
"path",
"length",
"(",
")",
">",
"0",... |
[
"transform",
"the",
"given",
"field",
"into",
"its",
"full",
"path",
"regarding",
"the",
"nested",
"path",
"of",
"this",
"instance"
] | [
"if",
"(",
"string",
"utils",
"has",
"length",
"(",
"field",
")",
")",
"{",
"return",
"get",
"nested",
"path",
"(",
")",
"+",
"canonical",
"field",
"name",
"(",
"field",
")",
";",
"}",
"else",
"{",
"string",
"path",
"=",
"get",
"nested",
"path",
"(... |
[
"determine",
"the",
"canonical",
"field",
"name",
"for",
"the",
"given",
"field",
"<",
"p",
">",
"the",
"default",
"implementation",
"simply",
"returns",
"the",
"field",
"name",
"as",
"-",
"is"
] | [
"return",
"field",
";"
] |
[
"register",
"the",
"set",
"of",
"mapper",
"outputs",
"created",
"by",
"a",
"local",
"job",
"runner",
"-",
"based",
"job",
"with",
"this",
"reduce",
"task",
"so",
"it",
"knows",
"where",
"to",
"fetch",
"from"
] | [
"this",
"local",
"map",
"files",
"=",
"map",
"files",
";"
] |
[
"localize",
"the",
"given",
"job",
"conf",
"to",
"be",
"specific",
"for",
"this",
"task"
] | [
"super",
"localize",
"configuration",
"(",
"conf",
")",
";",
"conf",
"set",
"num",
"map",
"tasks",
"(",
"num",
"maps",
")",
";"
] |
[
"get",
"the",
"input",
"files",
"for",
"the",
"reducer",
"(",
"for",
"local",
"jobs",
")"
] | [
"list",
"<",
"path",
">",
"file",
"list",
"=",
"new",
"array",
"list",
"<",
"path",
">",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"maps",
";",
"+",
"+",
"i",
")",
"{",
"file",
"list",
"add",
"(",
"map",
"output... |
[
"preserve",
"the",
"current",
"parameters",
"of",
"the",
"material",
"calendar",
"view"
] | [
"return",
"state",
";"
] |
[
"called",
"whenever",
"an",
"watch",
"is",
"checked",
"ie",
"the",
"condition",
"of",
"the",
"watch",
"is",
"evaluated",
"to",
"see",
"if",
"the",
"watch",
"should",
"be",
"executed"
] | [
"last",
"checked",
"=",
"timestamp",
";",
"if",
"(",
"met",
"condition",
")",
"{",
"last",
"met",
"condition",
"=",
"timestamp",
";",
"}",
"else",
"{",
"for",
"(",
"action",
"status",
"status",
":",
"actions",
"values",
"(",
")",
")",
"{",
"status",
... |
[
"notifies",
"this",
"status",
"that",
"the",
"givne",
"actions",
"were",
"acked",
"if",
"the",
"current",
"state",
"of",
"one",
"of",
"these",
"actions",
"is",
"{",
"@",
"link",
"action",
"status",
"ack",
"status",
"state",
"#",
"ackable",
"ackable",
"}",
... | [
"boolean",
"changed",
"=",
"false",
";",
"boolean",
"contains",
"all",
"=",
"false",
";",
"for",
"(",
"string",
"action",
"id",
":",
"action",
"ids",
")",
"{",
"if",
"(",
"action",
"id",
"equals",
"(",
"watch",
"field",
"all",
"actions",
"id",
")",
"... |
[
"<",
"p",
">",
"an",
"attribute",
"of",
"type",
"string",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"s",
":",
"hello",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"s",
";"
] |
[
"<",
"p",
">",
"an",
"attribute",
"of",
"type",
"string",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"s",
":",
"hello",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"(",
"s",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"for",
"number",
"values",
"expressed",
"as",
"double",
"<",
"/",
"p",
">"
] | [
"this",
"n",
"=",
"n",
";"
] |
[
"<",
"p",
">",
"for",
"number",
"values",
"expressed",
"as",
"double",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"n",
";"
] |
[
"<",
"p",
">",
"for",
"number",
"values",
"expressed",
"as",
"double",
"<",
"/",
"p",
">"
] | [
"set",
"n",
"(",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"list",
"of",
"up",
"to",
"10",
"strings",
"maximum",
"length",
"for",
"each",
"string",
"is",
"100",
"characters",
"duplicate",
"values",
"are",
"not",
"recognized",
";",
"all",
"occurrences",
"of",
"the",
"repeated",
"value",
... | [
"return",
"s",
"l",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"list",
"of",
"up",
"to",
"10",
"strings",
"maximum",
"length",
"for",
"each",
"string",
"is",
"100",
"characters",
"duplicate",
"values",
"are",
"not",
"recognized",
";",
"all",
"occurrences",
"of",
"the",
"repeated",
"value",
... | [
"if",
"(",
"s",
"l",
"=",
"=",
"null",
")",
"{",
"this",
"s",
"l",
"=",
"null",
";",
"return",
";",
"}",
"this",
"s",
"l",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"s",
"l",
")",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"list",
"of",
"up",
"to",
"10",
"strings",
"maximum",
"length",
"for",
"each",
"string",
"is",
"100",
"characters",
"duplicate",
"values",
"are",
"not",
"recognized",
";",
"all",
"occurrences",
"of",
"the",
"repeated",
"value",
... | [
"if",
"(",
"this",
"s",
"l",
"=",
"=",
"null",
")",
"{",
"set",
"s",
"l",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"s",
"l",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"s",
"l",
")",
"{",
... |
[
"<",
"p",
">",
"for",
"a",
"list",
"of",
"up",
"to",
"10",
"strings",
"maximum",
"length",
"for",
"each",
"string",
"is",
"100",
"characters",
"duplicate",
"values",
"are",
"not",
"recognized",
";",
"all",
"occurrences",
"of",
"the",
"repeated",
"value",
... | [
"set",
"s",
"l",
"(",
"s",
"l",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"map",
"of",
"up",
"to",
"10",
"data",
"type",
":",
"value",
"pairs",
"maximum",
"length",
"for",
"each",
"string",
"value",
"is",
"100",
"characters",
"<",
"/",
"p",
">"
] | [
"return",
"s",
"d",
"m",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"map",
"of",
"up",
"to",
"10",
"data",
"type",
":",
"value",
"pairs",
"maximum",
"length",
"for",
"each",
"string",
"value",
"is",
"100",
"characters",
"<",
"/",
"p",
">"
] | [
"this",
"s",
"d",
"m",
"=",
"s",
"d",
"m",
";"
] |
[
"<",
"p",
">",
"for",
"a",
"map",
"of",
"up",
"to",
"10",
"data",
"type",
":",
"value",
"pairs",
"maximum",
"length",
"for",
"each",
"string",
"value",
"is",
"100",
"characters",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"d",
"m",
"(",
"s",
"d",
"m",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"sdm"
] | [
"this",
"s",
"d",
"m",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"private",
"static",
"final",
"string",
"vendor",
"jdbc",
"mssql",
"=",
"jdbc",
":",
"sqlserver",
":",
";"
] | [
"final",
"beaker",
"x",
"client",
"namespace",
"client",
"=",
"beaker",
"x",
"client",
"manager",
"get",
"(",
")",
";",
"final",
"beaker",
"parser",
"beaker",
"parser",
";",
"try",
"{",
"beaker",
"parser",
"=",
"new",
"beaker",
"parser",
"(",
"txt",
",",... |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"boolean",
"allow",
"=",
"false",
";",
"if",
"(",
"partition",
"type",
"=",
"=",
"partition",
"type",
"none",
")",
"{",
"allow",
"=",
"true",
";",
"}",
"else",
"{",
"for",
"(",
"dbus",
"filter",
"filter",
":",
"filters",
")",
"{",
"allow",
"=",
"fi... |
[
"/",
"*",
"dedupe",
"filters"
] | [
"array",
"list",
"<",
"dbus",
"filter",
">",
"dedup",
"filters",
"=",
"new",
"array",
"list",
"<",
"dbus",
"filter",
">",
"(",
")",
";",
"set",
"<",
"dbus",
"filter",
">",
"filter",
"set",
"=",
"new",
"hash",
"set",
"<",
"dbus",
"filter",
">",
"(",... |
[
"checks",
"that",
"unacceptable",
"property",
"value",
"prevents",
"spi",
"from",
"being",
"started"
] | [
"check",
"negative",
"spi",
"property",
"(",
"spi",
",",
"prop",
"name",
",",
"val",
",",
"true",
")",
";"
] |
[
"conditions",
"for",
"best",
"value",
"measure",
":",
"<",
"ul",
">",
"<",
"li",
">",
"component",
"is",
"a",
"production",
"file",
"or",
"test",
"file",
"<",
"/",
"li",
">",
"<",
"li",
">",
"metric",
"is",
"optimized",
"for",
"best",
"value",
"<",
... | [
"if",
"(",
"!",
"is",
"eligible",
"for",
"best",
"value",
"(",
")",
"test",
"(",
"component",
")",
")",
"{",
"return",
"empty",
"list",
"(",
")",
";",
"}",
"require",
"non",
"null",
"(",
"metrics",
")",
";",
"require",
"non",
"null",
"(",
"analyses... |
[
"finds",
"the",
"object",
"exported",
"by",
"a",
"server",
"with",
"the",
"specified",
"name",
"if",
"the",
"object",
"is",
"not",
"found",
"this",
"method",
"returns",
"null"
] | [
"try",
"{",
"return",
"lookup",
"object",
"(",
"name",
")",
";",
"}",
"catch",
"(",
"object",
"not",
"found",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"finds",
"the",
"object",
"exported",
"by",
"the",
"server",
"with",
"the",
"specified",
"name",
"it",
"sends",
"a",
"post",
"request",
"to",
"the",
"server",
"(",
"via",
"an",
"http",
"proxy",
"server",
"if",
"needed",
")"
] | [
"try",
"{",
"socket",
"sock",
"=",
"new",
"socket",
"(",
"servername",
",",
"port",
")",
";",
"output",
"stream",
"out",
"=",
"sock",
"get",
"output",
"stream",
"(",
")",
";",
"out",
"write",
"(",
"lookup",
"command",
")",
";",
"out",
"write",
"(",
... |
[
"close",
"the",
"connection",
"for",
"good",
"on",
"the",
"off",
"chance",
"that",
"someone",
"is",
"unable",
"to",
"close",
"the",
"connection",
"perhaps",
"because",
"it",
"bailed",
"out",
"prematurely",
"the",
"method",
"below",
"will",
"ensure",
"that",
... | [
"super",
"finalize",
"(",
")",
";",
"close",
"(",
")",
";"
] |
[
"invalid",
"metadata",
"exception"
] | [
"abstract",
"store",
"client",
"factory",
"factory",
"=",
"(",
"abstract",
"store",
"client",
"factory",
")",
"this",
"store",
"factory",
";",
"this",
"store",
"=",
"factory",
"get",
"raw",
"store",
"(",
"store",
"name",
",",
"null",
",",
"custom",
"stores... |
[
"intercepts",
"signals",
"and",
"delegates",
"it",
"to",
"the",
"wrapped",
"{"
] | [
"inner",
"activity",
"behavior",
"trigger",
"(",
"execution",
",",
"signal",
"name",
",",
"signal",
"data",
")",
";"
] |
[
"required",
"for",
"supporting",
"external",
"subprocesses"
] | [] |
[
"required",
"for",
"supporting",
"external",
"subprocesses"
] | [
"leave",
"(",
"execution",
")",
";"
] |
[
"since",
"no",
"transitions",
"are",
"followed",
"when",
"leaving",
"the",
"inner",
"activity",
"it",
"is",
"needed",
"to",
"call",
"the",
"end",
"listeners",
"yourself"
] | [
"context",
"get",
"command",
"context",
"(",
")",
"get",
"process",
"engine",
"configuration",
"(",
")",
"get",
"listener",
"notification",
"helper",
"(",
")",
"execute",
"execution",
"listeners",
"(",
"activity",
",",
"execution",
",",
"execution",
"listener",
... |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"return",
"loop",
"cardinality",
"expression",
";"
] |
[
"summarizes",
"the",
"current",
"{"
] | [
"string",
"builder",
"builder",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"builder",
"append",
"(",
"execution",
"summarizer",
"to",
"string",
"(",
")",
")",
";",
"builder",
"append",
"(",
"cluster",
"summarizer",
"to",
"string",
"(",
")",
")",
";"... |
[
"/",
"*",
"compiles",
"the",
"given",
"pattern",
"with",
"a",
"proper",
"algorithm"
] | [
"return",
"new",
"boyer",
"moore",
"horspool",
"(",
"pattern",
")",
";"
] |
[
"ensures",
"that",
"the",
"list",
"of",
"messages",
"is",
"mutable",
"so",
"it",
"can",
"be",
"updated",
"if",
"it",
"s",
"immutable",
"a",
"copy",
"is",
"made"
] | [
"if",
"(",
"!",
"is",
"messages",
"list",
"mutable",
")",
"{",
"messages",
"=",
"new",
"array",
"list",
"<",
"m",
"type",
">",
"(",
"messages",
")",
";",
"is",
"messages",
"list",
"mutable",
"=",
"true",
";",
"}"
] |
[
"ensures",
"that",
"the",
"list",
"of",
"builders",
"is",
"not",
"null",
"if",
"it",
"s",
"null",
"the",
"list",
"is",
"created",
"and",
"initialized",
"to",
"be",
"the",
"same",
"size",
"as",
"the",
"messages",
"list",
"with",
"null",
"entries"
] | [
"if",
"(",
"this",
"builders",
"=",
"=",
"null",
")",
"{",
"this",
"builders",
"=",
"new",
"array",
"list",
"<",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
">",
"(",
"messages",
"size",
"(",
")",
")",... |
[
"gets",
"the",
"count",
"of",
"items",
"in",
"the",
"list"
] | [
"return",
"messages",
"size",
"(",
")",
";"
] |
[
"gets",
"whether",
"the",
"list",
"is",
"empty"
] | [
"return",
"messages",
"is",
"empty",
"(",
")",
";"
] |
[
"get",
"the",
"message",
"at",
"the",
"specified",
"index",
"if",
"the",
"message",
"is",
"currently",
"stored",
"as",
"a",
"{",
"@",
"code",
"builder",
"}",
"it",
"is",
"converted",
"to",
"a",
"{",
"@",
"code",
"message",
"}",
"by",
"calling",
"{",
... | [
"return",
"get",
"message",
"(",
"index",
",",
"false",
")",
";"
] |
[
"gets",
"a",
"builder",
"for",
"the",
"specified",
"index",
"if",
"no",
"builder",
"has",
"been",
"created",
"for",
"that",
"index",
"a",
"builder",
"is",
"created",
"on",
"demand",
"by",
"calling",
"{",
"@",
"link",
"message",
"#",
"to",
"builder",
"}"
... | [
"ensure",
"builders",
"(",
")",
";",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"builder",
"=",
"builders",
"get",
"(",
"index",
")",
";",
"if",
"(",
"builder",
"=",
"=",
"null",
")",
"{",
"m",
"type"... |
[
"sets",
"a",
"message",
"at",
"the",
"specified",
"index",
"replacing",
"the",
"existing",
"item",
"at",
"that",
"index"
] | [
"if",
"(",
"message",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"messages",
"set",
"(",
"index",
",",
"message",
")",
";",
"if",
"(",
"buil... |
[
"appends",
"the",
"specified",
"element",
"to",
"the",
"end",
"of",
"this",
"list"
] | [
"if",
"(",
"message",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"messages",
"add",
"(",
"message",
")",
";",
"if",
"(",
"builders",
"!",
"=... |
[
"inserts",
"the",
"specified",
"message",
"at",
"the",
"specified",
"position",
"in",
"this",
"list",
"shifts",
"the",
"element",
"currently",
"at",
"that",
"position",
"(",
"if",
"any",
")",
"and",
"any",
"subsequent",
"elements",
"to",
"the",
"right",
"(",... | [
"if",
"(",
"message",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"messages",
"add",
"(",
"index",
",",
"message",
")",
";",
"if",
"(",
"buil... |
[
"appends",
"a",
"new",
"builder",
"to",
"the",
"end",
"of",
"this",
"list",
"and",
"returns",
"the",
"builder"
] | [
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"ensure",
"builders",
"(",
")",
";",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"builder",
"=",
"new",
"single",
"field",
"builder",
"<",
"m",
"type"... |
[
"inserts",
"a",
"new",
"builder",
"at",
"the",
"specified",
"position",
"in",
"this",
"list",
"shifts",
"the",
"element",
"currently",
"at",
"that",
"position",
"(",
"if",
"any",
")",
"and",
"any",
"subsequent",
"elements",
"to",
"the",
"right",
"(",
"adds... | [
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"ensure",
"builders",
"(",
")",
";",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"builder",
"=",
"new",
"single",
"field",
"builder",
"<",
"m",
"type"... |
[
"removes",
"the",
"element",
"at",
"the",
"specified",
"position",
"in",
"this",
"list",
"shifts",
"any",
"subsequent",
"elements",
"to",
"the",
"left",
"(",
"subtracts",
"one",
"from",
"their",
"indices",
")",
"returns",
"the",
"element",
"that",
"was",
"re... | [
"ensure",
"mutable",
"message",
"list",
"(",
")",
";",
"messages",
"remove",
"(",
"index",
")",
";",
"if",
"(",
"builders",
"!",
"=",
"null",
")",
"{",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"entry"... |
[
"removes",
"all",
"of",
"the",
"elements",
"from",
"this",
"list",
"the",
"list",
"will",
"be",
"empty",
"after",
"this",
"call",
"returns"
] | [
"messages",
"=",
"collections",
"empty",
"list",
"(",
")",
";",
"is",
"messages",
"list",
"mutable",
"=",
"false",
";",
"if",
"(",
"builders",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"single",
"field",
"builder",
"<",
"m",
"type",
",",
"b",
"type",
... |
[
"gets",
"a",
"view",
"of",
"the",
"builder",
"as",
"a",
"list",
"of",
"messages",
"the",
"returned",
"list",
"is",
"live",
"and",
"will",
"reflect",
"any",
"changes",
"to",
"the",
"underlying",
"builder"
] | [
"if",
"(",
"external",
"message",
"list",
"=",
"=",
"null",
")",
"{",
"external",
"message",
"list",
"=",
"new",
"message",
"external",
"list",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"(",
"this",
")",
";",
"}",
"return",
"extern... |
[
"gets",
"a",
"view",
"of",
"the",
"builder",
"as",
"a",
"list",
"of",
"builders",
"this",
"returned",
"list",
"is",
"live",
"and",
"will",
"reflect",
"any",
"changes",
"to",
"the",
"underlying",
"builder"
] | [
"if",
"(",
"external",
"builder",
"list",
"=",
"=",
"null",
")",
"{",
"external",
"builder",
"list",
"=",
"new",
"builder",
"external",
"list",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
">",
"(",
"this",
")",
";",
"}",
"return",
"extern... |
[
"gets",
"a",
"view",
"of",
"the",
"builder",
"as",
"a",
"list",
"of",
"message",
"or",
"builders",
"this",
"returned",
"list",
"is",
"live",
"and",
"will",
"reflect",
"any",
"changes",
"to",
"the",
"underlying",
"builder"
] | [
"if",
"(",
"external",
"message",
"or",
"builder",
"list",
"=",
"=",
"null",
")",
"{",
"external",
"message",
"or",
"builder",
"list",
"=",
"new",
"message",
"or",
"builder",
"external",
"list",
"<",
"m",
"type",
",",
"b",
"type",
",",
"i",
"type",
"... |
[
"increments",
"the",
"mod",
"counts",
"so",
"that",
"an",
"concurrent",
"modification",
"exception",
"can",
"be",
"thrown",
"if",
"calling",
"code",
"tries",
"to",
"modify",
"the",
"builder",
"while",
"its",
"iterating",
"the",
"list"
] | [
"if",
"(",
"external",
"message",
"list",
"!",
"=",
"null",
")",
"{",
"external",
"message",
"list",
"increment",
"mod",
"count",
"(",
")",
";",
"}",
"if",
"(",
"external",
"builder",
"list",
"!",
"=",
"null",
")",
"{",
"external",
"builder",
"list",
... |
[
"/",
"*"
] | [
"return",
"make",
"temporary",
"(",
"count",
")",
";"
] |
[
"id",
"inspection",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"is",
"relation",
"type",
"id",
"(",
"id",
")",
"|",
"|",
"is",
"vertex",
"label",
"vertex",
"id",
"(",
"id",
")",
"|",
"|",
"is",
"generic",
"schema",
"vertex",
"id",
"(",
"id",
")",
";"
] |
[
"<",
"p",
">",
"defines",
"which",
"resources",
"can",
"trigger",
"an",
"evaluation",
"for",
"the",
"rule",
"the",
"scope",
"can",
"include",
"one",
"or",
"more",
"resource",
"types",
"a",
"combination",
"of",
"one",
"resource",
"type",
"and",
"one",
"reso... | [
"return",
"this",
"scope",
";"
] |
[
"sets",
"the",
"name",
"for",
"the",
"implementation",
"class",
"<",
"p",
">",
"class",
"can",
"either",
"be",
"an",
"{",
"@",
"link",
"com",
"hazelcast",
"nio",
"ssl",
"s",
"s",
"l",
"context",
"factory",
"}",
"or",
"{",
"@",
"link",
"com",
"hazelca... | [
"this",
"factory",
"class",
"name",
"=",
"factory",
"class",
"name",
";",
"return",
"this",
";"
] |
[
"enables",
"and",
"disables",
"this",
"configuration"
] | [
"this",
"enabled",
"=",
"enabled",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"implementation",
"object",
"<",
"p",
">",
"object",
"must",
"be",
"instance",
"of",
"an",
"{",
"@",
"link",
"com",
"hazelcast",
"nio",
"ssl",
"s",
"s",
"l",
"context",
"factory",
"}",
"or",
"{",
"@",
"link",
"com",
"hazelcast",
"nio",
... | [
"this",
"factory",
"implementation",
"=",
"factory",
"implementation",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"factory",
"implementation",
"object",
"<",
"p",
">",
"object",
"is",
"instance",
"of",
"an",
"{"
] | [
"return",
"factory",
"implementation",
";"
] |
[
"sets",
"a",
"property"
] | [
"properties",
"put",
"(",
"name",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"determine",
"the",
"udf",
"class",
"type",
"of",
"the",
"class"
] | [
"if",
"(",
"udf",
"class",
"is",
"assignable",
"from",
"(",
"udf",
"class",
")",
")",
"{",
"return",
"u",
"d",
"f",
"class",
"type",
"udf",
";",
"}",
"else",
"if",
"(",
"generic",
"u",
"d",
"f",
"class",
"is",
"assignable",
"from",
"(",
"udf",
"c... |
[
"sets",
"the",
"enabled",
"state",
"of",
"the",
"main",
"contents",
"and",
"hides",
"or",
"shows",
"the",
"verification",
"overlay"
] | [
"m",
"card",
"unmask",
"input",
"set",
"enabled",
"(",
"enabled",
")",
";",
"m",
"month",
"input",
"set",
"enabled",
"(",
"enabled",
")",
";",
"m",
"year",
"input",
"set",
"enabled",
"(",
"enabled",
")",
";",
"m",
"store",
"locally",
"checkbox",
"set",... |
[
"updates",
"the",
"verification",
"overlay",
"and",
"main",
"contents",
"such",
"that",
"the",
"overlay",
"has",
"|",
"visibility",
"|"
] | [
"m",
"verification",
"overlay",
"set",
"visibility",
"(",
"visibility",
")",
";",
"m",
"controls",
"container",
"set",
"alpha",
"(",
"1f",
")",
";",
"boolean",
"contents",
"showing",
"=",
"visibility",
"=",
"=",
"view",
"gone",
";",
"if",
"(",
"!",
"cont... |
[
"displays",
"an",
"error",
"that",
"indicates",
"the",
"user",
"can",
"t",
"retry"
] | [
"m",
"no",
"retry",
"error",
"message",
"set",
"text",
"(",
"message",
")",
";",
"m",
"no",
"retry",
"error",
"message",
"set",
"visibility",
"(",
"view",
"visible",
")",
";",
"m",
"no",
"retry",
"error",
"message",
"announce",
"for",
"accessibility",
"(... |
[
"sets",
"the",
"stroke",
"color",
"for",
"the",
"given",
"input"
] | [
"input",
"get",
"background",
"(",
")",
"mutate",
"(",
")",
"set",
"color",
"filter",
"(",
"filter",
")",
";"
] |
[
"returns",
"the",
"expiration",
"year",
"the",
"user",
"entered",
"two",
"digit",
"values",
"(",
"such",
"as",
"17",
")",
"will",
"be",
"converted",
"to",
"4",
"digit",
"years",
"(",
"such",
"as",
"2017",
")",
"returns",
"-",
"1",
"if",
"the",
"input",... | [
"try",
"{",
"int",
"year",
"=",
"integer",
"parse",
"int",
"(",
"m",
"year",
"input",
"get",
"text",
"(",
")",
"to",
"string",
"(",
")",
")",
";",
"if",
"(",
"year",
"<",
"0",
")",
"return",
"-",
"1",
";",
"if",
"(",
"year",
"<",
"100",
")",
... |
[
"returns",
"the",
"alert",
"dialog",
"associated",
"with",
"this",
"javascript",
"app",
"prompt",
"dialog"
] | [
"return",
"m",
"dialog",
";"
] |
[
"remove",
"support",
"all",
"view",
"immersion",
"bar"
] | [
"if",
"(",
"m",
"bar",
"params",
"view",
"map",
"size",
"(",
")",
"!",
"=",
"0",
")",
"{",
"m",
"bar",
"params",
"view",
"map",
"clear",
"(",
")",
";",
"}",
"return",
"this",
";"
] |
[
"status",
"bar",
"color",
"transform",
"enable",
"immersion",
"bar"
] | [
"m",
"bar",
"params",
"status",
"bar",
"flag",
"=",
"status",
"bar",
"flag",
";",
"return",
"this",
";"
] |
[
"gets",
"bar",
"params"
] | [
"return",
"m",
"bar",
"params",
";"
] |
[
"apply",
"xml",
"files",
"to",
"server",
"instance"
] | [
"return",
"apply",
"xml",
"configurations",
"(",
"server",
",",
"files",
",",
"null",
")",
";"
] |
[
"gets",
"the",
"{",
"@",
"link",
"fingerprint",
"}",
"that",
"this",
"object",
"belongs",
"to"
] | [
"return",
"fingerprint",
";"
] |
[
"backdoor",
"for",
"{"
] | [
"assert",
"fingerprint",
"!",
"=",
"null",
";",
"this",
"fingerprint",
"=",
"fingerprint",
";"
] |
[
"<",
"p",
">",
"filters",
"the",
"list",
"of",
"jobs",
"based",
"on",
"job",
"status",
"returns",
"only",
"jobs",
"with",
"the",
"specified",
"status",
"<",
"/",
"p",
">"
] | [
"this",
"job",
"status",
"=",
"job",
"status",
";"
] |
[
"<",
"p",
">",
"filters",
"the",
"list",
"of",
"jobs",
"based",
"on",
"job",
"status",
"returns",
"only",
"jobs",
"with",
"the",
"specified",
"status",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"job",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"status",
"of",
"the",
"face",
"detection",
"job",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"status",
"(",
"job",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"status",
"of",
"the",
"face",
"detection",
"job",
"<",
"/",
"p",
">"
] | [
"this",
"job",
"status",
"=",
"job",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"job",
"fails",
"<",
"code",
">",
"status",
"message",
"<",
"/",
"code",
">",
"provides",
"a",
"descriptive",
"error",
"message",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"message",
"(",
"status",
"message",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"a",
"video",
"that",
"amazon",
"rekognition",
"video",
"analyzed",
"<",
"code",
">",
"videometadata",
"<",
"/",
"code",
">",
"is",
"returned",
"in",
"every",
"page",
"of",
"paginated",
"responses",
"from",
"a",
"amaz... | [
"this",
"video",
"metadata",
"=",
"video",
"metadata",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"a",
"video",
"that",
"amazon",
"rekognition",
"video",
"analyzed",
"<",
"code",
">",
"videometadata",
"<",
"/",
"code",
">",
"is",
"returned",
"in",
"every",
"page",
"of",
"paginated",
"responses",
"from",
"a",
"amaz... | [
"return",
"this",
"video",
"metadata",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"a",
"video",
"that",
"amazon",
"rekognition",
"video",
"analyzed",
"<",
"code",
">",
"videometadata",
"<",
"/",
"code",
">",
"is",
"returned",
"in",
"every",
"page",
"of",
"paginated",
"responses",
"from",
"a",
"amaz... | [
"set",
"video",
"metadata",
"(",
"video",
"metadata",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"response",
"is",
"truncated",
"amazon",
"rekognition",
"returns",
"this",
"token",
"that",
"you",
"can",
"use",
"in",
"the",
"subsequent",
"request",
"to",
"retrieve",
"the",
"next",
"set",
"of",
"faces",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"faces",
"detected",
"in",
"the",
"video",
"each",
"element",
"contains",
"a",
"detected",
"face",
"s",
"details",
"and",
"the",
"time",
"in",
"milliseconds",
"from",
"the",
"start",
"of",
"the",
"video",
"the",
"face"... | [
"return",
"faces",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"faces",
"detected",
"in",
"the",
"video",
"each",
"element",
"contains",
"a",
"detected",
"face",
"s",
"details",
"and",
"the",
"time",
"in",
"milliseconds",
"from",
"the",
"start",
"of",
"the",
"video",
"the",
"face"... | [
"if",
"(",
"faces",
"=",
"=",
"null",
")",
"{",
"this",
"faces",
"=",
"null",
";",
"return",
";",
"}",
"this",
"faces",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"face",
"detection",
">",
"(",
"faces",
")",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"faces",
"detected",
"in",
"the",
"video",
"each",
"element",
"contains",
"a",
"detected",
"face",
"s",
"details",
"and",
"the",
"time",
"in",
"milliseconds",
"from",
"the",
"start",
"of",
"the",
"video",
"the",
"face"... | [
"if",
"(",
"this",
"faces",
"=",
"=",
"null",
")",
"{",
"set",
"faces",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"face",
"detection",
">",
"(",
"faces",
"length",
")",
")",
";",
"}",
"for",
"(",
"face",
"detection",
"ele",
":",
"faces",
... |
[
"<",
"p",
">",
"an",
"array",
"of",
"faces",
"detected",
"in",
"the",
"video",
"each",
"element",
"contains",
"a",
"detected",
"face",
"s",
"details",
"and",
"the",
"time",
"in",
"milliseconds",
"from",
"the",
"start",
"of",
"the",
"video",
"the",
"face"... | [
"set",
"faces",
"(",
"faces",
")",
";",
"return",
"this",
";"
] |
[
"@",
"return",
"the",
"key",
"value",
"as",
"a",
"trimmed",
"string"
] | [
"string",
"str",
"=",
"p",
"get",
"property",
"(",
"key",
")",
";",
"return",
"str",
"=",
"=",
"null",
"?",
"str",
":",
"str",
"trim",
"(",
")",
";"
] |
[
"set",
"a",
"value",
"to",
"a",
"specific",
"key"
] | [
"p",
"set",
"property",
"(",
"key",
",",
"val",
")",
";"
] |
[
"return",
"a",
"set",
"of",
"float",
"values",
"set",
"for",
"a",
"key",
"separated",
"by",
"the",
"string",
"reg"
] | [
"list",
"<",
"float",
">",
"values",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"if",
"(",
"val",
"!",
"=",
"null",
")",
"{",
"string",
"[",
"]",
"data",
"=",
"val",
"split",
"(",
"reg",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0"... |
[
"gets",
"the",
"list",
"of",
"debug",
"request",
"handlers",
"in",
"this",
"rest",
"li",
"config"
] | [
"return",
"debug",
"request",
"handlers",
";"
] |
[
"adds",
"a",
"number",
"of",
"debug",
"request",
"handlers",
"to",
"this",
"rest",
"li",
"config"
] | [
"debug",
"request",
"handlers",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"handlers",
")",
")",
";"
] |
[
"adds",
"a",
"number",
"of",
"debug",
"request",
"handlers",
"to",
"this",
"rest",
"li",
"config"
] | [
"debug",
"request",
"handlers",
"add",
"all",
"(",
"handlers",
")",
";"
] |
[
"sets",
"the",
"list",
"of",
"debug",
"request",
"handlers",
"on",
"this",
"rest",
"li",
"config"
] | [
"debug",
"request",
"handlers",
"=",
"new",
"array",
"list",
"<",
"rest",
"li",
"debug",
"request",
"handler",
">",
"(",
"handlers",
")",
";"
] |
[
"get",
"the",
"multiplexer",
"singleton",
"filter"
] | [
"return",
"multiplexer",
"singleton",
"filter",
";"
] |
[
"set",
"the",
"multiplexer",
"singleton",
"filter"
] | [
"multiplexer",
"singleton",
"filter",
"=",
"multiplexer",
"singleton",
"filter",
";"
] |
[
"add",
"filters",
"to",
"the",
"filter",
"list"
] | [
"filters",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"filters",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.