docstring_tokens
list | code_tokens
list |
---|---|
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"(",
"id",
")",
"of",
"the",
"ou",
"or",
"account",
"whose",
"parent",
"containers",
"you",
"want",
"to",
"list",
"do",
"not",
"specify",
"a",
"root",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
"for",
"a",
"child",
"id",
"string",
"requires",
"one",
"of",
"the",
"following",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"account",
":",
"a",
"string",
"that",
"consists",
"of",
"exactly",
"12",
"digits",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"organizational",
"unit",
"(",
"ou",
")",
":",
"a",
"string",
"that",
"begins",
"with",
"ou",
"-",
"followed",
"by",
"from",
"4",
"to",
"32",
"lower",
"-",
"case",
"letters",
"or",
"digits",
"(",
"the",
"id",
"of",
"the",
"root",
"that",
"contains",
"the",
"ou",
")",
"followed",
"by",
"a",
"second",
"-",
"dash",
"and",
"from",
"8",
"to",
"32",
"additional",
"lower",
"-",
"case",
"letters",
"or",
"digits",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"set",
"child",
"id",
"(",
"child",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"use",
"this",
"parameter",
"if",
"you",
"receive",
"a",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"response",
"in",
"a",
"previous",
"request",
"that",
"indicates",
"that",
"there",
"is",
"more",
"output",
"available",
"set",
"it",
"to",
"the",
"value",
"of",
"the",
"previous",
"call",
"s",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"response",
"to",
"indicate",
"where",
"the",
"output",
"should",
"continue",
"from",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"(",
"optional",
")",
"use",
"this",
"to",
"limit",
"the",
"number",
"of",
"results",
"you",
"want",
"included",
"per",
"page",
"in",
"the",
"response",
"if",
"you",
"do",
"not",
"include",
"this",
"parameter",
"it",
"defaults",
"to",
"a",
"value",
"that",
"is",
"specific",
"to",
"the",
"operation",
"if",
"additional",
"items",
"exist",
"beyond",
"the",
"maximum",
"you",
"specify",
"the",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"response",
"element",
"is",
"present",
"and",
"has",
"a",
"value",
"(",
"is",
"not",
"null",
")",
"include",
"that",
"value",
"as",
"the",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"request",
"parameter",
"in",
"the",
"next",
"call",
"to",
"the",
"operation",
"to",
"get",
"the",
"next",
"part",
"of",
"the",
"results",
"note",
"that",
"organizations",
"might",
"return",
"fewer",
"results",
"than",
"the",
"maximum",
"even",
"when",
"there",
"are",
"more",
"results",
"available",
"you",
"should",
"check",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"after",
"every",
"operation",
"to",
"ensure",
"that",
"you",
"receive",
"all",
"of",
"the",
"results",
"<",
"/",
"p",
">"
]
| [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"convenience",
"method",
"that",
"can",
"decode",
"a",
"data",
"matrix",
"code",
"represented",
"as",
"a",
"2d",
"array",
"of",
"booleans",
"true",
"is",
"taken",
"to",
"mean",
"a",
"black",
"module",
"<",
"/",
"p",
">"
]
| [
"int",
"dimension",
"=",
"image",
"length",
";",
"bit",
"matrix",
"bits",
"=",
"new",
"bit",
"matrix",
"(",
"dimension",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"dimension",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"dimension",
";",
"j",
"+",
"+",
")",
"{",
"if",
"(",
"image",
"[",
"i",
"]",
"[",
"j",
"]",
")",
"{",
"bits",
"set",
"(",
"j",
",",
"i",
")",
";",
"}",
"}",
"}",
"return",
"decode",
"(",
"bits",
")",
";"
]
|
[
"gets",
"the",
"database",
"name"
]
| [
"return",
"db",
"name",
";"
]
|
[
"gets",
"the",
"d",
"b",
"location"
]
| [
"return",
"db",
"location",
";"
]
|
[
"gets",
"the",
"d",
"b",
"properties"
]
| [
"return",
"props",
";"
]
|
[
"<",
"p",
">",
"summary",
"information",
"about",
"data",
"set",
"contents",
"that",
"have",
"been",
"created",
"<",
"/",
"p",
">"
]
| [
"return",
"dataset",
"content",
"summaries",
";"
]
|
[
"<",
"p",
">",
"summary",
"information",
"about",
"data",
"set",
"contents",
"that",
"have",
"been",
"created",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"dataset",
"content",
"summaries",
"=",
"=",
"null",
")",
"{",
"this",
"dataset",
"content",
"summaries",
"=",
"null",
";",
"return",
";",
"}",
"this",
"dataset",
"content",
"summaries",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"dataset",
"content",
"summary",
">",
"(",
"dataset",
"content",
"summaries",
")",
";"
]
|
[
"<",
"p",
">",
"summary",
"information",
"about",
"data",
"set",
"contents",
"that",
"have",
"been",
"created",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"dataset",
"content",
"summaries",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"dataset",
"content",
"summaries",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"dataset",
"content",
"summaries",
"=",
"=",
"null",
")",
"{",
"set",
"dataset",
"content",
"summaries",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"dataset",
"content",
"summary",
">",
"(",
"dataset",
"content",
"summaries",
"length",
")",
")",
";",
"}",
"for",
"(",
"dataset",
"content",
"summary",
"ele",
":",
"dataset",
"content",
"summaries",
")",
"{",
"this",
"dataset",
"content",
"summaries",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"summary",
"information",
"about",
"data",
"set",
"contents",
"that",
"have",
"been",
"created",
"<",
"/",
"p",
">"
]
| [
"set",
"dataset",
"content",
"summaries",
"(",
"dataset",
"content",
"summaries",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"token",
"to",
"retrieve",
"the",
"next",
"set",
"of",
"results",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"there",
"are",
"no",
"more",
"results",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"strong",
">",
"note",
":",
"<",
"/",
"strong",
">",
"we",
"keep",
"one",
"instance",
"per",
"interrogating",
"thread",
"since",
"the",
"instance",
"contains",
"state",
"which",
"can",
"lead",
"to",
"undesired",
"thread",
"interleavings",
"we",
"do",
"not",
"have",
"a",
"thread",
"local",
"variable",
"since",
"other",
"threads",
"should",
"be",
"able",
"to",
"look",
"up",
"the",
"correct",
"client",
"knowing",
"a",
"thread",
"id",
"see",
"view",
"root",
"impl",
"for",
"details"
]
| [
"synchronized",
"(",
"s",
"static",
"lock",
")",
"{",
"accessibility",
"interaction",
"client",
"client",
"=",
"s",
"clients",
"get",
"(",
"thread",
"id",
")",
";",
"if",
"(",
"client",
"=",
"=",
"null",
")",
"{",
"client",
"=",
"new",
"accessibility",
"interaction",
"client",
"(",
")",
";",
"s",
"clients",
"put",
"(",
"thread",
"id",
",",
"client",
")",
";",
"}",
"return",
"client",
";",
"}"
]
|
[
"gets",
"a",
"cached",
"accessibility",
"service",
"connection"
]
| [
"synchronized",
"(",
"s",
"connection",
"cache",
")",
"{",
"return",
"s",
"connection",
"cache",
"get",
"(",
"connection",
"id",
")",
";",
"}"
]
|
[
"adds",
"a",
"cached",
"accessibility",
"service",
"connection"
]
| [
"synchronized",
"(",
"s",
"connection",
"cache",
")",
"{",
"s",
"connection",
"cache",
"put",
"(",
"connection",
"id",
",",
"connection",
")",
";",
"}"
]
|
[
"removes",
"a",
"cached",
"accessibility",
"service",
"connection"
]
| [
"synchronized",
"(",
"s",
"connection",
"cache",
")",
"{",
"s",
"connection",
"cache",
"remove",
"(",
"connection",
"id",
")",
";",
"}"
]
|
[
"this",
"method",
"is",
"only",
"for",
"testing",
"replacing",
"the",
"cache",
"is",
"a",
"generally",
"terrible",
"idea",
"but",
"tests",
"need",
"to",
"be",
"able",
"to",
"verify",
"this",
"class",
"s",
"interactions",
"with",
"the",
"cache"
]
| [
"s",
"accessibility",
"cache",
"=",
"cache",
";"
]
|
[
"sets",
"the",
"message",
"to",
"be",
"processed",
"if",
"the",
"interacted",
"view",
"hierarchy",
"and",
"the",
"interacting",
"client",
"are",
"running",
"in",
"the",
"same",
"thread"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"m",
"same",
"thread",
"message",
"=",
"message",
";",
"m",
"instance",
"lock",
"notify",
"all",
"(",
")",
";",
"}"
]
|
[
"gets",
"the",
"root",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"in",
"the",
"currently",
"active",
"window"
]
| [
"return",
"find",
"accessibility",
"node",
"info",
"by",
"accessibility",
"id",
"(",
"connection",
"id",
",",
"accessibility",
"window",
"info",
"active",
"window",
"id",
",",
"accessibility",
"node",
"info",
"root",
"node",
"id",
",",
"false",
",",
"accessibility",
"node",
"info",
"flag",
"prefetch",
"descendants",
",",
"null",
")",
";"
]
|
[
"gets",
"the",
"the",
"result",
"of",
"an",
"async",
"request",
"that",
"returns",
"an",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"final",
"boolean",
"success",
"=",
"wait",
"for",
"result",
"timed",
"locked",
"(",
"interaction",
"id",
")",
";",
"accessibility",
"node",
"info",
"result",
"=",
"success",
"?",
"m",
"find",
"accessibility",
"node",
"info",
"result",
":",
"null",
";",
"clear",
"result",
"locked",
"(",
")",
";",
"return",
"result",
";",
"}"
]
|
[
"{"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"if",
"(",
"interaction",
"id",
">",
"m",
"interaction",
"id",
")",
"{",
"m",
"find",
"accessibility",
"node",
"info",
"result",
"=",
"info",
";",
"m",
"interaction",
"id",
"=",
"interaction",
"id",
";",
"}",
"m",
"instance",
"lock",
"notify",
"all",
"(",
")",
";",
"}"
]
|
[
"gets",
"the",
"the",
"result",
"of",
"an",
"async",
"request",
"that",
"returns",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"s"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"final",
"boolean",
"success",
"=",
"wait",
"for",
"result",
"timed",
"locked",
"(",
"interaction",
"id",
")",
";",
"final",
"list",
"<",
"accessibility",
"node",
"info",
">",
"result",
";",
"if",
"(",
"success",
")",
"{",
"result",
"=",
"m",
"find",
"accessibility",
"node",
"infos",
"result",
";",
"}",
"else",
"{",
"result",
"=",
"collections",
"empty",
"list",
"(",
")",
";",
"}",
"clear",
"result",
"locked",
"(",
")",
";",
"if",
"(",
"build",
"is",
"debuggable",
"&",
"&",
"check",
"integrity",
")",
"{",
"check",
"find",
"accessibility",
"node",
"info",
"result",
"integrity",
"(",
"result",
")",
";",
"}",
"return",
"result",
";",
"}"
]
|
[
"gets",
"the",
"result",
"of",
"a",
"request",
"to",
"perform",
"an",
"accessibility",
"action"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"final",
"boolean",
"success",
"=",
"wait",
"for",
"result",
"timed",
"locked",
"(",
"interaction",
"id",
")",
";",
"final",
"boolean",
"result",
"=",
"success",
"?",
"m",
"perform",
"accessibility",
"action",
"result",
":",
"false",
";",
"clear",
"result",
"locked",
"(",
")",
";",
"return",
"result",
";",
"}"
]
|
[
"{"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"if",
"(",
"interaction",
"id",
">",
"m",
"interaction",
"id",
")",
"{",
"m",
"perform",
"accessibility",
"action",
"result",
"=",
"succeeded",
";",
"m",
"interaction",
"id",
"=",
"interaction",
"id",
";",
"}",
"m",
"instance",
"lock",
"notify",
"all",
"(",
")",
";",
"}"
]
|
[
"clears",
"the",
"result",
"state"
]
| [
"m",
"interaction",
"id",
"=",
"-",
"1",
";",
"m",
"find",
"accessibility",
"node",
"info",
"result",
"=",
"null",
";",
"m",
"find",
"accessibility",
"node",
"infos",
"result",
"=",
"null",
";",
"m",
"perform",
"accessibility",
"action",
"result",
"=",
"false",
";"
]
|
[
"finalize",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"s",
"before",
"passing",
"them",
"to",
"the",
"client"
]
| [
"if",
"(",
"infos",
"!",
"=",
"null",
")",
"{",
"final",
"int",
"infos",
"count",
"=",
"infos",
"size",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"infos",
"count",
";",
"i",
"+",
"+",
")",
"{",
"accessibility",
"node",
"info",
"info",
"=",
"infos",
"get",
"(",
"i",
")",
";",
"finalize",
"and",
"cache",
"accessibility",
"node",
"info",
"(",
"info",
",",
"connection",
"id",
",",
"bypass",
"cache",
",",
"package",
"names",
")",
";",
"}",
"}"
]
|
[
"gets",
"the",
"message",
"stored",
"if",
"the",
"interacted",
"and",
"interacting",
"threads",
"are",
"the",
"same"
]
| [
"synchronized",
"(",
"m",
"instance",
"lock",
")",
"{",
"message",
"result",
"=",
"m",
"same",
"thread",
"message",
";",
"m",
"same",
"thread",
"message",
"=",
"null",
";",
"return",
"result",
";",
"}"
]
|
[
"list",
"of",
"environment",
"variables",
"to",
"set",
"in",
"the",
"container",
"cannot",
"be",
"updated"
]
| [
"this",
"env",
"=",
"env",
";",
"return",
"this",
";"
]
|
[
"list",
"of",
"container",
"commands"
]
| [
"this",
"commands",
"=",
"commands",
";",
"return",
"this",
";"
]
|
[
"list",
"of",
"container",
"volumes"
]
| [
"this",
"volumes",
"=",
"volumes",
";",
"return",
"this",
";"
]
|
[
"configures",
"connection",
"pool",
"for",
"connectivity"
]
| [
"protected",
"abstract",
"void",
"setup",
"pool",
"(",
"core",
"connection",
"pool",
"cp",
")",
";"
]
|
[
"initializes",
"database",
"before",
"every",
"test",
"it",
"<",
"b",
">",
"must",
"<",
"/",
"b",
">",
"cleanup",
"any",
"existing",
"data",
"or",
"tables",
"first",
"!"
]
| []
|
[
"creates",
"db",
"session"
]
| [
"return",
"new",
"db",
"thread",
"session",
"(",
"cp",
")",
";"
]
|
[
"the",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"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",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"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",
"block",
"id",
":",
"return",
"is",
"set",
"block",
"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",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
]
|
[
"the",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"id",
"of",
"the",
"current",
"session"
]
| [
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"lock",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"lock",
"method",
"options"
]
| [
"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",
"block",
"id",
":",
"return",
"is",
"set",
"block",
"id",
"(",
")",
";",
"case",
"session",
"id",
":",
"return",
"is",
"set",
"session",
"id",
"(",
")",
";",
"case",
"options",
":",
"return",
"is",
"set",
"options",
"(",
")",
";",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
]
|
[
"the",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
]
|
[
"the",
"id",
"of",
"the",
"block",
"being",
"removed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"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",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"initial",
"number",
"of",
"bytes",
"requested"
]
| [
"return",
"this",
"initial",
"bytes",
";"
]
|
[
"initial",
"number",
"of",
"bytes",
"requested"
]
| [
"this",
"initial",
"bytes",
"=",
"initial",
"bytes",
";",
"set",
"initial",
"bytes",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"true",
"if",
"field",
"initial",
"bytes",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"initialbytes",
"isset",
"id",
")",
";"
]
|
[
"the",
"target",
"tier",
"to",
"write",
"to"
]
| [
"return",
"this",
"write",
"tier",
";"
]
|
[
"the",
"target",
"tier",
"to",
"write",
"to"
]
| [
"this",
"write",
"tier",
"=",
"write",
"tier",
";",
"set",
"write",
"tier",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"true",
"if",
"field",
"write",
"tier",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"writetier",
"isset",
"id",
")",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"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",
"block",
"id",
":",
"return",
"is",
"set",
"block",
"id",
"(",
")",
";",
"case",
"initial",
"bytes",
":",
"return",
"is",
"set",
"initial",
"bytes",
"(",
")",
";",
"case",
"write",
"tier",
":",
"return",
"is",
"set",
"write",
"tier",
"(",
")",
";",
"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",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"number",
"of",
"bytes",
"requested"
]
| [
"return",
"this",
"request",
"bytes",
";"
]
|
[
"the",
"number",
"of",
"bytes",
"requested"
]
| [
"this",
"request",
"bytes",
"=",
"request",
"bytes",
";",
"set",
"request",
"bytes",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"true",
"if",
"field",
"request",
"bytes",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
]
| [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"requestbytes",
"isset",
"id",
")",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"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",
"block",
"id",
":",
"return",
"is",
"set",
"block",
"id",
"(",
")",
";",
"case",
"request",
"bytes",
":",
"return",
"is",
"set",
"request",
"bytes",
"(",
")",
";",
"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",
";"
]
|
[
"deprecated",
"since",
"1",
"3",
"0",
"and",
"will",
"be",
"removed",
"in",
"2",
"0"
]
| [
"this",
"metrics",
"=",
"metrics",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
]
|
[
"the",
"id",
"of",
"the",
"block",
"being",
"accessed"
]
| [
"this",
"block",
"id",
"=",
"block",
"id",
";",
"set",
"block",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"id",
"of",
"the",
"current",
"session"
]
| [
"this",
"session",
"id",
"=",
"session",
"id",
";",
"set",
"session",
"id",
"is",
"set",
"(",
"true",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"method",
"options"
]
| [
"return",
"this",
"options",
";"
]
|
[
"the",
"method",
"options"
]
| [
"this",
"options",
"=",
"options",
";",
"return",
"this",
";"
]
|
[
"create",
"a",
"new",
"step",
"with",
"a",
"single",
"that",
"always",
"returns",
"a",
"value"
]
| [
"return",
"new",
"step",
"<",
">",
"(",
"step",
"data",
"single",
"map",
"(",
"new",
"function",
"<",
"data",
"<",
"t",
",",
"a",
">",
",",
"optional",
"<",
"data",
"<",
"t",
",",
"a",
">",
">",
">",
"(",
")",
"{",
"@",
"override",
"public",
"optional",
"<",
"data",
"<",
"t",
",",
"a",
">",
">",
"apply",
"(",
"data",
"<",
"t",
",",
"a",
">",
"data",
")",
"throws",
"exception",
"{",
"return",
"optional",
"of",
"(",
"data",
")",
";",
"}",
"}",
")",
")",
";"
]
|
[
"create",
"a",
"new",
"step",
"with",
"a",
"single",
"that",
"can",
"emit",
"an",
"absent",
"result"
]
| [
"return",
"new",
"step",
"<",
">",
"(",
"step",
"data",
"single",
")",
";"
]
|
[
"chains",
"another",
"step",
"to",
"be",
"performed",
"after",
"this",
"step",
"completes",
"if",
"the",
"previous",
"step",
"results",
"in",
"an",
"error",
"and",
"does",
"not",
"emit",
"a",
"new",
"actionable",
"item",
"future",
"chained",
"on",
"step",
"calls",
"will",
"not",
"be",
"called"
]
| [
"return",
"new",
"step",
"<",
">",
"(",
"as",
"observable",
"(",
")",
"flat",
"map",
"(",
"new",
"function",
"<",
"optional",
"<",
"data",
"<",
"t",
",",
"a",
">",
">",
",",
"observable",
"<",
"optional",
"<",
"data",
"<",
"t",
"new",
"value",
"type",
",",
"t",
"new",
"actionable",
"item",
">",
">",
">",
">",
"(",
")",
"{",
"@",
"override",
"public",
"observable",
"<",
"optional",
"<",
"data",
"<",
"t",
"new",
"value",
"type",
",",
"t",
"new",
"actionable",
"item",
">",
">",
">",
"apply",
"(",
"optional",
"<",
"data",
"<",
"t",
",",
"a",
">",
">",
"data",
"optional",
")",
"throws",
"exception",
"{",
"if",
"(",
"data",
"optional",
"is",
"present",
"(",
")",
")",
"{",
"data",
"<",
"t",
",",
"a",
">",
"data",
"=",
"data",
"optional",
"get",
"(",
")",
";",
"return",
"func",
"apply",
"(",
"data",
"value",
",",
"data",
"actionable",
"item",
")",
"as",
"observable",
"(",
")",
";",
"}",
"else",
"{",
"return",
"observable",
"just",
"(",
"optional",
"<",
"data",
"<",
"t",
"new",
"value",
"type",
",",
"t",
"new",
"actionable",
"item",
">",
">",
"absent",
"(",
")",
")",
";",
"}",
"}",
"}",
")",
"single",
"or",
"error",
"(",
")",
")",
";"
]
|
[
"convenience",
"function",
"to",
"create",
"a",
"{",
"@",
"link",
"step",
"data",
"}",
"instance",
"that",
"does",
"not",
"have",
"a",
"return",
"value",
"type"
]
| [
"return",
"new",
"data",
"<",
">",
"(",
"no",
"value",
"holder",
"instance",
",",
"actionable",
"item",
")",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"attributes",
"<",
"/",
"p",
">"
]
| [
"return",
"attributes",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"attributes",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"attributes",
"=",
"=",
"null",
")",
"{",
"this",
"attributes",
"=",
"null",
";",
"return",
";",
"}",
"this",
"attributes",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"target",
"group",
"attribute",
">",
"(",
"attributes",
")",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"target",
"group",
"attributes",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"attributes",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"attributes",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"attributes",
"=",
"=",
"null",
")",
"{",
"set",
"attributes",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"target",
"group",
"attribute",
">",
"(",
"attributes",
"length",
")",
")",
";",
"}",
"for",
"(",
"target",
"group",
"attribute",
"ele",
":",
"attributes",
")",
"{",
"this",
"attributes",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"information",
"about",
"the",
"target",
"group",
"attributes",
"<",
"/",
"p",
">"
]
| [
"set",
"attributes",
"(",
"attributes",
")",
";",
"return",
"this",
";"
]
|
[
"get",
"the",
"number",
"of",
"bytes",
"on",
"the",
"stream"
]
| [
"return",
"total",
";"
]
|
[
"initialise",
"the",
"streams",
"and",
"thread",
"involved",
"in",
"the",
"streaming",
"of",
"ogg",
"data"
]
| [
"init",
"vorbis",
"(",
")",
";",
"read",
"p",
"c",
"m",
"(",
")",
";"
]
|
[
"initialise",
"the",
"vorbis",
"decoding"
]
| [
"sync",
"state",
"init",
"(",
")",
";"
]
|
[
"handle",
"a",
"valid",
"pws",
"result"
]
| [
"public",
"abstract",
"void",
"on",
"icon",
"(",
"byte",
"[",
"]",
"icon",
")",
";"
]
|
[
"handle",
"an",
"error",
"that",
"occurred",
"while",
"attempting",
"to",
"use",
"the",
"physical",
"web",
"service"
]
| []
|
[
"run",
"task"
]
| [
"task",
"proxy",
"<",
"t",
">",
"proxy",
"=",
"null",
";",
"if",
"(",
"task",
"instanceof",
"task",
"proxy",
")",
"{",
"proxy",
"=",
"(",
"task",
"proxy",
"<",
"t",
">",
")",
"task",
";",
"}",
"else",
"{",
"proxy",
"=",
"new",
"task",
"proxy",
"<",
"t",
">",
"(",
"task",
")",
";",
"}",
"try",
"{",
"proxy",
"do",
"background",
"(",
")",
";",
"}",
"catch",
"(",
"throwable",
"ex",
")",
"{",
"log",
"util",
"e",
"(",
"ex",
"get",
"message",
"(",
")",
",",
"ex",
")",
";",
"}",
"return",
"proxy",
";"
]
|
[
"run",
"in",
"ui",
"thread"
]
| [
"if",
"(",
"runnable",
"=",
"=",
"null",
")",
"return",
";",
"task",
"proxy",
"s",
"handler",
"post",
"(",
"runnable",
")",
";"
]
|
[
"run",
"in",
"ui",
"thread"
]
| [
"if",
"(",
"runnable",
"=",
"=",
"null",
")",
"return",
";",
"task",
"proxy",
"s",
"handler",
"post",
"delayed",
"(",
"runnable",
",",
"delay",
"millis",
")",
";"
]
|
[
"run",
"in",
"background",
"thread"
]
| [
"if",
"(",
"!",
"task",
"proxy",
"s",
"default",
"executor",
"is",
"busy",
"(",
")",
")",
"{",
"task",
"proxy",
"s",
"default",
"executor",
"execute",
"(",
"runnable",
")",
";",
"}",
"else",
"{",
"new",
"thread",
"(",
"runnable",
")",
"start",
"(",
")",
";",
"}"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.