docstring_tokens list | code_tokens list |
|---|---|
[
"{"
] | [
"if",
"(",
"compressor",
"!",
"=",
"null",
")",
"compressor",
"keep",
"uncompressed",
"idx",
"from",
"(",
"(",
"(",
"file",
"w",
"a",
"l",
"pointer",
")",
"ptr",
")",
"index",
"(",
")",
")",
";"
] |
[
"{"
] | [
"long",
"last",
"truncated",
"=",
"last",
"truncated",
"archive",
"idx",
";",
"long",
"last",
"archived",
"=",
"archiver",
"last",
"archived",
"absolute",
"index",
"(",
")",
";",
"if",
"(",
"last",
"archived",
"=",
"=",
"-",
"1",
")",
"return",
"0",
";... |
[
"files",
"from",
"archive",
"wal",
"directory"
] | [
"return",
"scan",
"(",
"wal",
"archive",
"dir",
"list",
"files",
"(",
"wal",
"segment",
"compacted",
"or",
"raw",
"file",
"filter",
")",
")",
";"
] |
[
"{"
] | [
"return",
"archiver",
"last",
"archived",
"absolute",
"index",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"compressor",
"!",
"=",
"null",
"?",
"compressor",
"last",
"compressed",
"idx",
":",
"-",
"1l",
";"
] |
[
"{"
] | [
"file",
"w",
"a",
"l",
"pointer",
"f",
"ptr",
"=",
"(",
"file",
"w",
"a",
"l",
"pointer",
")",
"ptr",
";",
"file",
"archiver",
"archiver",
"0",
"=",
"archiver",
";",
"return",
"archiver",
"0",
"!",
"=",
"null",
"&",
"&",
"archiver",
"0",
"reserved"... |
[
"{"
] | [
"return",
"cctx",
"wal",
"state",
"(",
")",
"is",
"disabled",
"(",
"grp",
"id",
")",
";"
] |
[
"lists",
"files",
"in",
"archive",
"directory",
"and",
"returns",
"the",
"index",
"of",
"last",
"archived",
"file"
] | [
"long",
"last",
"idx",
"=",
"-",
"1",
";",
"for",
"(",
"file",
"file",
":",
"wal",
"archive",
"dir",
"list",
"files",
"(",
"wal",
"segment",
"compacted",
"or",
"raw",
"file",
"filter",
")",
")",
"{",
"try",
"{",
"long",
"idx",
"=",
"long",
"parse",... |
[
"creates",
"a",
"directory",
"specified",
"by",
"the",
"given",
"arguments"
] | [
"file",
"dir",
";",
"if",
"(",
"cfg",
"!",
"=",
"null",
")",
"{",
"file",
"work",
"dir",
"0",
"=",
"new",
"file",
"(",
"cfg",
")",
";",
"dir",
"=",
"work",
"dir",
"0",
"is",
"absolute",
"(",
")",
"?",
"new",
"file",
"(",
"work",
"dir",
"0",
... |
[
"give",
"last",
"checkpoint",
"file",
"idx"
] | [
"w",
"a",
"l",
"pointer",
"last",
"checkpoint",
"mark",
"=",
"cctx",
"database",
"(",
")",
"last",
"checkpoint",
"mark",
"wal",
"pointer",
"(",
")",
";",
"return",
"last",
"checkpoint",
"mark",
"=",
"=",
"null",
"?",
"0",
":",
"(",
"(",
"file",
"w",
... |
[
"clears",
"whole",
"the",
"file",
"fills",
"with",
"zeros",
"for",
"default",
"mode"
] | [
"format",
"file",
"(",
"file",
",",
"ds",
"cfg",
"get",
"wal",
"segment",
"size",
"(",
")",
")",
";"
] |
[
"check",
"if",
"wal",
"segment",
"locked",
"or",
"reserved"
] | [
"return",
"locked",
"contains",
"key",
"(",
"abs",
"idx",
")",
"|",
"|",
"reserved",
"floor",
"key",
"(",
"abs",
"idx",
")",
"!",
"=",
"null",
";"
] |
[
"background",
"creation",
"of",
"all",
"segments",
"except",
"first",
"first",
"segment",
"was",
"created",
"in",
"main",
"thread",
"by",
"{"
] | [
"final",
"file",
"archiver",
"archiver",
"=",
"this",
";",
"check",
"files",
"(",
"1",
",",
"true",
",",
"new",
"ignite",
"predicate",
"<",
"integer",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"apply",
"(",
"integer",
"integer",
")",
"{... |
[
"callback",
"for",
"waking",
"up",
"compressor",
"when",
"new",
"segment",
"is",
"archived"
] | [
"notify",
"(",
")",
";"
] |
[
"pessimistically",
"tries",
"to",
"reserve",
"segment",
"for",
"compression",
"in",
"order",
"to",
"avoid",
"concurrent",
"truncation",
"waits",
"if",
"there",
"s",
"no",
"segment",
"to",
"archive",
"right",
"now"
] | [
"long",
"segment",
"to",
"compress",
"=",
"last",
"compressed",
"idx",
"+",
"1",
";",
"synchronized",
"(",
"this",
")",
"{",
"if",
"(",
"stopped",
")",
"return",
"-",
"1",
";",
"while",
"(",
"segment",
"to",
"compress",
">",
"archiver",
"last",
"archiv... |
[
"asynchronously",
"decompresses",
"wal",
"segment",
"which",
"is",
"present",
"only",
"in",
"zip",
"file"
] | [
"if",
"(",
"decompression",
"futures",
"contains",
"key",
"(",
"idx",
")",
")",
"return",
"decompression",
"futures",
"get",
"(",
"idx",
")",
";",
"file",
"f",
"=",
"new",
"file",
"(",
"wal",
"archive",
"dir",
",",
"file",
"descriptor",
"file",
"name",
... |
[
"{"
] | [
"return",
"get",
"segment",
"id",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"in",
";"
] |
[
"{"
] | [
"return",
"ser",
";"
] |
[
"{"
] | [
"return",
"work",
"dir",
";"
] |
[
"checks",
"if",
"current",
"head",
"is",
"a",
"close",
"fake",
"record",
"and",
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"so"
] | [
"return",
"stopped",
"(",
"head",
"get",
"(",
")",
")",
";"
] |
[
"gets",
"wal",
"record",
"offset",
"relative",
"to",
"the",
"wal",
"segment",
"file",
"beginning"
] | [
"file",
"w",
"a",
"l",
"pointer",
"ptr",
"=",
"(",
"file",
"w",
"a",
"l",
"pointer",
")",
"rec",
"position",
"(",
")",
";",
"assert",
"ptr",
"!",
"=",
"null",
";",
"return",
"ptr",
"file",
"offset",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"(",
"file",
"w",
"a",
"l",
"pointer",
")",
"super",
"position",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"on",
"close",
"(",
")",
";",
"cur",
"rec",
"=",
"null",
";",
"final",
"abstract",
"read",
"file",
"handle",
"handle",
"=",
"close",
"current",
"wal",
"segment",
"(",
")",
";",
"if",
"(",
"handle",
"!",
"=",
"null",
"&",
"&",
"handle",
"wo... |
[
"{"
] | [
"return",
"new",
"read",
"file",
"handle",
"(",
"file",
"i",
"o",
",",
"ser",
",",
"in",
")",
";"
] |
[
"return",
"fields",
"in",
"the",
"order",
"declared"
] | [
"return",
"fields",
";"
] |
[
"sets",
"the",
"current",
"picture",
"-",
"in",
"-",
"picture",
"actions"
] | [
"synchronized",
"(",
"m",
"window",
"map",
")",
"{",
"if",
"(",
"!",
"m",
"service",
"m",
"supports",
"picture",
"in",
"picture",
"|",
"|",
"m",
"container",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"m",
"container",
"get",
"display",
"content... |
[
"calls",
"directly",
"into",
"activity",
"manager",
"so",
"window",
"manager",
"lock",
"shouldn",
"t",
"held"
] | [
"if",
"(",
"m",
"listener",
"!",
"=",
"null",
")",
"{",
"pinned",
"stack",
"window",
"listener",
"listener",
"=",
"(",
"pinned",
"stack",
"window",
"listener",
")",
"m",
"listener",
";",
"listener",
"update",
"picture",
"in",
"picture",
"mode",
"for",
"p... |
[
"{"
] | [
"if",
"(",
"msg",
"instanceof",
"tcp",
"discovery",
"ping",
"response",
"&",
"&",
"ignore",
"ping",
"response",
")",
"return",
";",
"else",
"super",
"write",
"to",
"socket",
"(",
"sock",
",",
"out",
",",
"msg",
",",
"timeout",
")",
";"
] |
[
"{"
] | [
"super",
"simulate",
"node",
"failure",
"(",
")",
";"
] |
[
"todo",
":",
"use",
"this",
"for",
"package",
"remapping",
"too",
"?"
] | [
"if",
"(",
"value",
"equals",
"(",
"\"",
"\"",
")",
")",
"{",
"return",
"false",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"len",
"=",
"value",
"length",
"(",
")",
";",
"i",
"<",
"len",
";",
"i",
"+",
"+",
")",
"{",
"char",
"c",
"=... |
[
"closes",
"the",
"specified",
"channel",
"after",
"all",
"queued",
"write",
"requests",
"are",
"flushed"
] | [
"if",
"(",
"ch",
"is",
"connected",
"(",
")",
")",
"{",
"ch",
"write",
"(",
"channel",
"buffers",
"empty",
"buffer",
")",
"add",
"listener",
"(",
"channel",
"future",
"listener",
"close",
")",
";",
"}"
] |
[
"set",
"the",
"index",
"name",
"list"
] | [
"this",
"names",
"=",
"names",
";"
] |
[
"close",
"file",
"writter"
] | [
"if",
"(",
"output",
"stream",
"!",
"=",
"null",
")",
"{",
"output",
"stream",
"close",
"(",
")",
";",
"}"
] |
[
"variation",
"of",
"{",
"@",
"link",
"#",
"get",
"}",
"that",
"merges",
"the",
"values",
"of",
"configurable",
"lists",
"together",
"(",
"with",
"duplicates",
"removed",
")"
] | [
"preconditions",
"check",
"state",
"(",
"type",
"instanceof",
"type",
"list",
"type",
")",
";",
"if",
"(",
"!",
"is",
"configurable",
"(",
"attribute",
"name",
")",
")",
"{",
"return",
"get",
"(",
"attribute",
"name",
",",
"type",
")",
";",
"}",
"immut... |
[
"if",
"the",
"attribute",
"is",
"configurable",
"for",
"this",
"rule",
"instance",
"returns",
"its",
"configuration",
"keys",
"else",
"returns",
"an",
"empty",
"list"
] | [
"selector",
"list",
"<",
"t",
">",
"selector",
"list",
"=",
"get",
"selector",
"list",
"(",
"attribute",
"name",
",",
"type",
")",
";",
"if",
"(",
"selector",
"list",
"=",
"=",
"null",
")",
"{",
"return",
"immutable",
"list",
"of",
"(",
")",
";",
"... |
[
"gets",
"current",
"system",
"status"
] | [
"return",
"status",
"ref",
"get",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"parameters",
"=",
"=",
"null",
")",
"{",
"parameters",
"=",
"new",
"byte",
"vector",
"(",
")",
";",
"}",
"+",
"+",
"parameters",
"count",
";",
"parameters",
"put",
"short",
"(",
"(",
"name",
"=",
"=",
"null",
")",
"?",
"0",
":",
"symb... |
[
"adds",
"a",
"successor",
"to",
"{",
"@",
"link",
"#",
"current",
"basic",
"block",
"}",
"in",
"the",
"control",
"flow",
"graph"
] | [
"current",
"basic",
"block",
"outgoing",
"edges",
"=",
"new",
"edge",
"(",
"info",
",",
"successor",
",",
"current",
"basic",
"block",
"outgoing",
"edges",
")",
";"
] |
[
"ends",
"the",
"current",
"basic",
"block",
"this",
"method",
"must",
"be",
"used",
"in",
"the",
"case",
"where",
"the",
"current",
"basic",
"block",
"does",
"not",
"have",
"any",
"successor"
] | [
"if",
"(",
"compute",
"=",
"=",
"compute",
"all",
"frames",
")",
"{",
"label",
"next",
"basic",
"block",
"=",
"new",
"label",
"(",
")",
";",
"next",
"basic",
"block",
"frame",
"=",
"new",
"frame",
"(",
"next",
"basic",
"block",
")",
";",
"next",
"b... |
[
"starts",
"the",
"visit",
"of",
"a",
"new",
"stack",
"map",
"frame",
"stored",
"in",
"{",
"@",
"link",
"#",
"current",
"frame",
"}"
] | [
"int",
"frame",
"length",
"=",
"3",
"+",
"num",
"local",
"+",
"num",
"stack",
";",
"if",
"(",
"current",
"frame",
"=",
"=",
"null",
"|",
"|",
"current",
"frame",
"length",
"<",
"frame",
"length",
")",
"{",
"current",
"frame",
"=",
"new",
"int",
"["... |
[
"sets",
"an",
"abstract",
"type",
"in",
"{",
"@",
"link",
"#",
"current",
"frame",
"}"
] | [
"current",
"frame",
"[",
"frame",
"index",
"]",
"=",
"abstract",
"type",
";"
] |
[
"ends",
"the",
"visit",
"of",
"{"
] | [
"if",
"(",
"previous",
"frame",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"stack",
"map",
"table",
"entries",
"=",
"=",
"null",
")",
"{",
"stack",
"map",
"table",
"entries",
"=",
"new",
"byte",
"vector",
"(",
")",
";",
"}",
"put",
"frame",
"(",
")",... |
[
"puts",
"some",
"abstract",
"types",
"of",
"{",
"@",
"link",
"#",
"current",
"frame",
"}",
"in",
"{",
"@",
"link",
"#",
"stack",
"map",
"table",
"entries",
"}",
"using",
"the",
"jvms",
"verification",
"type",
"info",
"format",
"used",
"in",
"stack",
"m... | [
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"+",
"+",
"i",
")",
"{",
"frame",
"put",
"abstract",
"type",
"(",
"symbol",
"table",
",",
"current",
"frame",
"[",
"i",
"]",
",",
"stack",
"map",
"table",
"entries",
")",
";",
"}"... |
[
"puts",
"the",
"given",
"public",
"api",
"frame",
"element",
"type",
"in",
"{",
"@",
"link",
"#",
"stack",
"map",
"table",
"entries",
"}",
"using",
"the",
"jvms",
"verification",
"type",
"info",
"format",
"used",
"in",
"stack",
"map",
"table",
"attributes"... | [
"if",
"(",
"type",
"instanceof",
"integer",
")",
"{",
"stack",
"map",
"table",
"entries",
"put",
"byte",
"(",
"(",
"(",
"integer",
")",
"type",
")",
"int",
"value",
"(",
")",
")",
";",
"}",
"else",
"if",
"(",
"type",
"instanceof",
"string",
")",
"{... |
[
"collects",
"the",
"attributes",
"of",
"this",
"method",
"into",
"the",
"given",
"set",
"of",
"attribute",
"prototypes"
] | [
"attribute",
"prototypes",
"add",
"attributes",
"(",
"first",
"attribute",
")",
";",
"attribute",
"prototypes",
"add",
"attributes",
"(",
"first",
"code",
"attribute",
")",
";"
] |
[
"retrieve",
"the",
"size",
"of",
"the",
"vorbis",
"comment",
"packet",
"including",
"the",
"oggvorbis",
"header"
] | [
"byte",
"[",
"]",
"raw",
"vorbis",
"comment",
"data",
"=",
"read",
"raw",
"packet",
"data",
"(",
"raf",
")",
";",
"return",
"raw",
"vorbis",
"comment",
"data",
"length",
"+",
"vorbis",
"header",
"field",
"packet",
"type",
"length",
"+",
"vorbis",
"header... |
[
"return",
"the",
"size",
"required",
"by",
"all",
"the",
"extra",
"packets",
"on",
"same",
"page",
"as",
"setup",
"header",
"usually",
"there",
"are",
"no",
"packets",
"immediately",
"after",
"the",
"setup",
"packet"
] | [
"int",
"extra",
"packet",
"size",
"=",
"0",
";",
"for",
"(",
"ogg",
"page",
"header",
"packet",
"start",
"and",
"length",
"packet",
":",
"packet",
"list",
")",
"{",
"extra",
"packet",
"size",
"+",
"=",
"packet",
"get",
"length",
"(",
")",
";",
"}",
... |
[
"returns",
"the",
"woeid"
] | [
"return",
"woeid",
";"
] |
[
"sets",
"the",
"woeid"
] | [
"this",
"woeid",
"=",
"woeid",
";"
] |
[
"returns",
"the",
"update",
"interval",
"in",
"minutes"
] | [
"return",
"update",
"interval",
";"
] |
[
"sets",
"the",
"update",
"interval",
"in",
"minutes"
] | [
"this",
"update",
"interval",
"=",
"update",
"interval",
";"
] |
[
"returns",
"the",
"provider",
"name"
] | [
"return",
"provider",
"name",
";"
] |
[
"sets",
"the",
"provider",
"name"
] | [
"this",
"provider",
"name",
"=",
"provider",
"name",
";"
] |
[
"the",
"location",
"that",
"will",
"be",
"used",
"for",
"creating",
"a",
"node",
"values",
"depend",
"on",
"the",
"actual",
"cloud",
"provider"
] | [
"this",
"location",
"id",
"=",
"location",
"id",
";"
] |
[
"returns",
"the",
"units",
"of",
"measurement"
] | [
"return",
"units",
";"
] |
[
"sets",
"the",
"units",
"of",
"measurement"
] | [
"units",
"=",
"u",
";"
] |
[
"returns",
"true",
"if",
"this",
"config",
"is",
"valid"
] | [
"boolean",
"valid",
"=",
"provider",
"name",
"!",
"=",
"null",
"&",
"&",
"language",
"!",
"=",
"null",
"&",
"&",
"update",
"interval",
"!",
"=",
"null",
"&",
"&",
"location",
"id",
"!",
"=",
"null",
";",
"if",
"(",
"!",
"valid",
")",
"{",
"return... |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"nfd",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"nfd",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"semaphore",
"(",
"semaphore",
")",
";",
"flags",
"(",
"flags",
")",
";",
"handle",
"type",
"(",
"handle",
"type",
")",
";",
"fd",
"(",
"fd",
")",
";",
"return",
... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"co... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero... | [
"return",
"wrap",
"(",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
"import",
"semaphore",
"fd",
"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",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"semaphore",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"flags",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"handletype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"fd",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"semaphore",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"flags",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"handletype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"fd",
",",
"value",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"nfd",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"vk",
"import",
"semaphore",
"fd",
"info",
"k",
"h",
"r",
"nfd",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"friendly",
"name",
"of",
"the",
"ssh",
"key",
"pair",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"key",
"pair",
"(",
"e",
"g",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"lightsail",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789101",
":",
"key",
"pair",
"/... | [
"set",
"arn",
"(",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"support",
"code",
"include",
"this",
"code",
"in",
"your",
"email",
"to",
"support",
"when",
"you",
"have",
"questions",
"about",
"your",
"lightsail",
"load",
"balancer",
"this",
"code",
"enables",
"our",
"support",
"team",
"to",
"lo... | [
"this",
"support",
"code",
"=",
"support",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"support",
"code",
"include",
"this",
"code",
"in",
"your",
"email",
"to",
"support",
"when",
"you",
"have",
"questions",
"about",
"your",
"lightsail",
"load",
"balancer",
"this",
"code",
"enables",
"our",
"support",
"team",
"to",
"lo... | [
"return",
"this",
"support",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"support",
"code",
"include",
"this",
"code",
"in",
"your",
"email",
"to",
"support",
"when",
"you",
"have",
"questions",
"about",
"an",
"instance",
"or",
"another",
"resource",
"in",
"lightsail",
"this",
"code",
"enables",
"our",
"su... | [
"set",
"support",
"code",
"(",
"support",
"code",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.