docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"that",
"the",
"snapshot",
"was",
"taken",
"<",
"/",
"p",
">"
] | [
"set",
"start",
"time",
"(",
"start",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"snapshot",
"state",
"<",
"/",
"p",
">"
] | [
"set",
"state",
"(",
"state",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"snapshot",
"state",
"<",
"/",
"p",
">"
] | [
"with",
"state",
"(",
"state",
")",
";"
] |
[
"<",
"p",
">",
"the",
"snapshot",
"state",
"<",
"/",
"p",
">"
] | [
"this",
"state",
"=",
"state",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"encrypted",
"amazon",
"ebs",
"snapshots",
"are",
"copied",
"asynchronously",
"if",
"a",
"snapshot",
"copy",
"operation",
"fails",
"(",
"for",
"example",
"if",
"the",
"proper",
"aws",
"key",
"management",
"service",
"(",
"aws",
"kms",
")",
"... | [
"set",
"state",
"message",
"(",
"state",
"message",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"of",
"the",
"volume",
"e",
"g",
"vol",
"-",
"ae4b946d",
"<",
"/",
"p",
">"
] | [
"this",
"volume",
"id",
"=",
"volume",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"of",
"the",
"volume",
"e",
"g",
"vol",
"-",
"ae4b946d",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"volume",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"volume",
"that",
"was",
"used",
"to",
"create",
"the",
"snapshot",
"snapshots",
"created",
"by",
"the",
"<",
"a",
">",
"copy",
"snapshot",
"<",
"/",
"a",
">",
"action",
"have",
"an",
"arbitrary",
"volume",
"i... | [
"set",
"volume",
"id",
"(",
"volume",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"volume",
"in",
"gi",
"b",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"if",
"you",
"re",
"creating",
"the",
"volume",
"from",
"a",
"snapshot",
"and",
"don",
"t",
"specify",
"a",
"volume",
"size",... | [
"this",
"volume",
"size",
"=",
"volume",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"volume",
"in",
"gi",
"b",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"if",
"you",
"re",
"creating",
"the",
"volume",
"from",
"a",
"snapshot",
"and",
"don",
"t",
"specify",
"a",
"volume",
"size",... | [
"return",
"this",
"volume",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"volume",
"in",
"gi",
"b",
"<",
"/",
"p",
">"
] | [
"set",
"volume",
"size",
"(",
"volume",
"size",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"alias",
"of",
"the",
"afi",
"owner",
"possible",
"values",
"include",
"<",
"code",
">",
"self",
"<",
"/",
"code",
">",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"aws",
"-",
"marketplace",
"... | [
"this",
"owner",
"alias",
"=",
"owner",
"alias",
";"
] |
[
"<",
"p",
">",
"the",
"alias",
"of",
"the",
"afi",
"owner",
"possible",
"values",
"include",
"<",
"code",
">",
"self",
"<",
"/",
"code",
">",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"aws",
"-",
"marketplace",
"... | [
"return",
"this",
"owner",
"alias",
";"
] |
[
"<",
"p",
">",
"value",
"from",
"an",
"amazon",
"-",
"maintained",
"list",
"(",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"aws",
"-",
"marketplace",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"microsoft",
"<",
... | [
"set",
"owner",
"alias",
"(",
"owner",
"alias",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"list",
"of",
"tags",
"for",
"the",
"cluster",
"snapshot",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"... | [
"if",
"(",
"this",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"tags",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tag",
">",
"(",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"tag",
"ele",
":",
"tags",
")",
... |
[
"<",
"p",
">",
"the",
"list",
"of",
"tags",
"for",
"the",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"tags",
"(",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"get",
"dl4j",
"space",
"to",
"depth",
"layer"
] | [
"return",
"(",
"space",
"to",
"depth",
"layer",
")",
"this",
"layer",
";"
] |
[
"api"
] | [
"return",
"(",
"t",
")",
"get",
"current",
"session",
"(",
")",
"get",
"(",
"clazz",
",",
"id",
")",
";"
] |
[
"returns",
"the",
"first",
"entry",
"matching",
"the",
"given",
"key",
"predicates",
"(",
"short",
"-",
"circuiting",
"in",
"the",
"order",
"of",
"predicates",
")"
] | [
"return",
"key",
"matches",
"stream",
"(",
")",
"map",
"(",
"key",
"match",
"-",
">",
"find",
"first",
"in",
"map",
"by",
"key",
"(",
"map",
",",
"key",
"match",
")",
")",
"filter",
"(",
"objects",
":",
":",
"non",
"null",
")",
"find",
"first",
"... |
[
"returns",
"the",
"first",
"entry",
"matching",
"the",
"given",
"key",
"predicate"
] | [
"return",
"map",
"entry",
"set",
"(",
")",
"stream",
"(",
")",
"filter",
"(",
"entry",
"-",
">",
"key",
"match",
"test",
"(",
"entry",
"get",
"key",
"(",
")",
")",
")",
"find",
"first",
"(",
")",
"or",
"else",
"(",
"null",
")",
";"
] |
[
"returns",
"the",
"base",
"6",
"4",
"-",
"encoded",
"{",
"@",
"code",
"basic",
"}",
"authorization",
"for",
"{",
"@",
"code",
"registry",
"}",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"none",
"exists",
"the",
"order",
"of",
"lookup",
"preference",
... | [
"map",
"entry",
"<",
"string",
",",
"auth",
"template",
">",
"auth",
"entry",
"=",
"find",
"first",
"in",
"map",
"by",
"key",
"(",
"docker",
"config",
"template",
"get",
"auths",
"(",
")",
",",
"get",
"registry",
"matchers",
"for",
"(",
"registry",
")"... |
[
"determines",
"a",
"{",
"@",
"link",
"docker",
"credential",
"helper",
"}",
"to",
"use",
"for",
"{",
"@",
"code",
"registry",
"}"
] | [
"list",
"<",
"predicate",
"<",
"string",
">",
">",
"registry",
"matchers",
"=",
"get",
"registry",
"matchers",
"for",
"(",
"registry",
")",
";",
"map",
"entry",
"<",
"string",
",",
"?",
">",
"first",
"match",
"in",
"auths",
"=",
"find",
"first",
"in",
... |
[
"clears",
"the",
"previously",
"stashed",
"values"
] | [
"stash",
"clear",
"(",
")",
";"
] |
[
"this",
"slot",
"isn",
"t",
"executable"
] | [
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
")",
";"
] |
[
"once",
"this",
"feature",
"stabilizes",
"move",
"it",
"to",
"the",
"heavyjob",
"plugin"
] | [
"if",
"(",
"system",
"properties",
"get",
"boolean",
"(",
"back",
"filler",
"class",
"get",
"name",
"(",
")",
")",
")",
"return",
"new",
"back",
"filler",
"(",
")",
";",
"return",
"null",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"patch",
"baseline",
"to",
"retrieve",
"the",
"effective",
"patches",
"for",
"<",
"/",
"p",
">"
] | [
"this",
"baseline",
"id",
"=",
"baseline",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"patch",
"baseline",
"to",
"retrieve",
"the",
"effective",
"patches",
"for",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"baseline",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"patch",
"baseline",
"the",
"patch",
"group",
"was",
"registered",
"with",
"<",
"/",
"p",
">"
] | [
"set",
"baseline",
"id",
"(",
"baseline",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"patch",
"group",
"that",
"should",
"be",
"registered",
"with",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"this",
"patch",
"group",
"=",
"patch",
"group",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"patch",
"group",
"that",
"should",
"be",
"registered",
"with",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"patch",
"group",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"patch",
"group",
"registered",
"with",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"set",
"patch",
"group",
"(",
"patch",
"group",
")",
";",
"return",
"this",
";"
] |
[
"description",
":",
"cell",
"information",
"monitoring",
"todo",
":",
"what",
"exactly",
"are",
"we",
"monitoring",
"here",
"?",
"?",
"todo",
":",
"is",
"this",
"related",
"to",
"the",
"tracking",
"/",
"monitoring",
"in",
"the",
"menu",
"drawer",
"?"
] | [
"if",
"(",
"monitor",
")",
"{",
"monitoring",
"cell",
"=",
"true",
";",
"helpers",
"msg",
"short",
"(",
"context",
",",
"context",
"get",
"string",
"(",
"r",
"string",
"monitoring",
"cell",
"information",
")",
")",
";",
"}",
"else",
"{",
"monitoring",
... |
[
"check",
"device",
"s",
"current",
"cell",
"location",
"s",
"lac",
"against",
"local",
"database",
"and",
"verify",
"cell",
"s",
"cid",
"exists",
"in",
"the",
"ocid",
"database"
] | [
"compare",
"lac",
"(",
"tm",
"get",
"cell",
"location",
"(",
")",
")",
";"
] |
[
"cancel",
"and",
"remove",
"the",
"persistent",
"notification"
] | [
"notification",
"manager",
"compat",
"from",
"(",
"context",
")",
"cancel",
"(",
"notification",
"id",
")",
";"
] |
[
"vibrator",
"helper",
"method",
"will",
"check",
"current",
"preferences",
"(",
"vibrator",
"enabled",
"min",
"threat",
"level",
"to",
"vibrate",
")",
"and",
"act",
"appropriately"
] | [
"if",
"(",
"vibrate",
"enabled",
"&",
"&",
"(",
"threat",
"level",
"=",
"=",
"null",
"|",
"|",
"threat",
"level",
"ordinal",
"(",
")",
">",
"=",
"vibrate",
"min",
"threat",
"level",
")",
")",
"{",
"vibrator",
"v",
"=",
"(",
"vibrator",
")",
"contex... |
[
"stop",
"femto",
"cell",
"detection",
"tracking",
"(",
"for",
"cdma",
"devices",
"only",
"!",
")"
] | [
"if",
"(",
"m",
"phone",
"state",
"listener",
"!",
"=",
"null",
")",
"{",
"tm",
"listen",
"(",
"m",
"phone",
"state",
"listener",
",",
"phone",
"state",
"listener",
"listen",
"none",
")",
";",
"tracking",
"femtocell",
"=",
"false",
";",
"set",
"notific... |
[
"confirmation",
"of",
"connection",
"to",
"an",
"evdo",
"network"
] | [
"return",
"(",
"network",
"type",
"=",
"=",
"telephony",
"manager",
"network",
"type",
"evdo",
"0",
")",
"|",
"|",
"(",
"network",
"type",
"=",
"=",
"telephony",
"manager",
"network",
"type",
"evdo",
"a",
")",
"|",
"|",
"(",
"network",
"type",
"=",
"... |
[
"gets",
"the",
"example",
"string",
"attribute",
"value"
] | [
"return",
"m",
"example",
"string",
";"
] |
[
"sets",
"the",
"view",
"s",
"example",
"string",
"attribute",
"value",
"in",
"the",
"example",
"view",
"this",
"string",
"is",
"the",
"text",
"to",
"draw"
] | [
"m",
"example",
"string",
"=",
"example",
"string",
";",
"invalidate",
"text",
"paint",
"and",
"measurements",
"(",
")",
";"
] |
[
"gets",
"the",
"example",
"color",
"attribute",
"value"
] | [
"return",
"m",
"example",
"color",
";"
] |
[
"sets",
"the",
"view",
"s",
"example",
"color",
"attribute",
"value",
"in",
"the",
"example",
"view",
"this",
"color",
"is",
"the",
"font",
"color"
] | [
"m",
"example",
"color",
"=",
"example",
"color",
";",
"invalidate",
"text",
"paint",
"and",
"measurements",
"(",
")",
";"
] |
[
"gets",
"the",
"example",
"dimension",
"attribute",
"value"
] | [
"return",
"m",
"example",
"dimension",
";"
] |
[
"sets",
"the",
"view",
"s",
"example",
"dimension",
"attribute",
"value",
"in",
"the",
"example",
"view",
"this",
"dimension",
"is",
"the",
"font",
"size"
] | [
"m",
"example",
"dimension",
"=",
"example",
"dimension",
";",
"invalidate",
"text",
"paint",
"and",
"measurements",
"(",
")",
";"
] |
[
"synchronize",
"on",
"this",
"before",
"calling",
"{"
] | [
"return",
"get",
"state",
"(",
")",
"lock",
"(",
")",
";"
] |
[
"the",
"injector",
"is",
"a",
"special",
"case",
"because",
"we",
"allow",
"both",
"parent",
"and",
"child",
"injectors",
"to",
"both",
"have",
"a",
"binding",
"for",
"that",
"key"
] | [
"key",
"<",
"injector",
">",
"key",
"=",
"key",
"get",
"(",
"injector",
"class",
")",
";",
"injector",
"factory",
"injector",
"factory",
"=",
"new",
"injector",
"factory",
"(",
"injector",
")",
";",
"injector",
"state",
"put",
"binding",
"(",
"key",
",",... |
[
"the",
"logger",
"is",
"a",
"special",
"case",
"because",
"it",
"knows",
"the",
"injection",
"point",
"of",
"the",
"injected",
"member",
"it",
"s",
"the",
"only",
"binding",
"that",
"does",
"this"
] | [
"key",
"<",
"logger",
">",
"key",
"=",
"key",
"get",
"(",
"logger",
"class",
")",
";",
"logger",
"factory",
"logger",
"factory",
"=",
"new",
"logger",
"factory",
"(",
")",
";",
"injector",
"state",
"put",
"binding",
"(",
"key",
",",
"new",
"provider",
... |
[
"sets",
"the",
"currently",
"selected",
"date",
"to",
"the",
"specified",
"timestamp",
"jumps",
"immediately",
"to",
"the",
"new",
"date",
"to",
"animate",
"to",
"the",
"new",
"date",
"use",
"{",
"@",
"link",
"#",
"set",
"date",
"(",
"long",
"boolean",
"... | [
"set",
"date",
"(",
"time",
"in",
"millis",
",",
"false",
")",
";"
] |
[
"sets",
"the",
"currently",
"selected",
"date",
"to",
"the",
"specified",
"timestamp",
"jumps",
"immediately",
"to",
"the",
"new",
"date",
"optionally",
"animating",
"the",
"transition"
] | [
"set",
"date",
"(",
"time",
"in",
"millis",
",",
"animate",
",",
"true",
")",
";"
] |
[
"gets",
"the",
"minimal",
"date",
"supported",
"by",
"this",
"{",
"@",
"link",
"date",
"picker",
"}",
"in",
"milliseconds",
"since",
"january",
"1",
"1970",
"00",
":",
"00",
":",
"00",
"in",
"{",
"@",
"link",
"time",
"zone",
"#",
"get",
"default",
"(... | [
"return",
"m",
"min",
"date",
"get",
"time",
"in",
"millis",
"(",
")",
";"
] |
[
"gets",
"the",
"maximal",
"date",
"supported",
"by",
"this",
"{",
"@",
"link",
"date",
"picker",
"}",
"in",
"milliseconds",
"since",
"january",
"1",
"1970",
"00",
":",
"00",
":",
"00",
"in",
"{",
"@",
"link",
"time",
"zone",
"#",
"get",
"default",
"(... | [
"return",
"m",
"max",
"date",
"get",
"time",
"in",
"millis",
"(",
")",
";"
] |
[
"sets",
"the",
"listener",
"to",
"call",
"when",
"the",
"user",
"selects",
"a",
"day"
] | [
"m",
"on",
"day",
"selected",
"listener",
"=",
"listener",
";"
] |
[
"gets",
"the",
"position",
"of",
"the",
"view",
"that",
"is",
"most",
"prominently",
"displayed",
"within",
"the",
"list",
"view"
] | [
"return",
"m",
"view",
"pager",
"get",
"current",
"item",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"pipeline",
"updated",
"by",
"this",
"<",
"code",
">",
"update",
"pipeline",
"response",
"<",
"/",
"code",
">",
"call",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"pipeline",
";"
] |
[
"<",
"p",
">",
"a",
"section",
"of",
"the",
"response",
"body",
"that",
"provides",
"information",
"about",
"the",
"pipeline",
"<",
"/",
"p",
">"
] | [
"set",
"pipeline",
"(",
"pipeline",
")",
";",
"return",
"this",
";"
] |
[
"any",
"number",
"of",
"chunks",
"is",
"fine",
"-",
"don",
"t",
"rebalance",
"-",
"it",
"s",
"not",
"worth",
"it",
"for",
"a",
"few",
"passes",
"over",
"the",
"data",
"(",
"at",
"most",
")"
] | [
"return",
"1",
";"
] |
[
"row",
"=",
"=",
"position",
"in",
"(",
"weighted",
")",
"population"
] | [
"long",
"sum",
"=",
"(",
"long",
")",
"start",
"row",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"nbins",
";",
"i",
"+",
"+",
")",
"if",
"(",
"(",
"long",
")",
"row",
"<",
"(",
"sum",
"+",
"=",
"bins",
"[",
"i",
"]",
")",
")"... |
[
"sets",
"the",
"{"
] | [
"final",
"chain",
"chain",
"result",
";",
"if",
"(",
"result",
"value",
"=",
"=",
"null",
")",
"{",
"chain",
"result",
"=",
"chain",
"to",
"(",
"string",
"pool",
"empty",
")",
";",
"}",
"else",
"{",
"if",
"(",
"result",
"value",
"instanceof",
"string... |
[
"indicates",
"that",
"a",
"request",
"to",
"close",
"this",
"session",
"has",
"been",
"made"
] | [
"return",
"is",
"closing",
";"
] |
[
"{"
] | [
"return",
"cache",
"mode",
"replicated",
";"
] |
[
"{"
] | [
"return",
"cache",
"atomicity",
"mode",
"atomic",
";"
] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"like",
"{"
] | [
"add",
"int",
"(",
"size",
",",
"element",
")",
";"
] |
[
"ensures",
"that",
"the",
"provided",
"{",
"@",
"code",
"index",
"}",
"is",
"within",
"the",
"range",
"of",
"{",
"@",
"code",
"[",
"0",
"size",
"]",
"}",
"throws",
"an",
"{",
"@",
"link",
"index",
"out",
"of",
"bounds",
"exception",
"}",
"if",
"it"... | [
"if",
"(",
"index",
"<",
"0",
"|",
"|",
"index",
">",
"=",
"size",
")",
"{",
"throw",
"new",
"index",
"out",
"of",
"bounds",
"exception",
"(",
"make",
"out",
"of",
"bounds",
"exception",
"message",
"(",
"index",
")",
")",
";",
"}"
] |
[
"implements",
"item",
"pinned",
"message",
"dialog",
"fragment",
"event",
"listener"
] | [
"final",
"fragment",
"fragment",
"=",
"get",
"support",
"fragment",
"manager",
"(",
")",
"find",
"fragment",
"by",
"tag",
"(",
"fragment",
"list",
"view",
")",
";",
"get",
"data",
"provider",
"(",
")",
"get",
"item",
"(",
"item",
"position",
")",
"set",
... |
[
"returns",
"a",
"{"
] | [
"return",
"ntriangles",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"triangles",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"naabbs",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"aabbs",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"ntriangles",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"naabbs",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"triangles",
"(",
"triangles",
")",
";",
"aabbs",
"(",
"aabbs",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicit... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"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",
"geometry",
"data",
"n",
"v",
"x",
"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",
"geometry",
"data",
"n",
"v",
"x",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"geometry",
"triangles",
"n",
"v",
"x",
"create",
"(",
"struct",
"+",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"triangles",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"geometry",
"a",
"a",
"b",
"b",
"n",
"v",
"x",
"create",
"(",
"struct",
"+",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"aabbs",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"triangles",
",",
"vk",
"geometry",
"triangles",
"n",
"v",
"x",
"sizeof",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"aabbs",
",",
"vk",
"geometry",
"a",
"a",
"b",
"b",
"n",
"v",
"x",
"sizeof",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"ntriangles",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"triangles",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"geometry",
"data",
"n",
"v",
"x",
"naabbs",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"aabbs",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"vk",
"geometry",
"data",
"n",
"v",
"x",
"ntriangles",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"vk",
"geometry",
"data",
"n",
"v",
"x",
"naabbs",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.