docstring_tokens
list | code_tokens
list |
---|---|
[
"called",
"once",
"at",
"initialization"
] |
[] |
[
"called",
"once",
"at",
"initialization"
] |
[
"initialize",
"(",
"split",
")",
";"
] |
[
"return",
"a",
"collection",
"of",
"tags",
"grouped",
"under",
"a",
"common",
"prefix",
"(",
"the",
"name",
"component",
"before",
":",
")"
] |
[
"return",
"repo",
"tags",
";"
] |
[
"gets",
"the",
"length",
"of",
"this",
"policy",
"s",
"time",
"interval"
] |
[
"return",
"size",
";"
] |
[
"returns",
"the",
"size",
"the",
"section",
"has",
"at",
"runtime",
"when",
"the",
"corresponding",
"module",
"is",
"mapped",
"to",
"the",
"address",
"space"
] |
[
"return",
"virtual",
"size",
";"
] |
[
"<",
"p",
">",
"for",
"nested",
"stacks",
"-",
"-",
"stacks",
"created",
"as",
"resources",
"for",
"another",
"stack",
"-",
"-",
"the",
"stack",
"id",
"of",
"the",
"direct",
"parent",
"of",
"this",
"stack",
"for",
"the",
"first",
"level",
"of",
"nested",
"stacks",
"the",
"root",
"stack",
"is",
"also",
"the",
"parent",
"stack",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"nested",
"-",
"stacks",
"html",
">",
"working",
"with",
"nested",
"stacks",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"aws",
"cloud",
"formation",
"user",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
] |
[
"this",
"parent",
"id",
"=",
"parent",
"id",
";"
] |
[
"{"
] |
[
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"(",
"(",
"tcp",
"discovery",
"spi",
")",
"cfg",
"get",
"discovery",
"spi",
"(",
")",
")",
"set",
"ip",
"finder",
"(",
"ip",
"finder",
")",
";",
"if",
"(",
"ignite",
"instance",
"name",
"equals",
"(",
"get",
"test",
"ignite",
"instance",
"name",
"(",
"grid",
"cnt",
"-",
"1",
")",
")",
")",
"cfg",
"set",
"client",
"mode",
"(",
"true",
")",
";",
"(",
"(",
"tcp",
"communication",
"spi",
")",
"cfg",
"get",
"communication",
"spi",
"(",
")",
")",
"set",
"shared",
"memory",
"port",
"(",
"-",
"1",
")",
";",
"return",
"cfg",
";"
] |
[
"{"
] |
[
"super",
"before",
"tests",
"started",
"(",
")",
";",
"start",
"grids",
"(",
"4",
")",
";"
] |
[
"{"
] |
[
"return",
"test",
"time",
"+",
"60",
"000",
";"
] |
[
"{"
] |
[
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"test",
"key",
"test",
"key",
"=",
"(",
"test",
"key",
")",
"o",
";",
"return",
"key",
"=",
"=",
"test",
"key",
"key",
";"
] |
[
"{"
] |
[
"return",
"(",
"int",
")",
"(",
"key",
"^",
"(",
"key",
">",
">",
">",
"32",
")",
")",
";"
] |
[
"{"
] |
[
"return",
"s",
"to",
"string",
"(",
"test",
"key",
"class",
",",
"this",
")",
";"
] |
[
"{"
] |
[
"return",
"s",
"to",
"string",
"(",
"test",
"value",
"class",
",",
"this",
")",
";"
] |
[
"{"
] |
[
"test",
"value",
"old",
"=",
"e",
"get",
"value",
"(",
")",
";",
"if",
"(",
"val",
"!",
"=",
"null",
")",
"e",
"set",
"value",
"(",
"new",
"test",
"value",
"(",
"val",
")",
")",
";",
"return",
"old",
";"
] |
[
"<",
"p",
">",
"the",
"compliance",
"status",
"for",
"the",
"resource",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"verify",
"software",
"token",
"<",
"/",
"p",
">"
] |
[
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"verify",
"software",
"token",
"<",
"/",
"p",
">"
] |
[
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"session",
"which",
"should",
"be",
"passed",
"both",
"ways",
"in",
"challenge",
"-",
"response",
"calls",
"to",
"the",
"service",
"<",
"/",
"p",
">"
] |
[
"set",
"session",
"(",
"session",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] |
[
"return",
"to",
"string",
"(",
")",
";"
] |
[
"{"
] |
[
"logger",
"root",
"=",
"logger",
"get",
"root",
"logger",
"(",
")",
";",
"for",
"(",
"enumeration",
"appenders",
"=",
"root",
"get",
"all",
"appenders",
"(",
")",
";",
"appenders",
"has",
"more",
"elements",
"(",
")",
";",
")",
"{",
"if",
"(",
"appenders",
"next",
"element",
"(",
")",
"instanceof",
"log",
"4j",
"rolling",
"file",
"appender",
")",
"return",
";",
"}",
"appender",
"=",
"create",
"appender",
"(",
")",
";",
"root",
"add",
"appender",
"(",
"appender",
")",
";"
] |
[
"{"
] |
[
"if",
"(",
"appender",
"!",
"=",
"null",
")",
"{",
"logger",
"get",
"root",
"logger",
"(",
")",
"remove",
"appender",
"(",
"log",
"4j",
"rolling",
"file",
"appender",
"class",
"get",
"simple",
"name",
"(",
")",
")",
";",
"log",
"4",
"j",
"logger",
"remove",
"appender",
"(",
"appender",
")",
";",
"}"
] |
[
"tests",
"correct",
"behaviour",
"in",
"case",
"2",
"local",
"nodes",
"are",
"started"
] |
[
"check",
"one",
"node",
"(",
"0",
")",
";",
"check",
"one",
"node",
"(",
"1",
")",
";"
] |
[
"set",
"the",
"length"
] |
[
"byte",
"[",
"]",
"header",
"size",
"=",
"utils",
"get",
"size",
"b",
"e",
"int",
"3",
"2",
"(",
"length",
")",
";",
"data",
"buffer",
"put",
"(",
"0",
",",
"header",
"size",
"[",
"0",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"1",
",",
"header",
"size",
"[",
"1",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"2",
",",
"header",
"size",
"[",
"2",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"3",
",",
"header",
"size",
"[",
"3",
"]",
")",
";",
"this",
"length",
"=",
"length",
";"
] |
[
"set",
"the",
"id"
] |
[
"byte",
"[",
"]",
"header",
"size",
"=",
"utils",
"get",
"size",
"b",
"e",
"int",
"3",
"2",
"(",
"length",
")",
";",
"data",
"buffer",
"put",
"(",
"5",
",",
"header",
"size",
"[",
"0",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"6",
",",
"header",
"size",
"[",
"1",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"7",
",",
"header",
"size",
"[",
"2",
"]",
")",
";",
"data",
"buffer",
"put",
"(",
"8",
",",
"header",
"size",
"[",
"3",
"]",
")",
";",
"this",
"length",
"=",
"length",
";"
] |
[
"set",
"location",
"in",
"file",
"of",
"the",
"start",
"of",
"file",
"header",
"(",
"i",
"e",
"where",
"the",
"4",
"byte",
"length",
"field",
"starts",
")"
] |
[
"this",
"file",
"pos",
"=",
"file",
"pos",
";"
] |
[
"setup",
"for",
"the",
"whole",
"base",
"test",
"class"
] |
[
"search",
"module",
"search",
"module",
"=",
"new",
"search",
"module",
"(",
"settings",
"empty",
",",
"false",
",",
"empty",
"list",
"(",
")",
")",
";",
"named",
"writeable",
"registry",
"=",
"new",
"named",
"writeable",
"registry",
"(",
"search",
"module",
"get",
"named",
"writeables",
"(",
")",
")",
";",
"x",
"content",
"registry",
"=",
"new",
"named",
"x",
"content",
"registry",
"(",
"search",
"module",
"get",
"named",
"x",
"contents",
"(",
")",
")",
";"
] |
[
"create",
"a",
"{"
] |
[
"nested",
"sort",
"builder",
"nested",
"sort",
"=",
"new",
"nested",
"sort",
"builder",
"(",
"random",
"alpha",
"of",
"length",
"between",
"(",
"3",
",",
"10",
")",
")",
";",
"if",
"(",
"random",
"boolean",
"(",
")",
")",
"{",
"nested",
"sort",
"set",
"filter",
"(",
"abstract",
"sort",
"test",
"case",
"random",
"nested",
"filter",
"(",
")",
")",
";",
"}",
"if",
"(",
"depth",
">",
"0",
")",
"{",
"nested",
"sort",
"set",
"nested",
"sort",
"(",
"create",
"random",
"nested",
"sort",
"(",
"depth",
"-",
"1",
")",
")",
";",
"}",
"return",
"nested",
"sort",
";"
] |
[
"test",
"serialization",
"of",
"the",
"test",
"nested",
"sort"
] |
[
"for",
"(",
"int",
"runs",
"=",
"0",
";",
"runs",
"<",
"number",
"of",
"testbuilders",
";",
"runs",
"+",
"+",
")",
"{",
"nested",
"sort",
"builder",
"testsort",
"=",
"create",
"random",
"nested",
"sort",
"(",
"3",
")",
";",
"nested",
"sort",
"builder",
"deserializedsort",
"=",
"copy",
"(",
"testsort",
")",
";",
"assert",
"equals",
"(",
"testsort",
",",
"deserializedsort",
")",
";",
"assert",
"equals",
"(",
"testsort",
"hash",
"code",
"(",
")",
",",
"deserializedsort",
"hash",
"code",
"(",
")",
")",
";",
"assert",
"not",
"same",
"(",
"testsort",
",",
"deserializedsort",
")",
";",
"}"
] |
[
"test",
"equality",
"and",
"hash",
"code",
"properties"
] |
[
"for",
"(",
"int",
"runs",
"=",
"0",
";",
"runs",
"<",
"number",
"of",
"testbuilders",
";",
"runs",
"+",
"+",
")",
"{",
"equals",
"hash",
"code",
"test",
"utils",
"check",
"equals",
"and",
"hash",
"code",
"(",
"create",
"random",
"nested",
"sort",
"(",
"3",
")",
",",
"nested",
"sort",
"builder",
"tests",
":",
":",
"copy",
",",
"nested",
"sort",
"builder",
"tests",
":",
":",
"mutate",
")",
";",
"}"
] |
[
"version",
"&",
"schema",
"-",
"specific",
"filling",
"into",
"the",
"handler"
] |
[
"abstract",
"public",
"s",
"fill",
"into",
"(",
"h",
"h",
")",
";"
] |
[
"version",
"&",
"schema",
"-",
"specific",
"filling",
"from",
"the",
"handler"
] |
[
"abstract",
"public",
"s",
"fill",
"from",
"(",
"h",
"h",
")",
";"
] |
[
"export",
"-",
"to",
"-",
"csv",
"etc",
"options",
"return",
"a",
"url",
"or",
"null",
"if",
"not",
"appropriate"
] |
[
"return",
"null",
";"
] |
[
"implementations",
"for",
"attribute"
] |
[
"attribute",
"visitor",
"visit",
"constant",
"value",
"attribute",
"(",
"clazz",
",",
"field",
",",
"this",
")",
";"
] |
[
"gets",
"client",
"credentials",
"for",
"authentication",
"process"
] |
[
"return",
"cred",
";"
] |
[
"sets",
"client",
"credentials",
"for",
"authentication"
] |
[
"this",
"cred",
"=",
"cred",
";"
] |
[
"{"
] |
[
"super",
"write",
"external",
"(",
"out",
")",
";",
"out",
"write",
"object",
"(",
"cred",
")",
";"
] |
[
"{"
] |
[
"super",
"read",
"external",
"(",
"in",
")",
";",
"cred",
"=",
"in",
"read",
"object",
"(",
")",
";"
] |
[
"{"
] |
[
"return",
"s",
"to",
"string",
"(",
"grid",
"client",
"authentication",
"request",
"class",
",",
"this",
",",
"super",
"to",
"string",
"(",
")",
")",
";"
] |
[
"borrowed",
"from",
"math",
"utils"
] |
[
"return",
"amount",
"<",
"low",
"?",
"low",
":",
"(",
"amount",
">",
"high",
"?",
"high",
":",
"amount",
")",
";"
] |
[
"/"
] |
[
"float",
"[",
"]",
"[",
"]",
"texture",
"=",
"new",
"float",
"[",
"height",
"]",
"[",
"width",
"]",
";",
"for",
"(",
"int",
"y",
"=",
"0",
";",
"y",
"<",
"height",
";",
"y",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"x",
"=",
"0",
";",
"x",
"<",
"width",
";",
"x",
"+",
"+",
")",
"{",
"texture",
"[",
"y",
"]",
"[",
"x",
"]",
"=",
"math",
"max",
"(",
"0",
"0f",
",",
"math",
"min",
"(",
"1",
"0f",
",",
"(",
"float",
")",
"noise",
"function",
"2",
"d",
"(",
"x",
"+",
"r",
",",
"y",
"+",
"r",
")",
"*",
"0",
"5f",
"+",
"0",
"5f",
")",
")",
";",
"}",
"}",
"return",
"texture",
";"
] |
[
"/"
] |
[
"r",
"=",
"noise",
"filter",
"get",
"random",
"int",
"(",
"1",
",",
"5000",
")",
";"
] |
[
"setup",
"the",
"global",
"quota",
"information",
"(",
"this",
"operation",
"is",
"part",
"of",
"the",
"quota",
"state",
"setup",
")"
] |
[
"if",
"(",
"quotas",
"has",
"throttle",
"(",
")",
")",
"{",
"global",
"limiter",
"=",
"quota",
"limiter",
"factory",
"from",
"throttle",
"(",
"quotas",
"get",
"throttle",
"(",
")",
")",
";",
"}",
"else",
"{",
"global",
"limiter",
"=",
"noop",
"quota",
"limiter",
"get",
"(",
")",
";",
"}"
] |
[
"perform",
"an",
"update",
"of",
"the",
"quota",
"info",
"based",
"on",
"the",
"other",
"quota",
"info",
"object",
"(",
"this",
"operation",
"is",
"executed",
"by",
"the",
"quota",
"cache",
")"
] |
[
"if",
"(",
"global",
"limiter",
"=",
"=",
"noop",
"quota",
"limiter",
"get",
"(",
")",
")",
"{",
"global",
"limiter",
"=",
"other",
"global",
"limiter",
";",
"}",
"else",
"if",
"(",
"other",
"global",
"limiter",
"=",
"=",
"noop",
"quota",
"limiter",
"get",
"(",
")",
")",
"{",
"global",
"limiter",
"=",
"noop",
"quota",
"limiter",
"get",
"(",
")",
";",
"}",
"else",
"{",
"global",
"limiter",
"=",
"quota",
"limiter",
"factory",
"update",
"(",
"global",
"limiter",
",",
"other",
"global",
"limiter",
")",
";",
"}",
"last",
"update",
"=",
"other",
"last",
"update",
";"
] |
[
"return",
"the",
"limiter",
"associated",
"with",
"this",
"quota"
] |
[
"last",
"query",
"=",
"environment",
"edge",
"manager",
"current",
"time",
"(",
")",
";",
"return",
"global",
"limiter",
";"
] |
[
"return",
"the",
"limiter",
"associated",
"with",
"this",
"quota",
"without",
"updating",
"internal",
"last",
"query",
"stats"
] |
[
"return",
"global",
"limiter",
";"
] |
[
"/",
"*",
"will",
"resource",
"override",
"a",
"member",
"of",
"destination",
"?"
] |
[
"if",
"(",
"resource",
"=",
"=",
"null",
")",
"return",
"false",
";",
"i",
"resource",
"destination",
"resource",
"=",
"resource",
"util",
"get",
"resource",
"(",
"f",
"destination",
")",
";",
"if",
"(",
"destination",
"resource",
"equals",
"(",
"resource",
"get",
"parent",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"destination",
"resource",
"instanceof",
"i",
"container",
")",
"{",
"i",
"container",
"container",
"=",
"(",
"i",
"container",
")",
"destination",
"resource",
";",
"i",
"resource",
"member",
"=",
"container",
"find",
"member",
"(",
"resource",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"member",
"=",
"=",
"null",
"|",
"|",
"!",
"member",
"exists",
"(",
")",
")",
"return",
"false",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"add",
"a",
"flicker",
"to",
"the",
"firework",
"effect"
] |
[
"flicker",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"set",
"whether",
"the",
"firework",
"effect",
"should",
"flicker"
] |
[
"this",
"flicker",
"=",
"flicker",
";",
"return",
"this",
";"
] |
[
"add",
"a",
"trail",
"to",
"the",
"firework",
"effect"
] |
[
"trail",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"set",
"whether",
"the",
"firework",
"effect",
"should",
"have",
"a",
"trail"
] |
[
"this",
"trail",
"=",
"trail",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"firework",
"effect",
"}",
"from",
"the",
"current",
"contents",
"of",
"this",
"builder",
"<",
"p",
">",
"to",
"successfully",
"build",
"you",
"must",
"have",
"specified",
"at",
"least",
"one",
"color"
] |
[
"return",
"new",
"firework",
"effect",
"(",
"flicker",
",",
"trail",
",",
"colors",
"build",
"(",
")",
",",
"fade",
"colors",
"=",
"=",
"null",
"?",
"immutable",
"list",
"<",
"color",
">",
"of",
"(",
")",
":",
"fade",
"colors",
"build",
"(",
")",
",",
"type",
")",
";"
] |
[
"get",
"whether",
"the",
"firework",
"effect",
"flickers"
] |
[
"return",
"flicker",
";"
] |
[
"get",
"whether",
"the",
"firework",
"effect",
"has",
"a",
"trail"
] |
[
"return",
"trail",
";"
] |
[
"get",
"the",
"fade",
"colors",
"of",
"the",
"firework",
"effect"
] |
[
"return",
"fade",
"colors",
";"
] |
[
"set",
"a",
"custom",
"{"
] |
[
"this",
"expression",
"=",
"expression",
";"
] |
[
"<",
"p",
">",
"a",
"predicate",
"to",
"specify",
"when",
"the",
"new",
"trigger",
"should",
"fire",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"field",
"is",
"required",
"when",
"the",
"trigger",
"type",
"is",
"conditional",
"<",
"/",
"p",
">"
] |
[
"this",
"predicate",
"=",
"predicate",
";"
] |
[
"<",
"p",
">",
"specifies",
"information",
"about",
"the",
"public",
"port",
"(",
"s",
")",
"<",
"/",
"p",
">"
] |
[
"return",
"port",
"infos",
";"
] |
[
"<",
"p",
">",
"specifies",
"information",
"about",
"the",
"public",
"port",
"(",
"s",
")",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"port",
"infos",
"=",
"=",
"null",
")",
"{",
"this",
"port",
"infos",
"=",
"null",
";",
"return",
";",
"}",
"this",
"port",
"infos",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"port",
"info",
">",
"(",
"port",
"infos",
")",
";"
] |
[
"<",
"p",
">",
"specifies",
"information",
"about",
"the",
"public",
"port",
"(",
"s",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"port",
"infos",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"port",
"infos",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"port",
"infos",
"=",
"=",
"null",
")",
"{",
"set",
"port",
"infos",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"port",
"info",
">",
"(",
"port",
"infos",
"length",
")",
")",
";",
"}",
"for",
"(",
"port",
"info",
"ele",
":",
"port",
"infos",
")",
"{",
"this",
"port",
"infos",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"information",
"about",
"the",
"public",
"port",
"(",
"s",
")",
"<",
"/",
"p",
">"
] |
[
"set",
"port",
"infos",
"(",
"port",
"infos",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"instance",
"to",
"get",
"state",
"information",
"about",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"instance",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"lightsail",
"instance",
"name",
"of",
"the",
"public",
"port",
"(",
"s",
")",
"you",
"are",
"setting",
"<",
"/",
"p",
">"
] |
[
"set",
"instance",
"name",
"(",
"instance",
"name",
")",
";",
"return",
"this",
";"
] |
[
"this",
"test",
"validates",
"that",
"the",
"order",
"of",
"enumeration",
"constants",
"is",
"not",
"changed",
"because",
"the",
"ordinal",
"of",
"that",
"enum",
"is",
"used",
"in",
"serialization"
] |
[
"assert",
"equals",
"(",
"0",
",",
"checkpoint",
"type",
"checkpoint",
"ordinal",
"(",
")",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"checkpoint",
"type",
"savepoint",
"ordinal",
"(",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"set",
"tape",
"a",
"r",
"n",
"(",
"tape",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"barcode",
"that",
"identifies",
"the",
"archived",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"this",
"tape",
"barcode",
"=",
"tape",
"barcode",
";"
] |
[
"<",
"p",
">",
"the",
"barcode",
"that",
"identifies",
"the",
"archived",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"tape",
"barcode",
";"
] |
[
"<",
"p",
">",
"the",
"barcode",
"that",
"identifies",
"a",
"specific",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"set",
"tape",
"barcode",
"(",
"tape",
"barcode",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"the",
"virtual",
"tape",
"was",
"created",
"<",
"/",
"p",
">"
] |
[
"this",
"tape",
"created",
"date",
"=",
"tape",
"created",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"the",
"virtual",
"tape",
"was",
"created",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"tape",
"created",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"the",
"virtual",
"tape",
"was",
"created",
"<",
"/",
"p",
">"
] |
[
"set",
"tape",
"created",
"date",
"(",
"tape",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"the",
"virtual",
"tapes",
"that",
"you",
"want",
"to",
"create",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"the",
"size",
"must",
"be",
"aligned",
"by",
"gigabyte",
"(",
"1024",
"*",
"1024",
"*",
"1024",
"byte",
")",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] |
[
"this",
"tape",
"size",
"in",
"bytes",
"=",
"tape",
"size",
"in",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"the",
"virtual",
"tapes",
"that",
"you",
"want",
"to",
"create",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"the",
"size",
"must",
"be",
"aligned",
"by",
"gigabyte",
"(",
"1024",
"*",
"1024",
"*",
"1024",
"byte",
")",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] |
[
"return",
"this",
"tape",
"size",
"in",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"the",
"virtual",
"tape",
"capacity",
"<",
"/",
"p",
">"
] |
[
"set",
"tape",
"size",
"in",
"bytes",
"(",
"tape",
"size",
"in",
"bytes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"state",
"of",
"the",
"archived",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"this",
"tape",
"status",
"=",
"tape",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"state",
"of",
"the",
"archived",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"tape",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"state",
"of",
"the",
"virtual",
"tape",
"<",
"/",
"p",
">"
] |
[
"set",
"tape",
"status",
"(",
"tape",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"virtual",
"tape",
"library",
"(",
"vtl",
")",
"device",
"that",
"the",
"virtual",
"tape",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] |
[
"this",
"v",
"t",
"l",
"device",
"=",
"v",
"t",
"l",
"device",
";"
] |
[
"<",
"p",
">",
"the",
"virtual",
"tape",
"library",
"(",
"vtl",
")",
"device",
"that",
"the",
"virtual",
"tape",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"v",
"t",
"l",
"device",
";"
] |
[
"<",
"p",
">",
"the",
"virtual",
"tape",
"library",
"(",
"vtl",
")",
"device",
"that",
"the",
"virtual",
"tape",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] |
[
"set",
"v",
"t",
"l",
"device",
"(",
"v",
"t",
"l",
"device",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"for",
"archiving",
"virtual",
"tapes",
"indicates",
"how",
"much",
"data",
"remains",
"to",
"be",
"uploaded",
"before",
"archiving",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"range",
":",
"0",
"(",
"not",
"started",
")",
"to",
"100",
"(",
"complete",
")",
"<",
"/",
"p",
">"
] |
[
"this",
"progress",
"=",
"progress",
";"
] |
[
"<",
"p",
">",
"for",
"archiving",
"virtual",
"tapes",
"indicates",
"how",
"much",
"data",
"remains",
"to",
"be",
"uploaded",
"before",
"archiving",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"range",
":",
"0",
"(",
"not",
"started",
")",
"to",
"100",
"(",
"complete",
")",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"progress",
";"
] |
[
"<",
"p",
">",
"for",
"archiving",
"virtual",
"tapes",
"indicates",
"how",
"much",
"data",
"remains",
"to",
"be",
"uploaded",
"before",
"archiving",
"is",
"complete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"range",
":",
"0",
"(",
"not",
"started",
")",
"to",
"100",
"(",
"complete",
")",
"<",
"/",
"p",
">"
] |
[
"set",
"progress",
"(",
"progress",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"data",
"stored",
"on",
"the",
"virtual",
"tape",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"value",
"is",
"not",
"available",
"for",
"tapes",
"created",
"prior",
"to",
"may",
"13",
"2015",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] |
[
"this",
"tape",
"used",
"in",
"bytes",
"=",
"tape",
"used",
"in",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"data",
"stored",
"on",
"the",
"virtual",
"tape",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"value",
"is",
"not",
"available",
"for",
"tapes",
"created",
"prior",
"to",
"may",
"13",
"2015",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] |
[
"return",
"this",
"tape",
"used",
"in",
"bytes",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"in",
"bytes",
"of",
"data",
"stored",
"on",
"the",
"virtual",
"tape",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"value",
"is",
"not",
"available",
"for",
"tapes",
"created",
"prior",
"to",
"may",
"13",
"2015",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] |
[
"set",
"tape",
"used",
"in",
"bytes",
"(",
"tape",
"used",
"in",
"bytes",
")",
";",
"return",
"this",
";"
] |
[
"increment",
"the",
"value",
"by",
"a",
"delta"
] |
[
"value",
"add",
"and",
"get",
"(",
"delta",
")",
";",
"set",
"changed",
"(",
")",
";"
] |
[
"decrement",
"by",
"delta"
] |
[
"value",
"add",
"and",
"get",
"(",
"-",
"delta",
")",
";",
"set",
"changed",
"(",
")",
";"
] |
[
"set",
"the",
"value",
"of",
"the",
"metric"
] |
[
"this",
"value",
"set",
"(",
"value",
")",
";",
"set",
"changed",
"(",
")",
";"
] |
[
"callback",
"rejected",
"state"
] |
[
"if",
"(",
"m",
"denied",
"!",
"=",
"null",
")",
"{",
"m",
"denied",
"on",
"action",
"(",
"denied",
"list",
")",
";",
"}"
] |
[
"get",
"denied",
"permissions"
] |
[
"list",
"<",
"string",
">",
"denied",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"1",
")",
";",
"for",
"(",
"string",
"permission",
":",
"permissions",
")",
"{",
"if",
"(",
"!",
"checker",
"has",
"permission",
"(",
"source",
"get",
"context",
"(",
")",
",",
"permission",
")",
")",
"{",
"denied",
"list",
"add",
"(",
"permission",
")",
";",
"}",
"}",
"return",
"denied",
"list",
";"
] |
[
"get",
"permissions",
"to",
"show",
"rationale"
] |
[
"list",
"<",
"string",
">",
"rationale",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"1",
")",
";",
"for",
"(",
"string",
"permission",
":",
"permissions",
")",
"{",
"if",
"(",
"source",
"is",
"show",
"rationale",
"permission",
"(",
"permission",
")",
")",
"{",
"rationale",
"list",
"add",
"(",
"permission",
")",
";",
"}",
"}",
"return",
"rationale",
"list",
";"
] |
[
"returns",
"an",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"representing",
"a",
"virtual",
"view",
"such",
"as",
"a",
"descendant",
"of",
"the",
"host",
"view",
"with",
"the",
"given",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"or",
"the",
"host",
"view",
"itself",
"if",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"equals",
"to",
"{",
"@",
"link",
"#",
"host",
"view",
"id",
"}",
"<",
"p",
">",
"a",
"virtual",
"descendant",
"is",
"an",
"imaginary",
"view",
"that",
"is",
"reported",
"as",
"a",
"part",
"of",
"the",
"view",
"hierarchy",
"for",
"accessibility",
"purposes",
"this",
"enables",
"custom",
"views",
"that",
"draw",
"complex",
"content",
"to",
"report",
"them",
"selves",
"as",
"a",
"tree",
"of",
"virtual",
"views",
"thus",
"conveying",
"their",
"logical",
"structure",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"implementer",
"is",
"responsible",
"for",
"obtaining",
"an",
"accessibility",
"node",
"info",
"from",
"the",
"pool",
"of",
"reusable",
"instances",
"and",
"setting",
"the",
"desired",
"properties",
"of",
"the",
"node",
"info",
"before",
"returning",
"it",
"<",
"/",
"p",
">"
] |
[
"return",
"null",
";"
] |
[
"adds",
"extra",
"data",
"to",
"an",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"based",
"on",
"an",
"explicit",
"request",
"for",
"the",
"additional",
"data",
"<",
"p",
">",
"this",
"method",
"only",
"needs",
"to",
"be",
"implemented",
"if",
"a",
"virtual",
"view",
"offers",
"to",
"provide",
"additional",
"data",
"<",
"/",
"p",
">"
] |
[] |
[
"performs",
"an",
"accessibility",
"action",
"on",
"a",
"virtual",
"view",
"such",
"as",
"a",
"descendant",
"of",
"the",
"host",
"view",
"with",
"the",
"given",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"or",
"the",
"host",
"view",
"itself",
"if",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"equals",
"to",
"{",
"@",
"link",
"#",
"host",
"view",
"id",
"}"
] |
[
"return",
"false",
";"
] |
[
"finds",
"{",
"@",
"link",
"accessibility",
"node",
"info",
"}",
"s",
"by",
"text",
"the",
"match",
"is",
"case",
"insensitive",
"containment",
"the",
"search",
"is",
"relative",
"to",
"the",
"virtual",
"view",
"i",
"e",
"a",
"descendant",
"of",
"the",
"host",
"view",
"with",
"the",
"given",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"or",
"the",
"host",
"view",
"itself",
"<",
"code",
">",
"virtual",
"view",
"id",
"<",
"/",
"code",
">",
"equals",
"to",
"{",
"@",
"link",
"#",
"host",
"view",
"id",
"}"
] |
[
"return",
"null",
";"
] |
[
"find",
"the",
"virtual",
"view",
"such",
"as",
"a",
"descendant",
"of",
"the",
"host",
"view",
"that",
"has",
"the",
"specified",
"focus",
"type"
] |
[
"return",
"null",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] |
[
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"flags",
"(",
"flags",
")",
";",
"p",
"code",
"(",
"p",
"code",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"shader",
"module",
"create",
"info",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"shader",
"module",
"create",
"info",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.