docstring_tokens list | code_tokens list |
|---|---|
[
"called",
"first",
"to",
"setup",
"things"
] | [
"protected",
"abstract",
"void",
"start",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"called",
"last",
"to",
"return",
"the",
"result"
] | [
"protected",
"abstract",
"doc",
"id",
"set",
"finish",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"visit",
"an",
"indexed",
"non",
"-",
"leaf",
"cell",
"the",
"presence",
"of",
"a",
"prefix",
"cell",
"implies",
"there",
"are",
"leaf",
"cells",
"at",
"further",
"levels",
"the",
"cell",
"passed",
"should",
"have",
"it",
"s",
"{",
"@",
"link",
"org",
... | [
"protected",
"abstract",
"boolean",
"visit",
"prefix",
"(",
"cell",
"cell",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"called",
"when",
"an",
"indexed",
"leaf",
"cell",
"is",
"found",
"an",
"indexed",
"leaf",
"cell",
"usually",
"means",
"associated",
"documents",
"won",
"t",
"be",
"found",
"at",
"further",
"detail",
"levels",
"however",
"if",
"a",
"document",
"has",
"multip... | [
"protected",
"abstract",
"void",
"visit",
"leaf",
"(",
"cell",
"cell",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"with",
"status",
"(",
"status",
")",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"updated",
"when",
"you",
"create",
"an",
"intent",
"the",
"creation",
"date",
"and",
"last",
"updated",
"date",
"are",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"this",
"last",
"updated",
"date",
"=",
"last",
"updated",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"updated",
"when",
"you",
"create",
"an",
"intent",
"the",
"creation",
"date",
"and",
"last",
"updated",
"date",
"are",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"last",
"updated",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"bot",
"was",
"updated",
"when",
"you",
"create",
"a",
"bot",
"the",
"creation",
"date",
"and",
"last",
"updated",
"date",
"are",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"set",
"last",
"updated",
"date",
"(",
"last",
"updated",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"bot",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"date",
"(",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"bot",
"for",
"a",
"new",
"bot",
"the",
"version",
"is",
"always",
"<",
"code",
">",
"$",
"latest",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"this",
"waits",
"until",
"the",
"provided",
"{",
"@",
"link",
"callable",
"}",
"returns",
"an",
"object",
"that",
"is",
"equals",
"to",
"the",
"given",
"expected",
"value",
"or",
"the",
"timeout",
"has",
"been",
"reached",
"in",
"both",
"cases",
"this",
... | [
"long",
"start",
"time",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"do",
"{",
"t",
"actual",
"=",
"callable",
"call",
"(",
")",
";",
"if",
"(",
"expected",
"value",
"equals",
"(",
"actual",
")",
")",
"{",
"return",
"actual",
";",
"... |
[
"this",
"waits",
"until",
"a",
"mockito",
"verification",
"passed",
"(",
"which",
"is",
"provided",
"in",
"the",
"runnable",
")",
"this",
"waits",
"until",
"the",
"virification",
"passed",
"or",
"the",
"timeout",
"has",
"been",
"reached",
"if",
"the",
"timeo... | [
"long",
"start",
"time",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"do",
"{",
"mockito",
"assertion",
"error",
"exception",
"=",
"null",
";",
"try",
"{",
"runnable",
"run",
"(",
")",
";",
"}",
"catch",
"(",
"mockito",
"assertion",
"err... |
[
"put",
"cas",
"principal",
"attributes",
"into",
"model"
] | [
"return",
"super",
"get",
"principal",
"attributes",
"as",
"multi",
"valued",
"attributes",
"(",
"model",
")",
";"
] |
[
"the",
"country",
"filter",
"according",
"to",
"iso",
"3166",
"-",
"1",
"alpha",
"-",
"2",
"codes"
] | [
"this",
"country",
"=",
"country",
";"
] |
[
"the",
"country",
"filter",
"according",
"to",
"iso",
"3166",
"-",
"1",
"alpha",
"-",
"2",
"codes"
] | [
"return",
"this",
"country",
";"
] |
[
"the",
"country",
"filter",
"according",
"to",
"iso",
"3166",
"-",
"1",
"alpha",
"-",
"2",
"codes"
] | [
"set",
"country",
"(",
"country",
")",
";",
"return",
"this",
";"
] |
[
"the",
"gps",
"point",
"dimension"
] | [
"this",
"g",
"p",
"s",
"point",
"=",
"g",
"p",
"s",
"point",
";"
] |
[
"the",
"gps",
"point",
"dimension"
] | [
"return",
"this",
"g",
"p",
"s",
"point",
";"
] |
[
"the",
"gps",
"point",
"dimension"
] | [
"set",
"g",
"p",
"s",
"point",
"(",
"g",
"p",
"s",
"point",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"returns",
"the",
"#",
"comments",
"known",
"to",
"exist",
"for",
"this",
"post",
"(",
"ie",
":",
"#",
"comments",
"the",
"server",
"says",
"this",
"post",
"has",
")",
"which",
"may",
"differ",
"from",
"reader",
"comment",
"table",
"get",
"nu... | [
"if",
"(",
"post",
"=",
"=",
"null",
")",
"{",
"return",
"0",
";",
"}",
"return",
"get",
"num",
"comments",
"for",
"post",
"(",
"post",
"blog",
"id",
",",
"post",
"post",
"id",
")",
";"
] |
[
"sets",
"the",
"result",
"to",
"the",
"given",
"array",
"index",
"and",
"then",
"runs",
"{"
] | [
"try",
"{",
"result",
"consumer",
"accept",
"(",
"result",
")",
";",
"}",
"finally",
"{",
"count",
"down",
"(",
")",
";",
"}"
] |
[
"escalates",
"the",
"failure",
"via",
"{"
] | [
"try",
"{",
"context",
"on",
"shard",
"failure",
"(",
"shard",
"index",
",",
"shard",
"target",
",",
"e",
")",
";",
"}",
"finally",
"{",
"count",
"down",
"(",
")",
";",
"}"
] |
[
"gets",
"the",
"end",
"index",
"of",
"this",
"subtext",
"within",
"{"
] | [
"return",
"end",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"table",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"true",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"table",
"get",
"name",
"as",
"string",
"(",
")",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"true",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"bytes",
"to",
"string",
"(",
"table",
")",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"true",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"table",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"add",
"dependency",
"jars",
",",
"true",
",",
"input",
"format",
"class",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"bytes",
"to",
"string",
"(",
"table",
")",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"add",
"dependency",
"jars",
",",
"input",
"format",
"class"... |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"bytes",
"to",
"string",
"(",
"table",
")",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"add",
"dependency",
"jars",
",",
"table",
"input",
"format"... |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"table",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"add",
"dependency",
"jars",
",",
"table",
"input",
"format",
"class",
")",
";"
] |
[
"enable",
"a",
"basic",
"on",
"-",
"heap",
"cache",
"for",
"these",
"jobs",
"any",
"block",
"cache",
"implementation",
"based",
"on",
"direct",
"memory",
"will",
"likely",
"cause",
"the",
"map",
"tasks",
"to",
"oom",
"when",
"opening",
"the",
"region",
"th... | [
"conf",
"set",
"float",
"(",
"h",
"constants",
"hfile",
"block",
"cache",
"size",
"key",
",",
"h",
"constants",
"hfile",
"block",
"cache",
"size",
"default",
")",
";",
"conf",
"set",
"float",
"(",
"h",
"constants",
"bucket",
"cache",
"size",
"key",
",",
... |
[
"sets",
"up",
"the",
"job",
"for",
"reading",
"from",
"one",
"or",
"more",
"table",
"snapshots",
"with",
"one",
"or",
"more",
"scans",
"per",
"snapshot",
"it",
"bypasses",
"hbase",
"servers",
"and",
"read",
"directly",
"from",
"snapshot",
"files"
] | [
"multi",
"table",
"snapshot",
"input",
"format",
"set",
"input",
"(",
"job",
"get",
"configuration",
"(",
")",
",",
"snapshot",
"scans",
",",
"tmp",
"restore",
"dir",
")",
";",
"job",
"set",
"input",
"format",
"class",
"(",
"multi",
"table",
"snapshot",
... |
[
"sets",
"up",
"the",
"job",
"for",
"reading",
"from",
"a",
"table",
"snapshot",
"it",
"bypasses",
"hbase",
"servers",
"and",
"read",
"directly",
"from",
"snapshot",
"files"
] | [
"table",
"snapshot",
"input",
"format",
"set",
"input",
"(",
"job",
",",
"snapshot",
"name",
",",
"tmp",
"restore",
"dir",
")",
";",
"init",
"table",
"mapper",
"job",
"(",
"snapshot",
"name",
",",
"scan",
",",
"mapper",
",",
"output",
"key",
"class",
"... |
[
"sets",
"up",
"the",
"job",
"for",
"reading",
"from",
"a",
"table",
"snapshot",
"it",
"bypasses",
"hbase",
"servers",
"and",
"read",
"directly",
"from",
"snapshot",
"files"
] | [
"table",
"snapshot",
"input",
"format",
"set",
"input",
"(",
"job",
",",
"snapshot",
"name",
",",
"tmp",
"restore",
"dir",
",",
"split",
"algo",
",",
"num",
"splits",
"per",
"region",
")",
";",
"init",
"table",
"mapper",
"job",
"(",
"snapshot",
"name",
... |
[
"use",
"this",
"before",
"submitting",
"a",
"multi",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"scans",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"true",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"multi",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"init",
"table",
"mapper",
"job",
"(",
"scans",
",",
"mapper",
",",
"output",
"key",
"class",
",",
"output",
"value",
"class",
",",
"job",
",",
"add",
"dependency",
"jars",
",",
"true",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"multi",
"table",
"map",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job"
] | [
"job",
"set",
"input",
"format",
"class",
"(",
"multi",
"table",
"input",
"format",
"class",
")",
";",
"if",
"(",
"output",
"value",
"class",
"!",
"=",
"null",
")",
"{",
"job",
"set",
"map",
"output",
"value",
"class",
"(",
"output",
"value",
"class",
... |
[
"obtain",
"an",
"authentication",
"token",
"for",
"the",
"specified",
"cluster",
"on",
"behalf",
"of",
"the",
"current",
"user",
"and",
"add",
"it",
"to",
"the",
"credentials",
"for",
"the",
"given",
"map",
"reduce",
"job"
] | [
"configuration",
"peer",
"conf",
"=",
"h",
"base",
"configuration",
"create",
"cluster",
"conf",
"(",
"job",
"get",
"configuration",
"(",
")",
",",
"quorum",
"address",
")",
";",
"init",
"credentials",
"for",
"cluster",
"(",
"job",
",",
"peer",
"conf",
")"... |
[
"writes",
"the",
"given",
"scan",
"into",
"a",
"base",
"6",
"4",
"encoded",
"string"
] | [
"client",
"protos",
"scan",
"proto",
"=",
"protobuf",
"util",
"to",
"scan",
"(",
"scan",
")",
";",
"return",
"bytes",
"to",
"string",
"(",
"base",
"6",
"4",
"get",
"encoder",
"(",
")",
"encode",
"(",
"proto",
"to",
"byte",
"array",
"(",
")",
")",
"... |
[
"converts",
"the",
"given",
"base",
"6",
"4",
"string",
"back",
"into",
"a",
"scan",
"instance"
] | [
"byte",
"[",
"]",
"decoded",
"=",
"base",
"6",
"4",
"get",
"decoder",
"(",
")",
"decode",
"(",
"base",
"6",
"4",
")",
";",
"return",
"protobuf",
"util",
"to",
"scan",
"(",
"client",
"protos",
"scan",
"parse",
"from",
"(",
"decoded",
")",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"reduce",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job",
"conf"
] | [
"init",
"table",
"reducer",
"job",
"(",
"table",
",",
"reducer",
",",
"job",
",",
"null",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"reduce",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job",
"conf"
] | [
"init",
"table",
"reducer",
"job",
"(",
"table",
",",
"reducer",
",",
"job",
",",
"partitioner",
",",
"null",
",",
"null",
",",
"null",
")",
";"
] |
[
"use",
"this",
"before",
"submitting",
"a",
"table",
"reduce",
"job",
"it",
"will",
"appropriately",
"set",
"up",
"the",
"job",
"conf"
] | [
"init",
"table",
"reducer",
"job",
"(",
"table",
",",
"reducer",
",",
"job",
",",
"partitioner",
",",
"quorum",
"address",
",",
"server",
"class",
",",
"server",
"impl",
",",
"true",
")",
";"
] |
[
"ensures",
"that",
"the",
"given",
"number",
"of",
"reduce",
"tasks",
"for",
"the",
"given",
"job",
"configuration",
"does",
"not",
"exceed",
"the",
"number",
"of",
"regions",
"for",
"the",
"given",
"table"
] | [
"int",
"regions",
"=",
"meta",
"table",
"accessor",
"get",
"region",
"count",
"(",
"job",
"get",
"configuration",
"(",
")",
",",
"table",
"name",
"value",
"of",
"(",
"table",
")",
")",
";",
"if",
"(",
"job",
"get",
"num",
"reduce",
"tasks",
"(",
")",... |
[
"sets",
"the",
"number",
"of",
"reduce",
"tasks",
"for",
"the",
"given",
"job",
"configuration",
"to",
"the",
"number",
"of",
"regions",
"the",
"given",
"table",
"has"
] | [
"job",
"set",
"num",
"reduce",
"tasks",
"(",
"meta",
"table",
"accessor",
"get",
"region",
"count",
"(",
"job",
"get",
"configuration",
"(",
")",
",",
"table",
"name",
"value",
"of",
"(",
"table",
")",
")",
")",
";"
] |
[
"take",
"the",
"changes",
"and",
"apply",
"them",
"to",
"the",
"given",
"table"
] | [
"for",
"(",
"map",
"entry",
"<",
"integer",
",",
"set",
"<",
"i",
"n",
"d",
"array",
">",
">",
"entry",
":",
"changes",
"entry",
"set",
"(",
")",
")",
"{",
"set",
"<",
"i",
"n",
"d",
"array",
">",
"changes",
"=",
"entry",
"get",
"value",
"(",
... |
[
"returns",
"the",
"original",
"element",
"list",
"unchanged"
] | [
"return",
"insertion",
"order",
";"
] |
[
"calls",
"{"
] | [
"synchronized",
"(",
"get",
"class",
"loading",
"lock",
"(",
"cl",
",",
"name",
")",
")",
"{",
"return",
"(",
"class",
")",
"invoke",
"(",
"find",
"loaded",
"class",
",",
"runtime",
"exception",
"class",
",",
"cl",
",",
"name",
")",
";",
"}"
] |
[
"calls",
"{"
] | [
"synchronized",
"(",
"get",
"class",
"loading",
"lock",
"(",
"cl",
",",
"name",
")",
")",
"{",
"return",
"(",
"class",
")",
"invoke",
"(",
"find",
"class",
",",
"class",
"not",
"found",
"exception",
"class",
",",
"cl",
",",
"name",
")",
";",
"}"
] |
[
"calls",
"{"
] | [
"return",
"(",
"url",
")",
"invoke",
"(",
"find",
"resource",
",",
"runtime",
"exception",
"class",
",",
"cl",
",",
"name",
")",
";"
] |
[
"calls",
"{"
] | [
"return",
"(",
"enumeration",
"<",
"url",
">",
")",
"invoke",
"(",
"find",
"resources",
",",
"i",
"o",
"exception",
"class",
",",
"cl",
",",
"name",
")",
";"
] |
[
"get",
"dl4j",
"subsampling",
"layer"
] | [
"return",
"(",
"subsampling",
"layer",
")",
"this",
"layer",
";"
] |
[
"serialize",
"the",
"thrift",
"object",
"into",
"a",
"byte",
"array",
"the",
"process",
"is",
"simple",
"just",
"clear",
"the",
"byte",
"array",
"output",
"write",
"the",
"object",
"into",
"it",
"and",
"grab",
"the",
"raw",
"bytes"
] | [
"return",
"serialize",
"(",
"base",
",",
"header",
"entity",
"empty",
"header",
"entity",
")",
";"
] |
[
"serialize",
"the",
"thrift",
"object",
"into",
"a",
"java",
"string",
"using",
"the",
"utf8",
"charset",
"encoding"
] | [
"return",
"to",
"string",
"(",
"base",
",",
"utf8",
")",
";"
] |
[
"makes",
"a",
"call",
"to",
"the",
"operation",
"specified",
"by",
"the",
"waiter",
"by",
"taking",
"the",
"corresponding",
"request",
"and",
"returns",
"the",
"corresponding",
"result"
] | [
"return",
"client",
"describe",
"stacks",
"(",
"describe",
"stacks",
"request",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"whose",
"job",
"execution",
"will",
"be",
"deleted",
"<",
"/",
"p",
">"
] | [
"this",
"thing",
"name",
"=",
"thing",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"whose",
"job",
"execution",
"will",
"be",
"deleted",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"thing",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"set",
"thing",
"name",
"(",
"thing",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"type",
"<",
"/",
"p",
">"
] | [
"this",
"thing",
"type",
"name",
"=",
"thing",
"type",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"type",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"thing",
"type",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"thing",
"type",
"<",
"/",
"p",
">"
] | [
"set",
"thing",
"type",
"name",
"(",
"thing",
"type",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"attribute",
"payload",
"which",
"consists",
"of",
"up",
"to",
"three",
"name",
"/",
"value",
"pairs",
"in",
"a",
"json",
"document",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"{",
"\\",
"at... | [
"this",
"attribute",
"payload",
"=",
"attribute",
"payload",
";"
] |
[
"<",
"p",
">",
"the",
"attribute",
"payload",
"which",
"consists",
"of",
"up",
"to",
"three",
"name",
"/",
"value",
"pairs",
"in",
"a",
"json",
"document",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"{",
"\\",
"at... | [
"return",
"this",
"attribute",
"payload",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"thing",
"attributes",
"a",
"json",
"string",
"containing",
"name",
"-",
"value",
"pairs",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"{",
"\\",
"attributes",
"\\",
":",
"{",
"\\"... | [
"set",
"attribute",
"payload",
"(",
"attribute",
"payload",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"the",
"expected",
"current",
"version",
"of",
"the",
"job",
"execution",
"each",
"time",
"you",
"update",
"the",
"job",
"execution",
"its",
"version",
"is",
"incremented",
"if",
"the",
"version",
"of",
"the",
"job",
... | [
"this",
"expected",
"version",
"=",
"expected",
"version",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"the",
"expected",
"current",
"version",
"of",
"the",
"job",
"execution",
"each",
"time",
"you",
"update",
"the",
"job",
"execution",
"its",
"version",
"is",
"incremented",
"if",
"the",
"version",
"of",
"the",
"job",
... | [
"return",
"this",
"expected",
"version",
";"
] |
[
"<",
"p",
">",
"the",
"expected",
"version",
"of",
"the",
"thing",
"record",
"in",
"the",
"registry",
"if",
"the",
"version",
"of",
"the",
"record",
"in",
"the",
"registry",
"does",
"not",
"match",
"the",
"expected",
"version",
"specified",
"in",
"the",
... | [
"set",
"expected",
"version",
"(",
"expected",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"remove",
"a",
"thing",
"type",
"association",
"if",
"<",
"b",
">",
"true",
"<",
"/",
"b",
">",
"the",
"association",
"is",
"removed",
"<",
"/",
"p",
">"
] | [
"this",
"remove",
"thing",
"type",
"=",
"remove",
"thing",
"type",
";"
] |
[
"<",
"p",
">",
"remove",
"a",
"thing",
"type",
"association",
"if",
"<",
"b",
">",
"true",
"<",
"/",
"b",
">",
"the",
"association",
"is",
"removed",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"remove",
"thing",
"type",
";"
] |
[
"<",
"p",
">",
"remove",
"a",
"thing",
"type",
"association",
"if",
"<",
"b",
">",
"true",
"<",
"/",
"b",
">",
"the",
"association",
"is",
"removed",
"<",
"/",
"p",
">"
] | [
"set",
"remove",
"thing",
"type",
"(",
"remove",
"thing",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"remove",
"a",
"thing",
"type",
"association",
"if",
"<",
"b",
">",
"true",
"<",
"/",
"b",
">",
"the",
"association",
"is",
"removed",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"remove",
"thing",
"type",
";"
] |
[
"{"
] | [
"return",
"collections",
"singleton",
"map",
"(",
"new",
"echo",
"job",
"(",
"arg",
")",
",",
"f",
"first",
"(",
"subgrid",
")",
")",
";"
] |
[
"{"
] | [
"return",
"results",
"get",
"(",
"0",
")",
"get",
"data",
"(",
")",
";"
] |
[
"returns",
"the",
"default",
"display"
] | [
"window",
"manager",
"window",
"manager",
"=",
"(",
"window",
"manager",
")",
"runtime",
"environment",
"application",
"get",
"system",
"service",
"(",
"context",
"window",
"service",
")",
";",
"return",
"window",
"manager",
"get",
"default",
"display",
"(",
"... |
[
"if",
"{",
"@",
"link",
"#",
"set",
"scaled",
"density",
"(",
"float",
")",
"}",
"has",
"been",
"called",
"{",
"@",
"link",
"display",
"metrics",
"#",
"scaled",
"density",
"}",
"will",
"be",
"modified",
"to",
"reflect",
"the",
"value",
"specified",
"no... | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"out",
"metrics",
"density",
"=",
"density",
"dpi",
"*",
"display",
"metrics",
"density",
"default",
"scale",
";",
"out",
"metrics",
"density",
"dpi",
"=",
"density",
"dpi",
";",
"out",
"metrics",
"scaled"... |
[
"if",
"{",
"@",
"link",
"#",
"set",
"scaled",
"density",
"(",
"float",
")",
"}",
"has",
"been",
"called",
"{",
"@",
"link",
"display",
"metrics",
"#",
"scaled",
"density",
"}",
"will",
"be",
"modified",
"to",
"reflect",
"the",
"value",
"specified",
"no... | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"get",
"metrics",
"(",
"out",
"metrics",
")",
";",
"out",
"metrics",
"width",
"pixels",
"=",
"real",
"width",
";",
"out",
"metrics",
"height",
"pixels",
"=",
"real",
"height",
";",
"}",
"else",
"{",
... |
[
"if",
"{",
"@",
"link",
"#",
"set",
"display",
"id",
"(",
"int",
")",
"}",
"has",
"been",
"called",
"this",
"method",
"will",
"return",
"the",
"specified",
"value"
] | [
"return",
"display",
"id",
"=",
"=",
"null",
"?",
"directly",
"on",
"(",
"real",
"object",
",",
"display",
"class",
")",
"get",
"display",
"id",
"(",
")",
":",
"display",
"id",
";"
] |
[
"if",
"{",
"@",
"link",
"#",
"set",
"refresh",
"rate",
"(",
"float",
")",
"}",
"has",
"been",
"called",
"this",
"method",
"will",
"return",
"the",
"specified",
"value"
] | [
"return",
"refresh",
"rate",
"=",
"=",
"null",
"?",
"directly",
"on",
"(",
"real",
"object",
",",
"display",
"class",
")",
"get",
"refresh",
"rate",
"(",
")",
":",
"refresh",
"rate",
";"
] |
[
"if",
"{",
"@",
"link",
"#",
"set",
"pixel",
"format",
"(",
"int",
")",
"}",
"has",
"been",
"called",
"this",
"method",
"will",
"return",
"the",
"specified",
"value"
] | [
"return",
"pixel",
"format",
"=",
"=",
"null",
"?",
"directly",
"on",
"(",
"real",
"object",
",",
"display",
"class",
")",
"get",
"pixel",
"format",
"(",
")",
":",
"pixel",
"format",
";"
] |
[
"changes",
"the",
"density",
"for",
"this",
"display"
] | [
"set",
"density",
"dpi",
"(",
"(",
"int",
")",
"(",
"density",
"*",
"display",
"metrics",
"density",
"default",
")",
")",
";"
] |
[
"changes",
"the",
"density",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"density",
"dpi",
"=",
"density",
"dpi",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
"... |
[
"changes",
"the",
"horizontal",
"dpi",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"xdpi",
"=",
"xdpi",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"physical"... |
[
"changes",
"the",
"vertical",
"dpi",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"ydpi",
"=",
"ydpi",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"physical"... |
[
"changes",
"the",
"scaled",
"density",
"for",
"this",
"display"
] | [
"this",
"scaled",
"density",
"=",
"scaled",
"density",
";"
] |
[
"changes",
"the",
"id",
"for",
"this",
"display"
] | [
"this",
"display",
"id",
"=",
"display",
"id",
";"
] |
[
"changes",
"the",
"name",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"name",
"=",
"name",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"name",
... |
[
"changes",
"the",
"width",
"available",
"to",
"the",
"application",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"width",
"=",
"width",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"app",
... |
[
"changes",
"the",
"height",
"available",
"to",
"the",
"application",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"height",
"=",
"height",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"app",... |
[
"changes",
"the",
"simulated",
"physical",
"width",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"real",
"width",
"=",
"width",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
... |
[
"changes",
"the",
"simulated",
"physical",
"height",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"real",
"height",
"=",
"height",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di"... |
[
"changes",
"the",
"refresh",
"rate",
"for",
"this",
"display"
] | [
"this",
"refresh",
"rate",
"=",
"refresh",
"rate",
";"
] |
[
"changes",
"the",
"rotation",
"for",
"this",
"display"
] | [
"if",
"(",
"is",
"j",
"b",
"(",
")",
")",
"{",
"this",
"rotation",
"=",
"rotation",
";",
"}",
"else",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"r... |
[
"changes",
"the",
"pixel",
"format",
"for",
"this",
"display"
] | [
"this",
"pixel",
"format",
"=",
"pixel",
"format",
";"
] |
[
"changes",
"the",
"simulated",
"state",
"for",
"this",
"display",
"such",
"as",
"whether",
"it",
"is",
"on",
"or",
"off"
] | [
"if",
"(",
"!",
"is",
"j",
"b",
"(",
")",
")",
"{",
"shadow",
"display",
"manager",
"change",
"display",
"(",
"real",
"object",
"get",
"display",
"id",
"(",
")",
",",
"di",
"-",
">",
"di",
"state",
"=",
"state",
")",
";",
"}"
] |
[
"}"
] | [
"int",
"n",
"options",
"=",
"get",
"number",
"of",
"selected",
"settings",
"(",
"locations",
",",
"entry",
"limit",
")",
";",
"if",
"(",
"n",
"options",
">",
"entry",
"limit",
")",
"{",
"return",
"search",
"messages",
"match",
"locations",
"match",
"loca... |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"first",
"<",
"0",
")",
"{",
"long",
"tf",
"=",
"size",
"-",
"last",
";",
"if",
"(",
"tf",
"<",
"0",
")",
"tf",
"=",
"0",
";",
"return",
"tf",
";",
"}",
"return",
"first",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.