docstring_tokens
list | code_tokens
list |
---|---|
[
"test",
"whether",
"this",
"location",
"is",
"within",
"the",
"location",
"area",
"of",
"the",
"specified",
"object"
] |
[
"if",
"(",
"m",
"cid",
"!",
"=",
"-",
"1",
"&",
"&",
"m",
"cid",
"!",
"=",
"area",
"m",
"cid",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"lac",
"!",
"=",
"-",
"1",
"&",
"&",
"m",
"lac",
"!",
"=",
"area",
"m",
"lac",
")",
"{",
"return",
"false",
";",
"}",
"return",
"m",
"plmn",
"equals",
"(",
"area",
"m",
"plmn",
")",
";"
] |
[
"test",
"whether",
"this",
"location",
"is",
"within",
"the",
"location",
"area",
"of",
"the",
"cell",
"location"
] |
[
"if",
"(",
"!",
"m",
"plmn",
"equals",
"(",
"plmn",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"lac",
"!",
"=",
"-",
"1",
"&",
"&",
"m",
"lac",
"!",
"=",
"lac",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"m",
"cid",
"!",
"=",
"-",
"1",
"&",
"&",
"m",
"cid",
"!",
"=",
"cid",
")",
"{",
"return",
"false",
";",
"}",
"return",
"true",
";"
] |
[
"flatten",
"this",
"object",
"into",
"a",
"parcel"
] |
[
"dest",
"write",
"string",
"(",
"m",
"plmn",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"lac",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"cid",
")",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"string",
"is",
"used",
"when",
"you",
"call",
"the",
"<",
"code",
">",
"list",
"phone",
"numbers",
"opted",
"out",
"<",
"/",
"code",
">",
"action",
"to",
"retrieve",
"additional",
"records",
"that",
"are",
"available",
"after",
"the",
"first",
"page",
"of",
"results",
"<",
"/",
"p",
">"
] |
[
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"solr",
"core",
"name"
] |
[
"return",
"get",
"str",
"(",
"zk",
"state",
"reader",
"core",
"name",
"prop",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"certificate",
"<",
"/",
"p",
">"
] |
[
"set",
"certificate",
"name",
"(",
"certificate",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"base",
"6",
"4",
"encoded",
"binary",
"representation",
"of",
"the",
"code",
"signing",
"certificate",
"chain",
"<",
"/",
"p",
">"
] |
[
"this",
"inline",
"document",
"=",
"inline",
"document",
";"
] |
[
"<",
"p",
">",
"a",
"base",
"6",
"4",
"encoded",
"binary",
"representation",
"of",
"the",
"code",
"signing",
"certificate",
"chain",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"inline",
"document",
";"
] |
[
"<",
"p",
">",
"a",
"base",
"6",
"4",
"encoded",
"binary",
"representation",
"of",
"the",
"code",
"signing",
"certificate",
"chain",
"<",
"/",
"p",
">"
] |
[
"set",
"inline",
"document",
"(",
"inline",
"document",
")",
";",
"return",
"this",
";"
] |
[
"build",
"a",
"file",
"used",
"to",
"be",
"inserted",
"in",
"the",
"disk",
"cache"
] |
[
"final",
"string",
"builder",
"file",
"name",
"builder",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"file",
"name",
"builder",
"append",
"(",
"this",
"cache",
"dir",
"get",
"path",
"(",
")",
")",
";",
"file",
"name",
"builder",
"append",
"(",
"file",
"separator",
")",
";",
"file",
"name",
"builder",
"append",
"(",
"default",
"file",
"name",
")",
";",
"file",
"name",
"builder",
"append",
"(",
"user",
"id",
")",
";",
"return",
"new",
"file",
"(",
"file",
"name",
"builder",
"to",
"string",
"(",
")",
")",
";"
] |
[
"set",
"in",
"millis",
"the",
"last",
"time",
"the",
"cache",
"was",
"accessed"
] |
[
"final",
"long",
"current",
"millis",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"this",
"file",
"manager",
"write",
"to",
"preferences",
"(",
"this",
"context",
",",
"settings",
"file",
"name",
",",
"settings",
"key",
"last",
"cache",
"update",
",",
"current",
"millis",
")",
";"
] |
[
"get",
"in",
"millis",
"the",
"last",
"time",
"the",
"cache",
"was",
"accessed"
] |
[
"return",
"this",
"file",
"manager",
"get",
"from",
"preferences",
"(",
"this",
"context",
",",
"settings",
"file",
"name",
",",
"settings",
"key",
"last",
"cache",
"update",
")",
";"
] |
[
"executes",
"a",
"{",
"@",
"link",
"runnable",
"}",
"in",
"another",
"thread"
] |
[
"this",
"thread",
"executor",
"execute",
"(",
"runnable",
")",
";"
] |
[
"<",
"p",
">",
"the",
"der",
"encoded",
"public",
"key",
"value",
"in",
"pkcs",
"#",
"1",
"format",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"aws",
"sdk",
"for",
"java",
"performs",
"a",
"base",
"6",
"4",
"encoding",
"on",
"this",
"field",
"before",
"sending",
"this",
"request",
"to",
"the",
"aws",
"service",
"users",
"of",
"the",
"sdk",
"should",
"not",
"perform",
"base",
"6",
"4",
"encoding",
"on",
"this",
"field",
"<",
"/",
"p",
">",
"<",
"p",
">",
"warning",
":",
"byte",
"buffers",
"returned",
"by",
"the",
"sdk",
"are",
"mutable",
"changes",
"to",
"the",
"content",
"or",
"position",
"of",
"the",
"byte",
"buffer",
"will",
"be",
"seen",
"by",
"all",
"objects",
"that",
"have",
"a",
"reference",
"to",
"this",
"object",
"it",
"is",
"recommended",
"to",
"call",
"byte",
"buffer",
"duplicate",
"(",
")",
"or",
"byte",
"buffer",
"as",
"read",
"only",
"buffer",
"(",
")",
"before",
"using",
"or",
"reading",
"from",
"the",
"buffer",
"this",
"behavior",
"will",
"be",
"changed",
"in",
"a",
"future",
"major",
"version",
"of",
"the",
"sdk",
"<",
"/",
"p",
">"
] |
[
"this",
"value",
"=",
"value",
";"
] |
[
"<",
"p",
">",
"the",
"der",
"encoded",
"public",
"key",
"value",
"in",
"pkcs",
"#",
"1",
"format",
"<",
"/",
"p",
">",
"<",
"p",
">",
"{",
"@",
"code",
"byte",
"buffer",
"}",
"s",
"are",
"stateful",
"calling",
"their",
"{",
"@",
"code",
"get",
"}",
"methods",
"changes",
"their",
"{",
"@",
"code",
"position",
"}",
"we",
"recommend",
"using",
"{",
"@",
"link",
"java",
"nio",
"byte",
"buffer",
"#",
"as",
"read",
"only",
"buffer",
"(",
")",
"}",
"to",
"create",
"a",
"read",
"-",
"only",
"view",
"of",
"the",
"buffer",
"with",
"an",
"independent",
"{",
"@",
"code",
"position",
"}",
"and",
"calling",
"{",
"@",
"code",
"get",
"}",
"methods",
"on",
"this",
"rather",
"than",
"directly",
"on",
"the",
"returned",
"{",
"@",
"code",
"byte",
"buffer",
"}",
"doing",
"so",
"will",
"ensure",
"that",
"anyone",
"else",
"using",
"the",
"{",
"@",
"code",
"byte",
"buffer",
"}",
"will",
"not",
"be",
"affected",
"by",
"changes",
"to",
"the",
"{",
"@",
"code",
"position",
"}",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"value",
";"
] |
[
"<",
"p",
">",
"the",
"der",
"encoded",
"public",
"key",
"value",
"in",
"pkcs",
"#",
"1",
"format",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"aws",
"sdk",
"for",
"java",
"performs",
"a",
"base",
"6",
"4",
"encoding",
"on",
"this",
"field",
"before",
"sending",
"this",
"request",
"to",
"the",
"aws",
"service",
"users",
"of",
"the",
"sdk",
"should",
"not",
"perform",
"base",
"6",
"4",
"encoding",
"on",
"this",
"field",
"<",
"/",
"p",
">",
"<",
"p",
">",
"warning",
":",
"byte",
"buffers",
"returned",
"by",
"the",
"sdk",
"are",
"mutable",
"changes",
"to",
"the",
"content",
"or",
"position",
"of",
"the",
"byte",
"buffer",
"will",
"be",
"seen",
"by",
"all",
"objects",
"that",
"have",
"a",
"reference",
"to",
"this",
"object",
"it",
"is",
"recommended",
"to",
"call",
"byte",
"buffer",
"duplicate",
"(",
")",
"or",
"byte",
"buffer",
"as",
"read",
"only",
"buffer",
"(",
")",
"before",
"using",
"or",
"reading",
"from",
"the",
"buffer",
"this",
"behavior",
"will",
"be",
"changed",
"in",
"a",
"future",
"major",
"version",
"of",
"the",
"sdk",
"<",
"/",
"p",
">"
] |
[
"set",
"value",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"starting",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"this",
"validity",
"start",
"time",
"=",
"validity",
"start",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"starting",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"validity",
"start",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"starting",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"set",
"validity",
"start",
"time",
"(",
"validity",
"start",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"ending",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"this",
"validity",
"end",
"time",
"=",
"validity",
"end",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"ending",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"validity",
"end",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"ending",
"time",
"of",
"validity",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"set",
"validity",
"end",
"time",
"(",
"validity",
"end",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"fingerprint",
"of",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] |
[
"set",
"fingerprint",
"(",
"fingerprint",
")",
";",
"return",
"this",
";"
] |
[
"(",
")"
] |
[
"return",
"true",
";"
] |
[
"(",
")"
] |
[
"return",
"true",
";"
] |
[
"(",
")"
] |
[
"return",
"true",
";"
] |
[
"(",
")"
] |
[
"return",
"true",
";"
] |
[
"slice",
"expr",
"body"
] |
[
"return",
"slice",
"expr",
"body",
"(",
"b",
",",
"l",
"+",
"1",
")",
";"
] |
[
"samples",
"a",
"json",
"file",
"by",
"parser"
] |
[
"json",
"parser",
"enable",
"(",
"json",
"parser",
"feature",
"allow",
"comments",
")",
";",
"node",
"node",
"=",
"null",
";",
"while",
"(",
"json",
"parser",
"next",
"token",
"(",
")",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"json",
"parser",
"current",
"token",
"(",
")",
"=",
"=",
"json",
"token",
"start",
"array",
")",
"{",
"node",
"=",
"new",
"array",
"node",
"(",
"null",
")",
";",
"sample",
"array",
"(",
"json",
"parser",
",",
"(",
"array",
"node",
")",
"node",
")",
";",
"}",
"if",
"(",
"json",
"parser",
"current",
"token",
"(",
")",
"=",
"=",
"json",
"token",
"start",
"object",
")",
"{",
"node",
"=",
"new",
"object",
"node",
"(",
"null",
")",
";",
"sample",
"object",
"(",
"json",
"parser",
",",
"(",
"object",
"node",
")",
"node",
")",
";",
"}",
"if",
"(",
"start",
">",
"configuration",
"get",
"lines",
"(",
")",
")",
"{",
"break",
";",
"}",
"}",
"if",
"(",
"node",
"!",
"=",
"null",
"&",
"&",
"configuration",
"is",
"dedupe",
"(",
")",
")",
"{",
"node",
"dedupe",
"(",
")",
";",
"}",
"return",
"node",
";"
] |
[
"sample",
"a",
"json",
"file",
"by",
"input",
"stream"
] |
[
"try",
"(",
"json",
"parser",
"json",
"parser",
"=",
"json",
"factory",
"create",
"parser",
"(",
"input",
"stream",
")",
")",
"{",
"return",
"sample",
"(",
"json",
"parser",
")",
";",
"}"
] |
[
"sample",
"a",
"json",
"file",
"by",
"name"
] |
[
"try",
"{",
"return",
"sample",
"(",
"kettle",
"v",
"f",
"s",
"get",
"input",
"stream",
"(",
"file",
")",
")",
";",
"}",
"catch",
"(",
"kettle",
"file",
"exception",
"kfe",
")",
"{",
"throw",
"kfe",
";",
"}"
] |
[
"*",
"sample",
"a",
"json",
"array",
"recursively"
] |
[
"start",
"+",
"+",
";",
"if",
"(",
"start",
">",
"configuration",
"get",
"lines",
"(",
")",
")",
"{",
"return",
";",
"}",
"while",
"(",
"json",
"parser",
"next",
"token",
"(",
")",
"!",
"=",
"json",
"token",
"end",
"array",
")",
"{",
"if",
"(",
"start",
">",
"configuration",
"get",
"lines",
"(",
")",
")",
"{",
"return",
";",
"}",
"object",
"node",
"=",
"get",
"value",
"(",
"json",
"parser",
",",
"null",
")",
";",
"array",
"node",
"add",
"child",
"(",
"(",
"node",
")",
"node",
")",
";",
"if",
"(",
"node",
"instanceof",
"object",
"node",
")",
"{",
"sample",
"object",
"(",
"json",
"parser",
",",
"(",
"object",
"node",
")",
"node",
")",
";",
"}",
"if",
"(",
"node",
"instanceof",
"array",
"node",
")",
"{",
"sample",
"array",
"(",
"json",
"parser",
",",
"(",
"array",
"node",
")",
"node",
")",
";",
"}",
"}"
] |
[
"sample",
"a",
"json",
"object",
"recursively"
] |
[
"start",
"+",
"+",
";",
"if",
"(",
"start",
">",
"configuration",
"get",
"lines",
"(",
")",
")",
"{",
"return",
";",
"}",
"while",
"(",
"json",
"parser",
"next",
"token",
"(",
")",
"!",
"=",
"json",
"token",
"end",
"object",
")",
"{",
"if",
"(",
"start",
">",
"configuration",
"get",
"lines",
"(",
")",
")",
"{",
"return",
";",
"}",
"if",
"(",
"json",
"parser",
"current",
"token",
"(",
")",
"=",
"=",
"json",
"token",
"field",
"name",
")",
"{",
"string",
"name",
"=",
"json",
"parser",
"get",
"current",
"name",
"(",
")",
";",
"json",
"parser",
"next",
"token",
"(",
")",
";",
"object",
"node",
"=",
"get",
"value",
"(",
"json",
"parser",
",",
"name",
")",
";",
"if",
"(",
"node",
"instanceof",
"object",
"node",
")",
"{",
"sample",
"object",
"(",
"json",
"parser",
",",
"(",
"object",
"node",
")",
"node",
")",
";",
"}",
"if",
"(",
"node",
"instanceof",
"array",
"node",
")",
"{",
"sample",
"array",
"(",
"json",
"parser",
",",
"(",
"array",
"node",
")",
"node",
")",
";",
"}",
"object",
"node",
"add",
"value",
"(",
"(",
"node",
")",
"node",
")",
";",
"}",
"}"
] |
[
"get",
"node",
"type",
"from",
"the",
"parser"
] |
[
"try",
"{",
"switch",
"(",
"json",
"parser",
"current",
"token",
"(",
")",
")",
"{",
"case",
"start",
"object",
":",
"return",
"new",
"object",
"node",
"(",
"key",
")",
";",
"case",
"start",
"array",
":",
"return",
"new",
"array",
"node",
"(",
"key",
")",
";",
"case",
"value",
"string",
":",
"return",
"new",
"value",
"node",
"<",
">",
"(",
"key",
",",
"json",
"parser",
"get",
"value",
"as",
"string",
"(",
")",
")",
";",
"case",
"value",
"true",
":",
"case",
"value",
"false",
":",
"return",
"new",
"value",
"node",
"<",
">",
"(",
"key",
",",
"json",
"parser",
"get",
"value",
"as",
"boolean",
"(",
")",
")",
";",
"case",
"value",
"null",
":",
"return",
"new",
"value",
"node",
"<",
">",
"(",
"key",
",",
"null",
")",
";",
"case",
"value",
"number",
"float",
":",
"return",
"new",
"value",
"node",
"<",
">",
"(",
"key",
",",
"json",
"parser",
"get",
"value",
"as",
"double",
"(",
")",
")",
";",
"case",
"value",
"number",
"int",
":",
"return",
"new",
"value",
"node",
"<",
">",
"(",
"key",
",",
"json",
"parser",
"get",
"value",
"as",
"int",
"(",
")",
")",
";",
"}",
"}",
"catch",
"(",
"i",
"o",
"exception",
"ioe",
")",
"{",
"return",
"null",
";",
"}",
"return",
"null",
";"
] |
[
"don",
"t",
"call",
"this",
"method",
"directly",
";",
"call",
"enqueue",
"parallel",
"broadcast",
"locked",
"or",
"enqueue",
"ordered",
"broadcast",
"locked"
] |
[
"r",
"enqueue",
"clock",
"time",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"if",
"(",
"trace",
"is",
"tag",
"enabled",
"(",
"trace",
"trace",
"tag",
"activity",
"manager",
")",
")",
"{",
"trace",
"async",
"trace",
"begin",
"(",
"trace",
"trace",
"tag",
"activity",
"manager",
",",
"create",
"broadcast",
"trace",
"title",
"(",
"r",
",",
"broadcast",
"record",
"delivery",
"pending",
")",
",",
"system",
"identity",
"hash",
"code",
"(",
"r",
")",
")",
";",
"}"
] |
[
"convert",
"a",
"path",
"to",
"a",
"file"
] |
[
"return",
"(",
"(",
"raw",
"local",
"file",
"system",
")",
"fs",
")",
"path",
"to",
"file",
"(",
"path",
")",
";"
] |
[
"loads",
"the",
"bytes",
"from",
"this",
"n",
"s",
"data",
"object",
"into",
"a",
"byte",
"buffer"
] |
[
"buf",
"put",
"(",
"bytes",
",",
"0",
",",
"math",
"min",
"(",
"bytes",
"length",
",",
"length",
")",
")",
";"
] |
[
"loads",
"the",
"bytes",
"from",
"this",
"n",
"s",
"data",
"object",
"into",
"a",
"byte",
"buffer"
] |
[
"buf",
"put",
"(",
"bytes",
",",
"range",
"start",
",",
"math",
"min",
"(",
"bytes",
"length",
",",
"range",
"stop",
")",
")",
";"
] |
[
"gets",
"the",
"base",
"6",
"4",
"encoded",
"data",
"contained",
"in",
"this",
"n",
"s",
"data",
"object"
] |
[
"return",
"base",
"6",
"4",
"encode",
"bytes",
"(",
"bytes",
")",
";"
] |
[
"velocity",
"tracker",
"helpers"
] |
[
"if",
"(",
"m",
"velocity",
"tracker",
"=",
"=",
"null",
")",
"{",
"m",
"velocity",
"tracker",
"=",
"velocity",
"tracker",
"obtain",
"(",
")",
";",
"}",
"else",
"{",
"m",
"velocity",
"tracker",
"clear",
"(",
")",
";",
"}"
] |
[
"*",
"*",
"swipe",
"helper",
"implementation",
"*",
"*",
"*"
] |
[
"task",
"view",
"tv",
"=",
"find",
"view",
"at",
"point",
"(",
"(",
"int",
")",
"ev",
"get",
"x",
"(",
")",
",",
"(",
"int",
")",
"ev",
"get",
"y",
"(",
")",
")",
";",
"if",
"(",
"tv",
"!",
"=",
"null",
"&",
"&",
"can",
"child",
"be",
"dismissed",
"(",
"tv",
")",
")",
"{",
"return",
"tv",
";",
"}",
"return",
"null",
";"
] |
[
"starts",
"a",
"manual",
"drag",
"that",
"goes",
"through",
"the",
"same",
"swipe",
"helper",
"path"
] |
[
"m",
"active",
"task",
"view",
"=",
"v",
";",
"m",
"swipe",
"helper",
"animations",
"put",
"(",
"v",
",",
"null",
")",
";",
"on",
"begin",
"drag",
"(",
"v",
")",
";"
] |
[
"returns",
"the",
"view",
"at",
"the",
"specified",
"coordinates"
] |
[
"list",
"<",
"task",
">",
"tasks",
"=",
"m",
"sv",
"get",
"stack",
"(",
")",
"get",
"tasks",
"(",
")",
";",
"int",
"task",
"count",
"=",
"tasks",
"size",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"task",
"count",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"task",
"view",
"tv",
"=",
"m",
"sv",
"get",
"child",
"view",
"for",
"task",
"(",
"tasks",
"get",
"(",
"i",
")",
")",
";",
"if",
"(",
"tv",
"!",
"=",
"null",
"&",
"&",
"tv",
"get",
"visibility",
"(",
")",
"=",
"=",
"view",
"visible",
")",
"{",
"if",
"(",
"m",
"sv",
"is",
"touch",
"point",
"in",
"view",
"(",
"x",
",",
"y",
",",
"tv",
")",
")",
"{",
"return",
"tv",
";",
"}",
"}",
"}",
"return",
"null",
";"
] |
[
"returns",
"the",
"scaled",
"size",
"used",
"to",
"calculate",
"the",
"dismiss",
"fraction"
] |
[
"return",
"1",
"5f",
"*",
"math",
"max",
"(",
"m",
"sv",
"get",
"width",
"(",
")",
",",
"m",
"sv",
"get",
"height",
"(",
")",
")",
";"
] |
[
"returns",
"whether",
"swiping",
"is",
"enabled"
] |
[
"return",
"!",
"m",
"sv",
"use",
"grid",
"layout",
"(",
")",
";"
] |
[
"the",
"coordinates",
"of",
"the",
"center",
"of",
"the",
"left",
"eye"
] |
[
"return",
"m",
"left",
"eye",
";"
] |
[
"the",
"coordinates",
"of",
"the",
"center",
"of",
"the",
"right",
"eye"
] |
[
"return",
"m",
"right",
"eye",
";"
] |
[
"the",
"coordinates",
"of",
"the",
"center",
"of",
"the",
"mouth"
] |
[
"return",
"m",
"mouth",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"that",
"is",
"associated",
"with",
"the",
"<",
"a",
">",
"directory",
"<",
"/",
"a",
">",
"where",
"the",
"object",
"resides",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"arns",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] |
[
"set",
"directory",
"arn",
"(",
"directory",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"reference",
"that",
"identifies",
"the",
"object",
"<",
"/",
"p",
">"
] |
[
"set",
"object",
"reference",
"(",
"object",
"reference",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"attributes",
"update",
"structure",
"<",
"/",
"p",
">"
] |
[
"return",
"attribute",
"updates",
";"
] |
[
"<",
"p",
">",
"attributes",
"update",
"structure",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"attribute",
"updates",
"=",
"=",
"null",
")",
"{",
"this",
"attribute",
"updates",
"=",
"null",
";",
"return",
";",
"}",
"this",
"attribute",
"updates",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"object",
"attribute",
"update",
">",
"(",
"attribute",
"updates",
")",
";"
] |
[
"<",
"p",
">",
"the",
"attributes",
"update",
"structure",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"attribute",
"updates",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"attribute",
"updates",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"attribute",
"updates",
"=",
"=",
"null",
")",
"{",
"set",
"attribute",
"updates",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"object",
"attribute",
"update",
">",
"(",
"attribute",
"updates",
"length",
")",
")",
";",
"}",
"for",
"(",
"object",
"attribute",
"update",
"ele",
":",
"attribute",
"updates",
")",
"{",
"this",
"attribute",
"updates",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"attributes",
"update",
"structure",
"<",
"/",
"p",
">"
] |
[
"set",
"attribute",
"updates",
"(",
"attribute",
"updates",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"elasticsearch",
"that",
"you",
"intend",
"to",
"upgrade",
"the",
"domain",
"to",
"<",
"/",
"p",
">"
] |
[
"set",
"target",
"version",
"(",
"target",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"flag",
"when",
"set",
"to",
"true",
"indicates",
"that",
"an",
"upgrade",
"eligibility",
"check",
"needs",
"to",
"be",
"performed",
"this",
"will",
"not",
"actually",
"perform",
"the",
"upgrade",
"<",
"/",
"p",
">"
] |
[
"set",
"perform",
"check",
"only",
"(",
"perform",
"check",
"only",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"children",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"(",
"c",
"context",
",",
"(",
"class",
"<",
"t",
">",
")",
"conf",
"get",
"class",
"(",
")",
")",
";",
"ret",
"set",
"conf",
"(",
"conf",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"children",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"(",
"oplist",
"0",
"get",
"compilation",
"op",
"context",
"(",
")",
",",
"(",
"class",
"<",
"t",
">",
")",
"conf",
"get",
"class",
"(",
")",
")",
";",
"ret",
"set",
"conf",
"(",
"conf",
")",
";",
"make",
"child",
"(",
"ret",
",",
"oplist",
"0",
")",
";",
"make",
"child",
"(",
"ret",
",",
"oplist",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"children",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"(",
"c",
"context",
",",
"conf",
")",
";",
"ret",
"set",
"schema",
"(",
"rwsch",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"parent",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"(",
"c",
"context",
",",
"(",
"class",
"<",
"t",
">",
")",
"conf",
"get",
"class",
"(",
")",
")",
";",
"ret",
"set",
"conf",
"(",
"conf",
")",
";",
"ret",
"set",
"schema",
"(",
"rwsch",
")",
";",
"return",
"ret",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"parent",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"and",
"make",
"child",
"(",
"conf",
",",
"oplist",
"0",
",",
"oplist",
")",
";",
"ret",
"set",
"schema",
"(",
"rwsch",
")",
";",
"return",
"ret",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"parent",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"and",
"make",
"child",
"(",
"conf",
",",
"rwsch",
",",
"oplist",
"0",
",",
"oplist",
")",
";",
"ret",
"set",
"column",
"expr",
"map",
"(",
"col",
"expr",
"map",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"parent",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"and",
"make",
"child",
"(",
"c",
"context",
",",
"conf",
",",
"oplist",
")",
";",
"ret",
"set",
"schema",
"(",
"rwsch",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"returns",
"an",
"operator",
"given",
"the",
"conf",
"and",
"a",
"list",
"of",
"parent",
"operators"
] |
[
"operator",
"<",
"t",
">",
"ret",
"=",
"get",
"and",
"make",
"child",
"(",
"c",
"context",
",",
"conf",
",",
"rwsch",
",",
"oplist",
")",
";",
"ret",
"set",
"column",
"expr",
"map",
"(",
"col",
"expr",
"map",
")",
";",
"return",
"(",
"ret",
")",
";"
] |
[
"binds",
"the",
"browser",
"side",
"to",
"the",
"client",
"app",
"through",
"the",
"given",
"{"
] |
[
"intent",
"intent",
"=",
"new",
"intent",
"(",
")",
";",
"intent",
"set",
"class",
"name",
"(",
"package",
"name",
",",
"post",
"message",
"service",
"class",
"get",
"name",
"(",
")",
")",
";",
"return",
"context",
"bind",
"service",
"(",
"intent",
",",
"this",
",",
"context",
"bind",
"auto",
"create",
")",
";"
] |
[
"unbinds",
"this",
"service",
"connection",
"from",
"the",
"given",
"context"
] |
[
"context",
"unbind",
"service",
"(",
"this",
")",
";"
] |
[
"notifies",
"the",
"client",
"that",
"the",
"post",
"message",
"channel",
"requested",
"with",
"{",
"@",
"link",
"custom",
"tabs",
"service",
"#",
"request",
"post",
"message",
"channel",
"(",
"custom",
"tabs",
"session",
"token",
"android",
"net",
"uri",
")",
"}",
"is",
"ready",
"this",
"method",
"should",
"be",
"called",
"when",
"the",
"browser",
"binds",
"to",
"the",
"client",
"side",
"{",
"@",
"link",
"post",
"message",
"service",
"}",
"and",
"also",
"readies",
"a",
"connection",
"to",
"the",
"web",
"frame"
] |
[
"if",
"(",
"m",
"service",
"=",
"=",
"null",
")",
"return",
"false",
";",
"synchronized",
"(",
"m",
"lock",
")",
"{",
"try",
"{",
"m",
"service",
"on",
"message",
"channel",
"ready",
"(",
"m",
"session",
"binder",
",",
"extras",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"true",
";"
] |
[
"posts",
"a",
"message",
"to",
"the",
"client",
"this",
"should",
"be",
"called",
"when",
"a",
"tab",
"controlled",
"by",
"related",
"{",
"@",
"link",
"custom",
"tabs",
"session",
"}",
"has",
"sent",
"a",
"post",
"message",
"if",
"post",
"message",
"(",
")",
"is",
"called",
"from",
"a",
"single",
"thread",
"then",
"the",
"messages",
"will",
"be",
"posted",
"in",
"the",
"same",
"order"
] |
[
"if",
"(",
"m",
"service",
"=",
"=",
"null",
")",
"return",
"false",
";",
"synchronized",
"(",
"m",
"lock",
")",
"{",
"try",
"{",
"m",
"service",
"on",
"post",
"message",
"(",
"m",
"session",
"binder",
",",
"message",
",",
"extras",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"true",
";"
] |
[
"called",
"when",
"the",
"{"
] |
[] |
[
"called",
"when",
"the",
"connection",
"is",
"lost",
"with",
"the",
"{"
] |
[] |
[
"will",
"be",
"removed",
"in",
"the",
"next",
"major",
"release"
] |
[
"f",
"code",
"=",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"distribution",
"s",
"configuration",
"information",
"<",
"/",
"p",
">"
] |
[
"set",
"distribution",
"config",
"(",
"distribution",
"config",
")",
";",
"return",
"this",
";"
] |
[
"inserts",
"a",
"word",
"into",
"the",
"trie"
] |
[
"if",
"(",
"word",
"!",
"=",
"null",
")",
"{",
"add",
"(",
"0",
",",
"word",
",",
"word",
"length",
"(",
")",
")",
";",
"}"
] |
[
"returns",
"if",
"the",
"word",
"is",
"in",
"the",
"trie"
] |
[
"if",
"(",
"word",
"!",
"=",
"null",
")",
"{",
"return",
"search",
"(",
"0",
",",
"word",
",",
"word",
"length",
"(",
")",
")",
";",
"}",
"return",
"false",
";"
] |
[
"returns",
"if",
"there",
"is",
"any",
"word",
"in",
"the",
"trie",
"that",
"starts",
"with",
"the",
"given",
"prefix"
] |
[
"if",
"(",
"prefix",
"!",
"=",
"null",
")",
"{",
"return",
"starts",
"with",
"(",
"0",
",",
"prefix",
",",
"prefix",
"length",
"(",
")",
")",
";",
"}",
"return",
"false",
";"
] |
[
"obtain",
"a",
"monetary",
"amount",
"format",
"for",
"the",
"given",
"locale",
"<",
"p",
">",
"the",
"default",
"implementation",
"simply",
"calls",
"{"
] |
[
"if",
"(",
"this",
"format",
"name",
"!",
"=",
"null",
")",
"{",
"return",
"monetary",
"formats",
"get",
"amount",
"format",
"(",
"this",
"format",
"name",
")",
";",
"}",
"else",
"{",
"return",
"monetary",
"formats",
"get",
"amount",
"format",
"(",
"locale",
")",
";",
"}"
] |
[
"reacts",
"to",
"a",
"change",
"in",
"expanded",
"state",
"this",
"callback",
"is",
"guaranteed",
"to",
"be",
"called",
"only",
"once",
"even",
"if",
"{",
"@",
"link",
"expandable",
"widget",
"#",
"set",
"expanded",
"(",
"boolean",
")",
"}",
"is",
"called",
"multiple",
"times",
"with",
"the",
"same",
"value",
"upon",
"configuration",
"change",
"this",
"callback",
"is",
"called",
"with",
"{",
"@",
"code",
"animated",
"}",
"set",
"to",
"false"
] |
[
"protected",
"abstract",
"boolean",
"on",
"expanded",
"state",
"change",
"(",
"view",
"dependency",
",",
"view",
"child",
",",
"boolean",
"expanded",
",",
"boolean",
"animated",
")",
";"
] |
[
"the",
"id",
"of",
"the",
"current",
"session"
] |
[
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"field",
"session",
"id",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"sessionid",
"isset",
"id",
")",
";"
] |
[
"the",
"worker",
"specific",
"file",
"id",
"of",
"the",
"ufs",
"file"
] |
[
"return",
"this",
"temp",
"ufs",
"file",
"id",
";"
] |
[
"the",
"worker",
"specific",
"file",
"id",
"of",
"the",
"ufs",
"file"
] |
[
"this",
"temp",
"ufs",
"file",
"id",
"=",
"temp",
"ufs",
"file",
"id",
";",
"set",
"temp",
"ufs",
"file",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"field",
"temp",
"ufs",
"file",
"id",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"tempufsfileid",
"isset",
"id",
")",
";"
] |
[
"the",
"options",
"for",
"canceling",
"the",
"file"
] |
[
"return",
"this",
"options",
";"
] |
[
"the",
"options",
"for",
"canceling",
"the",
"file"
] |
[
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"session",
"id",
":",
"return",
"is",
"set",
"session",
"id",
"(",
")",
";",
"case",
"temp",
"ufs",
"file",
"id",
":",
"return",
"is",
"set",
"temp",
"ufs",
"file",
"id",
"(",
")",
";",
"case",
"options",
":",
"return",
"is",
"set",
"options",
"(",
")",
";",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"the",
"id",
"of",
"the",
"current",
"session"
] |
[
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"worker",
"specific",
"file",
"id",
"of",
"the",
"ufs",
"file"
] |
[
"this",
"temp",
"ufs",
"file",
"id",
"=",
"temp",
"ufs",
"file",
"id",
";",
"set",
"temp",
"ufs",
"file",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"options",
"for",
"closing",
"the",
"file"
] |
[
"return",
"this",
"options",
";"
] |
[
"the",
"options",
"for",
"closing",
"the",
"file"
] |
[
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
] |
[
"the",
"id",
"of",
"the",
"current",
"session"
] |
[
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"worker",
"specific",
"file",
"id",
"of",
"the",
"ufs",
"file"
] |
[
"this",
"temp",
"ufs",
"file",
"id",
"=",
"temp",
"ufs",
"file",
"id",
";",
"set",
"temp",
"ufs",
"file",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"options",
"for",
"completing",
"the",
"file"
] |
[
"return",
"this",
"options",
";"
] |
[
"the",
"options",
"for",
"completing",
"the",
"file"
] |
[
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
] |
[
"the",
"id",
"of",
"the",
"current",
"session"
] |
[
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"path",
"of",
"the",
"file",
"in",
"the",
"ufs"
] |
[
"this",
"ufs",
"path",
"=",
"ufs",
"path",
";",
"return",
"this",
";"
] |
[
"the",
"options",
"for",
"creating",
"the",
"file"
] |
[
"return",
"this",
"options",
";"
] |
[
"the",
"options",
"for",
"creating",
"the",
"file"
] |
[
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"session",
"id",
":",
"return",
"is",
"set",
"session",
"id",
"(",
")",
";",
"case",
"ufs",
"path",
":",
"return",
"is",
"set",
"ufs",
"path",
"(",
")",
";",
"case",
"options",
":",
"return",
"is",
"set",
"options",
"(",
")",
";",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"the",
"id",
"of",
"the",
"current",
"session"
] |
[
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"the",
"path",
"of",
"the",
"file",
"in",
"the",
"ufs"
] |
[
"this",
"ufs",
"path",
"=",
"ufs",
"path",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.