docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"last",
"modified",
"date",
"for",
"this",
"environment",
"<",
"/",
"p",
">"
] | [
"set",
"date",
"updated",
"(",
"date",
"updated",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"operational",
"status",
"of",
"the",
"environment",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launching",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
... | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"operational",
"status",
"of",
"the",
"environment",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launching",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
... | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"if",
"there",
"is",
"an",
"in",
"-",
"progress",
"environment",
"configuration",
"update",
"or",
"application",
"version",
"deployment",
"that",
"you",
"can",
"cancel",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"... | [
"set",
"abortable",
"operation",
"in",
"progress",
"(",
"abortable",
"operation",
"in",
"progress",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"describes",
"the",
"health",
"status",
"of",
"the",
"environment",
"aws",
"elastic",
"beanstalk",
"indicates",
"the",
"failure",
"levels",
"for",
"a",
"running",
"environment",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<... | [
"set",
"health",
"(",
"health",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"describes",
"the",
"health",
"status",
"of",
"the",
"environment",
"aws",
"elastic",
"beanstalk",
"indicates",
"the",
"failure",
"levels",
"for",
"a",
"running",
"environment",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<... | [
"this",
"health",
"=",
"health",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"health",
"status",
"of",
"the",
"application",
"running",
"in",
"your",
"environment",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"elasticbeans... | [
"set",
"health",
"status",
"(",
"health",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"health",
"status",
"of",
"the",
"application",
"running",
"in",
"your",
"environment",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"elasticbeans... | [
"this",
"health",
"status",
"=",
"health",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"aws",
"resources",
"used",
"by",
"this",
"environment",
"<",
"/",
"p",
">"
] | [
"set",
"resources",
"(",
"resources",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"describes",
"the",
"current",
"tier",
"of",
"this",
"environment",
"<",
"/",
"p",
">"
] | [
"set",
"tier",
"(",
"tier",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"links",
"to",
"other",
"environments",
"in",
"the",
"same",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the"... | [
"if",
"(",
"this",
"environment",
"links",
"=",
"=",
"null",
")",
"{",
"set",
"environment",
"links",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"environment",
"link",
">",
"(",
"environment",
"links",
"length",
")",
")",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"links",
"to",
"other",
"environments",
"in",
"the",
"same",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"environment",
"links",
"(",
"environment",
"links",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"environment",
"s",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"which",
"can",
"be",
"used",
"in",
"other",
"api",
"requests",
"that",
"require",
"an",
"arn",
"<",
"/",
"p",
">"
] | [
"set",
"environment",
"arn",
"(",
"environment",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"merge",
"function",
"expects",
"input",
"to",
"be",
"sorted",
"as",
"per",
"comparator"
] | [
"list",
"<",
"search",
"hit",
">",
"result",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"string",
"hit",
":",
"hits",
")",
"{",
"int",
"index",
"=",
"hit",
"index",
"of",
"(",
"'",
":",
"'",
")",
";",
"result",
"add",
"... |
[
"move",
"the",
"nodes",
"between",
"start",
"and",
"end",
"from",
"the",
"source",
"block",
"to",
"the",
"destination",
"block",
"if",
"start",
"is",
"null",
"move",
"the",
"first",
"child",
"of",
"the",
"block",
"if",
"end",
"is",
"null",
"move",
"the",... | [
"check",
"not",
"null",
"(",
"start",
")",
";",
"check",
"not",
"null",
"(",
"end",
")",
";",
"while",
"(",
"start",
"get",
"next",
"(",
")",
"!",
"=",
"end",
")",
"{",
"node",
"child",
"=",
"start",
"get",
"next",
"(",
")",
"detach",
"(",
")",... |
[
"enforce",
"the",
"max",
"legnth",
"of",
"varchar",
"or",
"char"
] | [
"return",
"hive",
"base",
"char",
"enforce",
"max",
"length",
"(",
"value",
",",
"length",
")",
";"
] |
[
"enforce",
"the",
"char",
"length"
] | [
"return",
"hive",
"base",
"char",
"get",
"padded",
"value",
"(",
"value",
",",
"length",
")",
";"
] |
[
"helper",
"function",
"to",
"validate",
"long",
"data",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"is",
"valid",
"for",
"the",
"type",
"it",
"will",
"be",
"read",
"in",
"otherwise",
"false"
] | [
"switch",
"(",
"type",
"name",
")",
"{",
"case",
"serde",
"constants",
"bigint",
"type",
"name",
":",
"is",
"valid",
"=",
"!",
"is",
"un",
"signed",
"|",
"|",
"(",
"long",
"value",
">",
"=",
"0",
")",
";",
"break",
";",
"case",
"serde",
"constants"... |
[
"helper",
"function",
"to",
"validate",
"long",
"data",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"is",
"valid",
"for",
"the",
"type",
"it",
"will",
"be",
"read",
"in",
"otherwise",
"false"
] | [
"return",
"validated",
"long",
"(",
"long",
"value",
",",
"type",
"name",
",",
"false",
")",
";"
] |
[
"helper",
"function",
"to",
"validate",
"long",
"data",
"when",
"it",
"will",
"be",
"read",
"as",
"a",
"decimal",
"from",
"hive",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"can",
"be",
"read",
"as",
"decimal",
"otherwise",
"false"
... | [
"hive",
"decimal",
"writable",
"set",
"from",
"long",
"(",
"long",
"value",
")",
";",
"return",
"validated",
"decimal",
"(",
")",
";"
] |
[
"helper",
"function",
"to",
"validate",
"double",
"data",
"when",
"it",
"will",
"be",
"read",
"as",
"a",
"decimal",
"from",
"hive",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"can",
"be",
"read",
"as",
"decimal",
"otherwise",
"false... | [
"hive",
"decimal",
"writable",
"set",
"from",
"double",
"(",
"double",
"value",
")",
";",
"return",
"validated",
"decimal",
"(",
")",
";"
] |
[
"helper",
"function",
"to",
"validate",
"decimal",
"data",
"in",
"hive",
"decimal",
"writable",
"can",
"be",
"read",
"as",
"the",
"decimal",
"type",
"defined",
"in",
"hms",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"can",
"be",
"re... | [
"return",
"validated",
"scaled",
"decimal",
"(",
"hive",
"scale",
")",
";"
] |
[
"helper",
"function",
"to",
"validate",
"double",
"data",
"sets",
"the",
"is",
"valid",
"to",
"true",
"if",
"the",
"data",
"is",
"valid",
"for",
"the",
"type",
"it",
"will",
"be",
"read",
"in",
"otherwise",
"false"
] | [
"switch",
"(",
"type",
"name",
")",
"{",
"case",
"serde",
"constants",
"float",
"type",
"name",
":",
"double",
"abs",
"double",
"value",
"=",
"(",
"double",
"value",
"<",
"0",
")",
"?",
"(",
"double",
"value",
"*",
"-",
"1",
")",
":",
"double",
"va... |
[
"for",
"varchar",
"or",
"char",
"type",
"return",
"the",
"max",
"length",
"of",
"the",
"type"
] | [
"int",
"length",
"=",
"-",
"1",
";",
"if",
"(",
"hive",
"type",
"instanceof",
"primitive",
"type",
"info",
")",
"{",
"primitive",
"type",
"info",
"hive",
"primitive",
"type",
"=",
"(",
"primitive",
"type",
"info",
")",
"hive",
"type",
";",
"switch",
"(... |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"visible",
"text",
"displayed",
"in",
"a",
"widget",
"(",
"for",
"example",
"the",
"text",
"label",
"to",
"launch",
"an",
"app",
")"
] | [
"return",
"build",
"selector",
"(",
"selector",
"text",
",",
"text",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"visible",
"text",
"displayed",
"in",
"a",
"layout",
"element",
"using",
"a",
"regular",
"expression"
] | [
"return",
"build",
"selector",
"(",
"selector",
"text",
"regex",
",",
"pattern",
"compile",
"(",
"regex",
")",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"visible",
"text",
"in",
"a",
"widget",
"that",
"is",
"prefixed",
"by",
"the",
"text",
"parameter"
] | [
"return",
"build",
"selector",
"(",
"selector",
"start",
"text",
",",
"text",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"visible",
"text",
"in",
"a",
"widget",
"where",
"the",
"visible",
"text",
"must",
"contain",
"the",
"string",
"in",
"your",
"input",
"argument"
] | [
"return",
"build",
"selector",
"(",
"selector",
"contains",
"text",
",",
"text",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"class",
"property",
"for",
"a",
"widget",
"(",
"for",
"example",
"android",
"widget",
"button",
")"
] | [
"return",
"build",
"selector",
"(",
"selector",
"class",
",",
"class",
"name",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"class",
"property",
"for",
"a",
"widget",
"using",
"a",
"regular",
"expression"
] | [
"return",
"build",
"selector",
"(",
"selector",
"class",
"regex",
",",
"pattern",
"compile",
"(",
"regex",
")",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"class",
"property",
"for",
"a",
"widget",
"(",
"for",
"example",
"android",
"widget",
"button",
")"
] | [
"return",
"build",
"selector",
"(",
"selector",
"class",
",",
"type",
"get",
"name",
"(",
")",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"content",
"-",
"description",
"property",
"for",
"a",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"description",
",",
"desc",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"content",
"-",
"description",
"property",
"for",
"a",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"description",
"regex",
",",
"pattern",
"compile",
"(",
"regex",
")",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"content",
"-",
"description",
"property",
"for",
"a",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"start",
"description",
",",
"desc",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"content",
"-",
"description",
"property",
"for",
"a",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"contains",
"description",
",",
"desc",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"given",
"resource",
"id"
] | [
"return",
"build",
"selector",
"(",
"selector",
"resource",
"id",
",",
"id",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"resource",
"id",
"of",
"the",
"widget",
"using",
"a",
"regular",
"expression"
] | [
"return",
"build",
"selector",
"(",
"selector",
"resource",
"id",
"regex",
",",
"pattern",
"compile",
"(",
"regex",
")",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"widget",
"by",
"its",
"node",
"index",
"in",
"the",
"layout",
"hierarchy"
] | [
"return",
"build",
"selector",
"(",
"selector",
"index",
",",
"index",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"widget",
"by",
"its",
"instance",
"number"
] | [
"return",
"build",
"selector",
"(",
"selector",
"instance",
",",
"instance",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"enabled"
] | [
"return",
"build",
"selector",
"(",
"selector",
"enabled",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"have",
"focus"
] | [
"return",
"build",
"selector",
"(",
"selector",
"focused",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"focusable"
] | [
"return",
"build",
"selector",
"(",
"selector",
"focusable",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"scrollable"
] | [
"return",
"build",
"selector",
"(",
"selector",
"scrollable",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"currently",
"selected"
] | [
"return",
"build",
"selector",
"(",
"selector",
"selected",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"currently",
"checked",
"(",
"usually",
"for",
"checkboxes",
")"
] | [
"return",
"build",
"selector",
"(",
"selector",
"checked",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"clickable"
] | [
"return",
"build",
"selector",
"(",
"selector",
"clickable",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"checkable"
] | [
"return",
"build",
"selector",
"(",
"selector",
"checkable",
",",
"val",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"widgets",
"that",
"are",
"long",
"-",
"clickable"
] | [
"return",
"build",
"selector",
"(",
"selector",
"long",
"clickable",
",",
"val",
")",
";"
] |
[
"adds",
"a",
"child",
"ui",
"selector",
"criteria",
"to",
"this",
"selector"
] | [
"return",
"build",
"selector",
"(",
"selector",
"child",
",",
"selector",
")",
";"
] |
[
"adds",
"a",
"child",
"ui",
"selector",
"criteria",
"to",
"this",
"selector",
"which",
"is",
"used",
"to",
"start",
"search",
"from",
"the",
"parent",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"parent",
",",
"selector",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"package",
"name",
"of",
"the",
"application",
"that",
"contains",
"the",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"package",
"name",
",",
"name",
")",
";"
] |
[
"set",
"the",
"search",
"criteria",
"to",
"match",
"the",
"package",
"name",
"of",
"the",
"application",
"that",
"contains",
"the",
"widget"
] | [
"return",
"build",
"selector",
"(",
"selector",
"package",
"name",
"regex",
",",
"pattern",
"compile",
"(",
"regex",
")",
")",
";"
] |
[
"building",
"a",
"ui",
"selector",
"always",
"returns",
"a",
"new",
"ui",
"selector",
"and",
"never",
"modifies",
"the",
"existing",
"ui",
"selector",
"being",
"used"
] | [
"ui",
"selector",
"selector",
"=",
"new",
"ui",
"selector",
"(",
"this",
")",
";",
"if",
"(",
"selector",
"id",
"=",
"=",
"selector",
"child",
"|",
"|",
"selector",
"id",
"=",
"=",
"selector",
"parent",
")",
"selector",
"get",
"last",
"sub",
"selector"... |
[
"selectors",
"may",
"have",
"a",
"hierarchy",
"defined",
"by",
"specifying",
"child",
"nodes",
"to",
"be",
"matched",
"it",
"is",
"not",
"necessary",
"that",
"every",
"selector",
"have",
"more",
"than",
"one",
"level",
"a",
"selector",
"can",
"also",
"be",
... | [
"ui",
"selector",
"selector",
"=",
"(",
"ui",
"selector",
")",
"m",
"selector",
"attributes",
"get",
"(",
"ui",
"selector",
"selector",
"child",
",",
"null",
")",
";",
"if",
"(",
"selector",
"!",
"=",
"null",
")",
"return",
"new",
"ui",
"selector",
"("... |
[
"leaf",
"selector",
"indicates",
"no",
"more",
"child",
"or",
"parent",
"selectors",
"are",
"declared",
"in",
"the",
"this",
"selector"
] | [
"if",
"(",
"m",
"selector",
"attributes",
"index",
"of",
"key",
"(",
"ui",
"selector",
"selector",
"child",
")",
"<",
"0",
"&",
"&",
"m",
"selector",
"attributes",
"index",
"of",
"key",
"(",
"ui",
"selector",
"selector",
"parent",
")",
"<",
"0",
")",
... |
[
"returns",
"the",
"deepest",
"selector",
"in",
"the",
"chain",
"of",
"possible",
"sub",
"selectors",
"a",
"chain",
"of",
"selector",
"is",
"created",
"when",
"either",
"of",
"{"
] | [
"if",
"(",
"m",
"selector",
"attributes",
"index",
"of",
"key",
"(",
"ui",
"selector",
"selector",
"child",
")",
">",
"=",
"0",
")",
"{",
"ui",
"selector",
"child",
"=",
"(",
"ui",
"selector",
")",
"m",
"selector",
"attributes",
"get",
"(",
"ui",
"se... |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"acquire",
"count",
"(",
"acquire",
"count",
")",
";",
"p",
"acquire",
"syncs",
"(",
"p",
"acquire",
"syncs",
")",
";",
"p",
"acquire",
"keys",
"(",
"p",
"acquire",... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"mem",
"address",
"(",
"co... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"it... | [
"return",
"wrap",
"(",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"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",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"acquirecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"long",
"buffer",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiresyncs",
")",
",",
"nacquire",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"long",
"buffer",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquirekeys",
")",
",",
"nacquire",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"int",
"buffer",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiretimeoutmilliseconds",
")",
",",
"nacquire",
"count",
"(",
"struct",
")",
... |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"releasecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"long",
"buffer",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasesyncs",
")",
",",
"nrelease",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"long",
"buffer",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasekeys",
")",
",",
"nrelease",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pnext",
",",
"value",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"acquirecount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiresyncs",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquirekeys",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiretimeoutmilliseconds",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"releasecount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasesyncs",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasekeys",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] | [
"if",
"(",
"nacquire",
"count",
"(",
"struct",
")",
"!",
"=",
"0",
")",
"{",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiresyncs",
")",
")",
";",... |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"private",
"ca",
"this",
"must",
"be",
"of",
"the",
"form",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"acm",
"-",
"pca",... | [
"set",
"certificate",
"authority",
"arn",
"(",
"certificate",
"authority",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"alphanumeric",
"string",
"that",
"contains",
"a",
"report",
"identifier",
"<",
"/",
"p",
">"
] | [
"this",
"audit",
"report",
"id",
"=",
"audit",
"report",
"id",
";"
] |
[
"<",
"p",
">",
"an",
"alphanumeric",
"string",
"that",
"contains",
"a",
"report",
"identifier",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"audit",
"report",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"report",
"id",
"returned",
"by",
"calling",
"the",
"<",
"a",
">",
"create",
"certificate",
"authority",
"audit",
"report",
"<",
"/",
"a",
">",
"operation",
"<",
"/",
"p",
">"
] | [
"set",
"audit",
"report",
"id",
"(",
"audit",
"report",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"counter",
"instance"
] | [
"try",
"{",
"constructor",
"constructor",
"=",
"cls",
"get",
"constructor",
"(",
"string",
"class",
",",
"string",
"class",
")",
";",
"return",
"(",
"t",
")",
"constructor",
"new",
"instance",
"(",
"grp",
",",
"name",
")",
";",
"}",
"catch",
"(",
"exce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.