docstring_tokens list | code_tokens list |
|---|---|
[
"invariant",
":",
"{",
"@",
"code",
"has",
"reference",
"name",
"(",
")",
"}",
"is",
"true",
"if",
"and",
"only",
"if",
"{",
"@",
"code",
"get",
"reference",
"name",
"(",
")",
"}",
"returns",
"a",
"non",
"-",
"null",
"string"
] | [
"return",
"get",
"reference",
"name",
"(",
")",
"!",
"=",
"null",
";"
] |
[
"due",
"to",
"the",
"complexity",
"of",
"some",
"of",
"our",
"internal",
"type",
"systems",
"sometimes",
"we",
"have",
"different",
"types",
"constructed",
"by",
"the",
"same",
"constructor",
"in",
"other",
"parts",
"of",
"the",
"type",
"system",
"these",
"a... | [
"string",
"name",
"=",
"get",
"reference",
"name",
"(",
")",
";",
"if",
"(",
"name",
"!",
"=",
"null",
")",
"{",
"int",
"start",
"=",
"name",
"index",
"of",
"(",
"'",
"(",
"'",
")",
";",
"if",
"(",
"start",
"!",
"=",
"-",
"1",
")",
"{",
"in... |
[
"gets",
"this",
"object",
"s",
"constructor"
] | [
"public",
"abstract",
"function",
"type",
"get",
"constructor",
"(",
")",
";"
] |
[
"gets",
"the",
"implicit",
"prototype",
"(",
"a",
"k",
"a",
"the",
"{"
] | [
"public",
"abstract",
"object",
"type",
"get",
"implicit",
"prototype",
"(",
")",
";"
] |
[
"defines",
"a",
"property",
"whose",
"type",
"is",
"on",
"a",
"synthesized",
"object",
"these",
"objects",
"don",
"t",
"actually",
"exist",
"in",
"the",
"user",
"s",
"program",
"they",
"re",
"just",
"used",
"for",
"bookkeeping",
"in",
"the",
"type",
"syste... | [
"return",
"define",
"property",
"(",
"property",
"name",
",",
"type",
",",
"false",
",",
"property",
"node",
")",
";"
] |
[
"defines",
"a",
"property",
"<",
"p",
">"
] | [
"abstract",
"boolean",
"define",
"property",
"(",
"string",
"property",
"name",
",",
"j",
"s",
"type",
"type",
",",
"boolean",
"inferred",
",",
"node",
"property",
"node",
")",
";"
] |
[
"removes",
"the",
"declared",
"or",
"inferred",
"property",
"from",
"this",
"object",
"type"
] | [
"return",
"false",
";"
] |
[
"gets",
"the",
"node",
"corresponding",
"to",
"the",
"definition",
"of",
"the",
"specified",
"property",
"this",
"could",
"be",
"the",
"node",
"corresponding",
"to",
"declaration",
"of",
"the",
"property",
"or",
"the",
"node",
"corresponding",
"to",
"the",
"fi... | [
"property",
"p",
"=",
"get",
"slot",
"(",
"property",
"name",
")",
";",
"return",
"p",
"=",
"=",
"null",
"?",
"null",
":",
"p",
"get",
"node",
"(",
")",
";"
] |
[
"gets",
"the",
"doc",
"info",
"on",
"the",
"specified",
"property",
"on",
"this",
"type",
"this",
"should",
"not",
"be",
"implemented",
"recursively",
"as",
"you",
"generally",
"need",
"to",
"know",
"exactly",
"on",
"which",
"type",
"in",
"the",
"prototype",... | [
"property",
"p",
"=",
"get",
"own",
"slot",
"(",
"property",
"name",
")",
";",
"return",
"p",
"=",
"=",
"null",
"?",
"null",
":",
"p",
"get",
"j",
"s",
"doc",
"info",
"(",
")",
";"
] |
[
"gets",
"the",
"property",
"type",
"of",
"the",
"property",
"whose",
"name",
"is",
"given",
"if",
"the",
"underlying",
"object",
"does",
"not",
"have",
"this",
"property",
"the",
"unknown",
"type",
"is",
"returned",
"to",
"indicate",
"that",
"no",
"informati... | [
"static",
"typed",
"slot",
"slot",
"=",
"get",
"slot",
"(",
"property",
"name",
")",
";",
"if",
"(",
"slot",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"is",
"no",
"resolved",
"type",
"(",
")",
"|",
"|",
"is",
"checked",
"unknown",
"type",
"(",
")",
... |
[
"checks",
"whether",
"the",
"property",
"whose",
"name",
"is",
"given",
"is",
"present",
"directly",
"on",
"the",
"object",
"returns",
"false",
"even",
"if",
"it",
"is",
"declared",
"on",
"a",
"supertype"
] | [
"return",
"get",
"own",
"slot",
"(",
"property",
"name",
")",
"!",
"=",
"null",
"?",
"has",
"property",
"kind",
"known",
"present",
":",
"has",
"property",
"kind",
"absent",
";"
] |
[
"checks",
"whether",
"the",
"property",
"whose",
"name",
"is",
"given",
"is",
"present",
"directly",
"on",
"the",
"object",
"returns",
"false",
"even",
"if",
"it",
"is",
"declared",
"on",
"a",
"supertype"
] | [
"return",
"!",
"get",
"own",
"property",
"kind",
"(",
"property",
"name",
")",
"equals",
"(",
"has",
"property",
"kind",
"absent",
")",
";"
] |
[
"checks",
"whether",
"the",
"property",
"s",
"type",
"is",
"inferred"
] | [
"static",
"typed",
"slot",
"slot",
"=",
"get",
"slot",
"(",
"property",
"name",
")",
";",
"return",
"slot",
"=",
"=",
"null",
"?",
"false",
":",
"slot",
"is",
"type",
"inferred",
"(",
")",
";"
] |
[
"checks",
"whether",
"the",
"property",
"s",
"type",
"is",
"declared"
] | [
"static",
"typed",
"slot",
"slot",
"=",
"get",
"slot",
"(",
"property",
"name",
")",
";",
"return",
"slot",
"=",
"=",
"null",
"?",
"false",
":",
"!",
"slot",
"is",
"type",
"inferred",
"(",
")",
";"
] |
[
"whether",
"the",
"given",
"property",
"is",
"declared",
"on",
"this",
"object"
] | [
"return",
"has",
"own",
"property",
"(",
"name",
")",
"&",
"&",
"is",
"property",
"type",
"declared",
"(",
"name",
")",
";"
] |
[
"checks",
"whether",
"the",
"property",
"was",
"defined",
"in",
"the",
"externs"
] | [
"property",
"p",
"=",
"get",
"slot",
"(",
"property",
"name",
")",
";",
"return",
"p",
"=",
"=",
"null",
"?",
"false",
":",
"p",
"is",
"from",
"externs",
"(",
")",
";"
] |
[
"gets",
"the",
"number",
"of",
"properties",
"of",
"this",
"object"
] | [
"return",
"get",
"property",
"map",
"(",
")",
"get",
"properties",
"count",
"(",
")",
";"
] |
[
"check",
"for",
"structural",
"equivalence",
"with",
"{"
] | [
"if",
"(",
"this",
"is",
"templatized",
"type",
"(",
")",
"&",
"&",
"this",
"to",
"maybe",
"templatized",
"type",
"(",
")",
"wraps",
"same",
"raw",
"type",
"(",
"other",
"object",
")",
")",
"{",
"return",
"this",
"get",
"template",
"type",
"map",
"("... |
[
"returns",
"a",
"list",
"of",
"properties",
"defined",
"or",
"inferred",
"on",
"this",
"type",
"and",
"any",
"of",
"its",
"supertypes"
] | [
"set",
"<",
"string",
">",
"props",
"=",
"new",
"tree",
"set",
"<",
">",
"(",
")",
";",
"collect",
"property",
"names",
"(",
"props",
")",
";",
"return",
"props",
";"
] |
[
"adds",
"any",
"properties",
"defined",
"on",
"this",
"type",
"or",
"its",
"supertypes",
"to",
"the",
"set"
] | [
"get",
"property",
"map",
"(",
")",
"collect",
"property",
"names",
"(",
"props",
")",
";"
] |
[
"checks",
"that",
"the",
"prototype",
"is",
"an",
"implicit",
"prototype",
"of",
"this",
"object",
"since",
"each",
"object",
"has",
"an",
"implicit",
"prototype",
"an",
"implicit",
"prototype",
"s",
"implicit",
"prototype",
"is",
"also",
"this",
"implicit",
"... | [
"for",
"(",
"object",
"type",
"current",
"=",
"this",
";",
"current",
"!",
"=",
"null",
";",
"current",
"=",
"current",
"get",
"implicit",
"prototype",
"(",
")",
")",
"{",
"if",
"(",
"current",
"is",
"templatized",
"type",
"(",
")",
")",
"{",
"curren... |
[
"returns",
"true",
"if",
"any",
"cached",
"values",
"have",
"been",
"set",
"for",
"this",
"type",
"if",
"true",
"then",
"the",
"prototype",
"chain",
"should",
"not",
"be",
"changed",
"as",
"it",
"might",
"invalidate",
"the",
"cached",
"values"
] | [
"return",
"!",
"unknown",
";"
] |
[
"clear",
"cached",
"values",
"should",
"be",
"called",
"before",
"making",
"changes",
"to",
"a",
"prototype",
"that",
"may",
"have",
"been",
"changed",
"since",
"creation"
] | [
"unknown",
"=",
"true",
";"
] |
[
"a",
"null",
"-",
"safe",
"version",
"of",
"j",
"s",
"type",
"#",
"to",
"object",
"type"
] | [
"return",
"type",
"=",
"=",
"null",
"?",
"null",
":",
"type",
"to",
"object",
"type",
"(",
")",
";"
] |
[
"sets",
"the",
"owner",
"function",
"by",
"default",
"does",
"nothing"
] | [] |
[
"gets",
"the",
"interfaces",
"implemented",
"by",
"the",
"ctor",
"associated",
"with",
"this",
"type",
"intended",
"to",
"be",
"overridden",
"by",
"subclasses"
] | [
"return",
"immutable",
"set",
"of",
"(",
")",
";"
] |
[
"gets",
"the",
"interfaces",
"extended",
"by",
"the",
"interface",
"associated",
"with",
"this",
"type",
"intended",
"to",
"be",
"overridden",
"by",
"subclasses"
] | [
"return",
"immutable",
"set",
"of",
"(",
")",
";"
] |
[
"get",
"the",
"map",
"of",
"properties",
"to",
"types",
"covered",
"in",
"an",
"object",
"type"
] | [
"immutable",
"map",
"builder",
"<",
"string",
",",
"j",
"s",
"type",
">",
"prop",
"type",
"map",
"=",
"immutable",
"map",
"builder",
"(",
")",
";",
"for",
"(",
"string",
"name",
":",
"this",
"get",
"property",
"names",
"(",
")",
")",
"{",
"prop",
"... |
[
"if",
"not",
"time",
"out",
"value",
"is",
"specified",
"expire",
"the",
"ticket",
"immediately"
] | [
"val",
"ttl",
"=",
"ticket",
"get",
"expiration",
"policy",
"(",
")",
"get",
"time",
"to",
"live",
"(",
")",
"int",
"value",
"(",
")",
";",
"if",
"(",
"ttl",
"=",
"=",
"0",
")",
"{",
"return",
"1",
";",
"}",
"return",
"ttl",
";"
] |
[
"destroy",
"the",
"client",
"and",
"shut",
"down"
] | [
"this",
"connection",
"pool",
"close",
"(",
")",
";"
] |
[
"transfers",
"data",
"from",
"the",
"given",
"byte",
"buffer",
"to",
"file"
] | [
"assert",
"src",
"buffer",
"has",
"array",
"(",
")",
";",
"buffer",
"array",
"put",
"multiple",
"(",
"offset",
",",
"src",
"buffer",
"remaining",
"(",
")",
",",
"src",
"buffer",
"array",
"(",
")",
",",
"src",
"buffer",
"array",
"offset",
"(",
")",
")... |
[
"gets",
"the",
"item",
"that",
"broke"
] | [
"return",
"broken",
"item",
";"
] |
[
"{"
] | [
"one",
"locals",
"array",
"result",
"=",
"new",
"one",
"locals",
"array",
"(",
"locals",
"length",
")",
";",
"system",
"arraycopy",
"(",
"locals",
",",
"0",
",",
"result",
"locals",
",",
"0",
",",
"locals",
"length",
")",
";",
"return",
"result",
";"
] |
[
"{"
] | [
"return",
"locals",
"length",
";"
] |
[
"{"
] | [
"set",
"(",
"spec",
"get",
"reg",
"(",
")",
",",
"spec",
")",
";"
] |
[
"{"
] | [
"throw",
"if",
"immutable",
"(",
")",
";",
"locals",
"[",
"idx",
"]",
"=",
"null",
";"
] |
[
"{"
] | [
"return",
"locals",
"[",
"idx",
"]",
";"
] |
[
"{"
] | [
"locals",
"array",
"set",
"result",
"=",
"new",
"locals",
"array",
"set",
"(",
"get",
"max",
"locals",
"(",
")",
")",
";",
"return",
"result",
"merge",
"with",
"subroutine",
"caller",
"(",
"other",
",",
"pred",
"label",
")",
";"
] |
[
"{"
] | [
"return",
"this",
";"
] |
[
"helper",
"to",
"get",
"around",
"the",
"fact",
"that",
"{"
] | [
"return",
"suppliers",
"memoize",
"(",
"suppliers",
"compose",
"(",
"new",
"json",
"to",
"schema",
"(",
")",
",",
"suppliers",
"of",
"instance",
"(",
"json",
"schema",
")",
")",
")",
";"
] |
[
"returns",
"true",
"if",
"t",
"1",
"=",
"=",
"t",
"2",
"or",
"t",
"1",
"is",
"a",
"union",
"type",
"that",
"contains",
"t",
"2"
] | [
"if",
"(",
"t",
"1",
"instanceof",
"union",
"type",
")",
"{",
"return",
"(",
"(",
"union",
"type",
")",
"t",
"1",
")",
"contains",
"(",
"t",
"2",
")",
";",
"}",
"else",
"{",
"return",
"t",
"1",
"equals",
"(",
"t",
"2",
")",
";",
"}"
] |
[
"with",
"preference",
":",
"other",
">",
"none",
">",
"cont",
">",
"unknown"
] | [
"if",
"(",
"u",
"equals",
"(",
"v",
")",
")",
"{",
"return",
"u",
";",
"}",
"else",
"if",
"(",
"u",
"=",
"=",
"type",
"unknown",
")",
"{",
"return",
"v",
";",
"}",
"else",
"if",
"(",
"v",
"=",
"=",
"type",
"unknown",
")",
"{",
"return",
"u"... |
[
"returns",
"the",
"first",
"alternate",
"whose",
"type",
"is",
"not",
"unknown",
"and",
"is",
"not",
"{",
"@",
"link",
"org",
"yinwang",
"rubysonar",
"analyzer",
"idx",
"builtins",
"none",
"}"
] | [
"for",
"(",
"type",
"type",
":",
"types",
")",
"{",
"if",
"(",
"!",
"type",
"is",
"unknown",
"type",
"(",
")",
"&",
"&",
"type",
"!",
"=",
"type",
"nil",
")",
"{",
"return",
"type",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"base",
"constructor",
"to",
"construct",
"incoming",
"documents"
] | [
"this",
"constructor",
"=",
"constructor",
";"
] |
[
"representer",
"to",
"emit",
"outgoing",
"objects"
] | [
"this",
"representer",
"=",
"representer",
";"
] |
[
"dumper",
"options",
"to",
"configure",
"outgoing",
"objects"
] | [
"this",
"dumper",
"options",
"=",
"dumper",
"options",
";"
] |
[
"resolver",
"to",
"detect",
"implicit",
"type"
] | [
"this",
"resolver",
"=",
"resolver",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"this",
"unmarshal",
"type",
";"
] |
[
"class",
"of",
"the",
"object",
"to",
"be",
"created"
] | [
"this",
"unmarshal",
"type",
"=",
"unmarshal",
"type",
";",
"add",
"type",
"filters",
"(",
"type",
"filters",
"types",
"(",
"unmarshal",
"type",
")",
")",
";"
] |
[
"make",
"yaml",
"aware",
"how",
"to",
"parse",
"a",
"custom",
"class"
] | [
"this",
"type",
"descriptions",
"=",
"new",
"copy",
"on",
"write",
"array",
"list",
"<",
">",
"(",
"type",
"descriptions",
")",
";"
] |
[
"define",
"a",
"tag",
"for",
"the",
"<",
"code",
">",
"class",
"<",
"/",
"code",
">",
"to",
"serialize"
] | [
"this",
"class",
"tags",
"=",
"new",
"concurrent",
"hash",
"map",
"<",
">",
"(",
")",
";",
"this",
"class",
"tags",
"put",
"all",
"(",
"class",
"tags",
")",
";"
] |
[
"use",
"application",
"context",
"class",
"loader",
"as",
"custom",
"class",
"loader"
] | [
"this",
"use",
"application",
"context",
"class",
"loader",
"=",
"use",
"application",
"context",
"class",
"loader",
";"
] |
[
"force",
"the",
"emitter",
"to",
"produce",
"a",
"pretty",
"yaml",
"document",
"when",
"using",
"the",
"flow",
"style"
] | [
"this",
"pretty",
"flow",
"=",
"pretty",
"flow",
";"
] |
[
"convenience",
"method",
"to",
"set",
"class",
"tag",
"for",
"bot",
"<",
"code",
">",
"constructor",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"representer",
"<",
"/",
"code",
">"
] | [
"add",
"class",
"tags",
"(",
"type",
",",
"tag",
")",
";",
"add",
"type",
"description",
"(",
"type",
",",
"tag",
")",
";"
] |
[
"set",
"the",
"types",
"snake",
"y",
"a",
"m",
"l",
"is",
"allowed",
"to",
"un",
"-",
"marshall"
] | [
"this",
"type",
"filters",
"=",
"new",
"copy",
"on",
"write",
"array",
"list",
"<",
">",
"(",
"type",
"filters",
")",
";"
] |
[
"allow",
"any",
"class",
"to",
"be",
"un",
"-",
"marshaled"
] | [
"this",
"allow",
"any",
"type",
"=",
"allow",
"any",
"type",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] | [
"class",
"loader",
"yaml",
"class",
"loader",
"=",
"this",
"class",
"loader",
";",
"collection",
"<",
"type",
"filter",
">",
"yaml",
"type",
"filters",
"=",
"this",
"type",
"filters",
";",
"if",
"(",
"yaml",
"class",
"loader",
"=",
"=",
"null",
"&",
"&... |
[
"gets",
"the",
"number",
"of",
"states",
"contained",
"in",
"this",
"drawable"
] | [
"return",
"m",
"state",
"list",
"state",
"get",
"child",
"count",
"(",
")",
";"
] |
[
"gets",
"the",
"state",
"set",
"at",
"an",
"index"
] | [
"return",
"m",
"state",
"list",
"state",
"m",
"state",
"sets",
"[",
"index",
"]",
";"
] |
[
"gets",
"the",
"drawable",
"at",
"an",
"index"
] | [
"return",
"m",
"state",
"list",
"state",
"get",
"child",
"(",
"index",
")",
";"
] |
[
"gets",
"the",
"index",
"of",
"the",
"drawable",
"with",
"the",
"provided",
"state",
"set"
] | [
"return",
"m",
"state",
"list",
"state",
"index",
"of",
"state",
"set",
"(",
"state",
"set",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"<",
"a",
">",
"ip",
"route",
"<",
"/",
"a",
">",
"s",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"ip",
"routes",
"info",
"=",
"=",
"null",
")",
"{",
"ip",
"routes",
"info",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"ip",
"route",
"info",
">",
"(",
")",
";",
"}",
"return",
"ip",
"routes",
"info",
";"... |
[
"<",
"p",
">",
"a",
"list",
"of",
"<",
"a",
">",
"ip",
"route",
"<",
"/",
"a",
">",
"s",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"ip",
"routes",
"info",
"=",
"=",
"null",
")",
"{",
"this",
"ip",
"routes",
"info",
"=",
"null",
";",
"return",
";",
"}",
"this",
"ip",
"routes",
"info",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"ip",
"... |
[
"<",
"p",
">",
"a",
"list",
"of",
"<",
"a",
">",
"ip",
"route",
"<",
"/",
"a",
">",
"s",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existi... | [
"if",
"(",
"this",
"ip",
"routes",
"info",
"=",
"=",
"null",
")",
"{",
"set",
"ip",
"routes",
"info",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"ip",
"route",
"info",
">",
"(",
"ip",
"routes",
"info",
"length",
")",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"<",
"a",
">",
"ip",
"route",
"<",
"/",
"a",
">",
"s",
"<",
"/",
"p",
">"
] | [
"set",
"ip",
"routes",
"info",
"(",
"ip",
"routes",
"info",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"not",
"null",
"more",
"results",
"are",
"available",
"pass",
"this",
"value",
"for",
"the",
"<",
"i",
">",
"next",
"token",
"<",
"/",
"i",
">",
"parameter",
"in",
"a",
"subsequent",
"call",
"to",
"<",
"a",
">",
"list",
"ip",
... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"@",
"override",
"public",
"abstract",
"<",
"k",
">",
"abstract",
"keyed",
"state",
"backend",
"<",
"k",
">",
"create",
"keyed",
"state",
"backend",
"(",
"environment",
"env",
",",
"job",
"i",
"d",
"job",
"i",
"d",
",",
"string",
"operator",
"identifier"... |
[
"returns",
"true",
"if",
"the",
"device",
"is",
"not",
"provisioned",
"yet",
"(",
"in",
"setup",
"wizard",
")",
"false",
"otherwise"
] | [
"return",
"settings",
"global",
"get",
"int",
"(",
"context",
"get",
"content",
"resolver",
"(",
")",
",",
"settings",
"global",
"device",
"provisioned",
",",
"0",
")",
"=",
"=",
"1",
";"
] |
[
"static",
"utility",
"function",
"to",
"schedule",
"a",
"job",
"to",
"execute",
"upon",
"the",
"change",
"of",
"content",
"uri",
"{"
] | [
"if",
"(",
"is",
"provisioned",
"(",
"context",
")",
")",
"{",
"return",
"false",
";",
"}",
"int",
"job",
"id",
";",
"switch",
"(",
"intent",
"get",
"action",
"(",
")",
")",
"{",
"case",
"telephony",
"intents",
"action",
"carrier",
"signal",
"redirecte... |
[
"<",
"p",
">",
"name",
"of",
"the",
"running",
"application",
"to",
"stop",
"<",
"/",
"p",
">"
] | [
"set",
"application",
"name",
"(",
"application",
"name",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"tx",
"row",
"row",
"0",
"=",
"(",
"tx",
"row",
")",
"row",
";",
"set",
"major",
"(",
"page",
"addr",
",",
"off",
",",
"row",
"0",
"major",
"(",
")",
")",
";",
"set",
"minor",
"(",
"page",
"addr",
",",
"off",
",",
"row",
"0",
"minor",
"(",
... |
[
"{"
] | [
"tx",
"log",
"i",
"o",
"src",
"io",
"0",
"=",
"(",
"tx",
"log",
"i",
"o",
")",
"src",
"io",
";",
"int",
"src",
"off",
"=",
"src",
"io",
"offset",
"(",
"src",
"idx",
")",
";",
"int",
"dst",
"off",
"=",
"offset",
"(",
"dst",
"idx",
")",
";",
... |
[
"{"
] | [
"int",
"off",
"=",
"offset",
"(",
"idx",
")",
";",
"return",
"new",
"tx",
"row",
"(",
"get",
"major",
"(",
"page",
"addr",
",",
"off",
")",
",",
"get",
"minor",
"(",
"page",
"addr",
",",
"off",
")",
",",
"get",
"state",
"(",
"page",
"addr",
","... |
[
"{"
] | [
"int",
"cmp",
"=",
"long",
"compare",
"(",
"get",
"major",
"(",
"page",
"addr",
",",
"off",
")",
",",
"row",
"major",
"(",
")",
")",
";",
"return",
"cmp",
"!",
"=",
"0",
"?",
"cmp",
":",
"long",
"compare",
"(",
"get",
"minor",
"(",
"page",
"add... |
[
"{"
] | [
"return",
"page",
"utils",
"get",
"long",
"(",
"page",
"addr",
",",
"off",
")",
";"
] |
[
"{"
] | [
"page",
"utils",
"put",
"long",
"(",
"page",
"addr",
",",
"off",
",",
"major",
")",
";"
] |
[
"{"
] | [
"return",
"page",
"utils",
"get",
"long",
"(",
"page",
"addr",
",",
"off",
"+",
"8",
")",
";"
] |
[
"{"
] | [
"page",
"utils",
"put",
"long",
"(",
"page",
"addr",
",",
"off",
"+",
"8",
",",
"minor",
")",
";"
] |
[
"{"
] | [
"return",
"page",
"utils",
"get",
"byte",
"(",
"page",
"addr",
",",
"off",
"+",
"16",
")",
";"
] |
[
"{"
] | [
"page",
"utils",
"put",
"byte",
"(",
"page",
"addr",
",",
"off",
"+",
"16",
",",
"state",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"elements",
"in",
"this",
"apply",
"transform",
"to",
"destination",
"(",
"its",
"cardinality",
")",
"if",
"this",
"apply",
"transform",
"to",
"destination",
"contains",
"more",
"than",
"<",
"tt",
">",
"integer",
"max",
"val... | [
"return",
"backed",
"set",
"size",
"(",
")",
";"
] |
[
"returns",
"<",
"tt",
">",
"true",
"<",
"/",
"tt",
">",
"if",
"this",
"apply",
"transform",
"to",
"destination",
"contains",
"no",
"elements"
] | [
"return",
"backed",
"set",
"is",
"empty",
"(",
")",
";"
] |
[
"returns",
"<",
"tt",
">",
"true",
"<",
"/",
"tt",
">",
"if",
"this",
"apply",
"transform",
"to",
"destination",
"contains",
"the",
"specified",
"element",
"more",
"formally",
"returns",
"<",
"tt",
">",
"true",
"<",
"/",
"tt",
">",
"if",
"and",
"only",... | [
"return",
"backed",
"set",
"contains",
"(",
"o",
")",
";"
] |
[
"returns",
"an",
"iterator",
"over",
"the",
"elements",
"in",
"this",
"apply",
"transform",
"to",
"destination",
"the",
"elements",
"are",
"returned",
"in",
"no",
"particular",
"order",
"(",
"unless",
"this",
"apply",
"transform",
"to",
"destination",
"is",
"a... | [
"return",
"backed",
"set",
"iterator",
"(",
")",
";"
] |
[
"returns",
"an",
"array",
"containing",
"all",
"of",
"the",
"elements",
"in",
"this",
"apply",
"transform",
"to",
"destination",
"if",
"this",
"apply",
"transform",
"to",
"destination",
"makes",
"any",
"guarantees",
"as",
"to",
"what",
"order",
"its",
"element... | [
"return",
"backed",
"set",
"to",
"array",
"(",
")",
";"
] |
[
"returns",
"an",
"array",
"containing",
"all",
"of",
"the",
"elements",
"in",
"this",
"apply",
"transform",
"to",
"destination",
";",
"the",
"runtime",
"type",
"of",
"the",
"returned",
"array",
"is",
"that",
"of",
"the",
"specified",
"array",
"if",
"the",
... | [
"return",
"backed",
"set",
"to",
"array",
"(",
"a",
")",
";"
] |
[
"adds",
"the",
"specified",
"element",
"to",
"this",
"apply",
"transform",
"to",
"destination",
"if",
"it",
"is",
"not",
"already",
"present",
"(",
"optional",
"operation",
")",
"more",
"formally",
"adds",
"the",
"specified",
"element",
"<",
"tt",
">",
"e",
... | [
"return",
"backed",
"set",
"add",
"(",
"kv",
"pair",
")",
";"
] |
[
"removes",
"the",
"specified",
"element",
"from",
"this",
"apply",
"transform",
"to",
"destination",
"if",
"it",
"is",
"present",
"(",
"optional",
"operation",
")",
"more",
"formally",
"removes",
"an",
"element",
"<",
"tt",
">",
"e",
"<",
"/",
"tt",
">",
... | [
"return",
"backed",
"set",
"remove",
"(",
"o",
")",
";"
] |
[
"returns",
"<",
"tt",
">",
"true",
"<",
"/",
"tt",
">",
"if",
"this",
"apply",
"transform",
"to",
"destination",
"contains",
"all",
"of",
"the",
"elements",
"of",
"the",
"specified",
"collection",
"if",
"the",
"specified",
"collection",
"is",
"also",
"a",
... | [
"return",
"backed",
"set",
"contains",
"all",
"(",
"c",
")",
";"
] |
[
"adds",
"all",
"of",
"the",
"elements",
"in",
"the",
"specified",
"collection",
"to",
"this",
"apply",
"transform",
"to",
"destination",
"if",
"they",
"re",
"not",
"already",
"present",
"(",
"optional",
"operation",
")",
"if",
"the",
"specified",
"collection",... | [
"return",
"backed",
"set",
"add",
"all",
"(",
"c",
")",
";"
] |
[
"retains",
"only",
"the",
"elements",
"in",
"this",
"apply",
"transform",
"to",
"destination",
"that",
"are",
"contained",
"in",
"the",
"specified",
"collection",
"(",
"optional",
"operation",
")",
"in",
"other",
"words",
"removes",
"from",
"this",
"apply",
"t... | [
"return",
"backed",
"set",
"retain",
"all",
"(",
"c",
")",
";"
] |
[
"removes",
"from",
"this",
"apply",
"transform",
"to",
"destination",
"all",
"of",
"its",
"elements",
"that",
"are",
"contained",
"in",
"the",
"specified",
"collection",
"(",
"optional",
"operation",
")",
"if",
"the",
"specified",
"collection",
"is",
"also",
"... | [
"return",
"backed",
"set",
"remove",
"all",
"(",
"c",
")",
";"
] |
[
"removes",
"all",
"of",
"the",
"elements",
"from",
"this",
"apply",
"transform",
"to",
"destination",
"(",
"optional",
"operation",
")",
"the",
"apply",
"transform",
"to",
"destination",
"will",
"be",
"empty",
"after",
"this",
"call",
"returns"
] | [
"backed",
"set",
"clear",
"(",
")",
";"
] |
[
"fetch",
"ip",
"address",
"for",
"this",
"url"
] | [
"if",
"(",
"ip",
"=",
"=",
"null",
")",
"{",
"ip",
"=",
"net",
"utils",
"get",
"ip",
"by",
"host",
"(",
"host",
")",
";",
"}",
"return",
"ip",
";"
] |
[
"<",
"p",
">",
"amazon",
"work",
"docs",
"authentication",
"token",
"do",
"not",
"set",
"this",
"field",
"when",
"using",
"administrative",
"api",
"actions",
"as",
"in",
"accessing",
"the",
"api",
"using",
"aws",
"credentials",
"<",
"/",
"p",
">"
] | [
"set",
"authentication",
"token",
"(",
"authentication",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"folder",
"<",
"/",
"p",
">"
] | [
"this",
"folder",
"id",
"=",
"folder",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"folder",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"folder",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"folder",
"<",
"/",
"p",
">"
] | [
"set",
"folder",
"id",
"(",
"folder",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"folder",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"parent",
"folder",
"<",
"/",
"p",
">"
] | [
"this",
"parent",
"folder",
"id",
"=",
"parent",
"folder",
"id",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.