docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"a",
"complex",
"type",
"that",
"contains",
"the",
"i",
"ds",
"and",
"the",
"health",
"status",
"of",
"the",
"instances",
"that",
"you",
"specified",
"in",
"the",
"<",
"code",
">",
"get",
"instances",
"health",
"status",
"<",
"/",
"code"... | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"status"
] | [
"this",
"status",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"more",
"than",
"<",
"code",
">",
"max",
"results",
"<",
"/",
"code",
">",
"instances",
"match",
"the",
"specified",
"criteria",
"you",
"can",
"submit",
"another",
"<",
"code",
">",
"get",
"instances",
"health",
"status",
"<",
"/",... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"an",
"inclusive",
"lower",
"bound",
"of",
"this",
"validator"
] | [
"this",
"lower",
"bound",
"=",
"new",
"bound",
"(",
"value",
",",
"false",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"an",
"exclusive",
"lower",
"bound",
"of",
"this",
"validator"
] | [
"this",
"lower",
"bound",
"=",
"new",
"bound",
"(",
"value",
",",
"true",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"inclusive",
"upper",
"bound",
"of",
"this",
"validator"
] | [
"this",
"upper",
"bound",
"=",
"new",
"bound",
"(",
"value",
",",
"false",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"exclusive",
"upper",
"bound",
"of",
"this",
"validator"
] | [
"this",
"upper",
"bound",
"=",
"new",
"bound",
"(",
"value",
",",
"true",
")",
";",
"return",
"this",
";"
] |
[
"specify",
"the",
"set",
"of",
"cache",
"names",
"for",
"this",
"cache",
"manager",
"s",
"static",
"mode",
"<",
"p",
">",
"the",
"number",
"of",
"caches",
"and",
"their",
"names",
"will",
"be",
"fixed",
"after",
"a",
"call",
"to",
"this",
"method",
"wi... | [
"if",
"(",
"cache",
"names",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"string",
"name",
":",
"cache",
"names",
")",
"{",
"this",
"cache",
"map",
"put",
"(",
"name",
",",
"create",
"caffeine",
"cache",
"(",
"name",
")",
")",
";",
"}",
"this",
"dyna... |
[
"set",
"the",
"{"
] | [
"do",
"set",
"caffeine",
"(",
"caffeine",
"from",
"(",
"caffeine",
"spec",
")",
")",
";"
] |
[
"set",
"the",
"caffeine",
"cache",
"specification",
"string",
"to",
"use",
"for",
"building",
"each",
"individual",
"{"
] | [
"do",
"set",
"caffeine",
"(",
"caffeine",
"from",
"(",
"cache",
"specification",
")",
")",
";"
] |
[
"set",
"the",
"caffeine",
"cache",
"loader",
"to",
"use",
"for",
"building",
"each",
"individual",
"{"
] | [
"if",
"(",
"!",
"object",
"utils",
"null",
"safe",
"equals",
"(",
"this",
"cache",
"loader",
",",
"cache",
"loader",
")",
")",
"{",
"this",
"cache",
"loader",
"=",
"cache",
"loader",
";",
"refresh",
"known",
"caches",
"(",
")",
";",
"}"
] |
[
"specify",
"whether",
"to",
"accept",
"and",
"convert",
"{"
] | [
"if",
"(",
"this",
"allow",
"null",
"values",
"!",
"=",
"allow",
"null",
"values",
")",
"{",
"this",
"allow",
"null",
"values",
"=",
"allow",
"null",
"values",
";",
"refresh",
"known",
"caches",
"(",
")",
";",
"}"
] |
[
"create",
"a",
"new",
"caffeine",
"cache",
"instance",
"for",
"the",
"specified",
"cache",
"name"
] | [
"return",
"new",
"caffeine",
"cache",
"(",
"name",
",",
"create",
"native",
"caffeine",
"cache",
"(",
"name",
")",
",",
"is",
"allow",
"null",
"values",
"(",
")",
")",
";"
] |
[
"create",
"a",
"native",
"caffeine",
"cache",
"instance",
"for",
"the",
"specified",
"cache",
"name"
] | [
"if",
"(",
"this",
"cache",
"loader",
"!",
"=",
"null",
")",
"{",
"return",
"this",
"cache",
"builder",
"build",
"(",
"this",
"cache",
"loader",
")",
";",
"}",
"else",
"{",
"return",
"this",
"cache",
"builder",
"build",
"(",
")",
";",
"}"
] |
[
"create",
"the",
"known",
"caches",
"again",
"with",
"the",
"current",
"state",
"of",
"this",
"manager"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"cache",
">",
"entry",
":",
"this",
"cache",
"map",
"entry",
"set",
"(",
")",
")",
"{",
"entry",
"set",
"value",
"(",
"create",
"caffeine",
"cache",
"(",
"entry",
"get",
"key",
"(",
")",
")",
")",
"... |
[
"todo",
"use",
"code",
"points",
"and",
"not",
"chars"
] | [
"line",
"status",
"quoter",
"=",
"new",
"line",
"status",
"(",
")",
";",
"int",
"from",
"=",
"index",
";",
"string",
"builder",
"value",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"while",
"(",
"index",
"<",
"s",
"length",
"(",
")",
")",
"{",
... |
[
"returns",
"true",
"if",
"all",
"susbcribers",
"in",
"the",
"subscriber",
"pool",
"have",
"been",
"launched"
] | [
"boolean",
"launched",
"=",
"true",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"workers",
";",
"i",
"+",
"+",
")",
"{",
"launched",
"=",
"launched",
"&",
"&",
"subscriber",
"[",
"i",
"]",
"subscriber",
"launched",
"(",
")",
";",... |
[
"stop",
"the",
"server"
] | [
"if",
"(",
"subscriber",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"subscriber",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"subscriber",
"[",
"i",
"]",
"!",
"=",
"null",
")",
"{",
"subscriber",
"[",... |
[
"appends",
"the",
"first",
"part",
"of",
"the",
"host",
"name",
"to",
"the",
"ticket",
"id",
"so",
"as",
"to",
"moderately",
"provide",
"a",
"relevant",
"unique",
"value",
"mapped",
"to",
"the",
"host",
"name",
"and",
"not",
"auto",
"-",
"leak",
"infrast... | [
"if",
"(",
"string",
"utils",
"is",
"not",
"blank",
"(",
"suffix",
")",
")",
"{",
"return",
"suffix",
";",
"}",
"return",
"inet",
"address",
"utils",
"get",
"cas",
"server",
"host",
"name",
"(",
")",
";"
] |
[
"set",
"the",
"value",
"of",
"the",
"{"
] | [
"this",
"for",
"id",
"=",
"for",
"id",
";"
] |
[
"get",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"this",
"for",
"id",
";"
] |
[
"writes",
"the",
"opening",
"{"
] | [
"tag",
"writer",
"start",
"tag",
"(",
"label",
"tag",
")",
";",
"tag",
"writer",
"write",
"attribute",
"(",
"for",
"attribute",
",",
"resolve",
"for",
"(",
")",
")",
";",
"write",
"default",
"attributes",
"(",
"tag",
"writer",
")",
";",
"tag",
"writer"... |
[
"determine",
"the",
"{"
] | [
"if",
"(",
"string",
"utils",
"has",
"text",
"(",
"this",
"for",
"id",
")",
")",
"{",
"return",
"get",
"display",
"string",
"(",
"evaluate",
"(",
"for",
"attribute",
",",
"this",
"for",
"id",
")",
")",
";",
"}",
"else",
"{",
"return",
"autogenerate",... |
[
"disposes",
"of",
"the",
"{"
] | [
"super",
"do",
"finally",
"(",
")",
";",
"this",
"tag",
"writer",
"=",
"null",
";"
] |
[
"update",
"requests"
] | [
"if",
"(",
"document",
"instanceof",
"update",
"request",
")",
"{",
"return",
"(",
"update",
"request",
")",
"document",
";",
"}",
"update",
"request",
"update",
"request",
"=",
"new",
"update",
"request",
"(",
")",
";",
"if",
"(",
"document",
"instanceof"... |
[
"index",
"requests"
] | [
"if",
"(",
"document",
"instanceof",
"index",
"request",
")",
"{",
"return",
"(",
"index",
"request",
")",
"document",
";",
"}",
"index",
"request",
"index",
"request",
"=",
"new",
"index",
"request",
"(",
")",
";",
"if",
"(",
"document",
"instanceof",
"... |
[
"simple",
"test",
"to",
"make",
"sure",
"nodes",
"created",
"by",
"agents",
"use",
"the",
"a",
"c",
"ls",
"provided",
"by",
"the",
"acl",
"provider"
] | [
"start",
"default",
"master",
"(",
")",
";",
"start",
"default",
"agent",
"(",
"test",
"host",
")",
";",
"await",
"host",
"registered",
"(",
"test",
"host",
",",
"wait",
"timeout",
"seconds",
",",
"time",
"unit",
"seconds",
")",
";",
"final",
"curator",
... |
[
"simple",
"test",
"to",
"make",
"sure",
"nodes",
"created",
"by",
"master",
"use",
"the",
"a",
"c",
"ls",
"provided",
"by",
"the",
"acl",
"provider"
] | [
"start",
"default",
"master",
"(",
")",
";",
"polling",
"await",
"(",
"wait",
"timeout",
"seconds",
",",
"time",
"unit",
"seconds",
",",
"new",
"callable",
"<",
"boolean",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"call",
"(",
")",
"thr... |
[
"returns",
"the",
"eigenvalues",
"of",
"kernel",
"principal",
"components",
"ordered",
"from",
"largest",
"to",
"smallest"
] | [
"return",
"latent",
";"
] |
[
"removes",
"filter"
] | [
"filters",
"remove",
"(",
"filter",
")",
";"
] |
[
"returns",
"the",
"filters",
"of",
"the",
"filter",
"set"
] | [
"return",
"collections",
"unmodifiable",
"set",
"(",
"filters",
")",
";"
] |
[
"clears",
"the",
"filter",
"set"
] | [
"filters",
"clear",
"(",
")",
";"
] |
[
"construct",
"an",
"asynchronous",
"implementation",
"of",
"amazon",
"connect",
"async",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"amazon",
"connect",
"async",
"client",
"(",
"params",
")",
";"
] |
[
"all",
"tests",
"are",
"in",
"superclass"
] | [
"return",
"timed",
"spring",
"rule",
"test",
"case",
"class",
";"
] |
[
"getter",
"for",
"the",
"default",
"audience"
] | [
"return",
"default",
"audience",
";"
] |
[
"sets",
"the",
"default",
"audience",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"this",
"value",
"is",
"only",
"useful",
"when",
"specifying",
"publish",
"permissions",
"for",
"the",
"native",
"login",
"dialog"
] | [
"properties",
"set",
"default",
"audience",
"(",
"default",
"audience",
")",
";"
] |
[
"gets",
"the",
"default",
"audience",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"this",
"value",
"is",
"only",
"useful",
"when",
"specifying",
"publish",
"permissions",
"for",
"the",
"native",
"login",
"dialog"
] | [
"return",
"properties",
"get",
"default",
"audience",
"(",
")",
";"
] |
[
"set",
"the",
"permissions",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"the",
"permissions",
"here",
"can",
"only",
"be",
"read",
"permissions",
"if",
"any",
"publish",
"permissions",
"are",
"included",
"the",
"login",
"attempt",
"by",
"the",
"user",... | [
"properties",
"set",
"read",
"permissions",
"(",
"permissions",
")",
";"
] |
[
"set",
"the",
"permissions",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"the",
"permissions",
"here",
"can",
"only",
"be",
"read",
"permissions",
"if",
"any",
"publish",
"permissions",
"are",
"included",
"the",
"login",
"attempt",
"by",
"the",
"user",... | [
"properties",
"set",
"read",
"permissions",
"(",
"arrays",
"as",
"list",
"(",
"permissions",
")",
")",
";"
] |
[
"set",
"the",
"permissions",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"the",
"permissions",
"here",
"should",
"only",
"be",
"publish",
"permissions",
"if",
"any",
"read",
"permissions",
"are",
"included",
"the",
"login",
"attempt",
"by",
"the",
"use... | [
"properties",
"set",
"publish",
"permissions",
"(",
"permissions",
")",
";"
] |
[
"set",
"the",
"permissions",
"to",
"use",
"when",
"the",
"user",
"logs",
"in",
"the",
"permissions",
"here",
"should",
"only",
"be",
"publish",
"permissions",
"if",
"any",
"read",
"permissions",
"are",
"included",
"the",
"login",
"attempt",
"by",
"the",
"use... | [
"properties",
"set",
"publish",
"permissions",
"(",
"arrays",
"as",
"list",
"(",
"permissions",
")",
")",
";"
] |
[
"clears",
"the",
"permissions",
"currently",
"associated",
"with",
"this",
"login",
"button"
] | [
"properties",
"clear",
"permissions",
"(",
")",
";"
] |
[
"sets",
"the",
"login",
"behavior",
"during",
"authorization",
"if",
"null",
"is",
"specified",
"the",
"default",
"(",
"{",
"@",
"link",
"com",
"facebook",
"login",
"login",
"behavior",
"login",
"behavior",
"native",
"with",
"fallback",
"}",
"will",
"be",
"u... | [
"properties",
"set",
"login",
"behavior",
"(",
"login",
"behavior",
")",
";"
] |
[
"gets",
"the",
"login",
"behavior",
"during",
"authorization",
"if",
"null",
"is",
"returned",
"the",
"default",
"(",
"{",
"@",
"link",
"com",
"facebook",
"login",
"login",
"behavior",
"login",
"behavior",
"native",
"with",
"fallback",
"}",
"will",
"be",
"us... | [
"return",
"properties",
"get",
"login",
"behavior",
"(",
")",
";"
] |
[
"gets",
"the",
"auth",
"type",
"being",
"used"
] | [
"return",
"properties",
"get",
"auth",
"type",
"(",
")",
";"
] |
[
"sets",
"the",
"auth",
"type",
"to",
"be",
"used"
] | [
"properties",
"set",
"auth",
"type",
"(",
"auth",
"type",
")",
";"
] |
[
"sets",
"the",
"style",
"(",
"background",
")",
"of",
"the",
"tool",
"tip",
"popup",
"currently",
"a",
"blue",
"style",
"and",
"a",
"black",
"style",
"are",
"supported",
"blue",
"is",
"default"
] | [
"this",
"tool",
"tip",
"style",
"=",
"tool",
"tip",
"style",
";"
] |
[
"sets",
"the",
"mode",
"of",
"the",
"tool",
"tip",
"popup",
"currently",
"supported",
"modes",
"are",
"default",
"(",
"normal",
"behavior",
")",
"always",
"on",
"(",
"popup",
"remains",
"up",
"until",
"forcibly",
"dismissed",
")",
"and",
"always",
"off",
"... | [
"this",
"tool",
"tip",
"mode",
"=",
"tool",
"tip",
"mode",
";"
] |
[
"return",
"the",
"current",
"{",
"@",
"link",
"tool",
"tip",
"mode",
"}",
"for",
"this",
"login",
"button"
] | [
"return",
"tool",
"tip",
"mode",
";"
] |
[
"sets",
"the",
"amount",
"of",
"time",
"(",
"in",
"milliseconds",
")",
"that",
"the",
"tool",
"tip",
"will",
"be",
"shown",
"to",
"the",
"user",
"the",
"default",
"is",
"{",
"@",
"value",
"com",
"facebook",
"login",
"widget",
"tool",
"tip",
"popup",
"#... | [
"this",
"tool",
"tip",
"display",
"time",
"=",
"display",
"time",
";"
] |
[
"gets",
"the",
"current",
"amount",
"of",
"time",
"(",
"in",
"ms",
")",
"that",
"the",
"tool",
"tip",
"will",
"be",
"displayed",
"to",
"the",
"user"
] | [
"return",
"tool",
"tip",
"display",
"time",
";"
] |
[
"dismisses",
"the",
"tooltip",
"if",
"it",
"is",
"currently",
"visible"
] | [
"if",
"(",
"tool",
"tip",
"popup",
"!",
"=",
"null",
")",
"{",
"tool",
"tip",
"popup",
"dismiss",
"(",
")",
";",
"tool",
"tip",
"popup",
"=",
"null",
";",
"}"
] |
[
"registers",
"a",
"login",
"callback",
"to",
"the",
"given",
"callback",
"manager"
] | [
"get",
"login",
"manager",
"(",
")",
"register",
"callback",
"(",
"callback",
"manager",
",",
"callback",
")",
";"
] |
[
"unregisters",
"a",
"login",
"callback",
"to",
"the",
"given",
"callback",
"manager"
] | [
"get",
"login",
"manager",
"(",
")",
"unregister",
"callback",
"(",
"callback",
"manager",
")",
";"
] |
[
"for",
"testing",
"purposes",
"only"
] | [
"return",
"properties",
"get",
"permissions",
"(",
")",
";"
] |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"w",
"stepname",
"set",
"text",
"(",
"stepname",
")",
";",
"w",
"filename",
"set",
"text",
"(",
"const",
"nvl",
"(",
"input",
"meta",
"get",
"filename",
"(",
")",
",",
"\"",
"\"",
")",
")",
";",
"w",
"line",
"width",
"set",
"text",
"(",
"const",
... |
[
"get",
"web",
"socket",
"server",
"factory",
"being",
"used"
] | [
"return",
"this",
"factory",
";"
] |
[
"get",
"the",
"matching",
"{",
"@",
"link",
"mapped",
"resource",
"}",
"for",
"the",
"provided",
"target"
] | [
"return",
"this",
"mappings",
"get",
"match",
"(",
"target",
")",
";"
] |
[
"used",
"to",
"configure",
"the",
"default",
"{",
"@",
"link",
"web",
"socket",
"policy",
"}",
"used",
"by",
"all",
"endpoints",
"that",
"don",
"t",
"redeclare",
"the",
"values"
] | [
"return",
"this",
"factory",
"get",
"policy",
"(",
")",
";"
] |
[
"manually",
"add",
"a",
"web",
"socket",
"mapping",
"<",
"p",
">",
"if",
"mapping",
"is",
"added",
"before",
"this",
"configuration",
"is",
"started",
"then",
"it",
"is",
"persisted",
"through",
"stop",
"/",
"start",
"of",
"this",
"configuration",
"s",
"li... | [
"web",
"socket",
"creator",
"ws",
"creator",
"=",
"creator",
";",
"if",
"(",
"!",
"is",
"running",
"(",
")",
")",
"{",
"ws",
"creator",
"=",
"new",
"persisted",
"web",
"socket",
"creator",
"(",
"creator",
")",
";",
"}",
"mappings",
"put",
"(",
"path"... |
[
"manually",
"add",
"a",
"web",
"socket",
"mapping"
] | [
"path",
"spec",
"path",
"spec",
"=",
"to",
"path",
"spec",
"(",
"rawspec",
")",
";",
"add",
"mapping",
"(",
"path",
"spec",
",",
"endpoint",
"class",
")",
";"
] |
[
"<",
"p",
">",
"the",
"path",
"to",
"the",
"role",
"for",
"more",
"information",
"about",
"paths",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"iam",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
... | [
"set",
"path",
"(",
"path",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"role",
"to",
"create",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",... | [
"set",
"role",
"name",
"(",
"role",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"trust",
"relationship",
"policy",
"document",
"that",
"grants",
"an",
"entity",
"permission",
"to",
"assume",
"the",
"role",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
... | [
"set",
"assume",
"role",
"policy",
"document",
"(",
"assume",
"role",
"policy",
"document",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"role",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"session",
"duration",
"(",
"in",
"seconds",
")",
"that",
"you",
"want",
"to",
"set",
"for",
"the",
"specified",
"role",
"if",
"you",
"do",
"not",
"specify",
"a",
"value",
"for",
"this",
"setting",
"the",
"default",
"ma... | [
"set",
"max",
"session",
"duration",
"(",
"max",
"session",
"duration",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"policy",
"that",
"is",
"used",
"to",
"set",
"the",
"permissions",
"boundary",
"for",
"the",
"role",
"<",
"/",
"p",
">"
] | [
"set",
"permissions",
"boundary",
"(",
"permissions",
"boundary",
")",
";",
"return",
"this",
";"
] |
[
"checks",
"whether",
"any",
"of",
"the",
"size",
"-",
"sensitive",
"constant",
"pools",
"have",
"overflowed",
"and",
"have",
"more",
"than",
"6",
"4",
"ki",
"entries"
] | [
"return",
"has",
"overflowed",
"(",
"max",
"pool",
"size",
")",
";"
] |
[
"checks",
"whether",
"any",
"of",
"the",
"size",
"-",
"sensitive",
"constant",
"pools",
"have",
"more",
"than",
"the",
"supplied",
"maximum",
"number",
"of",
"entries"
] | [
"for",
"(",
"index",
"section",
"section",
":",
"overflowable",
"sections",
")",
"{",
"if",
"(",
"section",
"get",
"item",
"count",
"(",
")",
">",
"max",
"pool",
"size",
")",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"load",
"the",
"shared",
"objects",
"up",
"front",
"replace",
"them",
"in",
"the",
"xforms",
"/",
"jobs",
"loaded",
"from",
"xml",
"we",
"do",
"this",
"for",
"performance",
"reasons"
] | [
"shared",
"objects",
"=",
"new",
"shared",
"objects",
"(",
")",
";",
"for",
"(",
"object",
"id",
"id",
":",
"rep",
"get",
"database",
"i",
"ds",
"(",
"false",
")",
")",
"{",
"database",
"meta",
"database",
"meta",
"=",
"rep",
"load",
"database",
"met... |
[
"adapted",
"from",
"kettle",
"database",
"repository",
"database",
"delegate",
"save",
"database",
"meta"
] | [
"if",
"(",
"!",
"equals",
"(",
"database",
"meta",
"get",
"name",
"(",
")",
",",
"database",
"meta",
"2",
"get",
"name",
"(",
")",
")",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"!",
"equals",
"(",
"database",
"meta",
"get",
"plug... |
[
"package",
"-",
"local",
"visibility",
"for",
"testing",
"purposes"
] | [
"for",
"(",
"step",
"meta",
"step",
"meta",
":",
"trans",
"meta",
"get",
"steps",
"(",
")",
")",
"{",
"step",
"meta",
"interface",
"step",
"meta",
"interface",
"=",
"step",
"meta",
"get",
"step",
"meta",
"interface",
"(",
")",
";",
"if",
"(",
"step",... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"file",
"size",
"in",
"bytes",
">",
"=",
"0",
")",
"{",
"costs",
"add",
"disk",
"cost",
"(",
"file",
"size",
"in",
"bytes",
")",
";",
"}",
"else",
"{",
"costs",
"set",
"disk",
"cost",
"(",
"costs",
"unknown",
")",
";",
"}",
"costs",
... |
[
"make",
"a",
"new",
"n",
"f",
"s",
"file",
"vec",
"key",
"which",
"holds",
"the",
"filename",
"implicitly",
"this",
"name",
"is",
"used",
"by",
"the",
"chunks",
"to",
"load",
"data",
"on",
"-",
"demand",
"blocking"
] | [
"futures",
"fs",
"=",
"new",
"futures",
"(",
")",
";",
"n",
"f",
"s",
"file",
"vec",
"nfs",
"=",
"make",
"(",
"f",
",",
"fs",
")",
";",
"fs",
"block",
"for",
"pending",
"(",
")",
";",
"return",
"nfs",
";"
] |
[
"the",
"type",
"of",
"dimension",
":",
"inclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"included",
"in",
"the",
"segment",
"exclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"excluded",
"from",
"the",
"segment"
... | [
"set",
"attribute",
"type",
"(",
"attribute",
"type",
")",
";",
"return",
"this",
";"
] |
[
"the",
"type",
"of",
"dimension",
":",
"inclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"included",
"in",
"the",
"segment",
"exclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"excluded",
"from",
"the",
"segment"
... | [
"with",
"attribute",
"type",
"(",
"attribute",
"type",
")",
";"
] |
[
"the",
"type",
"of",
"dimension",
":",
"inclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"included",
"in",
"the",
"segment",
"exclusive",
"-",
"endpoints",
"that",
"match",
"the",
"criteria",
"are",
"excluded",
"from",
"the",
"segment"
... | [
"this",
"attribute",
"type",
"=",
"attribute",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"the",
"criteria",
"values",
"for",
"the",
"segment",
"dimension",
"endpoints",
"with",
"matching",
"attribute",
"values",
"are",
"included",
"or",
"excluded",
"from",
"the",
"segment",
"depending",
"on",
"the",
"setting",
"for",
"type",
"<",
"p",
">",
"<",
... | [
"if",
"(",
"this",
"values",
"=",
"=",
"null",
")",
"{",
"set",
"values",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"values",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"values",
")",
"{",
"this",
... |
[
"the",
"criteria",
"values",
"for",
"the",
"segment",
"dimension",
"endpoints",
"with",
"matching",
"attribute",
"values",
"are",
"included",
"or",
"excluded",
"from",
"the",
"segment",
"depending",
"on",
"the",
"setting",
"for",
"type"
] | [
"set",
"values",
"(",
"values",
")",
";",
"return",
"this",
";"
] |
[
"reserve",
"at",
"least",
"len",
"bytes",
"at",
"the",
"end",
"of",
"the",
"buffer",
"invalid",
"if",
"len",
"&",
"gt",
";",
"buffer",
"length"
] | [
"if",
"(",
"len",
">",
"(",
"buf",
"length",
"-",
"pos",
")",
")",
"flush",
"buffer",
"(",
")",
";"
] |
[
"only",
"flushes",
"the",
"buffer",
"of",
"the",
"fast",
"output",
"stream",
"not",
"that",
"of",
"the",
"underlying",
"stream"
] | [
"if",
"(",
"pos",
">",
"0",
")",
"{",
"written",
"+",
"=",
"pos",
";",
"flush",
"(",
"buf",
",",
"0",
",",
"pos",
")",
";",
"pos",
"=",
"0",
";",
"}"
] |
[
"all",
"writes",
"to",
"the",
"sink",
"will",
"go",
"through",
"this",
"method"
] | [
"out",
"write",
"(",
"buf",
",",
"offset",
",",
"len",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"bytes",
"actually",
"written",
"to",
"the",
"underlying",
"output",
"stream",
"not",
"including",
"anything",
"currently",
"buffered",
"by",
"this",
"class",
"itself"
] | [
"return",
"written",
";"
] |
[
"creates",
"a",
"cache",
"for",
"users"
] | [
"public",
"abstract",
"void",
"enable",
"and",
"reset",
"cache",
"(",
")",
";"
] |
[
"/",
"*",
"package"
] | [
"final",
"string",
"description",
"=",
"stream",
"read",
"u",
"t",
"f",
"(",
")",
";",
"final",
"string",
"rule",
"class",
"name",
"=",
"stream",
"read",
"u",
"t",
"f",
"(",
")",
";",
"final",
"int",
"begin",
"line",
"=",
"stream",
"read",
"int",
"... |
[
"/",
"*",
"package"
] | [
"stream",
"write",
"u",
"t",
"f",
"(",
"get",
"value",
"or",
"empty",
"(",
"violation",
"get",
"description",
"(",
")",
")",
")",
";",
"stream",
"write",
"u",
"t",
"f",
"(",
"get",
"value",
"or",
"empty",
"(",
"violation",
"get",
"rule",
"(",
")",
... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"this",
"task",
"context",
"=",
"context",
";"
] |
[
"<",
"p",
">",
"the",
"execution",
"id",
"of",
"the",
"automation",
"to",
"stop",
"<",
"/",
"p",
">"
] | [
"set",
"automation",
"execution",
"id",
"(",
"automation",
"execution",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"stop",
"request",
"type",
"valid",
"types",
"include",
"the",
"following",
":",
"cancel",
"and",
"complete",
"the",
"default",
"type",
"is",
"cancel",
"<",
"/",
"p",
">"
] | [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"stop",
"request",
"type",
"valid",
"types",
"include",
"the",
"following",
":",
"cancel",
"and",
"complete",
"the",
"default",
"type",
"is",
"cancel",
"<",
"/",
"p",
">"
] | [
"this",
"type",
"=",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"put",
"all",
"processing",
"in",
"the",
"context",
"on",
"hold",
"this",
"is",
"typically",
"called",
"from",
"your",
"application",
"s",
"<",
"code",
">",
"on",
"pause",
"(",
")",
"<",
"/",
"code",
">",
"method",
"and",
"will",
"stop",
"all",
"runnin... | [
"synchronized",
"(",
"m",
"state",
")",
"{",
"if",
"(",
"m",
"state",
"current",
"=",
"=",
"state",
"state",
"running",
")",
"{",
"if",
"(",
"m",
"camera",
"streamer",
"!",
"=",
"null",
")",
"{",
"m",
"camera",
"streamer",
"halt",
"(",
")",
";",
... |
[
"resumes",
"the",
"processing",
"in",
"this",
"context",
"this",
"is",
"typically",
"called",
"from",
"the",
"application",
"s",
"<",
"code",
">",
"on",
"resume",
"(",
")",
"<",
"/",
"code",
">",
"method",
"and",
"will",
"resume",
"processing",
"any",
"o... | [
"synchronized",
"(",
"m",
"state",
")",
"{",
"if",
"(",
"m",
"state",
"current",
"=",
"=",
"state",
"state",
"paused",
")",
"{",
"resume",
"runners",
"(",
")",
";",
"resume",
"camera",
"(",
")",
";",
"m",
"state",
"current",
"=",
"state",
"state",
... |
[
"release",
"all",
"resources",
"associated",
"with",
"this",
"context",
"this",
"will",
"also",
"stop",
"any",
"running",
"graphs"
] | [
"synchronized",
"(",
"m",
"state",
")",
"{",
"if",
"(",
"m",
"state",
"current",
"!",
"=",
"state",
"state",
"destroyed",
")",
"{",
"if",
"(",
"m",
"camera",
"streamer",
"!",
"=",
"null",
")",
"{",
"m",
"camera",
"streamer",
"stop",
"(",
")",
";",
... |
[
"set",
"whether",
"frames",
"are",
"preserved",
"when",
"the",
"context",
"is",
"paused",
"when",
"passing",
"false",
"all",
"frames",
"associated",
"with",
"this",
"context",
"are",
"released",
"the",
"default",
"value",
"is",
"true"
] | [
"m",
"preserve",
"frames",
"on",
"pause",
"=",
"preserve",
";"
] |
[
"returns",
"whether",
"frames",
"are",
"preserved",
"when",
"the",
"context",
"is",
"paused"
] | [
"return",
"m",
"preserve",
"frames",
"on",
"pause",
";"
] |
[
"returns",
"the",
"context",
"s",
"shared",
"camera",
"streamer",
"use",
"the",
"camera",
"streamer",
"to",
"control",
"the",
"camera",
"frames",
"from",
"the",
"camera",
"are",
"typically",
"streamed",
"to",
"camera",
"source",
"filters"
] | [
"if",
"(",
"m",
"camera",
"streamer",
"=",
"=",
"null",
")",
"{",
"m",
"camera",
"streamer",
"=",
"new",
"camera",
"streamer",
"(",
"this",
")",
";",
"}",
"return",
"m",
"camera",
"streamer",
";"
] |
[
"set",
"the",
"default",
"egl",
"config",
"chooser"
] | [
"render",
"target",
"set",
"e",
"g",
"l",
"config",
"chooser",
"(",
"red",
"size",
",",
"green",
"size",
",",
"blue",
"size",
",",
"alpha",
"size",
",",
"depth",
"size",
",",
"stencil",
"size",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"context",
"supports",
"using",
"open",
"g",
"l"
] | [
"return",
"m",
"g",
"l",
"support",
";"
] |
[
"returns",
"true",
"if",
"this",
"context",
"supports",
"camera",
"streaming"
] | [
"return",
"m",
"camera",
"streaming",
"support",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"or",
"unique",
"id",
"of",
"the",
"stack",
"set",
"that",
"the",
"stack",
"instance",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] | [
"set",
"stack",
"set",
"id",
"(",
"stack",
"set",
"id",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.