docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
... | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"flags",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthtestenable",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthwriteenable",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthcompareop",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthboundstestenable",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"stenciltestenable",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"stencil",
"op",
"state",
"create",
"(",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"front",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"stencil",
"op",
"state",
"create",
"(",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"back",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"mindepthbounds",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"maxdepthbounds",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"flags",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthtestenable",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthwriteenable",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthcompareop",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"depthboundstestenable",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"stenciltestenable",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"front",
",",
"vk",
"stencil",
"op",
"state",
"sizeof",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"back",
",",
"vk",
"stencil",
"op",
"state",
"sizeof",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"mindepthbounds",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"maxdepthbounds",
",",
"value",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nfront",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"front",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nback",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"back",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nmin",
"depth",
"bounds",
"(",
"address",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nmax",
"depth",
"bounds",
"(",
"address",
"(",
")",
")",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nfront",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nback",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nmin",
"depth",
"bounds",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"nmax",
"depth",
"bounds",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"feature",
"logger",
"accessors",
"*"
] | [
"req",
"get",
"context",
"(",
")",
"put",
"(",
"feature",
"logger",
",",
"feature",
"logger",
")",
";"
] |
[
"scoring",
"query",
"accessors",
"*"
] | [
"req",
"get",
"context",
"(",
")",
"put",
"(",
"scoring",
"query",
",",
"scoring",
"query",
")",
";"
] |
[
"is",
"extracting",
"features",
"flag",
"accessors",
"*"
] | [
"req",
"get",
"context",
"(",
")",
"put",
"(",
"is",
"extracting",
"features",
",",
"boolean",
"true",
")",
";"
] |
[
"feature",
"vector",
"store",
"name",
"accessors",
"*"
] | [
"req",
"get",
"context",
"(",
")",
"put",
"(",
"store",
",",
"fv",
"store",
"name",
")",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"continuous",
"backups",
"and",
"point",
"in",
"time",
"recovery",
"settings",
"on",
"the",
"table",
"<",
"/",
"p",
">"
] | [
"this",
"continuous",
"backups",
"description",
"=",
"continuous",
"backups",
"description",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"continuous",
"backups",
"and",
"point",
"in",
"time",
"recovery",
"settings",
"on",
"the",
"table",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"continuous",
"backups",
"description",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"continuous",
"backups",
"and",
"point",
"in",
"time",
"recovery",
"settings",
"on",
"the",
"table",
"<",
"/",
"p",
">"
] | [
"set",
"continuous",
"backups",
"description",
"(",
"continuous",
"backups",
"description",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"rest",
"method",
"for",
"this",
"request"
] | [
"return",
"method",
";"
] |
[
"from",
"a",
"list",
"of",
"projects",
"the",
"projects",
"that",
"are",
"not",
"loaded",
"are",
"returned"
] | [
"final",
"list",
"<",
"i",
"navi",
"project",
">",
"unloaded",
"projects",
"=",
"new",
"array",
"list",
"<",
"i",
"navi",
"project",
">",
"(",
")",
";",
"for",
"(",
"final",
"i",
"navi",
"project",
"project",
":",
"i",
"navi",
"projects",
")",
"{",
... |
[
"returns",
"the",
"projects",
"that",
"correspond",
"to",
"the",
"selected",
"table",
"rows"
] | [
"final",
"i",
"navi",
"project",
"[",
"]",
"projects",
"=",
"new",
"c",
"project",
"[",
"sort",
"selected",
"rows",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"projects",
"length",
";",
"i",
"+",
"+",
")",
"{",
"projects... |
[
"returns",
"the",
"project",
"that",
"correspond",
"to",
"the",
"selected",
"rows",
"of",
"the",
"table",
"if",
"the",
"given",
"row",
"is",
"not",
"selected",
"the",
"given",
"row",
"is",
"selected"
] | [
"final",
"int",
"[",
"]",
"sort",
"selected",
"rows",
"=",
"get",
"sort",
"selected",
"rows",
"(",
")",
";",
"if",
"(",
"ints",
"as",
"list",
"(",
"sort",
"selected",
"rows",
")",
"index",
"of",
"(",
"sorted",
"row",
")",
"!",
"=",
"-",
"1",
")",... |
[
"updates",
"current",
"suppression",
"state",
"with",
"information",
"for",
"the",
"given",
"{"
] | [
"suppression",
"helper",
"suppression",
"info",
"prev",
"suppression",
"info",
"=",
"new",
"suppression",
"helper",
"suppression",
"info",
"(",
"suppressions",
",",
"custom",
"suppressions",
",",
"in",
"generated",
"code",
")",
";",
"init",
"suppression",
"helper"... |
[
"returns",
"true",
"if",
"this",
"checker",
"should",
"be",
"suppressed",
"on",
"the",
"current",
"tree",
"path"
] | [
"init",
"suppression",
"helper",
"(",
")",
";",
"return",
"suppression",
"helper",
"is",
"suppressed",
"(",
"suppressible",
",",
"suppressions",
",",
"custom",
"suppressions",
",",
"severity",
"map",
"(",
")",
"get",
"(",
"suppressible",
"canonical",
"name",
"... |
[
"returns",
"a",
"set",
"of",
"all",
"the",
"custom",
"suppression",
"annotation",
"types",
"used",
"by",
"the",
"{"
] | [
"return",
"collections",
"<",
"class",
"<",
"?",
"extends",
"annotation",
">",
">",
"empty",
"set",
"(",
")",
";"
] |
[
"handles",
"an",
"exception",
"thrown",
"by",
"an",
"individual",
"check"
] | [] |
[
"returns",
"a",
"mapping",
"between",
"the",
"canonical",
"names",
"of",
"checks",
"and",
"their",
"{"
] | [
"return",
"collections",
"empty",
"map",
"(",
")",
";"
] |
[
"factory",
"method"
] | [
"string",
"output",
"=",
"gdb",
"output",
"get",
"output",
"(",
")",
";",
"matcher",
"matcher",
"=",
"gdb",
"target",
"remote",
"matcher",
"(",
"output",
")",
";",
"if",
"(",
"matcher",
"find",
"(",
")",
")",
"{",
"string",
"host",
"=",
"matcher",
"g... |
[
"returns",
"the",
"ratio",
"that",
"is",
"calculated",
"by",
"the",
"aggregate",
"current",
"and",
"aggregate",
"baseline",
"values",
"of",
"all",
"children",
"node"
] | [
"return",
"data",
"ratio",
"(",
")",
";"
] |
[
"returns",
"the",
"ratio",
"that",
"is",
"calculated",
"by",
"current",
"value",
"and",
"baseline",
"value"
] | [
"return",
"current",
"value",
"/",
"baseline",
"value",
";"
] |
[
"return",
"the",
"ratio",
"of",
"the",
"node",
"if",
"the",
"ratio",
"is",
"not",
"a",
"finite",
"number",
"then",
"it",
"returns",
"the",
"aggregated",
"ratio",
"if",
"the",
"aggregated",
"ratio",
"is",
"not",
"a",
"finite",
"number",
"then",
"it",
"boo... | [
"double",
"ratio",
"=",
"current",
"ratio",
"(",
")",
";",
"if",
"(",
"!",
"double",
"is",
"infinite",
"(",
"ratio",
")",
"&",
"&",
"double",
"compare",
"(",
"ratio",
",",
"0d",
")",
"!",
"=",
"0",
")",
"{",
"return",
"ratio",
";",
"}",
"else",
... |
[
"returns",
"the",
"current",
"ratio",
"of",
"this",
"node",
"is",
"increased",
"or",
"decreased",
"i",
"e",
"returns",
"true",
"if",
"ratio",
"of",
"the",
"node",
">",
"=",
"1",
"0",
"if",
"the",
"current",
"ratio",
"is",
"nan",
"then",
"the",
"ratio",... | [
"double",
"ratio",
"=",
"current",
"ratio",
"(",
")",
";",
"if",
"(",
"!",
"double",
"is",
"na",
"n",
"(",
"ratio",
")",
")",
"{",
"return",
"double",
"compare",
"(",
"1",
",",
"current",
"ratio",
"(",
")",
")",
"<",
"=",
"0",
";",
"}",
"else",... |
[
"check",
"if",
"the",
"hierarchical",
"tree",
"of",
"the",
"given",
"two",
"root",
"nodes",
"are",
"the",
"same"
] | [
"return",
"equal",
"hierarchy",
"(",
"node",
"1",
",",
"null",
",",
"node",
"2",
",",
"null",
")",
";"
] |
[
"returns",
"if",
"the",
"data",
"of",
"current",
"node",
"equals",
"to",
"the",
"data",
"of",
"other",
"node",
"the",
"parent",
"and",
"children",
"nodes",
"are",
"not",
"compared",
"due",
"to",
"the",
"cyclic",
"references",
"between",
"parent",
"and",
"c... | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"hierarchy",
"node... |
[
"returns",
"the",
"hash",
"code",
"that",
"is",
"generated",
"base",
"on",
"the",
"data",
"of",
"this",
"node"
] | [
"return",
"objects",
"hash",
"(",
"get",
"level",
"(",
")",
",",
"index",
",",
"get",
"baseline",
"value",
"(",
")",
",",
"get",
"current",
"value",
"(",
")",
",",
"get",
"cost",
"(",
")",
",",
"data",
")",
";"
] |
[
"resource",
"method",
"dispatch",
"provider"
] | [
"for",
"(",
"resource",
"method",
"dispatcher",
"provider",
"provider",
":",
"providers",
")",
"{",
"try",
"{",
"resource",
"method",
"dispatcher",
"dispatcher",
"=",
"provider",
"create",
"(",
"resource",
"method",
",",
"handler",
",",
"validator",
")",
";",
... |
[
"if",
"this",
"or",
"any",
"of",
"its",
"children",
"are",
"locked"
] | [
"if",
"(",
"my",
"lock",
"!",
"=",
"null",
")",
"return",
"true",
";",
"for",
"(",
"node",
"node",
":",
"children",
"values",
"(",
")",
")",
"if",
"(",
"node",
"is",
"locked",
"(",
")",
")",
"return",
"true",
";",
"return",
"false",
";"
] |
[
"provide",
"the",
"resource",
"loader",
"to",
"load",
"{"
] | [
"this",
"resource",
"loader",
"=",
"resource",
"loader",
";"
] |
[
"determine",
"if",
"keyboard",
"is",
"visible"
] | [
"rect",
"r",
"=",
"new",
"rect",
"(",
")",
";",
"view",
"activity",
"root",
"=",
"q",
"m",
"u",
"i",
"view",
"helper",
"get",
"activity",
"root",
"(",
"activity",
")",
";",
"int",
"visible",
"threshold",
"=",
"math",
"round",
"(",
"q",
"m",
"u",
... |
[
"called",
"by",
"<",
"code",
">",
"tx",
"server",
"interceptor",
"initializer",
"<",
"/",
"code",
">",
"at",
"orb",
"initialization",
"time"
] | [
"tx",
"server",
"interceptor",
"slot",
"id",
"=",
"slot",
"id",
";",
"tx",
"server",
"interceptor",
"codec",
"=",
"codec",
";",
"tx",
"server",
"interceptor",
"pi",
"current",
"=",
"pi",
"current",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"batch",
"k",
"v",
"response",
"}",
"where",
"the",
"key",
"is",
"a",
"class",
"that",
"extends",
"{",
"@",
"link",
"compound",
"key",
"}"
] | [
"protocol",
"version",
"version",
"=",
"all",
"protocol",
"versions",
"baseline",
"protocol",
"version",
";",
"return",
"create",
"(",
"key",
"class",
",",
"value",
"class",
",",
"key",
"parts",
",",
"record",
"templates",
",",
"statuses",
",",
"error",
"res... |
[
"creates",
"a",
"{",
"@",
"link",
"batch",
"k",
"v",
"response",
"}",
"where",
"the",
"key",
"is",
"a",
"primitive",
"or",
"a",
"typeref",
"to",
"a",
"primitive"
] | [
"protocol",
"version",
"version",
"=",
"all",
"protocol",
"versions",
"baseline",
"protocol",
"version",
";",
"return",
"create",
"(",
"key",
"class",
",",
"value",
"class",
",",
"null",
",",
"record",
"templates",
",",
"statuses",
",",
"error",
"responses",
... |
[
"adds",
"the",
"task",
"to",
"next",
"available",
"spot",
"and",
"returns",
"the",
"sequence",
"corresponding",
"to",
"that",
"spot",
"throws",
"exception",
"if",
"there",
"is",
"no",
"available",
"spot"
] | [
"int",
"index",
"=",
"find",
"empty",
"spot",
"(",
")",
";",
"callable",
"counter",
"+",
"+",
";",
"ring",
"items",
"[",
"index",
"]",
"=",
"task",
";",
"is",
"task",
"[",
"index",
"]",
"=",
"true",
";",
"sequences",
"[",
"index",
"]",
"=",
"head... |
[
"removes",
"the",
"task",
"with",
"the",
"given",
"sequence"
] | [
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"ring",
"items",
"[",
"index",
"]",
"=",
"null",
";",
"is",
"task",
"[",
"index",
"]",
"=",
"false",
";",
"head",
"-",
"-",
";",
"callable",
"counter",
"-",
"-",
";"
] |
[
"puts",
"the",
"task",
"for",
"the",
"given",
"sequence"
] | [
"head",
"=",
"math",
"max",
"(",
"head",
",",
"sequence",
")",
";",
"callable",
"counter",
"+",
"+",
";",
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"ring",
"items",
"[",
"index",
"]",
"=",
"task",
";",
"is",
"task",
"[",
"ind... |
[
"gets",
"the",
"response",
"and",
"disposes",
"the",
"sequence"
] | [
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"check",
"sequence",
"(",
"index",
",",
"sequence",
")",
";",
"try",
"{",
"return",
"ring",
"items",
"[",
"index",
"]",
";",
"}",
"finally",
"{",
"ring",
"items",
"[",
"index",
"]",
"="... |
[
"disposes",
"the",
"sequence"
] | [
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"check",
"sequence",
"(",
"index",
",",
"sequence",
")",
";",
"if",
"(",
"is",
"task",
"[",
"index",
"]",
")",
"{",
"callable",
"counter",
"-",
"-",
";",
"}",
"ring",
"items",
"[",
"i... |
[
"gets",
"the",
"response"
] | [
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"check",
"sequence",
"(",
"index",
",",
"sequence",
")",
";",
"return",
"ring",
"items",
"[",
"index",
"]",
";"
] |
[
"check",
"if",
"the",
"sequence",
"corresponds",
"to",
"a",
"task"
] | [
"int",
"index",
"=",
"to",
"index",
"(",
"sequence",
")",
";",
"check",
"sequence",
"(",
"index",
",",
"sequence",
")",
";",
"return",
"is",
"task",
"[",
"index",
"]",
";"
] |
[
"checks",
"if",
"the",
"add",
"to",
"home",
"screen",
"intent",
"is",
"supported"
] | [
"if",
"(",
"s",
"is",
"supported",
"=",
"=",
"null",
")",
"{",
"context",
"context",
"=",
"context",
"utils",
"get",
"application",
"context",
"(",
")",
";",
"s",
"is",
"supported",
"=",
"shortcut",
"helper",
"is",
"add",
"to",
"home",
"intent",
"suppo... |
[
"checks",
"if",
"app",
"banners",
"are",
"enabled",
"for",
"the",
"tab",
"which",
"this",
"manager",
"is",
"attached",
"to"
] | [
"return",
"is",
"supported",
"(",
")",
"&",
"&",
"m",
"is",
"enabled",
"for",
"tab",
";"
] |
[
"sets",
"the",
"delegate",
"that",
"provides",
"information",
"about",
"a",
"given",
"package"
] | [
"if",
"(",
"s",
"app",
"details",
"delegate",
"!",
"=",
"null",
")",
"s",
"app",
"details",
"delegate",
"destroy",
"(",
")",
";",
"s",
"app",
"details",
"delegate",
"=",
"delegate",
";"
] |
[
"grabs",
"package",
"information",
"for",
"the",
"banner",
"asynchronously"
] | [
"if",
"(",
"s",
"app",
"details",
"delegate",
"=",
"=",
"null",
")",
"return",
";",
"context",
"context",
"=",
"context",
"utils",
"get",
"application",
"context",
"(",
")",
";",
"int",
"icon",
"size",
"in",
"px",
"=",
"math",
"round",
"(",
"context",
... |
[
"enables",
"or",
"disables",
"app",
"banners"
] | [
"m",
"is",
"enabled",
"for",
"tab",
"=",
"state",
";"
] |
[
"returns",
"the",
"language",
"option",
"to",
"use",
"for",
"the",
"add",
"to",
"homescreen",
"dialog",
"and",
"menu",
"item"
] | [
"int",
"language",
"option",
"=",
"native",
"get",
"homescreen",
"language",
"option",
"(",
")",
";",
"if",
"(",
"language",
"option",
"=",
"=",
"language",
"option",
"add",
")",
"{",
"return",
"r",
"string",
"menu",
"add",
"to",
"homescreen",
"add",
";"... |
[
"returns",
"the",
"language",
"option",
"to",
"use",
"for",
"app",
"banners"
] | [
"int",
"language",
"option",
"=",
"native",
"get",
"homescreen",
"language",
"option",
"(",
")",
";",
"if",
"(",
"language",
"option",
"=",
"=",
"language",
"option",
"add",
")",
"{",
"return",
"r",
"string",
"app",
"banner",
"add",
";",
"}",
"else",
"... |
[
"overrides",
"whether",
"the",
"system",
"supports",
"add",
"to",
"home",
"screen",
"used",
"in",
"testing"
] | [
"s",
"is",
"supported",
"=",
"state",
";"
] |
[
"sets",
"a",
"constant",
"(",
"in",
"days",
")",
"that",
"gets",
"added",
"to",
"the",
"time",
"when",
"the",
"current",
"time",
"is",
"requested"
] | [
"native",
"set",
"time",
"delta",
"for",
"testing",
"(",
"days",
")",
";"
] |
[
"sets",
"the",
"weights",
"of",
"direct",
"and",
"indirect",
"page",
"navigations",
"for",
"testing"
] | [
"native",
"set",
"engagement",
"weights",
"(",
"direct",
"engagement",
",",
"indirect",
"engagement",
")",
";"
] |
[
"returns",
"whether",
"the",
"native",
"app",
"banner",
"manager",
"is",
"working"
] | [
"return",
"native",
"is",
"active",
"for",
"testing",
"(",
"m",
"native",
"pointer",
")",
";"
] |
[
"returns",
"the",
"app",
"banner",
"manager",
"object",
"this",
"is",
"owned",
"by",
"the",
"c",
"+",
"+",
"banner",
"manager"
] | [
"return",
"native",
"get",
"java",
"banner",
"manager",
"for",
"web",
"contents",
"(",
"web",
"contents",
")",
";"
] |
[
"testing",
"methods"
] | [
"private",
"static",
"native",
"void",
"native",
"set",
"time",
"delta",
"for",
"testing",
"(",
"int",
"days",
")",
";"
] |
[
"getter",
"for",
"{",
"@",
"link",
"#",
"image",
"loader",
"}"
] | [
"return",
"image",
"loader",
";"
] |
[
"register",
"a",
"callback",
"to",
"be",
"invoked",
"when",
"image",
"need",
"to",
"load"
] | [
"this",
"image",
"loader",
"=",
"image",
"loader",
";"
] |
[
"get",
"the",
"<",
"code",
">",
"yarn",
"cluster",
"metrics",
"<",
"/",
"code",
">",
"for",
"the",
"cluster"
] | [
"@",
"public",
"@",
"stable",
"public",
"abstract",
"yarn",
"cluster",
"metrics",
"get",
"cluster",
"metrics",
"(",
")",
";"
] |
[
"obtains",
"the",
"value",
"of",
"the",
"member"
] | [
"return",
"cp",
"get",
"float",
"info",
"(",
"value",
"index",
")",
";"
] |
[
"sets",
"the",
"value",
"of",
"the",
"member"
] | [
"value",
"index",
"=",
"cp",
"add",
"float",
"info",
"(",
"new",
"value",
")",
";"
] |
[
"obtains",
"the",
"string",
"representation",
"of",
"this",
"object"
] | [
"return",
"float",
"to",
"string",
"(",
"get",
"value",
"(",
")",
")",
";"
] |
[
"writes",
"the",
"value"
] | [
"writer",
"const",
"value",
"index",
"(",
"get",
"value",
"(",
")",
")",
";"
] |
[
"accepts",
"a",
"visitor"
] | [
"visitor",
"visit",
"float",
"member",
"value",
"(",
"this",
")",
";"
] |
[
"this",
"method",
"executes",
"specified",
"random",
"op",
"using",
"default",
"rng",
"available",
"via",
"nd",
"4j",
"get",
"random",
"(",
")"
] | [
"return",
"exec",
"(",
"op",
",",
"nd",
"4j",
"get",
"random",
"(",
")",
")",
";"
] |
[
"this",
"method",
"allows",
"to",
"set",
"desired",
"number",
"of",
"elements",
"per",
"thread",
"for",
"performance",
"optimization",
"purposes",
"i",
"e",
"if",
"array",
"contains",
"2048",
"elements",
"and",
"threshold",
"is",
"set",
"to",
"1024",
"2",
"t... | [
"native",
"ops",
"set",
"element",
"threshold",
"(",
"threshold",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.