docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"<",
"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",
"the",
"process",
"of",
"initial",
"deployment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
"the",
"process",
"of",
"updating",
"its",
"configuration",
"settings",
"or",
"application",
"version",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ready",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"available",
"to",
"have",
"an",
"action",
"performed",
"on",
"it",
"such",
"as",
"update",
"or",
"terminate",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminating",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
"the",
"shut",
"-",
"down",
"process",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminated",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"not",
"running",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"operational",
"status",
"of",
"the",
"environment",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launching",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
"the",
"process",
"of",
"initial",
"deployment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"updating",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
"the",
"process",
"of",
"updating",
"its",
"configuration",
"settings",
"or",
"application",
"version",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"ready",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"available",
"to",
"have",
"an",
"action",
"performed",
"on",
"it",
"such",
"as",
"update",
"or",
"terminate",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminating",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"in",
"the",
"shut",
"-",
"down",
"process",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminated",
"<",
"/",
"code",
">",
":",
"environment",
"is",
"not",
"running",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"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",
">",
"true",
":",
"<",
"/",
"code",
">",
"there",
"is",
"an",
"update",
"in",
"progress",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"false",
":",
"<",
"/",
"code",
">",
"there",
"are",
"no",
"updates",
"currently",
"in",
"progress",
"<",
"/",
"p",
">"
] | [
"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",
">",
"<",
"p",
">",
"<",
"code",
">",
"red",
"<",
"/",
"code",
">",
":",
"indicates",
"the",
"environment",
"is",
"not",
"responsive",
"occurs",
"when",
"three",
"or",
"more",
"consecutive",
"failures",
"occur",
"for",
"an",
"environment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"yellow",
"<",
"/",
"code",
">",
":",
"indicates",
"that",
"something",
"is",
"wrong",
"occurs",
"when",
"two",
"consecutive",
"failures",
"occur",
"for",
"an",
"environment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"green",
"<",
"/",
"code",
">",
":",
"indicates",
"the",
"environment",
"is",
"healthy",
"and",
"fully",
"functional",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"grey",
"<",
"/",
"code",
">",
":",
"default",
"health",
"for",
"a",
"new",
"environment",
"the",
"environment",
"is",
"not",
"fully",
"launched",
"and",
"health",
"checks",
"have",
"not",
"started",
"or",
"health",
"checks",
"are",
"suspended",
"during",
"an",
"<",
"code",
">",
"update",
"environment",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"restart",
"environement",
"<",
"/",
"code",
">",
"request",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"default",
":",
"<",
"code",
">",
"grey",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"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",
">",
"<",
"p",
">",
"<",
"code",
">",
"red",
"<",
"/",
"code",
">",
":",
"indicates",
"the",
"environment",
"is",
"not",
"responsive",
"occurs",
"when",
"three",
"or",
"more",
"consecutive",
"failures",
"occur",
"for",
"an",
"environment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"yellow",
"<",
"/",
"code",
">",
":",
"indicates",
"that",
"something",
"is",
"wrong",
"occurs",
"when",
"two",
"consecutive",
"failures",
"occur",
"for",
"an",
"environment",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"green",
"<",
"/",
"code",
">",
":",
"indicates",
"the",
"environment",
"is",
"healthy",
"and",
"fully",
"functional",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"grey",
"<",
"/",
"code",
">",
":",
"default",
"health",
"for",
"a",
"new",
"environment",
"the",
"environment",
"is",
"not",
"fully",
"launched",
"and",
"health",
"checks",
"have",
"not",
"started",
"or",
"health",
"checks",
"are",
"suspended",
"during",
"an",
"<",
"code",
">",
"update",
"environment",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"restart",
"environement",
"<",
"/",
"code",
">",
"request",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"default",
":",
"<",
"code",
">",
"grey",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"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",
"/",
"elasticbeanstalk",
"/",
"latest",
"/",
"dg",
"/",
"health",
"-",
"enhanced",
"-",
"status",
"html",
">",
"health",
"colors",
"and",
"statuses",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"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",
"/",
"elasticbeanstalk",
"/",
"latest",
"/",
"dg",
"/",
"health",
"-",
"enhanced",
"-",
"status",
"html",
">",
"health",
"colors",
"and",
"statuses",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"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",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"environment",
"links",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"environment",
"links",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"environment",
"links",
"=",
"=",
"null",
")",
"{",
"set",
"environment",
"links",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"environment",
"link",
">",
"(",
"environment",
"links",
"length",
")",
")",
";",
"}",
"for",
"(",
"environment",
"link",
"ele",
":",
"environment",
"links",
")",
"{",
"this",
"environment",
"links",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"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",
"(",
"new",
"search",
"hit",
"(",
"hit",
"substring",
"(",
"0",
",",
"index",
")",
",",
"hit",
"substring",
"(",
"index",
"+",
"1",
")",
")",
")",
";",
"}",
"collections",
"sort",
"(",
"result",
",",
"comparator",
")",
";",
"return",
"result",
";"
] |
[
"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",
"last",
"child",
"of",
"the",
"block"
] | [
"check",
"not",
"null",
"(",
"start",
")",
";",
"check",
"not",
"null",
"(",
"end",
")",
";",
"while",
"(",
"start",
"get",
"next",
"(",
")",
"!",
"=",
"end",
")",
"{",
"node",
"child",
"=",
"start",
"get",
"next",
"(",
")",
"detach",
"(",
")",
";",
"dest",
"add",
"child",
"to",
"back",
"(",
"child",
")",
";",
"}"
] |
[
"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",
"int",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"long",
"value",
"<",
"=",
"integer",
"max",
"value",
")",
"&",
"&",
"(",
"long",
"value",
">",
"=",
"(",
"is",
"un",
"signed",
"?",
"0",
":",
"integer",
"min",
"value",
")",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"smallint",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"long",
"value",
"<",
"=",
"short",
"max",
"value",
")",
"&",
"&",
"(",
"long",
"value",
">",
"=",
"(",
"is",
"un",
"signed",
"?",
"0",
":",
"short",
"min",
"value",
")",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"tinyint",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"long",
"value",
"<",
"=",
"byte",
"max",
"value",
")",
"&",
"&",
"(",
"long",
"value",
">",
"=",
"(",
"is",
"un",
"signed",
"?",
"0",
":",
"byte",
"min",
"value",
")",
")",
")",
";",
"break",
";",
"default",
":",
"is",
"valid",
"=",
"true",
";",
"}",
"if",
"(",
"is",
"valid",
")",
"{",
"return",
"long",
"value",
";",
"}",
"else",
"{",
"return",
"0",
";",
"}"
] |
[
"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",
"read",
"as",
"decimal",
"otherwise",
"false"
] | [
"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",
"value",
";",
"int",
"exponent",
"=",
"math",
"get",
"exponent",
"(",
"double",
"value",
")",
";",
"is",
"valid",
"=",
"(",
"(",
"abs",
"double",
"value",
"<",
"=",
"float",
"max",
"value",
")",
"&",
"&",
"(",
"abs",
"double",
"value",
">",
"=",
"float",
"min",
"value",
")",
"&",
"&",
"(",
"exponent",
"<",
"=",
"float",
"max",
"exponent",
")",
"&",
"&",
"(",
"exponent",
">",
"=",
"float",
"min",
"exponent",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"bigint",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"double",
"value",
"<",
"=",
"long",
"max",
"value",
")",
"&",
"&",
"(",
"double",
"value",
">",
"=",
"long",
"min",
"value",
")",
"&",
"&",
"(",
"double",
"value",
"%",
"1",
"=",
"=",
"0",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"int",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"double",
"value",
"<",
"=",
"integer",
"max",
"value",
")",
"&",
"&",
"(",
"double",
"value",
">",
"=",
"integer",
"min",
"value",
")",
"&",
"&",
"(",
"double",
"value",
"%",
"1",
"=",
"=",
"0",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"smallint",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"double",
"value",
"<",
"=",
"short",
"max",
"value",
")",
"&",
"&",
"(",
"double",
"value",
">",
"=",
"short",
"min",
"value",
")",
"&",
"&",
"(",
"double",
"value",
"%",
"1",
"=",
"=",
"0",
")",
")",
";",
"break",
";",
"case",
"serde",
"constants",
"tinyint",
"type",
"name",
":",
"is",
"valid",
"=",
"(",
"(",
"double",
"value",
"<",
"=",
"byte",
"max",
"value",
")",
"&",
"&",
"(",
"double",
"value",
">",
"=",
"byte",
"min",
"value",
")",
"&",
"&",
"(",
"double",
"value",
"%",
"1",
"=",
"=",
"0",
")",
")",
";",
"break",
";",
"default",
":",
"is",
"valid",
"=",
"true",
";",
"}",
"if",
"(",
"is",
"valid",
")",
"{",
"return",
"double",
"value",
";",
"}",
"else",
"{",
"return",
"0",
";",
"}"
] |
[
"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",
"(",
"hive",
"primitive",
"type",
"get",
"primitive",
"category",
"(",
")",
")",
"{",
"case",
"char",
":",
"length",
"=",
"(",
"(",
"char",
"type",
"info",
")",
"hive",
"primitive",
"type",
")",
"get",
"length",
"(",
")",
";",
"break",
";",
"case",
"varchar",
":",
"length",
"=",
"(",
"(",
"varchar",
"type",
"info",
")",
"hive",
"primitive",
"type",
")",
"get",
"length",
"(",
")",
";",
"break",
";",
"default",
":",
"break",
";",
"}",
"}",
"return",
"length",
";"
] |
[
"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",
"(",
")",
"m",
"selector",
"attributes",
"put",
"(",
"selector",
"id",
",",
"selector",
"value",
")",
";",
"else",
"selector",
"m",
"selector",
"attributes",
"put",
"(",
"selector",
"id",
",",
"selector",
"value",
")",
";",
"return",
"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",
"a",
"single",
"level",
"referencing",
"only",
"one",
"node",
"in",
"such",
"cases",
"the",
"return",
"it",
"null"
] | [
"ui",
"selector",
"selector",
"=",
"(",
"ui",
"selector",
")",
"m",
"selector",
"attributes",
"get",
"(",
"ui",
"selector",
"selector",
"child",
",",
"null",
")",
";",
"if",
"(",
"selector",
"!",
"=",
"null",
")",
"return",
"new",
"ui",
"selector",
"(",
"selector",
")",
";",
"return",
"null",
";"
] |
[
"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",
")",
"{",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"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",
"selector",
"selector",
"child",
")",
";",
"if",
"(",
"child",
"get",
"last",
"sub",
"selector",
"(",
")",
"=",
"=",
"null",
")",
"{",
"return",
"child",
";",
"}",
"return",
"child",
"get",
"last",
"sub",
"selector",
"(",
")",
";",
"}",
"else",
"if",
"(",
"m",
"selector",
"attributes",
"index",
"of",
"key",
"(",
"ui",
"selector",
"selector",
"parent",
")",
">",
"=",
"0",
")",
"{",
"ui",
"selector",
"parent",
"=",
"(",
"ui",
"selector",
")",
"m",
"selector",
"attributes",
"get",
"(",
"ui",
"selector",
"selector",
"parent",
")",
";",
"if",
"(",
"parent",
"get",
"last",
"sub",
"selector",
"(",
")",
"=",
"=",
"null",
")",
"{",
"return",
"parent",
";",
"}",
"return",
"parent",
"get",
"last",
"sub",
"selector",
"(",
")",
";",
"}",
"return",
"this",
";"
] |
[
"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",
"keys",
")",
";",
"p",
"acquire",
"timeout",
"milliseconds",
"(",
"p",
"acquire",
"timeout",
"milliseconds",
")",
";",
"release",
"count",
"(",
"release",
"count",
")",
";",
"p",
"release",
"syncs",
"(",
"p",
"release",
"syncs",
")",
";",
"p",
"release",
"keys",
"(",
"p",
"release",
"keys",
")",
";",
"return",
"this",
";"
] |
[
"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",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"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",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] | [
"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",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] | [
"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",
"its",
"bits",
"to",
"zero"
] | [
"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",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"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",
"all",
"its",
"bits",
"to",
"zero"
] | [
"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",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquirekeys",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"pacquiretimeoutmilliseconds",
")",
")",
";",
"}",
"if",
"(",
"nrelease",
"count",
"(",
"struct",
")",
"!",
"=",
"0",
")",
"{",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasesyncs",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"win",
"3",
"2",
"keyed",
"mutex",
"acquire",
"release",
"info",
"n",
"v",
"preleasekeys",
")",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"private",
"ca",
"this",
"must",
"be",
"of",
"the",
"form",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"acm",
"-",
"pca",
":",
"<",
"i",
">",
"region",
"<",
"/",
"i",
">",
":",
"<",
"i",
">",
"account",
"<",
"/",
"i",
">",
":",
"certificate",
"-",
"authority",
"/",
"<",
"i",
">",
"12345678",
"-",
"1234",
"-",
"1234",
"-",
"1234",
"-",
"123456789012",
"<",
"/",
"i",
">",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"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",
"(",
"exception",
"e",
")",
"{",
"throw",
"new",
"ignite",
"exception",
"(",
"e",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.