docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"the",
"encoded",
"media",
"type",
"like",
"text",
"/",
"plain",
";",
"charset",
"=",
"utf",
"-",
"8",
"appropriate",
"for",
"use",
"in",
"a",
"content",
"-",
"type",
"header"
] | [
"return",
"media",
"type",
";"
] |
[
"sets",
"up",
"the",
"client",
"api",
"by",
"parsing",
"the",
"configs"
] | [
"public",
"abstract",
"void",
"prepare",
"(",
"map",
"conf",
")",
";"
] |
[
"client",
"facing",
"api",
"to",
"create",
"a",
"blob"
] | [
"protected",
"abstract",
"atomic",
"output",
"stream",
"create",
"blob",
"to",
"extend",
"(",
"string",
"key",
",",
"settable",
"blob",
"meta",
"meta",
")",
"throws",
"key",
"already",
"exists",
"exception",
";"
] |
[
"updates",
"the",
"blob",
"data"
] | [
"public",
"abstract",
"atomic",
"output",
"stream",
"update",
"blob",
"(",
"string",
"key",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"gets",
"the",
"current",
"version",
"of",
"metadata",
"for",
"a",
"blob",
"to",
"be",
"viewed",
"by",
"the",
"user",
"or",
"downloaded",
"by",
"the",
"supervisor"
] | [
"public",
"abstract",
"readable",
"blob",
"meta",
"get",
"blob",
"meta",
"(",
"string",
"key",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"client",
"facing",
"api",
"to",
"set",
"the",
"metadata",
"for",
"a",
"blob"
] | [
"protected",
"abstract",
"void",
"set",
"blob",
"meta",
"to",
"extend",
"(",
"string",
"key",
",",
"settable",
"blob",
"meta",
"meta",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"deletes",
"the",
"blob",
"data",
"and",
"metadata"
] | [
"public",
"abstract",
"void",
"delete",
"blob",
"(",
"string",
"key",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"gets",
"the",
"input",
"stream",
"to",
"read",
"the",
"blob",
"details"
] | [
"public",
"abstract",
"input",
"stream",
"with",
"meta",
"get",
"blob",
"(",
"string",
"key",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"returns",
"an",
"iterator",
"with",
"all",
"the",
"list",
"of",
"keys",
"currently",
"available",
"on",
"the",
"blob",
"store"
] | [
"public",
"abstract",
"iterator",
"<",
"string",
">",
"list",
"keys",
"(",
")",
";"
] |
[
"client",
"facing",
"api",
"to",
"read",
"the",
"replication",
"of",
"a",
"blob"
] | [
"public",
"abstract",
"int",
"get",
"blob",
"replication",
"(",
"string",
"key",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"client",
"facing",
"api",
"to",
"update",
"the",
"replication",
"of",
"a",
"blob"
] | [
"public",
"abstract",
"int",
"update",
"blob",
"replication",
"(",
"string",
"key",
",",
"int",
"replication",
")",
"throws",
"key",
"not",
"found",
"exception",
";"
] |
[
"client",
"facing",
"api",
"to",
"set",
"a",
"nimbus",
"client"
] | [
"public",
"abstract",
"boolean",
"set",
"client",
"(",
"map",
"conf",
",",
"nimbus",
"client",
"client",
")",
";"
] |
[
"creates",
"state",
"inside",
"a",
"zookeeper",
"required",
"for",
"blobstore",
"to",
"write",
"to",
"zookeeper",
"when",
"nimbus",
"ha",
"is",
"turned",
"on",
"in",
"order",
"to",
"maintain",
"state",
"consistency"
] | [
"public",
"abstract",
"void",
"create",
"state",
"in",
"zookeeper",
"(",
"string",
"key",
")",
";"
] |
[
"client",
"facing",
"api",
"to",
"create",
"a",
"blob"
] | [
"return",
"create",
"blob",
"to",
"extend",
"(",
"key",
",",
"meta",
")",
";"
] |
[
"client",
"facing",
"api",
"to",
"set",
"the",
"metadata",
"for",
"a",
"blob"
] | [
"set",
"blob",
"meta",
"to",
"extend",
"(",
"key",
",",
"meta",
")",
";"
] |
[
"returns",
"the",
"name",
"of",
"the",
"customer",
"involved",
"in",
"this",
"transaction"
] | [
"return",
"who",
";"
] |
[
"returns",
"the",
"date",
"of",
"this",
"transaction"
] | [
"return",
"when",
";"
] |
[
"returns",
"the",
"amount",
"of",
"this",
"transaction"
] | [
"return",
"amount",
";"
] |
[
"compares",
"two",
"transactions",
"by",
"amount"
] | [
"return",
"double",
"compare",
"(",
"this",
"amount",
",",
"that",
"amount",
")",
";"
] |
[
"compares",
"this",
"transaction",
"to",
"the",
"specified",
"object"
] | [
"if",
"(",
"other",
"=",
"=",
"this",
")",
"return",
"true",
";",
"if",
"(",
"other",
"=",
"=",
"null",
")",
"return",
"false",
";",
"if",
"(",
"other",
"get",
"class",
"(",
")",
"!",
"=",
"this",
"get",
"class",
"(",
")",
")",
"return",
"false... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"provisioning",
"artifact",
"(",
"for",
"example",
"v",
"1",
"v",
"2beta",
")",
"no",
"spaces",
"are",
"allowed",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"provisioning",
"artifact",
"including",
"how",
"it",
"differs",
"from",
"the",
"previous",
"provisioning",
"artifact",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"of",
"the",
"cloud",
"formation",
"template",
"in",
"amazon",
"s3",
"<",
"/",
"p",
">"
] | [
"return",
"info",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"of",
"the",
"cloud",
"formation",
"template",
"in",
"amazon",
"s3",
"<",
"/",
"p",
">"
] | [
"this",
"info",
"=",
"info",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"of",
"the",
"cloud",
"formation",
"template",
"in",
"amazon",
"s3",
"specify",
"the",
"url",
"in",
"json",
"format",
"as",
"follows",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"load",
"template",
"from"... | [
"set",
"info",
"(",
"info",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"info"
] | [
"this",
"info",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"provisioning",
"artifact",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cloud",
"formation",
"template",
"<",
"/",
"code",
">",
"-",
"aws",
"cloud",
"formation",
"templ... | [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"provisioning",
"artifact",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cloud",
"formation",
"template",
"<",
"/",
"code",
">",
"-",
"aws",
"cloud",
"formation",
"templ... | [
"with",
"type",
"(",
"type",
")",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"provisioning",
"artifact",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cloud",
"formation",
"template",
"<",
"/",
"code",
">",
"-",
"aws",
"cloud",
"formation",
"templ... | [
"this",
"type",
"=",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"reflection",
"-",
"based",
"factory",
"for",
"config",
"view"
] | [
"return",
"new",
"swift",
"buck",
"config",
"(",
"delegate",
")",
";"
] |
[
"if",
"enabled",
"automatically",
"emebds",
"the",
"swift",
"runtime",
"if",
"a",
"relevant",
"target",
"depends",
"on",
"any",
"libraries",
"that",
"use",
"swift"
] | [
"return",
"delegate",
"get",
"boolean",
"value",
"(",
"section",
"name",
",",
"project",
"embed",
"runtime",
",",
"true",
")",
";"
] |
[
"if",
"enabled",
"turns",
"on",
"whole",
"module",
"optimization",
"for",
"any",
"targets",
"that",
"contain",
"swift"
] | [
"return",
"delegate",
"get",
"boolean",
"value",
"(",
"section",
"name",
",",
"project",
"wmo",
",",
"false",
")",
";"
] |
[
"if",
"enabled",
"ast",
"paths",
"to",
"the",
"swiftmodules",
"will",
"be",
"added",
"as",
"part",
"of",
"the",
"linker",
"invocation",
"this",
"is",
"necessary",
"for",
"lldb",
"to",
"be",
"able",
"to",
"debug",
"statically",
"linked",
"swift",
"libraries"
... | [
"return",
"delegate",
"get",
"boolean",
"value",
"(",
"section",
"name",
",",
"project",
"add",
"ast",
"paths",
",",
"false",
")",
";"
] |
[
"if",
"enabled",
"swift",
"-",
"stdlib",
"-",
"tool",
"will",
"be",
"run",
"on",
"framework",
"bundles",
"copying",
"the",
"swift",
"standard",
"library",
"into",
"them",
"this",
"is",
"usually",
"not",
"what",
"you",
"want",
"-",
"it",
"will",
"lead",
"... | [
"return",
"delegate",
"get",
"boolean",
"value",
"(",
"section",
"name",
",",
"copy",
"stdlib",
"to",
"frameworks",
",",
"false",
")",
";"
] |
[
"add",
"a",
"new",
"item",
"at",
"the",
"head",
"of",
"the",
"queue"
] | [
"return",
"add",
"before",
"node",
"(",
"head",
",",
"item",
")",
";"
] |
[
"add",
"a",
"new",
"item",
"at",
"the",
"tail",
"of",
"the",
"queue"
] | [
"return",
"add",
"before",
"node",
"(",
"null",
",",
"item",
")",
";"
] |
[
"remaining",
"methods",
"implement",
"deque",
"<",
"t",
">"
] | [
"add",
"first",
"node",
"(",
"t",
")",
";",
"return",
"true",
";"
] |
[
"java",
"util",
"queue",
"methods"
] | [
"return",
"offer",
"last",
"(",
"e",
")",
";"
] |
[
"parses",
"the",
"configuration"
] | [
"configuration",
"parse",
"u",
"r",
"i",
"(",
"new",
"uri",
"(",
"remaining",
")",
",",
"parameters",
",",
"this",
")",
";",
"return",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"description",
"of",
"your",
"service",
"following",
"the",
"update",
"call",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"service",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"description",
"of",
"the",
"deleted",
"service",
"<",
"/",
"p",
">"
] | [
"set",
"service",
"(",
"service",
")",
";",
"return",
"this",
";"
] |
[
"passed",
"-",
"in",
"buffer",
"the",
"call",
"(",
")",
"method",
"must",
"close",
"it",
"s",
"auto",
"buffer",
"arg"
] | [
"abstract",
"auto",
"buffer",
"call",
"(",
"auto",
"buffer",
"ab",
")",
";"
] |
[
"<",
"p",
">",
"the",
"docker",
"networking",
"mode",
"to",
"use",
"for",
"the",
"containers",
"in",
"the",
"task",
"the",
"valid",
"values",
"are",
"<",
"code",
">",
"none",
"<",
"/",
"code",
">",
"<",
"code",
">",
"bridge",
"<",
"/",
"code",
">",... | [
"this",
"network",
"mode",
"=",
"network",
"mode",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"cloud",
"watch",
"logs",
"configuration",
"for",
"the",
"<",
"code",
">",
"graphql",
"api",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] | [
"this",
"log",
"config",
"=",
"log",
"config",
";"
] |
[
"the",
"default",
"template",
"for",
"view",
"can",
"be",
"removed",
"when",
"governance",
"is",
"not",
"installed",
"to",
"avoid",
"keeping",
"a",
"reference",
"to",
"a",
"non",
"existing",
"template",
"we",
"update",
"the",
"default",
"templates"
] | [
"string",
"view",
"default",
"template",
"uuid",
"=",
"default",
"templates",
"get",
"applications",
"uuid",
"(",
")",
";",
"if",
"(",
"view",
"default",
"template",
"uuid",
"!",
"=",
"null",
"&",
"&",
"view",
"default",
"template",
"uuid",
"equals",
"(",
... |
[
"creates",
"underlying",
"database",
"table",
"using",
"d",
"a",
"os"
] | [
"minimal",
"entity",
"dao",
"create",
"table",
"(",
"db",
",",
"if",
"not",
"exists",
")",
";"
] |
[
"drops",
"underlying",
"database",
"table",
"using",
"d",
"a",
"os"
] | [
"minimal",
"entity",
"dao",
"drop",
"table",
"(",
"db",
",",
"if",
"exists",
")",
";"
] |
[
"warning",
":",
"drops",
"all",
"table",
"on",
"upgrade",
"!",
"use",
"only",
"during",
"development",
"convenience",
"method",
"using",
"a",
"{"
] | [
"database",
"db",
"=",
"new",
"dev",
"open",
"helper",
"(",
"context",
",",
"name",
")",
"get",
"writable",
"db",
"(",
")",
";",
"dao",
"master",
"dao",
"master",
"=",
"new",
"dao",
"master",
"(",
"db",
")",
";",
"return",
"dao",
"master",
"new",
"... |
[
"<",
"p",
">",
"a",
"string",
"that",
"identifies",
"the",
"next",
"page",
"of",
"limits",
"that",
"you",
"want",
"to",
"retrieve",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"... | [
"return",
"is",
"read",
"only",
";"
] |
[
"reads",
"the",
"entire",
"file",
"into",
"a",
"list",
"with",
"each",
"element",
"being",
"a",
"string",
"[",
"]",
"of",
"tokens"
] | [
"list",
"<",
"string",
"[",
"]",
">",
"all",
"elements",
"=",
"new",
"array",
"list",
"<",
"string",
"[",
"]",
">",
"(",
")",
";",
"while",
"(",
"has",
"next",
")",
"{",
"string",
"[",
"]",
"next",
"line",
"as",
"tokens",
"=",
"read",
"next",
"... |
[
"reads",
"the",
"next",
"line",
"from",
"the",
"file"
] | [
"if",
"(",
"!",
"this",
"lines",
"skiped",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"skip",
"lines",
";",
"i",
"+",
"+",
")",
"{",
"br",
"read",
"line",
"(",
")",
";",
"}",
"this",
"lines",
"skiped",
"=",
"true",
";",
"}",... |
[
"closes",
"the",
"underlying",
"reader"
] | [
"br",
"close",
"(",
")",
";"
] |
[
"sets",
"the",
"previous",
"results",
"so",
"that",
"answer",
"candidates",
"for",
"an",
"other",
"question",
"can",
"be",
"filtered",
"out",
"if",
"they",
"are",
"too",
"close",
"to",
"one",
"of",
"them"
] | [
"previous",
"result",
"terms",
"clear",
"(",
")",
";",
"if",
"(",
"results",
"!",
"=",
"null",
")",
"for",
"(",
"string",
"r",
":",
"results",
")",
"previous",
"result",
"terms",
"add",
"(",
"r",
")",
";"
] |
[
"get",
"the",
"name",
"of",
"the",
"parameter",
"this",
"extractor",
"belongs",
"to"
] | [
"return",
"parameter",
"name",
";"
] |
[
"get",
"the",
"default",
"string",
"value",
"of",
"the",
"parameter"
] | [
"return",
"default",
"value",
"string",
";"
] |
[
"extract",
"parameter",
"value",
"from",
"string",
"using",
"the",
"configured",
"{",
"@",
"link",
"param",
"converter",
"parameter",
"converter",
"}"
] | [
"t",
"result",
"=",
"convert",
"(",
"value",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
")",
"{",
"return",
"default",
"value",
"(",
")",
";",
"}",
"return",
"result",
";"
] |
[
"check",
"if",
"there",
"is",
"a",
"default",
"string",
"value",
"registered",
"for",
"the",
"parameter"
] | [
"return",
"default",
"value",
"string",
"!",
"=",
"null",
";"
] |
[
"get",
"converted",
"default",
"value"
] | [
"if",
"(",
"!",
"is",
"default",
"value",
"registered",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"return",
"converted",
"default",
"value",
"get",
"(",
")",
";"
] |
[
"returns",
"the",
"total",
"number",
"of",
"times",
"that",
"{"
] | [
"return",
"load",
"success",
"count",
"+",
"load",
"exception",
"count",
";"
] |
[
"returns",
"the",
"number",
"of",
"times",
"{"
] | [
"return",
"load",
"success",
"count",
";"
] |
[
"returns",
"the",
"number",
"of",
"times",
"{"
] | [
"return",
"load",
"exception",
"count",
";"
] |
[
"returns",
"the",
"ratio",
"of",
"cache",
"loading",
"attempts",
"which",
"threw",
"exceptions",
"this",
"is",
"defined",
"as",
"{"
] | [
"long",
"total",
"load",
"count",
"=",
"load",
"success",
"count",
"+",
"load",
"exception",
"count",
";",
"return",
"(",
"total",
"load",
"count",
"=",
"=",
"0",
")",
"?",
"0",
"0",
":",
"(",
"double",
")",
"load",
"exception",
"count",
"/",
"total"... |
[
"returns",
"the",
"total",
"number",
"of",
"nanoseconds",
"the",
"cache",
"has",
"spent",
"loading",
"new",
"values",
"this",
"can",
"be",
"used",
"to",
"calculate",
"the",
"miss",
"penalty",
"this",
"value",
"is",
"increased",
"every",
"time",
"{"
] | [
"return",
"total",
"load",
"time",
";"
] |
[
"returns",
"the",
"average",
"time",
"spent",
"loading",
"new",
"values",
"this",
"is",
"defined",
"as",
"{"
] | [
"long",
"total",
"load",
"count",
"=",
"load",
"success",
"count",
"+",
"load",
"exception",
"count",
";",
"return",
"(",
"total",
"load",
"count",
"=",
"=",
"0",
")",
"?",
"0",
"0",
":",
"(",
"double",
")",
"total",
"load",
"time",
"/",
"total",
"... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"new",
"cache",
"stats",
"(",
"math",
"max",
"(",
"0",
",",
"hit",
"count",
"-",
"other",
"hit",
"count",
")",
",",
"math",
"max",
"(",
"0",
",",
"miss",
"count",
"-",
"other",
"miss",
"count",
")",
",",
"math",
"max",
"(",
"0",
",",
... |
[
"returns",
"a",
"new",
"{",
"@",
"code",
"cache",
"stats",
"}",
"representing",
"the",
"sum",
"of",
"this",
"{",
"@",
"code",
"cache",
"stats",
"}",
"and",
"{",
"@",
"code",
"other",
"}"
] | [
"return",
"new",
"cache",
"stats",
"(",
"hit",
"count",
"+",
"other",
"hit",
"count",
",",
"miss",
"count",
"+",
"other",
"miss",
"count",
",",
"load",
"success",
"count",
"+",
"other",
"load",
"success",
"count",
",",
"load",
"exception",
"count",
"+",
... |
[
"checks",
"a",
"single",
"code",
"fragment",
"(",
"such",
"as",
"a",
"tab",
")",
"for",
"non",
"-",
"matching",
"braces",
"broken",
"out",
"to",
"allow",
"easy",
"use",
"in",
"java",
"build"
] | [
"int",
"depth",
"=",
"0",
";",
"int",
"line",
"number",
"=",
"0",
";",
"int",
"line",
"start",
"=",
"start",
";",
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"i",
"+",
"+",
")",
"{",
"char",
"ch",
"=",
"c",
"char",
"at"... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"final",
"list",
"<",
"schema",
"field",
">",
"fields",
"=",
"schema",
"get",
"fields",
"(",
")",
";",
"final",
"int",
"length",
"=",
"fields",
"size",
"(",
")",
";",
"final",
"generic",
"record",
"record",
"=",
"new",
"generic",
"data",
"record",
"(",... |
[
"this",
"method",
"returns",
"some",
"javadoc",
"some",
"javadoc"
] | [
"return",
"false",
";"
] |
[
"some",
"javadoc"
] | [
"return",
"false",
";"
] |
[
"the",
"world",
"angle",
"of",
"the",
"body",
"in",
"radians"
] | [
"this",
"angle",
"=",
"angle",
";"
] |
[
"gets",
"the",
"corner",
"radius",
"if",
"corner",
"radius",
"is",
"equal",
"to",
"0",
"rounded",
"corners",
"are",
"turned",
"off"
] | [
"return",
"corner",
"radius",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"handle",
"types",
"(",
"handle",
"types",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"co... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero... | [
"return",
"wrap",
"(",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its"... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"fence",
"create",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"this",
"method",
"is",
"called",
"before",
"the",
"first",
"value",
"is",
"submitted",
"to",
"this",
"reducer",
"instance",
"it",
"can",
"be",
"used",
"to",
"set",
"up",
"any",
"internal",
"needed",
"state",
"before",
"starting",
"to",
"reduce",
"the",
"a... | [] |
[
"this",
"method",
"is",
"called",
"to",
"supply",
"values",
"to",
"be",
"reduced",
"into",
"a",
"final",
"reduced",
"result",
"<",
"br",
"/",
">",
"the",
"reduce",
"method",
"might",
"be",
"called",
"multiple",
"times",
"so",
"the",
"eventually",
"reduced"... | [
"public",
"abstract",
"void",
"reduce",
"(",
"value",
"in",
"value",
")",
";"
] |
[
"finalize",
"reduce",
"is",
"called",
"as",
"last",
"step",
"for",
"a",
"reducing",
"phase",
"per",
"key",
"it",
"retrieves",
"the",
"final",
"reduced",
"result"
] | [
"public",
"abstract",
"value",
"out",
"finalize",
"reduce",
"(",
")",
";"
] |
[
"gets",
"a",
"temp",
"dir",
"for",
"testing",
"the",
"returned",
"directory",
"and",
"all",
"contents",
"of",
"it",
"will",
"be",
"deleted",
"in",
"the",
"tear",
"-",
"down",
"for",
"this",
"test",
"subsequent",
"invocations",
"of",
"this",
"method",
"will... | [
"if",
"(",
"temp",
"dir",
"=",
"=",
"null",
")",
"{",
"temp",
"dir",
"=",
"create",
"temp",
"dir",
"(",
")",
";",
"}",
"return",
"temp",
"dir",
";"
] |
[
"returns",
"a",
"byte",
"array",
"of",
"length",
"size",
"that",
"has",
"values",
"0",
"size",
"-",
"1"
] | [
"return",
"new",
"pre",
"filled",
"byte",
"array",
"(",
"0",
",",
"size",
")",
";"
] |
[
"returns",
"a",
"byte",
"array",
"of",
"length",
"size",
"that",
"has",
"values",
"offset",
"offset",
"+",
"size",
"-",
"1"
] | [
"byte",
"[",
"]",
"array",
"=",
"new",
"byte",
"[",
"size",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"+",
"+",
")",
"{",
"array",
"[",
"i",
"]",
"=",
"(",
"byte",
")",
"(",
"offset",
"+",
"i",
")",
";... |
[
"called",
"when",
"doing",
"a",
"divide",
"and",
"conquer",
"to",
"find",
"the",
"next",
"intersecting",
"cells",
"of",
"the",
"query",
"shape",
"that",
"are",
"beneath",
"{"
] | [
"return",
"cell",
"get",
"next",
"level",
"cells",
"(",
"query",
"shape",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.