docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"specifies",
"an",
"additional",
"version",
"your",
"alias",
"can",
"point",
"to",
"allowing",
"you",
"to",
"dictate",
"what",
"percentage",
"of",
"traffic",
"will",
"invoke",
"each",
"version",
"for",
"more",
"information",
"see",
"<",
"a",
... | [
"this",
"routing",
"config",
"=",
"routing",
"config",
";"
] |
[
"<",
"p",
">",
"specifies",
"an",
"additional",
"version",
"your",
"alias",
"can",
"point",
"to",
"allowing",
"you",
"to",
"dictate",
"what",
"percentage",
"of",
"traffic",
"will",
"invoke",
"each",
"version",
"for",
"more",
"information",
"see",
"<",
"a",
... | [
"return",
"this",
"routing",
"config",
";"
] |
[
"<",
"p",
">",
"specifies",
"an",
"additional",
"function",
"versions",
"the",
"alias",
"points",
"to",
"allowing",
"you",
"to",
"dictate",
"what",
"percentage",
"of",
"traffic",
"will",
"invoke",
"each",
"version",
"<",
"/",
"p",
">"
] | [
"set",
"routing",
"config",
"(",
"routing",
"config",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"latest",
"updated",
"revision",
"of",
"the",
"function",
"or",
"alias",
"<",
"/",
"p",
">"
] | [
"this",
"revision",
"id",
"=",
"revision",
"id",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"latest",
"updated",
"revision",
"of",
"the",
"function",
"or",
"alias",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"revision",
"id",
";"
] |
[
"<",
"p",
">",
"represents",
"the",
"latest",
"updated",
"revision",
"of",
"the",
"function",
"or",
"alias",
"<",
"/",
"p",
">"
] | [
"set",
"revision",
"id",
"(",
"revision",
"id",
")",
";",
"return",
"this",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"... | [
"p",
"entity",
"set",
"position",
"(",
"p",
"x",
",",
"p",
"y",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"provider",
"instanceof",
"xbmc",
"binding",
"provider",
")",
"{",
"xbmc",
"binding",
"provider",
"xbmc",
"provider",
"=",
"(",
"xbmc",
"binding",
"provider",
")",
"provider",
";",
"for",
"(",
"string",
"item",
"name",
":",
"xbmc",
"provider",
"... |
[
"{"
] | [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"cfg",
"set",
"deployment",
"mode",
"(",
"deployment",
"mode",
"shared",
")",
";",
"return",
"cfg",
";"
] |
[
"{"
] | [
"this",
"spring",
"ctx",
"=",
"ctx",
";"
] |
[
"gets",
"transaction",
"concurrency",
"level"
] | [
"return",
"transaction",
"concurrency",
";"
] |
[
"sets",
"transaction",
"concurrency",
"level"
] | [
"this",
"transaction",
"concurrency",
"=",
"transaction",
"concurrency",
";"
] |
[
"gets",
"configuration",
"file",
"path"
] | [
"return",
"cfg",
"path",
";"
] |
[
"sets",
"configuration",
"file",
"path"
] | [
"this",
"cfg",
"path",
"=",
"cfg",
"path",
";"
] |
[
"gets",
"configuration",
"bean"
] | [
"return",
"cfg",
";"
] |
[
"sets",
"configuration",
"bean"
] | [
"this",
"cfg",
"=",
"cfg",
";"
] |
[
"gets",
"optional",
"grid",
"name",
"returns",
"{",
"@",
"code",
"null",
"}",
"if",
"non",
"-",
"default",
"grid",
"name",
"was",
"not",
"provided",
"<",
"p",
">",
"the",
"name",
"only",
"works",
"locally",
"and",
"has",
"no",
"effect",
"on",
"topology... | [
"return",
"get",
"ignite",
"instance",
"name",
"(",
")",
";"
] |
[
"sets",
"grid",
"name"
] | [
"set",
"ignite",
"instance",
"name",
"(",
"grid",
"name",
")",
";"
] |
[
"gets",
"name",
"of",
"the",
"ignite",
"instance",
"this",
"thread",
"belongs",
"to"
] | [
"return",
"ignite",
"instance",
"name",
";"
] |
[
"sets",
"ignite",
"instance",
"name"
] | [
"this",
"ignite",
"instance",
"name",
"=",
"ignite",
"instance",
"name",
";"
] |
[
"{"
] | [
"ignite",
"transaction",
"object",
"tx",
"obj",
"=",
"new",
"ignite",
"transaction",
"object",
"(",
")",
";",
"tx",
"obj",
"set",
"transaction",
"holder",
"(",
"(",
"ignite",
"transaction",
"holder",
")",
"transaction",
"synchronization",
"manager",
"get",
"re... |
[
"{"
] | [
"ignite",
"transaction",
"object",
"tx",
"obj",
"=",
"(",
"ignite",
"transaction",
"object",
")",
"transaction",
";",
"return",
"(",
"tx",
"obj",
"get",
"transaction",
"holder",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"tx",
"obj",
"get",
"transaction",
"ho... |
[
"{"
] | [
"return",
"this",
"ignite",
";"
] |
[
"sets",
"the",
"resource",
"holder",
"being",
"used",
"to",
"hold",
"ignite",
"resources",
"in",
"the",
"transaction"
] | [
"this",
"transaction",
"holder",
"=",
"transaction",
"holder",
";",
"this",
"new",
"transaction",
"holder",
"=",
"new",
"holder",
";"
] |
[
"returns",
"the",
"resource",
"holder",
"being",
"used",
"to",
"hold",
"ignite",
"resources",
"in",
"the",
"transaction"
] | [
"return",
"transaction",
"holder",
";"
] |
[
"returns",
"true",
"if",
"the",
"transaction",
"holder",
"was",
"created",
"for",
"the",
"current",
"transaction",
"and",
"false",
"if",
"it",
"existed",
"prior",
"to",
"the",
"transaction"
] | [
"return",
"new",
"transaction",
"holder",
";"
] |
[
"returns",
"an",
"absolute",
"path",
"instance",
"given",
"an",
"absolute",
"path",
"name",
"without",
"double",
"slashes",
"or",
"segments",
"while",
"this",
"method",
"will",
"normalize",
"the",
"path",
"representation",
"by",
"creating",
"a",
"structured",
"/... | [
"return",
"path",
"create",
"(",
"path",
",",
"this",
")",
";"
] |
[
"returns",
"an",
"absolute",
"path",
"instance",
"given",
"an",
"absolute",
"path",
"fragment"
] | [
"preconditions",
"check",
"argument",
"(",
"path",
"fragment",
"is",
"absolute",
"(",
")",
")",
";",
"return",
"path",
"create",
"already",
"normalized",
"(",
"path",
"fragment",
"get",
"path",
"string",
"(",
")",
",",
"path",
"fragment",
"get",
"drive",
"... |
[
"returns",
"whether",
"or",
"not",
"the",
"file",
"system",
"supports",
"modifications",
"of",
"files",
"and",
"file",
"entries"
] | [
"public",
"abstract",
"boolean",
"supports",
"modifications",
"(",
"path",
"path",
")",
";"
] |
[
"returns",
"whether",
"or",
"not",
"the",
"file",
"system",
"supports",
"symbolic",
"links"
] | [
"public",
"abstract",
"boolean",
"supports",
"symbolic",
"links",
"natively",
"(",
"path",
"path",
")",
";"
] |
[
"returns",
"whether",
"or",
"not",
"the",
"file",
"system",
"supports",
"hard",
"links"
] | [
"protected",
"abstract",
"boolean",
"supports",
"hard",
"links",
"natively",
"(",
"path",
"path",
")",
";"
] |
[
"*",
"returns",
"true",
"if",
"file",
"path",
"is",
"case",
"-",
"sensitive",
"on",
"this",
"file",
"system",
"default",
"is",
"true"
] | [
"public",
"abstract",
"boolean",
"is",
"file",
"path",
"case",
"sensitive",
"(",
")",
";"
] |
[
"creates",
"a",
"directory",
"with",
"the",
"name",
"of",
"the",
"current",
"path",
"see",
"{"
] | [
"public",
"abstract",
"boolean",
"create",
"directory",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"creates",
"all",
"directories",
"up",
"to",
"the",
"path",
"see",
"{"
] | [
"public",
"abstract",
"void",
"create",
"directory",
"and",
"parents",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"file",
"denoted",
"by",
"{",
"@",
"code",
"path",
"}",
"see",
"{",
"@",
"link",
"path",
"#",
"get",
"file",
"size",
"(",
"symlinks",
")",
"}",
"for",
"specification"
] | [
"protected",
"abstract",
"long",
"get",
"file",
"size",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"deletes",
"the",
"file",
"denoted",
"by",
"{"
] | [
"public",
"abstract",
"boolean",
"delete",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"last",
"modification",
"time",
"of",
"the",
"file",
"denoted",
"by",
"{",
"@",
"code",
"path",
"}",
"see",
"{",
"@",
"link",
"path",
"#",
"get",
"last",
"modified",
"time",
"(",
"symlinks",
")",
"}",
"for",
"specification"
] | [
"protected",
"abstract",
"long",
"get",
"last",
"modified",
"time",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"sets",
"the",
"last",
"modification",
"time",
"of",
"the",
"file",
"denoted",
"by",
"{"
] | [
"public",
"abstract",
"void",
"set",
"last",
"modified",
"time",
"(",
"path",
"path",
",",
"long",
"new",
"time",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"value",
"of",
"the",
"given",
"extended",
"attribute",
"name",
"or",
"null",
"if",
"attribute",
"does",
"not",
"exist",
"or",
"file",
"system",
"does",
"not",
"support",
"extended",
"attributes",
"follows",
"symlinks"
] | [
"return",
"null",
";"
] |
[
"gets",
"a",
"fast",
"digest",
"for",
"the",
"given",
"path",
"or",
"{"
] | [
"return",
"null",
";"
] |
[
"returns",
"the",
"digest",
"of",
"the",
"file",
"denoted",
"by",
"the",
"path",
"following",
"symbolic",
"links"
] | [
"return",
"new",
"byte",
"source",
"(",
")",
"{",
"@",
"override",
"public",
"input",
"stream",
"open",
"stream",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"return",
"get",
"input",
"stream",
"(",
"path",
")",
";",
"}",
"}",
"hash",
"(",
"diges... |
[
"returns",
"true",
"if",
"path",
"denotes",
"an",
"existing",
"symbolic",
"link",
"see",
"{"
] | [
"protected",
"abstract",
"boolean",
"is",
"symbolic",
"link",
"(",
"path",
"path",
")",
";"
] |
[
"like",
"stat",
"(",
")",
"but",
"returns",
"null",
"on",
"failures",
"instead",
"of",
"throwing"
] | [
"try",
"{",
"return",
"stat",
"(",
"path",
",",
"follow",
"symlinks",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"like",
"{"
] | [
"try",
"{",
"return",
"stat",
"(",
"path",
",",
"follow",
"symlinks",
")",
";",
"}",
"catch",
"(",
"file",
"not",
"found",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"returns",
"true",
"iff",
"{"
] | [
"protected",
"abstract",
"boolean",
"is",
"directory",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
";"
] |
[
"returns",
"true",
"iff",
"{"
] | [
"protected",
"abstract",
"boolean",
"is",
"file",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
";"
] |
[
"returns",
"true",
"iff",
"{"
] | [
"protected",
"abstract",
"boolean",
"is",
"special",
"file",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
";"
] |
[
"creates",
"a",
"symbolic",
"link",
"see",
"{",
"@",
"link",
"path",
"#",
"create",
"symbolic",
"link",
"(",
"path",
")",
"}",
"for",
"specification"
] | [
"protected",
"abstract",
"void",
"create",
"symbolic",
"link",
"(",
"path",
"link",
"path",
",",
"path",
"fragment",
"target",
"fragment",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"target",
"of",
"a",
"symbolic",
"link",
"see",
"{",
"@",
"link",
"path",
"#",
"read",
"symbolic",
"link",
"}",
"for",
"specification"
] | [
"protected",
"abstract",
"path",
"fragment",
"read",
"symbolic",
"link",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"target",
"of",
"a",
"symbolic",
"link",
"under",
"the",
"assumption",
"that",
"the",
"given",
"path",
"is",
"indeed",
"a",
"symbolic",
"link",
"(",
"this",
"assumption",
"permits",
"efficient",
"implementations",
")",
"see",
"{",
"@",
"lin... | [
"return",
"read",
"symbolic",
"link",
"(",
"path",
")",
";"
] |
[
"returns",
"true",
"iff",
"this",
"path",
"denotes",
"an",
"existing",
"file",
"of",
"any",
"kind",
"follows",
"symbolic",
"links"
] | [
"return",
"exists",
"(",
"path",
",",
"true",
")",
";"
] |
[
"returns",
"true",
"iff",
"{"
] | [
"protected",
"abstract",
"boolean",
"exists",
"(",
"path",
"path",
",",
"boolean",
"follow",
"symlinks",
")",
";"
] |
[
"returns",
"a",
"collection",
"containing",
"the",
"names",
"of",
"all",
"entities",
"within",
"the",
"directory",
"denoted",
"by",
"the",
"{",
"@",
"code",
"path",
"}"
] | [
"protected",
"abstract",
"collection",
"<",
"string",
">",
"get",
"directory",
"entries",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"a",
"dirents",
"structure",
"listing",
"the",
"names",
"of",
"all",
"entries",
"within",
"the",
"directory",
"{",
"@",
"code",
"path",
"}",
"plus",
"their",
"types",
"(",
"file",
"directory",
"other",
")"
] | [
"collection",
"<",
"string",
">",
"children",
"=",
"get",
"directory",
"entries",
"(",
"path",
")",
";",
"list",
"<",
"dirent",
">",
"dirents",
"=",
"lists",
"new",
"array",
"list",
"with",
"capacity",
"(",
"children",
"size",
"(",
")",
")",
";",
"for"... |
[
"returns",
"true",
"iff",
"the",
"file",
"represented",
"by",
"{",
"@",
"code",
"path",
"}",
"is",
"readable"
] | [
"protected",
"abstract",
"boolean",
"is",
"readable",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"sets",
"the",
"file",
"to",
"readable",
"(",
"if",
"the",
"argument",
"is",
"true",
")",
"or",
"non",
"-",
"readable",
"(",
"if",
"the",
"argument",
"is",
"false",
")"
] | [
"protected",
"abstract",
"void",
"set",
"readable",
"(",
"path",
"path",
",",
"boolean",
"readable",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"true",
"iff",
"the",
"file",
"represented",
"by",
"{",
"@",
"code",
"path",
"}",
"is",
"writable"
] | [
"protected",
"abstract",
"boolean",
"is",
"writable",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"sets",
"the",
"file",
"to",
"writable",
"(",
"if",
"the",
"argument",
"is",
"true",
")",
"or",
"non",
"-",
"writable",
"(",
"if",
"the",
"argument",
"is",
"false",
")"
] | [
"public",
"abstract",
"void",
"set",
"writable",
"(",
"path",
"path",
",",
"boolean",
"writable",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"true",
"iff",
"the",
"file",
"represented",
"by",
"the",
"path",
"is",
"executable"
] | [
"protected",
"abstract",
"boolean",
"is",
"executable",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"sets",
"the",
"file",
"to",
"executable",
"if",
"the",
"argument",
"is",
"true",
"it",
"is",
"currently",
"not",
"supported",
"to",
"unset",
"the",
"executable",
"status",
"of",
"a",
"file",
"so",
"{",
"code",
"executable",
"=",
"false",
"}",
"yields",
... | [
"protected",
"abstract",
"void",
"set",
"executable",
"(",
"path",
"path",
",",
"boolean",
"executable",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"sets",
"the",
"file",
"permissions",
"if",
"permission",
"changes",
"on",
"this",
"{",
"@",
"link",
"file",
"system",
"}",
"are",
"slow",
"(",
"e",
"g",
"one",
"syscall",
"per",
"change",
")",
"this",
"method",
"should",
"aim",
"to",
"be",
"faster",
"... | [
"set",
"readable",
"(",
"path",
",",
"(",
"mode",
"&",
"0400",
")",
"!",
"=",
"0",
")",
";",
"set",
"writable",
"(",
"path",
",",
"(",
"mode",
"&",
"0200",
")",
"!",
"=",
"0",
")",
";",
"set",
"executable",
"(",
"path",
",",
"(",
"mode",
"&",... |
[
"creates",
"an",
"input",
"stream",
"accessing",
"the",
"file",
"denoted",
"by",
"the",
"path"
] | [
"protected",
"abstract",
"input",
"stream",
"get",
"input",
"stream",
"(",
"path",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"creates",
"an",
"output",
"stream",
"accessing",
"the",
"file",
"denoted",
"by",
"path"
] | [
"return",
"get",
"output",
"stream",
"(",
"path",
",",
"false",
")",
";"
] |
[
"creates",
"an",
"output",
"stream",
"accessing",
"the",
"file",
"denoted",
"by",
"path"
] | [
"protected",
"abstract",
"output",
"stream",
"get",
"output",
"stream",
"(",
"path",
"path",
",",
"boolean",
"append",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"renames",
"the",
"file",
"denoted",
"by",
"source",
"node",
"to",
"the",
"location",
"target",
"node",
"see",
"{"
] | [
"public",
"abstract",
"void",
"rename",
"to",
"(",
"path",
"source",
"path",
",",
"path",
"target",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"create",
"a",
"new",
"hard",
"link",
"file",
"at",
"link",
"path",
"for",
"file",
"at",
"original",
"path"
] | [
"protected",
"abstract",
"void",
"create",
"f",
"s",
"dependent",
"hard",
"link",
"(",
"path",
"link",
"path",
",",
"path",
"original",
"path",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"prefetch",
"all",
"directories",
"and",
"symlinks",
"within",
"the",
"package",
"rooted",
"at",
"path",
"enter",
"at",
"most",
"max",
"dirs",
"total",
"directories",
"specializations",
"for",
"high",
"-",
"latency",
"remote",
"filesystems",
"may",
"wish",
"to",... | [] |
[
"change",
"the",
"checked",
"state",
"of",
"this",
"switch",
"immediately",
"without",
"showing",
"animation"
] | [
"if",
"(",
"m",
"checked",
"!",
"=",
"checked",
")",
"{",
"m",
"checked",
"=",
"checked",
";",
"if",
"(",
"m",
"on",
"checked",
"change",
"listener",
"!",
"=",
"null",
")",
"m",
"on",
"checked",
"change",
"listener",
"on",
"checked",
"changed",
"(",
... |
[
"shutdown",
"the",
"executor",
"so",
"we",
"don",
"t",
"leak",
"threads",
"into",
"other",
"test",
"runs"
] | [
"exec",
"shutdown",
"(",
")",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"viewport",
"w",
"scaling",
"enable",
"(",
"viewport",
"w",
"scaling",
"enable",
")",
";",
"p",
"viewport",
"w",
"scalings",
"(",
"p",
"viewport",
"w",
"scalings",
")... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"mem",
"address",
"(",
"co... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"t... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"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",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"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",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"it... | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"i... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"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",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"viewportwscalingenable",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"viewportcount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"viewport",
"w",
"scaling",
"n",
"v",
"create",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"pviewportwscalings",
")",
",",
"nviewport",
"count",
"(",
... |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"viewportwscalingenable",
",",
"value",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"viewportcount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"pviewportwscalings",
",",
"value",
"address",
"(",
")",
")",
";",
"nviewport",
"count",
"(",
"struct",
",",
"value",
"remaining... |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] | [
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"pipeline",
"viewport",
"w",
"scaling",
"state",
"create",
"info",
"n",
"v",
"pviewportwscalings",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.