docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"return",
"results",
"that",
"match",
"both",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"objects",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"and",
"=",
"=",
"null",
")",
"{",
"this",
"and",
"=",
"null",
";",
"return",
";",
"}",
"this",
"and",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"expression",
">",
"(",
"and",
")",
";"
] |
[
"<",
"p",
">",
"return",
"results",
"that",
"match",
"both",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"objects",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",... | [
"if",
"(",
"this",
"and",
"=",
"=",
"null",
")",
"{",
"set",
"and",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"expression",
">",
"(",
"and",
"length",
")",
")",
";",
"}",
"for",
"(",
"expression",
"ele",
":",
"and",
")",
"{",
"this",
"a... |
[
"<",
"p",
">",
"return",
"results",
"that",
"match",
"both",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"objects",
"<",
"/",
"p",
">"
] | [
"set",
"and",
"(",
"and",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"return",
"results",
"that",
"don",
"t",
"match",
"a",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] | [
"this",
"not",
"=",
"not",
";"
] |
[
"<",
"p",
">",
"return",
"results",
"that",
"don",
"t",
"match",
"a",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"not",
";"
] |
[
"<",
"p",
">",
"return",
"results",
"that",
"don",
"t",
"match",
"a",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] | [
"set",
"not",
"(",
"not",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"dimensions",
"=",
"dimensions",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"dimensions",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"dimension",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"dimensions",
"(",
"dimensions",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"tag",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"tags",
"=",
"tags",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"tag",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"tags",
";"
] |
[
"<",
"p",
">",
"the",
"specific",
"<",
"code",
">",
"tag",
"<",
"/",
"code",
">",
"to",
"use",
"for",
"<",
"code",
">",
"expression",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"tags",
"(",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"private",
"atomic",
"integer",
"listener",
"count",
"=",
"new",
"atomic",
"integer",
"(",
"0",
")",
";"
] | [
"string",
"cache",
"key",
"=",
"(",
"string",
")",
"event",
"get",
"key",
"(",
")",
";",
"executor",
"execute",
"(",
"(",
")",
"-",
">",
"{",
"event",
"(",
"cache",
"key",
",",
"event",
"get",
"version",
"(",
")",
",",
"true",
")",
";",
"}",
")... |
[
"builds",
"a",
"table",
"exists",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiter",
"parameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the",
"r... | [
"return",
"new",
"waiter",
"builder",
"<",
"describe",
"table",
"request",
",",
"describe",
"table",
"result",
">",
"(",
")",
"with",
"sdk",
"function",
"(",
"new",
"describe",
"table",
"function",
"(",
"client",
")",
")",
"with",
"acceptors",
"(",
"new",
... |
[
"builds",
"a",
"table",
"not",
"exists",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiter",
"parameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"t... | [
"return",
"new",
"waiter",
"builder",
"<",
"describe",
"table",
"request",
",",
"describe",
"table",
"result",
">",
"(",
")",
"with",
"sdk",
"function",
"(",
"new",
"describe",
"table",
"function",
"(",
"client",
")",
")",
"with",
"acceptors",
"(",
"new",
... |
[
"kill"
] | [
"if",
"(",
"stmt",
"length",
"(",
")",
">",
"+",
"+",
"offset",
"&",
"&",
"stmt",
"char",
"at",
"(",
"offset",
")",
"=",
"=",
"'",
"@",
"'",
"&",
"&",
"stmt",
"length",
"(",
")",
">",
"offset",
"+",
"10",
")",
"{",
"char",
"c",
"1",
"=",
... |
[
"call",
"alg",
"earliest",
"start",
"time",
"(",
")"
] | [
"return",
"alg",
"stage",
"earliest",
"start",
"set",
"earliest",
"start",
"time",
"(",
"plan",
",",
"reservation",
",",
"index",
",",
"current",
"reservation",
"stage",
",",
"stage",
"deadline",
")",
";"
] |
[
"call",
"alg",
"stage",
"allocator"
] | [
"return",
"alg",
"stage",
"allocator",
"compute",
"stage",
"allocation",
"(",
"plan",
",",
"plan",
"loads",
",",
"plan",
"modifications",
",",
"rr",
",",
"stage",
"arrival",
"time",
",",
"stage",
"deadline",
")",
";"
] |
[
"creates",
"a",
"{",
"@",
"code",
"listenable",
"future",
"task",
"}",
"that",
"will",
"upon",
"running",
"execute",
"the",
"given",
"{",
"@",
"code",
"runnable",
"}",
"and",
"arrange",
"that",
"{",
"@",
"code",
"get",
"}",
"will",
"return",
"the",
"gi... | [
"return",
"new",
"trusted",
"listenable",
"future",
"task",
"<",
"v",
">",
"(",
"executors",
"callable",
"(",
"runnable",
",",
"result",
")",
")",
";"
] |
[
"{",
"@",
"link",
"data",
"counts",
"}",
"mapping",
"the",
"type",
"is",
"disabled",
"so",
"{",
"@",
"link",
"data",
"counts",
"}",
"aren",
"t",
"searchable",
"and",
"the",
"all",
"field",
"is",
"disabled"
] | [
"builder",
"start",
"object",
"(",
"data",
"counts",
"processed",
"record",
"count",
"get",
"preferred",
"name",
"(",
")",
")",
"field",
"(",
"type",
",",
"long",
")",
"end",
"object",
"(",
")",
"start",
"object",
"(",
"data",
"counts",
"processed",
"fie... |
[
"create",
"the",
"elasticsearch",
"mapping",
"for",
"{",
"@",
"linkplain",
"category",
"definition",
"}",
"the",
"all",
"field",
"is",
"disabled",
"as",
"the",
"document",
"isn",
"t",
"meant",
"to",
"be",
"searched"
] | [
"builder",
"start",
"object",
"(",
"category",
"definition",
"category",
"id",
"get",
"preferred",
"name",
"(",
")",
")",
"field",
"(",
"type",
",",
"long",
")",
"end",
"object",
"(",
")",
"start",
"object",
"(",
"category",
"definition",
"terms",
"get",
... |
[
"create",
"the",
"elasticsearch",
"mapping",
"for",
"state",
"state",
"could",
"potentially",
"be",
"huge",
"(",
"target",
"document",
"size",
"is",
"16mb",
"and",
"there",
"can",
"be",
"many",
"documents",
")",
"so",
"all",
"analysis",
"by",
"elasticsearch",
... | [
"x",
"content",
"builder",
"builder",
"=",
"json",
"builder",
"(",
")",
";",
"builder",
"start",
"object",
"(",
")",
";",
"builder",
"start",
"object",
"(",
"doc",
"type",
")",
";",
"add",
"meta",
"information",
"(",
"builder",
")",
";",
"builder",
"fi... |
[
"{"
] | [
"builder",
"start",
"object",
"(",
"model",
"size",
"stats",
"model",
"bytes",
"field",
"get",
"preferred",
"name",
"(",
")",
")",
"field",
"(",
"type",
",",
"long",
")",
"end",
"object",
"(",
")",
"start",
"object",
"(",
"model",
"size",
"stats",
"tot... |
[
"clean",
"up",
"the",
"files",
"that",
"have",
"been",
"created",
"on",
"the",
"local",
"worker",
"file",
"system",
"without",
"this",
"expect",
"both",
"performance",
"issues",
"and",
"eventual",
"failure"
] | [
"if",
"(",
"files",
"exists",
"(",
"out",
"file",
")",
")",
"{",
"files",
"delete",
"(",
"out",
"file",
")",
";",
"}",
"if",
"(",
"files",
"exists",
"(",
"err",
"file",
")",
")",
"{",
"files",
"delete",
"(",
"err",
"file",
")",
";",
"}",
"if",
... |
[
"returns",
"a",
"globally",
"unique",
"transaction",
"id"
] | [
"random",
"rnd",
"=",
"new",
"random",
"(",
"system",
"current",
"time",
"millis",
"(",
")",
")",
";",
"txn",
"unique",
"i",
"d",
"+",
"+",
";",
"int",
"txn",
"u",
"i",
"d",
"=",
"txn",
"unique",
"i",
"d",
";",
"int",
"tid",
"i",
"d",
"=",
"t... |
[
"returns",
"a",
"transaction",
"id",
"which",
"is",
"based",
"on",
"tid",
"calculated",
"the",
"same",
"all",
"the",
"time"
] | [
"int",
"txn",
"u",
"i",
"d",
"=",
"0",
";",
"int",
"tid",
"i",
"d",
"=",
"tid",
";",
"int",
"answer",
"to",
"everything",
"i",
"d",
"=",
"42",
";",
"return",
"get",
"xid",
"(",
"txn",
"u",
"i",
"d",
",",
"tid",
"i",
"d",
",",
"answer",
"to"... |
[
"returns",
"an",
"initializable",
"for",
"an",
"instance",
"that",
"requires",
"no",
"initialization"
] | [
"return",
"new",
"initializable",
"<",
"t",
">",
"(",
")",
"{",
"public",
"t",
"get",
"(",
"errors",
"errors",
")",
"throws",
"errors",
"exception",
"{",
"return",
"instance",
";",
"}",
"@",
"override",
"public",
"string",
"to",
"string",
"(",
")",
"{"... |
[
"converts",
"different",
"open",
"h",
"a",
"b",
"commands",
"to",
"a",
"homematic",
"object"
] | [
"if",
"(",
"command",
"get",
"class",
"(",
")",
"=",
"=",
"increase",
"decrease",
"type",
"class",
")",
"{",
"percent",
"type",
"type",
"=",
"convert",
"from",
"binding",
"(",
"hm",
"value",
"item",
")",
";",
"int",
"percent",
"=",
"type",
"int",
"va... |
[
"creates",
"a",
"percent",
"type",
"from",
"the",
"value"
] | [
"return",
"new",
"percent",
"type",
"(",
"value",
")",
";"
] |
[
"{"
] | [
"double",
"number",
"=",
"(",
"type",
"double",
"value",
"(",
")",
"/",
"100",
")",
"*",
"hm",
"value",
"item",
"get",
"max",
"value",
"(",
")",
"double",
"value",
"(",
")",
";",
"if",
"(",
"is",
"roller",
"shutter",
"level",
"datapoint",
"(",
"hm"... |
[
"{"
] | [
"return",
"boolean",
"true",
"equals",
"(",
"hm",
"value",
"item",
"get",
"value",
"(",
")",
")",
"?",
"new",
"percent",
"type",
"(",
"100",
")",
":",
"new",
"percent",
"type",
"(",
"0",
")",
";"
] |
[
"{"
] | [
"double",
"number",
"=",
"(",
"(",
"number",
")",
"hm",
"value",
"item",
"get",
"value",
"(",
")",
")",
"double",
"value",
"(",
")",
";",
"int",
"percent",
"=",
"(",
"int",
")",
"(",
"(",
"100",
"/",
"hm",
"value",
"item",
"get",
"max",
"value",
... |
[
"{"
] | [
"byte",
"[",
"]",
"bytes",
"0",
"=",
"new",
"byte",
"[",
"off",
"]",
";",
"system",
"arraycopy",
"(",
"bytes",
",",
"0",
",",
"bytes",
"0",
",",
"0",
",",
"off",
")",
";",
"return",
"bytes",
"0",
";"
] |
[
"{"
] | [
"return",
"bytes",
";"
] |
[
"{"
] | [
"return",
"off",
";"
] |
[
"{"
] | [
"this",
"off",
"=",
"off",
";"
] |
[
"{"
] | [
"request",
"free",
"size",
"(",
"b",
"length",
")",
";",
"system",
"arraycopy",
"(",
"b",
",",
"0",
",",
"bytes",
",",
"off",
",",
"b",
"length",
")",
";",
"on",
"write",
"(",
"b",
"length",
")",
";"
] |
[
"{"
] | [
"request",
"free",
"size",
"(",
"len",
")",
";",
"system",
"arraycopy",
"(",
"b",
",",
"off",
",",
"bytes",
",",
"this",
"off",
",",
"len",
")",
";",
"on",
"write",
"(",
"len",
")",
";"
] |
[
"{"
] | [
"off",
"=",
"0",
";",
"out",
"=",
"null",
";"
] |
[
"{"
] | [
"write",
"int",
"(",
"arr",
"length",
")",
";",
"request",
"free",
"size",
"(",
"arr",
"length",
")",
";",
"system",
"arraycopy",
"(",
"arr",
",",
"0",
",",
"bytes",
",",
"off",
",",
"arr",
"length",
")",
";",
"on",
"write",
"(",
"arr",
"length",
... |
[
"{"
] | [
"reset",
"(",
")",
";"
] |
[
"{"
] | [
"request",
"free",
"size",
"(",
"1",
")",
";",
"grid",
"unsafe",
"put",
"boolean",
"(",
"bytes",
",",
"byte",
"arr",
"off",
"+",
"off",
",",
"v",
")",
";",
"on",
"write",
"(",
"1",
")",
";"
] |
[
"{"
] | [
"request",
"free",
"size",
"(",
"1",
")",
";",
"grid",
"unsafe",
"put",
"byte",
"(",
"bytes",
",",
"byte",
"arr",
"off",
"+",
"off",
",",
"(",
"byte",
")",
"v",
")",
";",
"on",
"write",
"(",
"1",
")",
";"
] |
[
"{"
] | [
"request",
"free",
"size",
"(",
"2",
")",
";",
"short",
"val",
"=",
"(",
"short",
")",
"v",
";",
"long",
"off",
"=",
"byte",
"arr",
"off",
"+",
"this",
"off",
";",
"if",
"(",
"big",
"endian",
")",
"grid",
"unsafe",
"put",
"short",
"l",
"e",
"("... |
[
"{"
] | [
"request",
"free",
"size",
"(",
"2",
")",
";",
"char",
"val",
"=",
"(",
"char",
")",
"v",
";",
"long",
"off",
"=",
"byte",
"arr",
"off",
"+",
"this",
"off",
";",
"if",
"(",
"big",
"endian",
")",
"grid",
"unsafe",
"put",
"char",
"l",
"e",
"(",
... |
[
"{"
] | [
"request",
"free",
"size",
"(",
"4",
")",
";",
"long",
"off",
"=",
"byte",
"arr",
"off",
"+",
"this",
"off",
";",
"if",
"(",
"big",
"endian",
")",
"grid",
"unsafe",
"put",
"int",
"l",
"e",
"(",
"bytes",
",",
"off",
",",
"v",
")",
";",
"else",
... |
[
"{"
] | [
"request",
"free",
"size",
"(",
"8",
")",
";",
"long",
"off",
"=",
"byte",
"arr",
"off",
"+",
"this",
"off",
";",
"if",
"(",
"big",
"endian",
")",
"grid",
"unsafe",
"put",
"long",
"l",
"e",
"(",
"bytes",
",",
"off",
",",
"v",
")",
";",
"else",
... |
[
"{"
] | [
"int",
"val",
"=",
"float",
"float",
"to",
"int",
"bits",
"(",
"v",
")",
";",
"write",
"int",
"(",
"val",
")",
";"
] |
[
"{"
] | [
"long",
"val",
"=",
"double",
"double",
"to",
"long",
"bits",
"(",
"v",
")",
";",
"write",
"long",
"(",
"val",
")",
";"
] |
[
"{"
] | [
"int",
"len",
"=",
"s",
"length",
"(",
")",
";",
"write",
"int",
"(",
"len",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"len",
";",
"i",
"+",
"+",
")",
"write",
"byte",
"(",
"s",
"char",
"at",
"(",
"i",
")",
")",
";"
] |
[
"{"
] | [
"int",
"len",
"=",
"s",
"length",
"(",
")",
";",
"write",
"int",
"(",
"len",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"len",
";",
"i",
"+",
"+",
")",
"write",
"char",
"(",
"s",
"char",
"at",
"(",
"i",
")",
")",
";"
] |
[
"{"
] | [
"write",
"u",
"t",
"f",
"(",
"s",
",",
"utf",
"length",
"(",
"s",
")",
")",
";"
] |
[
"writes",
"the",
"given",
"string",
"in",
"utf",
"format",
"this",
"method",
"is",
"used",
"in",
"situations",
"where",
"the",
"utf",
"encoding",
"length",
"of",
"the",
"string",
"is",
"already",
"known",
";",
"specifying",
"it",
"explicitly",
"avoids",
"a",... | [
"if",
"(",
"utf",
"len",
"=",
"=",
"s",
"length",
"(",
")",
")",
"write",
"bytes",
"(",
"s",
")",
";",
"else",
"{",
"write",
"int",
"(",
"utf",
"len",
")",
";",
"write",
"u",
"t",
"f",
"body",
"(",
"s",
")",
";",
"}"
] |
[
"writes",
"the",
"body",
"(",
"i",
"e",
"the",
"utf",
"representation",
"minus",
"the",
"2",
"-",
"byte",
"or",
"8",
"-",
"byte",
"length",
"header",
")",
"of",
"the",
"utf",
"encoding",
"for",
"the",
"given",
"string"
] | [
"int",
"len",
"=",
"s",
"length",
"(",
")",
";",
"for",
"(",
"int",
"off",
"=",
"0",
";",
"off",
"<",
"len",
";",
")",
"{",
"int",
"csize",
"=",
"math",
"min",
"(",
"len",
"-",
"off",
",",
"char",
"buf",
"size",
")",
";",
"s",
"get",
"chars... |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"grid",
"unsafe",
"data",
"output",
"class",
",",
"this",
")",
";"
] |
[
"return",
"a",
"specified",
"st",
"geometry",
"value",
"from",
"extended",
"well",
"-",
"known",
"text",
"representation",
"(",
"ewkt",
")"
] | [
"return",
"expressions",
"string",
"operation",
"(",
"spatial",
"ops",
"as",
"ewkt",
",",
"expr",
")",
";"
] |
[
"return",
"a",
"specified",
"st",
"geometry",
"value",
"from",
"well",
"-",
"known",
"text",
"representation",
"(",
"wkt",
")"
] | [
"return",
"geometry",
"operation",
"(",
"spatial",
"ops",
"geom",
"from",
"text",
",",
"constant",
"impl",
"create",
"(",
"text",
")",
")",
";"
] |
[
"return",
"a",
"specified",
"st",
"geometry",
"value",
"from",
"well",
"-",
"known",
"text",
"representation",
"(",
"wkt",
")"
] | [
"return",
"geometry",
"operation",
"(",
"spatial",
"ops",
"geom",
"from",
"text",
",",
"text",
")",
";"
] |
[
"sets",
"the",
"srid",
"on",
"a",
"geometry",
"to",
"a",
"particular",
"integer",
"value"
] | [
"return",
"geometry",
"operation",
"(",
"expr",
"get",
"type",
"(",
")",
",",
"spatial",
"ops",
"set",
"srid",
",",
"expr",
",",
"constant",
"impl",
"create",
"(",
"srid",
")",
")",
";"
] |
[
"returns",
"x",
"minima",
"of",
"a",
"bounding",
"box",
"2d",
"or",
"3d",
"or",
"a",
"geometry"
] | [
"return",
"expressions",
"number",
"operation",
"(",
"double",
"class",
",",
"spatial",
"ops",
"xmin",
",",
"expr",
")",
";"
] |
[
"returns",
"x",
"maxima",
"of",
"a",
"bounding",
"box",
"2d",
"or",
"3d",
"or",
"a",
"geometry"
] | [
"return",
"expressions",
"number",
"operation",
"(",
"double",
"class",
",",
"spatial",
"ops",
"xmax",
",",
"expr",
")",
";"
] |
[
"returns",
"y",
"minima",
"of",
"a",
"bounding",
"box",
"2d",
"or",
"3d",
"or",
"a",
"geometry"
] | [
"return",
"expressions",
"number",
"operation",
"(",
"double",
"class",
",",
"spatial",
"ops",
"ymin",
",",
"expr",
")",
";"
] |
[
"returns",
"y",
"maxima",
"of",
"a",
"bounding",
"box",
"2d",
"or",
"3d",
"or",
"a",
"geometry"
] | [
"return",
"expressions",
"number",
"operation",
"(",
"double",
"class",
",",
"spatial",
"ops",
"ymax",
",",
"expr",
")",
";"
] |
[
"returns",
"the",
"bounding",
"box",
"that",
"bounds",
"rows",
"of",
"geometries"
] | [
"return",
"geometry",
"operation",
"(",
"spatial",
"ops",
"extent",
",",
"collection",
")",
";"
] |
[
"return",
"a",
"specified",
"st",
"geometry",
"value",
"from",
"a",
"collection",
"of",
"other",
"geometries"
] | [
"return",
"geometry",
"operation",
"(",
"spatial",
"ops",
"collect",
",",
"collection",
")",
";"
] |
[
"return",
"a",
"specified",
"st",
"geometry",
"value",
"from",
"a",
"collection",
"of",
"other",
"geometries"
] | [
"return",
"geometry",
"operation",
"(",
"spatial",
"ops",
"collect2",
",",
"expr",
"1",
",",
"expr",
"2",
")",
";"
] |
[
"translates",
"the",
"geometry",
"to",
"a",
"new",
"location",
"using",
"the",
"numeric",
"parameters",
"as",
"offsets"
] | [
"return",
"geometry",
"operation",
"(",
"expr",
"get",
"type",
"(",
")",
",",
"spatial",
"ops",
"translate",
",",
"expr",
",",
"constant",
"impl",
"create",
"(",
"deltax",
")",
",",
"constant",
"impl",
"create",
"(",
"deltay",
")",
")",
";"
] |
[
"translates",
"the",
"geometry",
"to",
"a",
"new",
"location",
"using",
"the",
"numeric",
"parameters",
"as",
"offsets"
] | [
"return",
"geometry",
"operation",
"(",
"expr",
"get",
"type",
"(",
")",
",",
"spatial",
"ops",
"translate2",
",",
"expr",
",",
"constant",
"impl",
"create",
"(",
"deltax",
")",
",",
"constant",
"impl",
"create",
"(",
"deltay",
")",
",",
"constant",
"imp... |
[
"create",
"a",
"new",
"geometry",
"operation",
"expression"
] | [
"return",
"new",
"geometry",
"operation",
"<",
"geometry",
">",
"(",
"geometry",
"class",
",",
"op",
",",
"args",
")",
";"
] |
[
"create",
"a",
"new",
"geometry",
"operation",
"expression"
] | [
"return",
"new",
"geometry",
"operation",
"<",
"t",
">",
"(",
"type",
",",
"op",
",",
"args",
")",
";"
] |
[
"create",
"a",
"new",
"line",
"string",
"operation",
"expression"
] | [
"return",
"new",
"line",
"string",
"operation",
"<",
"line",
"string",
">",
"(",
"line",
"string",
"class",
",",
"op",
",",
"args",
")",
";"
] |
[
"create",
"a",
"new",
"point",
"operation",
"expression"
] | [
"return",
"new",
"point",
"operation",
"<",
"point",
">",
"(",
"point",
"class",
",",
"op",
",",
"args",
")",
";"
] |
[
"create",
"a",
"new",
"polygon",
"operation",
"expression"
] | [
"return",
"new",
"polygon",
"operation",
"<",
"polygon",
">",
"(",
"polygon",
"class",
",",
"op",
",",
"args",
")",
";"
] |
[
"create",
"a",
"new",
"geometry",
"expression"
] | [
"expression",
"<",
"t",
">",
"underlying",
"mixin",
"=",
"expression",
"utils",
"extract",
"(",
"expr",
")",
";",
"if",
"(",
"underlying",
"mixin",
"instanceof",
"path",
"impl",
")",
"{",
"return",
"new",
"geometry",
"path",
"<",
"t",
">",
"(",
"(",
"p... |
[
"create",
"a",
"new",
"geometry",
"expression"
] | [
"return",
"as",
"geometry",
"(",
"expressions",
"constant",
"(",
"value",
")",
")",
";"
] |
[
"/",
"*"
] | [
"if",
"(",
"o",
"instanceof",
"region",
")",
"{",
"region",
"r",
"=",
"(",
"region",
")",
"o",
";",
"return",
"r",
"get",
"offset",
"(",
")",
"=",
"=",
"f",
"offset",
"&",
"&",
"r",
"get",
"length",
"(",
")",
"=",
"=",
"f",
"length",
";",
"}"... |
[
"/",
"*"
] | [
"return",
"(",
"f",
"offset",
"<",
"<",
"24",
")",
"|",
"(",
"f",
"length",
"<",
"<",
"16",
")",
";"
] |
[
"the",
"max",
"result",
"for",
"the",
"poll"
] | [
"this",
"max",
"results",
"=",
"max",
"result",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"one",
"or",
"more",
"identities",
"you",
"can",
"specify",
"an",
"identity",
"by",
"using",
"its",
"name",
"or",
"by",
"using",
"its",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"examples",
":",
"<",
"code",
">"... | [
"if",
"(",
"this",
"identities",
"=",
"=",
"null",
")",
"{",
"set",
"identities",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"identities",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"one",
"or",
"more",
"identities",
"you",
"can",
"specify",
"an",
"identity",
"by",
"using",
"its",
"name",
"or",
"by",
"using",
"its",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"examples",
":",
"<",
"code",
">"... | [
"set",
"identities",
"(",
"identities",
")",
";",
"return",
"this",
";"
] |
[
"in",
"case",
"the",
"wizard",
"has",
"got",
"3",
"skipped",
"pages",
"and",
"1",
"not",
"skipped",
"page"
] | [
"when",
"(",
"page",
"1",
"can",
"skip",
"(",
")",
")",
"then",
"return",
"(",
"false",
")",
";",
"when",
"(",
"page",
"2",
"can",
"skip",
"(",
")",
")",
"then",
"return",
"(",
"false",
")",
";",
"when",
"(",
"page",
"3",
"can",
"skip",
"(",
... |
[
"in",
"case",
"the",
"wizard",
"has",
"got",
"2",
"not",
"skipped",
"pages",
"and",
"2",
"skipped",
"page"
] | [
"when",
"(",
"page",
"1",
"can",
"skip",
"(",
")",
")",
"then",
"return",
"(",
"false",
")",
";",
"when",
"(",
"page",
"2",
"can",
"skip",
"(",
")",
")",
"then",
"return",
"(",
"false",
")",
";",
"when",
"(",
"page",
"3",
"can",
"skip",
"(",
... |
[
"verifies",
"that",
"the",
"given",
"path",
"eventually",
"appears",
"on",
"/",
"disappears",
"from",
"<",
"tt",
">",
"fs",
"<",
"/",
"tt",
">",
"within",
"<",
"tt",
">",
"deadline",
"<",
"/",
"tt",
">",
"nanoseconds"
] | [
"boolean",
"dir",
"exists",
";",
"while",
"(",
"(",
"dir",
"exists",
"=",
"fs",
"exists",
"(",
"path",
")",
")",
"!",
"=",
"expected",
"exists",
"&",
"&",
"system",
"nano",
"time",
"(",
")",
"<",
"deadline",
")",
"{",
"thread",
"sleep",
"(",
"10",
... |
[
"if",
"we",
"use",
"injection",
"we",
"can",
"have",
"different",
"arrays",
"lengths",
"we",
"need",
"synchronize",
"them",
"for",
"consistency",
"behavior",
"with",
"ui"
] | [
"int",
"nr",
"fields",
"=",
"(",
"subject",
"field",
"=",
"=",
"null",
")",
"?",
"-",
"1",
":",
"subject",
"field",
"length",
";",
"if",
"(",
"nr",
"fields",
"<",
"=",
"0",
")",
"{",
"return",
";",
"}",
"string",
"[",
"]",
"[",
"]",
"rtn",
"=... |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"operation",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"actions",
"=",
"=",
"null",
")",
"{",
"actions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"action",
">",
"(",
")",
";",
"}",
"return",
"actions",
";"
] |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"operation",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"actions",
"=",
"=",
"null",
")",
"{",
"this",
"actions",
"=",
"null",
";",
"return",
";",
"}",
"this",
"actions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"action",
">",
"(",
"actions",... |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"operation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
... | [
"if",
"(",
"this",
"actions",
"=",
"=",
"null",
")",
"{",
"set",
"actions",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"action",
">",
"(",
"actions",
"length",
")",
")",
";",
"}",
"for",
"(",
"volu... |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"operation",
"<",
"/",
"p",
">"
] | [
"set",
"actions",
"(",
"actions",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"availability",
"zone",
"of",
"the",
"volume",
"<",
"/",
"p",
">"
] | [
"set",
"availability",
"zone",
"(",
"availability",
"zone",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"events",
"associated",
"with",
"the",
"volume",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"events",
"=",
"=",
"null",
")",
"{",
"events",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"event",
">",
"(",
")",
";",
"}",
"return",
"events",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"events",
"associated",
"with",
"the",
"volume",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"events",
"=",
"=",
"null",
")",
"{",
"this",
"events",
"=",
"null",
";",
"return",
";",
"}",
"this",
"events",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"event",
">",
"(",
"events",
")... |
[
"<",
"p",
">",
"a",
"list",
"of",
"events",
"associated",
"with",
"the",
"volume",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
... | [
"if",
"(",
"this",
"events",
"=",
"=",
"null",
")",
"{",
"set",
"events",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"volume",
"status",
"event",
">",
"(",
"events",
"length",
")",
")",
";",
"}",
"for",
"(",
"volume",... |
[
"<",
"p",
">",
"a",
"list",
"of",
"events",
"associated",
"with",
"the",
"volume",
"<",
"/",
"p",
">"
] | [
"set",
"events",
"(",
"events",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"volume",
"id",
"<",
"/",
"p",
">"
] | [
"set",
"volume",
"id",
"(",
"volume",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"volume",
"status",
"<",
"/",
"p",
">"
] | [
"this",
"volume",
"status",
"=",
"volume",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"volume",
"status",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"volume",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"volume",
"status",
"<",
"/",
"p",
">"
] | [
"set",
"volume",
"status",
"(",
"volume",
"status",
")",
";",
"return",
"this",
";"
] |
[
"override",
"in",
"subclasses"
] | [
"decimal",
"format",
"df",
"=",
"new",
"decimal",
"format",
"(",
")",
";",
"df",
"set",
"maximum",
"fraction",
"digits",
"(",
"2",
")",
";",
"df",
"set",
"rounding",
"mode",
"(",
"rounding",
"mode",
"half",
"up",
")",
";",
"return",
"df",
";"
] |
[
"/",
"*",
"set",
"an",
"url",
"to",
"the",
"german",
"open",
"thesaurus"
] | [
"if",
"(",
"token",
"!",
"=",
"null",
")",
"{",
"list",
"<",
"analyzed",
"token",
">",
"readings",
"=",
"token",
"get",
"readings",
"(",
")",
";",
"list",
"<",
"string",
">",
"lemmas",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"job",
"definition",
"used",
"in",
"the",
"job",
"run",
"in",
"question",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"name",
"(",
"job",
"name",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.