docstring_tokens list | code_tokens list |
|---|---|
[
"connects",
"the",
"surface",
"texture",
"to",
"the",
"camera",
"preview",
"output",
"and",
"starts",
"the",
"preview"
] | [
"st",
"set",
"on",
"frame",
"available",
"listener",
"(",
"this",
")",
";",
"try",
"{",
"m",
"camera",
"set",
"preview",
"texture",
"(",
"st",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"ioe",
")",
"{",
"throw",
"new",
"runtime",
"exception"... |
[
"drop",
"the",
"reference",
"to",
"the",
"activity",
"useful",
"as",
"a",
"paranoid",
"measure",
"to",
"ensure",
"that",
"attempts",
"to",
"access",
"a",
"stale",
"activity",
"through",
"a",
"handler",
"are",
"caught"
] | [
"m",
"weak",
"activity",
"clear",
"(",
")",
";"
] |
[
"changes",
"the",
"filter",
"that",
"we",
"re",
"applying",
"to",
"the",
"camera",
"preview"
] | [
"m",
"new",
"filter",
"=",
"filter",
";"
] |
[
"draws",
"a",
"red",
"box",
"in",
"the",
"corner"
] | [
"gles20",
"gl",
"enable",
"(",
"gles20",
"gl",
"scissor",
"test",
")",
";",
"gles20",
"gl",
"scissor",
"(",
"0",
",",
"0",
",",
"100",
",",
"100",
")",
";",
"gles20",
"gl",
"clear",
"color",
"(",
"1",
"0f",
",",
"0",
"0f",
",",
"0",
"0f",
",",
... |
[
"<",
"p",
">",
"filters",
"used",
"to",
"limit",
"the",
"scope",
"of",
"executions",
"that",
"are",
"requested",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"filters",
"=",
"=",
"null",
")",
"{",
"filters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"automation",
"execution",
"filter",
">",
"(",
")",
";",
"}",
"return",
"filters",
";"
] |
[
"<",
"p",
">",
"filters",
"used",
"to",
"limit",
"the",
"scope",
"of",
"executions",
"that",
"are",
"requested",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"filters",
"=",
"=",
"null",
")",
"{",
"this",
"filters",
"=",
"null",
";",
"return",
";",
"}",
"this",
"filters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"automation",
"execution",
"filter",
">",
"(",
"fi... |
[
"<",
"p",
">",
"filters",
"used",
"to",
"limit",
"the",
"scope",
"of",
"executions",
"that",
"are",
"requested",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to"... | [
"if",
"(",
"this",
"filters",
"=",
"=",
"null",
")",
"{",
"set",
"filters",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"automation",
"execution",
"filter",
">",
"(",
"filters",
"length",
")",
")",
";",
"}",
"for",
"(",
... |
[
"<",
"p",
">",
"filters",
"used",
"to",
"limit",
"the",
"scope",
"of",
"executions",
"that",
"are",
"requested",
"<",
"/",
"p",
">"
] | [
"set",
"filters",
"(",
"filters",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"return",
"for",
"this",
"call",
"the",
"call",
"also",
"returns",
"a",
"token",
"that",
"you",
"can",
"specify",
"in",
"a",
"subsequent",
"call",
"to",
"get",
"the",
"next",
"set",
"of",
... | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"for",
"the",
"next",
"set",
"of",
"items",
"to",
"return",
"(",
"you",
"received",
"this",
"token",
"from",
"a",
"previous",
"call",
")",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"wrappers",
"to",
"make",
"it",
"more",
"block",
"-",
"like"
] | [
"return",
"block",
"get",
"hash",
"(",
")",
";"
] |
[
"wrap",
"an",
"object",
"with",
"{",
"@",
"code",
"auto",
"closeable",
"}",
"interface",
"and",
"provide",
"a",
"function",
"to",
"replace",
"a",
"{",
"@",
"code",
"close",
"}",
"method",
"the",
"wrapper",
"is",
"idempotent",
"i",
"e",
"it",
"will",
"c... | [
"return",
"new",
"closeable",
"wrapper",
"<",
">",
"(",
"obj",
",",
"t",
"-",
">",
"closer",
"accept",
"(",
"t",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"pool",
"id",
"for",
"the",
"user",
"pool",
"where",
"the",
"user",
"will",
"be",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"user",
"pool",
"id",
"(",
"user",
"pool",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"username",
"for",
"the",
"user",
"must",
"be",
"unique",
"within",
"the",
"user",
"pool",
"must",
"be",
"a",
"utf",
"-",
"8",
"string",
"between",
"1",
"and",
"128",
"characters",
"after",
"the",
"user",
"is",
"created",
"the",
... | [
"set",
"username",
"(",
"username",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"name",
"-",
"value",
"pairs",
"that",
"contain",
"user",
"attributes",
"and",
"attribute",
"values",
"to",
"be",
"set",
"for",
"the",
"user",
"to",
"be",
"created",
"you",
"can",
"create",
"a",
"user",
"without",
"s... | [
"if",
"(",
"this",
"user",
"attributes",
"=",
"=",
"null",
")",
"{",
"set",
"user",
"attributes",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"attribute",
"type",
">",
"(",
"user",
"attributes",
"length",
")",
")",
";",
"}",
"for",
"(",
"attrib... |
[
"<",
"p",
">",
"an",
"array",
"of",
"name",
"-",
"value",
"pairs",
"that",
"contain",
"user",
"attributes",
"and",
"attribute",
"values",
"to",
"be",
"set",
"for",
"the",
"user",
"to",
"be",
"created",
"you",
"can",
"create",
"a",
"user",
"without",
"s... | [
"set",
"user",
"attributes",
"(",
"user",
"attributes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"s",
"validation",
"data",
"this",
"is",
"an",
"array",
"of",
"name",
"-",
"value",
"pairs",
"that",
"contain",
"user",
"attributes",
"and",
"attribute",
"values",
"that",
"you",
"can",
"use",
"for",
"custom",
"validation",
... | [
"if",
"(",
"this",
"validation",
"data",
"=",
"=",
"null",
")",
"{",
"set",
"validation",
"data",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"attribute",
"type",
">",
"(",
"validation",
"data",
"length",
")",
")",
";",
"}",
"for",
"(",
"attrib... |
[
"<",
"p",
">",
"the",
"user",
"s",
"validation",
"data",
"this",
"is",
"an",
"array",
"of",
"name",
"-",
"value",
"pairs",
"that",
"contain",
"user",
"attributes",
"and",
"attribute",
"values",
"that",
"you",
"can",
"use",
"for",
"custom",
"validation",
... | [
"set",
"validation",
"data",
"(",
"validation",
"data",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"s",
"temporary",
"password",
"this",
"password",
"must",
"conform",
"to",
"the",
"password",
"policy",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",... | [
"this",
"temporary",
"password",
"=",
"temporary",
"password",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"s",
"temporary",
"password",
"this",
"password",
"must",
"conform",
"to",
"the",
"password",
"policy",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",... | [
"return",
"this",
"temporary",
"password",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"s",
"temporary",
"password",
"this",
"password",
"must",
"conform",
"to",
"the",
"password",
"policy",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",... | [
"set",
"temporary",
"password",
"(",
"temporary",
"password",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"is",
"only",
"used",
"if",
"the",
"<",
"code",
">",
"phone",
"number",
"verified",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"email",
"verified",
"<",
"/",
"code",
">",
"attribute",
"is",
"set",
"to",
"<",
... | [
"set",
"force",
"alias",
"creation",
"(",
"force",
"alias",
"creation",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"set",
"to",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"to",
"resend",
"the",
"invitation",
"message",
"to",
"a",
"user",
"that",
"already",
"exists",
"and",
"reset",
"the",
"expiration",
"limit",
"on",
"the",
"user",
"s",
"ac... | [
"this",
"message",
"action",
"=",
"message",
"action",
";"
] |
[
"<",
"p",
">",
"set",
"to",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"to",
"resend",
"the",
"invitation",
"message",
"to",
"a",
"user",
"that",
"already",
"exists",
"and",
"reset",
"the",
"expiration",
"limit",
"on",
"the",
"user",
"s",
"ac... | [
"return",
"this",
"message",
"action",
";"
] |
[
"<",
"p",
">",
"set",
"to",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"to",
"resend",
"the",
"invitation",
"message",
"to",
"a",
"user",
"that",
"already",
"exists",
"and",
"reset",
"the",
"expiration",
"limit",
"on",
"the",
"user",
"s",
"ac... | [
"set",
"message",
"action",
"(",
"message",
"action",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"set",
"to",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"to",
"resend",
"the",
"invitation",
"message",
"to",
"a",
"user",
"that",
"already",
"exists",
"and",
"reset",
"the",
"expiration",
"limit",
"on",
"the",
"user",
"s",
"ac... | [
"with",
"message",
"action",
"(",
"message",
"action",
")",
";"
] |
[
"<",
"p",
">",
"set",
"to",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"to",
"resend",
"the",
"invitation",
"message",
"to",
"a",
"user",
"that",
"already",
"exists",
"and",
"reset",
"the",
"expiration",
"limit",
"on",
"the",
"user",
"s",
"ac... | [
"this",
"message",
"action",
"=",
"message",
"action",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specify",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"if",
"email",
"will",
"be",
"used",
"to",
"send",
"the",
"welcome",
"message",
"specify",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"if",
"the",
"phone",
"number",
... | [
"return",
"desired",
"delivery",
"mediums",
";"
] |
[
"<",
"p",
">",
"specify",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"if",
"email",
"will",
"be",
"used",
"to",
"send",
"the",
"welcome",
"message",
"specify",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"if",
"the",
"phone",
"number",
... | [
"if",
"(",
"desired",
"delivery",
"mediums",
"=",
"=",
"null",
")",
"{",
"this",
"desired",
"delivery",
"mediums",
"=",
"null",
";",
"return",
";",
"}",
"this",
"desired",
"delivery",
"mediums",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",... |
[
"<",
"p",
">",
"specify",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"if",
"email",
"will",
"be",
"used",
"to",
"send",
"the",
"welcome",
"message",
"specify",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"if",
"the",
"phone",
"number",
... | [
"if",
"(",
"this",
"desired",
"delivery",
"mediums",
"=",
"=",
"null",
")",
"{",
"set",
"desired",
"delivery",
"mediums",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"desired",
"delivery",
"mediums",
"length",
")",
")",
";",
"... |
[
"<",
"p",
">",
"specify",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"if",
"email",
"will",
"be",
"used",
"to",
"send",
"the",
"welcome",
"message",
"specify",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"if",
"the",
"phone",
"number",
... | [
"set",
"desired",
"delivery",
"mediums",
"(",
"desired",
"delivery",
"mediums",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specify",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"if",
"email",
"will",
"be",
"used",
"to",
"send",
"the",
"welcome",
"message",
"specify",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"if",
"the",
"phone",
"number",
... | [
"java",
"util",
"array",
"list",
"<",
"string",
">",
"desired",
"delivery",
"mediums",
"copy",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"desired",
"delivery",
"mediums",
"length",
")",
";",
"for",
"(",
"delivery",
"medium",
"... |
[
"get",
"the",
"{"
] | [
"assert",
"reduce",
"spec",
"=",
"=",
"get",
"type",
"(",
")",
";",
"return",
"spec",
"metrics",
";"
] |
[
"store",
"the",
"{"
] | [
"assert",
"reduce",
"spec",
"=",
"=",
"get",
"type",
"(",
")",
";",
"spec",
"set",
"resource",
"usage",
"specification",
"(",
"metrics",
")",
";"
] |
[
"note",
"that",
"while",
"the",
"spec",
"is",
"not",
"explicitly",
"included",
"changing",
"the",
"spec",
"may",
"change",
"its",
"size",
"which",
"will",
"affect",
"equality"
] | [
"if",
"(",
"this",
"=",
"=",
"other",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"other",
"!",
"=",
"null",
"&",
"&",
"other",
"get",
"class",
"(",
")",
"=",
"=",
"get",
"class",
"(",
")",
")",
"{",
"final",
"gridmix",
"key",
"o",
"=",
... |
[
"sets",
"the",
"{"
] | [
"this",
"metrics",
"=",
"metrics",
";",
"if",
"(",
"metrics",
"!",
"=",
"null",
")",
"{",
"this",
"size",
"of",
"resource",
"usage",
"metrics",
"=",
"metrics",
"size",
"(",
")",
";",
"}",
"else",
"{",
"this",
"size",
"of",
"resource",
"usage",
"metri... |
[
"construct",
"an",
"asynchronous",
"implementation",
"of",
"a",
"w",
"s",
"cloud",
"trail",
"async",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"a",
"w",
"s",
"cloud",
"trail",
"async",
"client",
"(",
"params",
")",
";"
] |
[
"<",
"p",
">",
"[",
"required",
"]",
"the",
"string",
"identifier",
"of",
"the",
"associated",
"<",
"a",
">",
"rest",
"api",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"rest",
"api",
"id",
"(",
"rest",
"api",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"[",
"required",
"]",
"the",
"name",
"of",
"the",
"<",
"a",
">",
"stage",
"<",
"/",
"a",
">",
"that",
"will",
"be",
"exported",
"<",
"/",
"p",
">"
] | [
"set",
"stage",
"name",
"(",
"stage",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"key",
"-",
"value",
"map",
"of",
"query",
"string",
"parameters",
"that",
"specify",
"properties",
"of",
"the",
"export",
"depending",
"on",
"the",
"requested",
"<",
"code",
">",
"export",
"type",
"<",
"/",
"code",
">",
"for",
"<",... | [
"set",
"parameters",
"(",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"parameters"
] | [
"this",
"parameters",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"content",
"-",
"type",
"of",
"the",
"export",
"for",
"example",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"currently",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"and",
"<"... | [
"this",
"accepts",
"=",
"accepts",
";"
] |
[
"<",
"p",
">",
"the",
"content",
"-",
"type",
"of",
"the",
"export",
"for",
"example",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"currently",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"and",
"<"... | [
"return",
"this",
"accepts",
";"
] |
[
"<",
"p",
">",
"the",
"content",
"-",
"type",
"of",
"the",
"export",
"for",
"example",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"currently",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"and",
"<"... | [
"set",
"accepts",
"(",
"accepts",
")",
";",
"return",
"this",
";"
] |
[
"check",
"whether",
"a",
"double",
"value",
"is",
"considered",
"an",
"empty",
"field"
] | [
"return",
"double",
"double",
"to",
"raw",
"long",
"bits",
"(",
"d",
")",
"=",
"=",
"double",
"double",
"to",
"raw",
"long",
"bits",
"(",
"empty",
"double",
")",
";"
] |
[
"accessor",
"for",
"table",
"cells"
] | [
"return",
"cell",
"values",
"[",
"row",
"]",
"[",
"col",
"]",
"=",
"=",
"null",
"?",
"null",
":",
"cell",
"values",
"[",
"row",
"]",
"[",
"col",
"]",
"get",
"(",
")",
";"
] |
[
"get",
"row",
"dimension"
] | [
"return",
"row",
"headers",
"length",
";"
] |
[
"get",
"col",
"dimension"
] | [
"return",
"col",
"headers",
"length",
";"
] |
[
"need",
"to",
"change",
"table",
"header",
"when",
"we",
"are",
"calling",
"glrm",
"from",
"pca"
] | [
"if",
"(",
"!",
"string",
"utils",
"is",
"null",
"or",
"empty",
"(",
"new",
"header",
")",
")",
"{",
"this",
"table",
"header",
"=",
"new",
"header",
";",
"}"
] |
[
"print",
"table",
"to",
"string",
"using",
"2",
"spaces",
"for",
"padding",
"between",
"columns"
] | [
"return",
"to",
"string",
"(",
"2",
",",
"true",
")",
";"
] |
[
"print",
"table",
"to",
"string",
"using",
"user",
"-",
"given",
"padding"
] | [
"return",
"to",
"string",
"(",
"pad",
",",
"true",
")",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"assessment",
"target",
"whose",
"agents",
"you",
"want",
"to",
"preview",
"<",
"/",
"p",
">"
] | [
"this",
"preview",
"agents",
"arn",
"=",
"preview",
"agents",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"assessment",
"target",
"whose",
"agents",
"you",
"want",
"to",
"preview",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"preview",
"agents",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"assessment",
"target",
"whose",
"agents",
"you",
"want",
"to",
"preview",
"<",
"/",
"p",
">"
] | [
"set",
"preview",
"agents",
"arn",
"(",
"preview",
"agents",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"use",
"this",
"parameter",
"when",
"paginating",
"results",
"set",
"the",
"value",
"of",
"this",
"parameter",
"to",
"null",
"on",
"your",
"first",
"call",
"to",
"the",
"<",
"b",
">",
"preview",
"agents",
"<",
"/",
"b",
"... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"use",
"this",
"parameter",
"to",
"indicate",
"the",
"maximum",
"number",
"of",
"items",
"you",
"want",
"in",
"the",
"response",
"the",
"default",
"value",
"is",
"10",
"the",
"maximum",
"value",
"is",
"500",
"<",
"/",
"p",
... | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"bound",
"to",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"bound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"unbound",
"from",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"unbound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"state",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"state",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] | [
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"check",
"if",
"metastore",
"is",
"being",
"used",
"in",
"embedded",
"mode",
"this",
"utility",
"function",
"exists",
"so",
"that",
"the",
"logic",
"for",
"determining",
"the",
"mode",
"is",
"same",
"in",
"hive",
"conf",
"and",
"hive",
"meta",
"store",
"cl... | [
"return",
"(",
"ms",
"uri",
"=",
"=",
"null",
")",
"?",
"true",
":",
"ms",
"uri",
"trim",
"(",
")",
"is",
"empty",
"(",
")",
";"
] |
[
"searches",
"the",
"given",
"configuration",
"object",
"and",
"replaces",
"all",
"the",
"configuration",
"values",
"for",
"keys",
"defined",
"hive",
"conf",
"hidden",
"list",
"by",
"empty",
"string"
] | [
"set",
"<",
"string",
">",
"hidden",
"set",
"=",
"get",
"hidden",
"set",
"(",
"conf",
")",
";",
"strip",
"configurations",
"(",
"conf",
",",
"hidden",
"set",
")",
";"
] |
[
"/",
"*",
"if",
"hive",
"server2",
"job",
"credstore",
"location",
"is",
"set",
"check",
"hive",
"server2",
"job",
"credstore",
"password",
"envvar",
"before",
"checking",
"hadoop",
"credential",
"password",
"envvar"
] | [
"string",
"job",
"key",
"store",
"location",
"=",
"conf",
"get",
"(",
"hive",
"conf",
"conf",
"vars",
"hive",
"server2",
"job",
"credential",
"provider",
"path",
"varname",
")",
";",
"string",
"password",
"=",
"null",
";",
"if",
"(",
"string",
"utils",
"... |
[
"return",
"whether",
"the",
"given",
"resource",
"location",
"is",
"a",
"url",
":",
"either",
"a",
"special",
"classpath",
"pseudo",
"url",
"or",
"a",
"standard",
"url"
] | [
"if",
"(",
"resource",
"location",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"resource",
"location",
"starts",
"with",
"(",
"classpath",
"url",
"prefix",
")",
")",
"{",
"return",
"true",
";",
"}",
"try",
"{",
"new",
"url",
... |
[
"determine",
"whether",
"the",
"given",
"url",
"points",
"to",
"a",
"resource",
"in",
"the",
"file",
"system",
"i",
"e",
"has",
"protocol",
"file",
"vfsfile",
"or",
"vfs"
] | [
"string",
"protocol",
"=",
"url",
"get",
"protocol",
"(",
")",
";",
"return",
"(",
"url",
"protocol",
"file",
"equals",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"vfsfile",
"equals",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"vfs",
"e... |
[
"determine",
"whether",
"the",
"given",
"url",
"points",
"to",
"a",
"resource",
"in",
"a",
"jar",
"file",
"i",
"e",
"has",
"protocol",
"jar",
"war",
"zip",
"vfszip",
"or",
"wsjar"
] | [
"string",
"protocol",
"=",
"url",
"get",
"protocol",
"(",
")",
";",
"return",
"(",
"url",
"protocol",
"jar",
"equals",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"war",
"equals",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"zip",
"equals... |
[
"determine",
"whether",
"the",
"given",
"url",
"points",
"to",
"a",
"jar",
"file",
"itself",
"that",
"is",
"has",
"protocol",
"file",
"and",
"ends",
"with",
"the",
"jar",
"extension"
] | [
"return",
"(",
"url",
"protocol",
"file",
"equals",
"(",
"url",
"get",
"protocol",
"(",
")",
")",
"&",
"&",
"url",
"get",
"path",
"(",
")",
"to",
"lower",
"case",
"(",
")",
"ends",
"with",
"(",
"jar",
"file",
"extension",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"nr",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"ng",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"nb",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"na",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"r",
"(",
"r",
")",
";",
"g",
"(",
"g",
")",
";",
"b",
"(",
"b",
")",
";",
"a",
"(",
"a",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"color",
"4",
"d",
"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",
"a",
"i",
"color",
"4",
"d",
"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",
"a",
"i",
"color",
"4",
"d",
"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",
"a",
"i",
"color",
"4",
"d",
"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",
"a",
"i",
"color",
"4",
"d",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"color",
"4",
"d",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"a",
"i",
"color",
"4",
"d",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"color",
"4",
"d",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"color",
"4",
"d",
"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",
"a",
"i",
"color",
"4",
"d",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"color",
"4",
"d",
"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",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"r",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"g",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"b",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"a",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"r",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"g",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"b",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"float",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"color",
"4",
"d",
"a",
",",
"value",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"a",
"i",
"color",
"4",
"d",
"nr",
"(",
"address",
"(",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.