docstring_tokens
list | code_tokens
list |
---|---|
[
"checks",
"if",
"given",
"argument",
"s",
"condition",
"is",
"equal",
"to",
"{",
"@",
"code",
"true",
"}",
"otherwise",
"throws",
"{",
"@",
"link",
"illegal",
"argument",
"exception",
"}",
"exception"
] | [
"if",
"(",
"!",
"cond",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"desc",
")",
";"
] |
[
"checks",
"that",
"given",
"collection",
"is",
"not",
"empty"
] | [
"not",
"null",
"(",
"c",
",",
"name",
")",
";",
"if",
"(",
"c",
"is",
"empty",
"(",
")",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"name",
"+",
"not",
"empty",
"suffix",
")",
";"
] |
[
"checks",
"that",
"given",
"array",
"is",
"not",
"empty"
] | [
"not",
"null",
"(",
"arr",
",",
"name",
")",
";",
"if",
"(",
"arr",
"length",
"=",
"=",
"0",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"name",
"+",
"not",
"empty",
"suffix",
")",
";"
] |
[
"checks",
"that",
"given",
"array",
"is",
"not",
"empty"
] | [
"not",
"null",
"(",
"arr",
",",
"name",
")",
";",
"if",
"(",
"arr",
"length",
"=",
"=",
"0",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"name",
"+",
"not",
"empty",
"suffix",
")",
";"
] |
[
"checks",
"that",
"given",
"array",
"is",
"not",
"empty"
] | [
"not",
"null",
"(",
"arr",
",",
"name",
")",
";",
"if",
"(",
"arr",
"length",
"=",
"=",
"0",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"name",
"+",
"not",
"empty",
"suffix",
")",
";"
] |
[
"checks",
"that",
"a",
"string",
"is",
"not",
"null",
"or",
"empty"
] | [
"not",
"null",
"(",
"value",
",",
"name",
")",
";",
"if",
"(",
"value",
"trim",
"(",
")",
"is",
"empty",
"(",
")",
")",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"invalid",
"arg",
"msg",
"prefix",
"+",
"name",
"+",
"not",
"null",
"or",
"empty",
"suffix",
")",
";"
] |
[
"initializes",
"associations",
"between",
"<",
"code",
">",
"throwable",
"<",
"/",
"code",
">",
"s",
"and",
"<",
"code",
">",
"throwable",
"cause",
"extractor",
"<",
"/",
"code",
">",
"s",
"the",
"default",
"implementation",
"performs",
"the",
"following",
"registrations",
":",
"<",
"ul",
">",
"<",
"li",
">",
"{",
"@",
"link",
"#",
"default",
"extractor",
"}",
"for",
"{",
"@",
"link",
"throwable",
"}",
"<",
"/",
"li",
">",
"<",
"li",
">",
"{",
"@",
"link",
"#",
"invocationtarget",
"extractor",
"}",
"for",
"{",
"@",
"link",
"invocation",
"target",
"exception",
"}",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"br",
">",
"subclasses",
"overriding",
"this",
"method",
"are",
"encouraged",
"to",
"invoke",
"the",
"super",
"method",
"to",
"perform",
"the",
"default",
"registrations",
"they",
"can",
"register",
"additional",
"extractors",
"as",
"required",
"<",
"p",
">",
"note",
":",
"an",
"extractor",
"registered",
"for",
"a",
"specific",
"type",
"is",
"applicable",
"for",
"that",
"type",
"<",
"i",
">",
"and",
"all",
"subtypes",
"thereof",
"<",
"/",
"i",
">",
"however",
"extractors",
"registered",
"to",
"more",
"specific",
"types",
"are",
"guaranteed",
"to",
"be",
"resolved",
"first",
"so",
"in",
"the",
"default",
"case",
"invocation",
"target",
"exceptions",
"will",
"be",
"handled",
"by",
"{",
"@",
"link",
"#",
"invocationtarget",
"extractor",
"}",
"while",
"all",
"other",
"throwables",
"are",
"handled",
"by",
"{",
"@",
"link",
"#",
"default",
"extractor",
"}"
] | [
"register",
"extractor",
"(",
"invocation",
"target",
"exception",
"class",
",",
"invocationtarget",
"extractor",
")",
";",
"register",
"extractor",
"(",
"throwable",
"class",
",",
"default",
"extractor",
")",
";"
] |
[
"extracts",
"the",
"cause",
"of",
"the",
"given",
"throwable",
"using",
"an",
"appropriate",
"extractor"
] | [
"for",
"(",
"map",
"entry",
"<",
"class",
"<",
"?",
"extends",
"throwable",
">",
",",
"throwable",
"cause",
"extractor",
">",
"entry",
":",
"extractor",
"map",
"entry",
"set",
"(",
")",
")",
"{",
"class",
"<",
"?",
"extends",
"throwable",
">",
"throwable",
"type",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"if",
"(",
"throwable",
"type",
"is",
"instance",
"(",
"throwable",
")",
")",
"{",
"throwable",
"cause",
"extractor",
"extractor",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"return",
"extractor",
"extract",
"cause",
"(",
"throwable",
")",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"returns",
"the",
"first",
"throwable",
"from",
"the",
"passed",
"in",
"array",
"that",
"is",
"assignable",
"to",
"the",
"provided",
"type",
"a",
"returned",
"instance",
"is",
"safe",
"to",
"be",
"cast",
"to",
"the",
"specified",
"type",
"<",
"p",
">",
"if",
"the",
"passed",
"in",
"array",
"is",
"null",
"or",
"empty",
"this",
"method",
"returns",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] | [
"if",
"(",
"chain",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"throwable",
"t",
":",
"chain",
")",
"{",
"if",
"(",
"(",
"t",
"!",
"=",
"null",
")",
"&",
"&",
"throwable",
"type",
"is",
"instance",
"(",
"t",
")",
")",
"{",
"return",
"t",
";",
"}",
"}",
"}",
"return",
"null",
";"
] |
[
"to",
"proceed"
] | [] |
[
"null",
"or",
"not"
] | [] |
[
"invoked",
"on",
"link",
"properties",
"changes"
] | [] |
[
"detected",
"the",
"loss",
"of",
"a",
"critical",
"number",
"of",
"required",
"neighbors"
] | [] |
[
"called",
"when",
"the",
"ip",
"client",
"state",
"machine",
"terminates"
] | [] |
[
"install",
"an",
"apf",
"program",
"to",
"filter",
"incoming",
"packets"
] | [] |
[
"by",
"sending",
"an",
"ip",
"client",
"#",
"event",
"read",
"packet",
"filter",
"complete",
"message"
] | [] |
[
"actuate",
"multicast",
"filtering",
"using",
"another",
"means"
] | [] |
[
"called",
"for",
"example",
"whenever",
"4",
"6",
"4xlat",
"is",
"being",
"started",
"or",
"stopped"
] | [] |
[
"wi",
"fi",
"legacy",
"behavior",
"with",
"static",
"ipv",
"4",
"config"
] | [
"if",
"(",
"config",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"initial",
"configuration",
"config",
"copy",
"=",
"new",
"initial",
"configuration",
"(",
")",
";",
"config",
"copy",
"ip",
"addresses",
"add",
"all",
"(",
"config",
"ip",
"addresses",
")",
";",
"config",
"copy",
"directly",
"connected",
"routes",
"add",
"all",
"(",
"config",
"directly",
"connected",
"routes",
")",
";",
"config",
"copy",
"dns",
"servers",
"add",
"all",
"(",
"config",
"dns",
"servers",
")",
";",
"return",
"config",
"copy",
";"
] |
[
"@",
"return",
"true",
"if",
"the",
"given",
"list",
"of",
"addressess",
"and",
"routes",
"satisfies",
"provisioning",
"for",
"this",
"initial",
"configuration",
"link",
"addresses",
"and",
"route",
"info",
"objects",
"are",
"not",
"compared",
"with",
"equality",
"because",
"addresses",
"and",
"routes",
"seen",
"by",
"netlink",
"will",
"contain",
"additional",
"fields",
"like",
"flags",
"interfaces",
"and",
"so",
"on",
"if",
"this",
"initial",
"configuration",
"has",
"no",
"ip",
"address",
"specified",
"the",
"provisioning",
"check",
"always",
"fails"
] | [
"if",
"(",
"ip",
"addresses",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"for",
"(",
"link",
"address",
"addr",
":",
"ip",
"addresses",
")",
"{",
"if",
"(",
"!",
"any",
"(",
"addresses",
",",
"(",
"addr",
"seen",
")",
"-",
">",
"addr",
"is",
"same",
"address",
"as",
"(",
"addr",
"seen",
")",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
"if",
"(",
"routes",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"ip",
"prefix",
"prefix",
":",
"directly",
"connected",
"routes",
")",
"{",
"if",
"(",
"!",
"any",
"(",
"routes",
",",
"(",
"route",
"seen",
")",
"-",
">",
"is",
"directly",
"connected",
"route",
"(",
"route",
"seen",
",",
"prefix",
")",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
"}",
"return",
"true",
";"
] |
[
"shut",
"down",
"this",
"ip",
"client",
"instance",
"altogether"
] | [
"stop",
"(",
")",
";",
"send",
"message",
"(",
"cmd",
"terminate",
"after",
"stop",
")",
";"
] |
[
"todo",
":",
"delete",
"this"
] | [
"start",
"provisioning",
"(",
"build",
"provisioning",
"configuration",
"(",
")",
"with",
"static",
"configuration",
"(",
"static",
"ip",
"config",
")",
"build",
"(",
")",
")",
";"
] |
[
"set",
"the",
"tcp",
"buffer",
"sizes",
"to",
"use"
] | [
"send",
"message",
"(",
"cmd",
"update",
"tcp",
"buffer",
"sizes",
",",
"tcp",
"buffer",
"sizes",
")",
";"
] |
[
"set",
"the",
"http",
"proxy",
"configuration",
"to",
"use"
] | [
"send",
"message",
"(",
"cmd",
"update",
"http",
"proxy",
",",
"proxy",
"info",
")",
";"
] |
[
"enable",
"or",
"disable",
"the",
"multicast",
"filter",
"attempts",
"to",
"use",
"apf",
"to",
"accomplish",
"the",
"filtering",
"if",
"not",
"callback",
"set",
"fallback",
"multicast",
"filter",
"(",
")",
"is",
"called"
] | [
"send",
"message",
"(",
"cmd",
"set",
"multicast",
"filter",
",",
"enabled",
")",
";"
] |
[
"assigned",
"to",
"the",
"interface",
"etc"
] | [
"m",
"netlink",
"tracker",
"clear",
"link",
"properties",
"(",
")",
";",
"m",
"configuration",
"=",
"null",
";",
"m",
"dhcp",
"results",
"=",
"null",
";",
"m",
"tcp",
"buffer",
"sizes",
"=",
"\"",
"\"",
";",
"m",
"http",
"proxy",
"=",
"null",
";",
"m",
"link",
"properties",
"=",
"new",
"link",
"properties",
"(",
")",
";",
"m",
"link",
"properties",
"set",
"interface",
"name",
"(",
"m",
"interface",
"name",
")",
";"
] |
[
"returns",
"false",
"if",
"we",
"have",
"lost",
"provisioning",
"true",
"otherwise"
] | [
"final",
"link",
"properties",
"new",
"lp",
"=",
"assemble",
"link",
"properties",
"(",
")",
";",
"if",
"(",
"objects",
"equals",
"(",
"new",
"lp",
",",
"m",
"link",
"properties",
")",
")",
"{",
"return",
"true",
";",
"}",
"final",
"provisioning",
"change",
"delta",
"=",
"set",
"link",
"properties",
"(",
"new",
"lp",
")",
";",
"if",
"(",
"send",
"callbacks",
")",
"{",
"dispatch",
"callback",
"(",
"delta",
",",
"new",
"lp",
")",
";",
"}",
"return",
"(",
"delta",
"!",
"=",
"provisioning",
"change",
"lost",
"provisioning",
")",
";"
] |
[
"todo",
":",
"extract",
"out",
"into",
"collection",
"utils"
] | [
"for",
"(",
"t",
"t",
":",
"coll",
")",
"{",
"if",
"(",
"fn",
"test",
"(",
"t",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
":",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"include",
"availability",
"zones",
"=",
"include",
"availability",
"zones",
";"
] |
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
":",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"availability",
"zones",
";"
] |
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
":",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"include",
"availability",
"zones",
"(",
"include",
"availability",
"zones",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
":",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"availability",
"zones",
";"
] |
[
"<",
"p",
">",
"&",
"gt",
";",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"for",
"databases",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
"(",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] | [
"this",
"include",
"relational",
"database",
"availability",
"zones",
"=",
"include",
"relational",
"database",
"availability",
"zones",
";"
] |
[
"<",
"p",
">",
"&",
"gt",
";",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"for",
"databases",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
"(",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"relational",
"database",
"availability",
"zones",
";"
] |
[
"<",
"p",
">",
"&",
"gt",
";",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"for",
"databases",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
"(",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] | [
"set",
"include",
"relational",
"database",
"availability",
"zones",
"(",
"include",
"relational",
"database",
"availability",
"zones",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"&",
"gt",
";",
"a",
"boolean",
"value",
"indicating",
"whether",
"to",
"also",
"include",
"availability",
"zones",
"for",
"databases",
"in",
"your",
"get",
"regions",
"request",
"availability",
"zones",
"are",
"indicated",
"with",
"a",
"letter",
"(",
"e",
"g",
"<",
"code",
">",
"us",
"-",
"east",
"-",
"2a",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"include",
"relational",
"database",
"availability",
"zones",
";"
] |
[
"reset",
"the",
"skeleton",
"loader",
"in",
"case",
"an",
"error",
"occured",
"while",
"parsing",
"xml",
"this",
"allows",
"future",
"use",
"of",
"the",
"loader",
"even",
"after",
"an",
"error"
] | [
"element",
"stack",
"clear",
"(",
")",
";",
"index",
"to",
"joint",
"clear",
"(",
")",
";",
"name",
"to",
"joint",
"clear",
"(",
")",
";",
"track",
"=",
"null",
";",
"tracks",
"clear",
"(",
")",
";",
"anim",
"clip",
"=",
"null",
";",
"if",
"(",
"anim",
"clips",
"!",
"=",
"null",
")",
"{",
"anim",
"clips",
"clear",
"(",
")",
";",
"}",
"joint",
"=",
"null",
";",
"armature",
"=",
"null",
";",
"times",
"clear",
"(",
")",
";",
"rotations",
"clear",
"(",
")",
";",
"translations",
"clear",
"(",
")",
";",
"time",
"=",
"-",
"1",
";",
"position",
"=",
"null",
";",
"rotation",
"=",
"null",
";",
"scale",
"=",
"null",
";",
"angle",
"=",
"0",
";",
"axis",
"=",
"null",
";"
] |
[
"private",
"d",
"b",
"p",
"preference",
"listener",
"settings",
"change",
"listener",
";"
] | [
"return",
"new",
"application",
"workbench",
"window",
"advisor",
"(",
"configurer",
")",
";"
] |
[
"may",
"be",
"overriden",
"by",
"sub",
"classes",
"to",
"set",
"up",
"a",
"different",
"db"
] | [
"s",
"q",
"lite",
"database",
"sq",
"lite",
"database",
";",
"if",
"(",
"in",
"memory",
")",
"{",
"sq",
"lite",
"database",
"=",
"s",
"q",
"lite",
"database",
"create",
"(",
"null",
")",
";",
"}",
"else",
"{",
"get",
"context",
"(",
")",
"delete",
"database",
"(",
"db",
"name",
")",
";",
"sq",
"lite",
"database",
"=",
"get",
"context",
"(",
")",
"open",
"or",
"create",
"database",
"(",
"db",
"name",
",",
"0",
",",
"null",
")",
";",
"}",
"return",
"new",
"standard",
"database",
"(",
"sq",
"lite",
"database",
")",
";"
] |
[
"adds",
"all",
"specified",
"models",
"to",
"the",
"{"
] | [
"this",
"models",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"models",
")",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"{"
] | [
"if",
"(",
"models",
"!",
"=",
"null",
")",
"{",
"this",
"models",
"add",
"all",
"(",
"models",
")",
";",
"}",
"return",
"this",
";"
] |
[
"converts",
"one",
"row",
"of",
"luminance",
"data",
"to",
"1",
"bit",
"data",
"may",
"actually",
"do",
"the",
"conversion",
"or",
"return",
"cached",
"data",
"callers",
"should",
"assume",
"this",
"method",
"is",
"expensive",
"and",
"call",
"it",
"as",
"seldom",
"as",
"possible",
"this",
"method",
"is",
"intended",
"for",
"decoding",
"1d",
"barcodes",
"and",
"may",
"choose",
"to",
"apply",
"sharpening",
"for",
"callers",
"which",
"only",
"examine",
"one",
"row",
"of",
"pixels",
"at",
"a",
"time",
"the",
"same",
"bit",
"array",
"should",
"be",
"reused",
"and",
"passed",
"in",
"with",
"each",
"call",
"for",
"performance",
"however",
"it",
"is",
"legal",
"to",
"keep",
"more",
"than",
"one",
"row",
"at",
"a",
"time",
"if",
"needed"
] | [
"public",
"abstract",
"bit",
"array",
"get",
"black",
"row",
"(",
"int",
"y",
",",
"bit",
"array",
"row",
")",
"throws",
"not",
"found",
"exception",
";"
] |
[
"converts",
"a",
"2d",
"array",
"of",
"luminance",
"data",
"to",
"1",
"bit",
"data",
"as",
"above",
"assume",
"this",
"method",
"is",
"expensive",
"and",
"do",
"not",
"call",
"it",
"repeatedly",
"this",
"method",
"is",
"intended",
"for",
"decoding",
"2d",
"barcodes",
"and",
"may",
"or",
"may",
"not",
"apply",
"sharpening",
"therefore",
"a",
"row",
"from",
"this",
"matrix",
"may",
"not",
"be",
"identical",
"to",
"one",
"fetched",
"using",
"get",
"black",
"row",
"(",
")",
"so",
"don",
"t",
"mix",
"and",
"match",
"between",
"them"
] | [
"public",
"abstract",
"bit",
"matrix",
"get",
"black",
"matrix",
"(",
")",
"throws",
"not",
"found",
"exception",
";"
] |
[
"creates",
"a",
"new",
"object",
"with",
"the",
"same",
"type",
"as",
"this",
"binarizer",
"implementation",
"but",
"with",
"pristine",
"state",
"this",
"is",
"needed",
"because",
"binarizer",
"implementations",
"may",
"be",
"stateful",
"e",
"g",
"keeping",
"a",
"cache",
"of",
"1",
"bit",
"data",
"see",
"effective",
"java",
"for",
"why",
"we",
"can",
"t",
"use",
"java",
"s",
"clone",
"(",
")",
"method"
] | [
"public",
"abstract",
"binarizer",
"create",
"binarizer",
"(",
"luminance",
"source",
"source",
")",
";"
] |
[
"will",
"take",
"an",
"{"
] | [
"if",
"(",
"properties",
"get",
"type",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"type",
",",
"properties",
"get",
"type",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"app",
"id",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"app",
"id",
",",
"properties",
"get",
"app",
"id",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"cluster",
"id",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"clusterid",
",",
"properties",
"get",
"cluster",
"id",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"content",
"encoding",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"content",
"encoding",
",",
"properties",
"get",
"content",
"encoding",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"content",
"type",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"content",
"type",
",",
"properties",
"get",
"content",
"type",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"correlation",
"id",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"correlationid",
",",
"properties",
"get",
"correlation",
"id",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"expiration",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"expiration",
",",
"properties",
"get",
"expiration",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"message",
"id",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"message",
"id",
",",
"properties",
"get",
"message",
"id",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"priority",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"priority",
",",
"properties",
"get",
"priority",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"reply",
"to",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"reply",
"to",
",",
"properties",
"get",
"reply",
"to",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"timestamp",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"timestamp",
",",
"properties",
"get",
"timestamp",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"user",
"id",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"userid",
",",
"properties",
"get",
"user",
"id",
"(",
")",
")",
";",
"}",
"if",
"(",
"properties",
"get",
"delivery",
"mode",
"(",
")",
"!",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"rabbit",
"m",
"q",
"constants",
"delivery",
"mode",
",",
"properties",
"get",
"delivery",
"mode",
"(",
")",
")",
";",
"}"
] |
[
"strategy",
"to",
"test",
"if",
"the",
"given",
"header",
"is",
"valid",
"without",
"this",
"the",
"com",
"rabbitmq",
"client",
"impl",
"frame",
"java",
"class",
"will",
"throw",
"an",
"illegal",
"argument",
"exception",
"(",
"invalid",
"value",
"in",
"table",
")",
"and",
"close",
"the",
"connection"
] | [
"if",
"(",
"header",
"value",
"instanceof",
"string",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"number",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"boolean",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"date",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"byte",
"[",
"]",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"long",
"string",
")",
"{",
"return",
"header",
"value",
";",
"}",
"return",
"null",
";"
] |
[
"returns",
"{"
] | [
"return",
"is",
"accessibility",
"button",
"supported",
";"
] |
[
"sets",
"that",
"the",
"system",
"navigation",
"area",
"is",
"supported",
"accessibility",
"button",
";",
"controls",
"the",
"return",
"value",
"of",
"{"
] | [
"is",
"accessibility",
"button",
"supported",
"=",
"supported",
";"
] |
[
"a",
"release",
"of",
"the",
"payload",
"by",
"the",
"{",
"@",
"link",
"allocated",
"slot",
"}",
"triggers",
"a",
"release",
"of",
"the",
"payload",
"of",
"the",
"logical",
"slot"
] | [
"if",
"(",
"state",
"updater",
"compare",
"and",
"set",
"(",
"this",
",",
"state",
"alive",
",",
"state",
"releasing",
")",
")",
"{",
"signal",
"payload",
"release",
"(",
"cause",
")",
";",
"}",
"mark",
"released",
"(",
")",
";",
"release",
"future",
"complete",
"(",
"null",
")",
";"
] |
[
"an",
"identifier",
"for",
"this",
"resource",
"that",
"is",
"unique",
"within",
"all",
"of",
"aws"
] | [
"set",
"arn",
"(",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"an",
"optional",
"category",
"you",
"create",
"to",
"organize",
"your",
"job",
"templates"
] | [
"set",
"category",
"(",
"category",
")",
";",
"return",
"this",
";"
] |
[
"the",
"timestamp",
"in",
"epoch",
"seconds",
"for",
"job",
"template",
"creation"
] | [
"set",
"created",
"at",
"(",
"created",
"at",
")",
";",
"return",
"this",
";"
] |
[
"an",
"optional",
"description",
"you",
"create",
"for",
"each",
"job",
"template"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"the",
"timestamp",
"in",
"epoch",
"seconds",
"when",
"the",
"job",
"template",
"was",
"last",
"updated"
] | [
"set",
"last",
"updated",
"(",
"last",
"updated",
")",
";",
"return",
"this",
";"
] |
[
"a",
"name",
"you",
"create",
"for",
"each",
"job",
"template",
"each",
"name",
"must",
"be",
"unique",
"within",
"your",
"account"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"optional",
"the",
"queue",
"that",
"jobs",
"created",
"from",
"this",
"template",
"are",
"assigned",
"to",
"if",
"you",
"don",
"t",
"specify",
"this",
"jobs",
"will",
"go",
"to",
"the",
"default",
"queue"
] | [
"set",
"queue",
"(",
"queue",
")",
";",
"return",
"this",
";"
] |
[
"a",
"job",
"template",
"can",
"be",
"of",
"two",
"types",
":",
"system",
"or",
"custom",
"system",
"or",
"built",
"-",
"in",
"job",
"templates",
"can",
"t",
"be",
"modified",
"or",
"deleted",
"by",
"the",
"user"
] | [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"a",
"job",
"template",
"can",
"be",
"of",
"two",
"types",
":",
"system",
"or",
"custom",
"system",
"or",
"built",
"-",
"in",
"job",
"templates",
"can",
"t",
"be",
"modified",
"or",
"deleted",
"by",
"the",
"user"
] | [
"this",
"type",
"=",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"translate",
"a",
"list",
"of",
"calcite",
"{",
"@",
"code",
"rex",
"node",
"}",
"to",
"druid",
"expressions"
] | [
"final",
"list",
"<",
"druid",
"expression",
">",
"ret",
"val",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"rex",
"nodes",
"size",
"(",
")",
")",
";",
"for",
"(",
"rex",
"node",
"rex",
"node",
":",
"rex",
"nodes",
")",
"{",
"final",
"druid",
"expression",
"druid",
"expression",
"=",
"to",
"druid",
"expression",
"(",
"planner",
"context",
",",
"row",
"signature",
",",
"rex",
"node",
")",
";",
"if",
"(",
"druid",
"expression",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"ret",
"val",
"add",
"(",
"druid",
"expression",
")",
";",
"}",
"return",
"ret",
"val",
";"
] |
[
"translates",
"condition",
"to",
"a",
"druid",
"filter",
"assuming",
"it",
"does",
"not",
"contain",
"any",
"boolean",
"expressions",
"returns",
"null",
"if",
"we",
"cannot",
"translate",
"the",
"condition"
] | [
"if",
"(",
"rex",
"node",
"is",
"always",
"true",
"(",
")",
")",
"{",
"return",
"filtration",
"match",
"everything",
"(",
")",
";",
"}",
"else",
"if",
"(",
"rex",
"node",
"is",
"always",
"false",
"(",
")",
")",
"{",
"return",
"filtration",
"match",
"nothing",
"(",
")",
";",
"}",
"final",
"dim",
"filter",
"simple",
"filter",
"=",
"to",
"simple",
"leaf",
"filter",
"(",
"planner",
"context",
",",
"row",
"signature",
",",
"rex",
"node",
")",
";",
"return",
"simple",
"filter",
"!",
"=",
"null",
"?",
"simple",
"filter",
":",
"to",
"expression",
"leaf",
"filter",
"(",
"planner",
"context",
",",
"row",
"signature",
",",
"rex",
"node",
")",
";"
] |
[
"translates",
"to",
"an",
"expression",
"type",
"leaf",
"filter",
"used",
"as",
"a",
"fallback",
"if",
"we",
"can",
"t",
"use",
"a",
"simple",
"leaf",
"filter"
] | [
"final",
"druid",
"expression",
"druid",
"expression",
"=",
"to",
"druid",
"expression",
"(",
"planner",
"context",
",",
"row",
"signature",
",",
"rex",
"node",
")",
";",
"return",
"druid",
"expression",
"=",
"=",
"null",
"?",
"null",
":",
"new",
"expression",
"dim",
"filter",
"(",
"druid",
"expression",
"get",
"expression",
"(",
")",
",",
"planner",
"context",
"get",
"expr",
"macro",
"table",
"(",
")",
")",
";"
] |
[
"converts",
"an",
"expression",
"to",
"a",
"granularity",
"if",
"possible",
"this",
"is",
"possible",
"if",
"and",
"only",
"if",
"the",
"expression",
"is",
"a",
"timestamp",
"floor",
"function",
"on",
"the",
"time",
"column",
"with",
"literal",
"parameters",
"for",
"period",
"origin",
"and",
"time",
"zone"
] | [
"final",
"timestamp",
"floor",
"expr",
"macro",
"timestamp",
"floor",
"expr",
"expr",
"=",
"as",
"timestamp",
"floor",
"expr",
"(",
"expression",
",",
"macro",
"table",
")",
";",
"if",
"(",
"expr",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"final",
"expr",
"arg",
"=",
"expr",
"get",
"arg",
"(",
")",
";",
"final",
"granularity",
"granularity",
"=",
"expr",
"get",
"granularity",
"(",
")",
";",
"if",
"(",
"column",
"holder",
"time",
"column",
"name",
"equals",
"(",
"parser",
"get",
"identifier",
"if",
"identifier",
"(",
"arg",
")",
")",
")",
"{",
"return",
"granularity",
";",
"}",
"else",
"{",
"return",
"null",
";",
"}"
] |
[
"configure",
"the",
"mapping",
"by",
"extracting",
"any",
"mappings",
"defined",
"in",
"the",
"{"
] | [
"super",
"set",
"conf",
"(",
"conf",
")",
";",
"if",
"(",
"conf",
"!",
"=",
"null",
")",
"{",
"string",
"[",
"]",
"mappings",
"=",
"conf",
"get",
"strings",
"(",
"key",
"hadoop",
"configured",
"node",
"mapping",
")",
";",
"if",
"(",
"mappings",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"string",
"str",
":",
"mappings",
")",
"{",
"string",
"host",
"=",
"str",
"substring",
"(",
"0",
",",
"str",
"index",
"of",
"(",
"'",
"=",
"'",
")",
")",
";",
"string",
"rack",
"=",
"str",
"substring",
"(",
"str",
"index",
"of",
"(",
"'",
"=",
"'",
")",
"+",
"1",
")",
";",
"add",
"node",
"to",
"rack",
"(",
"host",
",",
"rack",
")",
";",
"}",
"}",
"}"
] |
[
"retained",
"lower",
"case",
"setter",
"for",
"compatibility",
"reasons",
";",
"relays",
"to",
"{"
] | [
"set",
"conf",
"(",
"conf",
")",
";"
] |
[
"add",
"a",
"node",
"to",
"the",
"static",
"map",
"the",
"moment",
"any",
"entry",
"is",
"added",
"to",
"the",
"map",
"the",
"map",
"goes",
"multi",
"-",
"rack"
] | [
"synchronized",
"(",
"name",
"to",
"rack",
"map",
")",
"{",
"name",
"to",
"rack",
"map",
"put",
"(",
"name",
",",
"rack",
"id",
")",
";",
"}"
] |
[
"the",
"switch",
"policy",
"of",
"this",
"mapping",
"is",
"driven",
"by",
"the",
"same",
"policy",
"as",
"the",
"scripted",
"mapping",
":",
"the",
"presence",
"of",
"the",
"script",
"name",
"in",
"the",
"configuration",
"file"
] | [
"return",
"is",
"single",
"switch",
"by",
"script",
"policy",
"(",
")",
";"
] |
[
"get",
"a",
"copy",
"of",
"the",
"map",
"(",
"for",
"diagnostics",
")"
] | [
"synchronized",
"(",
"name",
"to",
"rack",
"map",
")",
"{",
"return",
"new",
"hash",
"map",
"<",
"string",
",",
"string",
">",
"(",
"name",
"to",
"rack",
"map",
")",
";",
"}"
] |
[
"clear",
"the",
"map"
] | [
"synchronized",
"(",
"name",
"to",
"rack",
"map",
")",
"{",
"name",
"to",
"rack",
"map",
"clear",
"(",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"for",
"the",
"request",
"that",
"generated",
"the",
"trace",
"s",
"segments",
"and",
"subsegments",
"<",
"/",
"p",
">"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"length",
"of",
"time",
"in",
"seconds",
"between",
"the",
"start",
"time",
"of",
"the",
"root",
"segment",
"and",
"the",
"end",
"time",
"of",
"the",
"last",
"segment",
"that",
"completed",
"<",
"/",
"p",
">"
] | [
"set",
"duration",
"(",
"duration",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"segment",
"documents",
"for",
"the",
"segments",
"and",
"subsegments",
"that",
"comprise",
"the",
"trace",
"<",
"/",
"p",
">"
] | [
"return",
"segments",
";"
] |
[
"<",
"p",
">",
"segment",
"documents",
"for",
"the",
"segments",
"and",
"subsegments",
"that",
"comprise",
"the",
"trace",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"segments",
"=",
"=",
"null",
")",
"{",
"this",
"segments",
"=",
"null",
";",
"return",
";",
"}",
"this",
"segments",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"segment",
">",
"(",
"segments",
")",
";"
] |
[
"<",
"p",
">",
"segment",
"documents",
"for",
"the",
"segments",
"and",
"subsegments",
"that",
"comprise",
"the",
"trace",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"segments",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"segments",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"segments",
"=",
"=",
"null",
")",
"{",
"set",
"segments",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"segment",
">",
"(",
"segments",
"length",
")",
")",
";",
"}",
"for",
"(",
"segment",
"ele",
":",
"segments",
")",
"{",
"this",
"segments",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"segment",
"documents",
"for",
"the",
"segments",
"and",
"subsegments",
"that",
"comprise",
"the",
"trace",
"<",
"/",
"p",
">"
] | [
"set",
"segments",
"(",
"segments",
")",
";",
"return",
"this",
";"
] |
[
"always",
"trying",
"to",
"failover",
"job",
"except",
"failed",
"assertions"
] | [
"return",
"res",
"get",
"exception",
"(",
")",
"=",
"=",
"null",
"?",
"wait",
":",
"res",
"get",
"exception",
"(",
")",
"get",
"cause",
"(",
")",
"instanceof",
"assertion",
"error",
"?",
"reduce",
":",
"failover",
";"
] |
[
"{"
] | [
"int",
"sum",
"=",
"0",
";",
"for",
"(",
"compute",
"job",
"result",
"r",
":",
"results",
")",
"{",
"if",
"(",
"!",
"r",
"is",
"cancelled",
"(",
")",
"&",
"&",
"r",
"get",
"exception",
"(",
")",
"=",
"=",
"null",
")",
"sum",
"+",
"=",
"r",
"<",
"integer",
">",
"get",
"data",
"(",
")",
";",
"}",
"return",
"sum",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nrc",
"monitor",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"rc",
"monitor",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nrc",
"work",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"rc",
"work",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"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",
"monitorinfoex",
"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",
"monitorinfoex",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"monitorinfoex",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"monitorinfoex",
"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",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"monitorinfoex",
"cbsize",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.