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",
"(",
"ioe",
")",
";",
"}",
"m",
"camera",
"start",
"preview",
"(",
")",
";"
]
|
[
"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",
",",
"1",
"0f",
")",
";",
"gles20",
"gl",
"clear",
"(",
"gles20",
"gl",
"color",
"buffer",
"bit",
")",
";",
"gles20",
"gl",
"disable",
"(",
"gles20",
"gl",
"scissor",
"test",
")",
";"
]
|
[
"<",
"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",
">",
"(",
"filters",
")",
";"
]
|
[
"<",
"p",
">",
"filters",
"used",
"to",
"limit",
"the",
"scope",
"of",
"executions",
"that",
"are",
"requested",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"filters",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"filters",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"filters",
"=",
"=",
"null",
")",
"{",
"set",
"filters",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"automation",
"execution",
"filter",
">",
"(",
"filters",
"length",
")",
")",
";",
"}",
"for",
"(",
"automation",
"execution",
"filter",
"ele",
":",
"filters",
")",
"{",
"this",
"filters",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"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",
"results",
"<",
"/",
"p",
">"
]
| [
"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",
"call",
"closer",
"function",
"exactly",
"once",
"even",
"if",
"user",
"calls",
"{",
"@",
"code",
"close",
"}",
"multiple",
"times"
]
| [
"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",
"username",
"cannot",
"be",
"changed",
"<",
"/",
"p",
">"
]
| [
"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",
"specifying",
"any",
"attributes",
"other",
"than",
"<",
"code",
">",
"username",
"<",
"/",
"code",
">",
"however",
"any",
"attributes",
"that",
"you",
"specify",
"as",
"required",
"(",
"in",
"or",
"in",
"the",
"<",
"b",
">",
"attributes",
"<",
"/",
"b",
">",
"tab",
"of",
"the",
"console",
")",
"must",
"be",
"supplied",
"either",
"by",
"you",
"(",
"in",
"your",
"call",
"to",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
")",
"or",
"by",
"the",
"user",
"(",
"when",
"he",
"or",
"she",
"signs",
"up",
"in",
"response",
"to",
"your",
"welcome",
"message",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"custom",
"attributes",
"you",
"must",
"prepend",
"the",
"<",
"code",
">",
"custom",
":",
"<",
"/",
"code",
">",
"prefix",
"to",
"the",
"attribute",
"name",
"<",
"/",
"p",
">",
"<",
"p",
">",
"to",
"send",
"a",
"message",
"inviting",
"the",
"user",
"to",
"sign",
"up",
"you",
"must",
"specify",
"the",
"user",
"s",
"email",
"address",
"or",
"phone",
"number",
"this",
"can",
"be",
"done",
"in",
"your",
"call",
"to",
"admin",
"create",
"user",
"or",
"in",
"the",
"<",
"b",
">",
"users",
"<",
"/",
"b",
">",
"tab",
"of",
"the",
"amazon",
"cognito",
"console",
"for",
"managing",
"your",
"user",
"pools",
"<",
"/",
"p",
">",
"<",
"p",
">",
"in",
"your",
"call",
"to",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
"you",
"can",
"set",
"the",
"<",
"code",
">",
"email",
"verified",
"<",
"/",
"code",
">",
"attribute",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"and",
"you",
"can",
"set",
"the",
"<",
"code",
">",
"phone",
"number",
"verified",
"<",
"/",
"code",
">",
"attribute",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"(",
"you",
"can",
"also",
"do",
"this",
"by",
"calling",
")",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"email",
"<",
"/",
"b",
">",
":",
"the",
"email",
"address",
"of",
"the",
"user",
"to",
"whom",
"the",
"message",
"that",
"contains",
"the",
"code",
"and",
"username",
"will",
"be",
"sent",
"required",
"if",
"the",
"<",
"code",
">",
"email",
"verified",
"<",
"/",
"code",
">",
"attribute",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"or",
"if",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"is",
"specified",
"in",
"the",
"<",
"code",
">",
"desired",
"delivery",
"mediums",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"phone",
"number",
"<",
"/",
"b",
">",
":",
"the",
"phone",
"number",
"of",
"the",
"user",
"to",
"whom",
"the",
"message",
"that",
"contains",
"the",
"code",
"and",
"username",
"will",
"be",
"sent",
"required",
"if",
"the",
"<",
"code",
">",
"phone",
"number",
"verified",
"<",
"/",
"code",
">",
"attribute",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"or",
"if",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"is",
"specified",
"in",
"the",
"<",
"code",
">",
"desired",
"delivery",
"mediums",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"user",
"attributes",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"user",
"attributes",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"user",
"attributes",
"=",
"=",
"null",
")",
"{",
"set",
"user",
"attributes",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"attribute",
"type",
">",
"(",
"user",
"attributes",
"length",
")",
")",
";",
"}",
"for",
"(",
"attribute",
"type",
"ele",
":",
"user",
"attributes",
")",
"{",
"this",
"user",
"attributes",
"add",
"(",
"ele",
")",
";",
"}",
"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",
"specifying",
"any",
"attributes",
"other",
"than",
"<",
"code",
">",
"username",
"<",
"/",
"code",
">",
"however",
"any",
"attributes",
"that",
"you",
"specify",
"as",
"required",
"(",
"in",
"or",
"in",
"the",
"<",
"b",
">",
"attributes",
"<",
"/",
"b",
">",
"tab",
"of",
"the",
"console",
")",
"must",
"be",
"supplied",
"either",
"by",
"you",
"(",
"in",
"your",
"call",
"to",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
")",
"or",
"by",
"the",
"user",
"(",
"when",
"he",
"or",
"she",
"signs",
"up",
"in",
"response",
"to",
"your",
"welcome",
"message",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"custom",
"attributes",
"you",
"must",
"prepend",
"the",
"<",
"code",
">",
"custom",
":",
"<",
"/",
"code",
">",
"prefix",
"to",
"the",
"attribute",
"name",
"<",
"/",
"p",
">",
"<",
"p",
">",
"to",
"send",
"a",
"message",
"inviting",
"the",
"user",
"to",
"sign",
"up",
"you",
"must",
"specify",
"the",
"user",
"s",
"email",
"address",
"or",
"phone",
"number",
"this",
"can",
"be",
"done",
"in",
"your",
"call",
"to",
"admin",
"create",
"user",
"or",
"in",
"the",
"<",
"b",
">",
"users",
"<",
"/",
"b",
">",
"tab",
"of",
"the",
"amazon",
"cognito",
"console",
"for",
"managing",
"your",
"user",
"pools",
"<",
"/",
"p",
">",
"<",
"p",
">",
"in",
"your",
"call",
"to",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
"you",
"can",
"set",
"the",
"<",
"code",
">",
"email",
"verified",
"<",
"/",
"code",
">",
"attribute",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"and",
"you",
"can",
"set",
"the",
"<",
"code",
">",
"phone",
"number",
"verified",
"<",
"/",
"code",
">",
"attribute",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"(",
"you",
"can",
"also",
"do",
"this",
"by",
"calling",
")",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"email",
"<",
"/",
"b",
">",
":",
"the",
"email",
"address",
"of",
"the",
"user",
"to",
"whom",
"the",
"message",
"that",
"contains",
"the",
"code",
"and",
"username",
"will",
"be",
"sent",
"required",
"if",
"the",
"<",
"code",
">",
"email",
"verified",
"<",
"/",
"code",
">",
"attribute",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"or",
"if",
"<",
"code",
">",
"email",
"<",
"/",
"code",
">",
"is",
"specified",
"in",
"the",
"<",
"code",
">",
"desired",
"delivery",
"mediums",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"phone",
"number",
"<",
"/",
"b",
">",
":",
"the",
"phone",
"number",
"of",
"the",
"user",
"to",
"whom",
"the",
"message",
"that",
"contains",
"the",
"code",
"and",
"username",
"will",
"be",
"sent",
"required",
"if",
"the",
"<",
"code",
">",
"phone",
"number",
"verified",
"<",
"/",
"code",
">",
"attribute",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"or",
"if",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"is",
"specified",
"in",
"the",
"<",
"code",
">",
"desired",
"delivery",
"mediums",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"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",
"such",
"as",
"restricting",
"the",
"types",
"of",
"user",
"accounts",
"that",
"can",
"be",
"registered",
"for",
"example",
"you",
"might",
"choose",
"to",
"allow",
"or",
"disallow",
"user",
"sign",
"-",
"up",
"based",
"on",
"the",
"user",
"s",
"domain",
"<",
"/",
"p",
">",
"<",
"p",
">",
"to",
"configure",
"custom",
"validation",
"you",
"must",
"create",
"a",
"pre",
"sign",
"-",
"up",
"lambda",
"trigger",
"for",
"the",
"user",
"pool",
"as",
"described",
"in",
"the",
"amazon",
"cognito",
"developer",
"guide",
"the",
"lambda",
"trigger",
"receives",
"the",
"validation",
"data",
"and",
"uses",
"it",
"in",
"the",
"validation",
"process",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"user",
"s",
"validation",
"data",
"is",
"not",
"persisted",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"validation",
"data",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"validation",
"data",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"validation",
"data",
"=",
"=",
"null",
")",
"{",
"set",
"validation",
"data",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"attribute",
"type",
">",
"(",
"validation",
"data",
"length",
")",
")",
";",
"}",
"for",
"(",
"attribute",
"type",
"ele",
":",
"validation",
"data",
")",
"{",
"this",
"validation",
"data",
"add",
"(",
"ele",
")",
";",
"}",
"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",
"such",
"as",
"restricting",
"the",
"types",
"of",
"user",
"accounts",
"that",
"can",
"be",
"registered",
"for",
"example",
"you",
"might",
"choose",
"to",
"allow",
"or",
"disallow",
"user",
"sign",
"-",
"up",
"based",
"on",
"the",
"user",
"s",
"domain",
"<",
"/",
"p",
">",
"<",
"p",
">",
"to",
"configure",
"custom",
"validation",
"you",
"must",
"create",
"a",
"pre",
"sign",
"-",
"up",
"lambda",
"trigger",
"for",
"the",
"user",
"pool",
"as",
"described",
"in",
"the",
"amazon",
"cognito",
"developer",
"guide",
"the",
"lambda",
"trigger",
"receives",
"the",
"validation",
"data",
"and",
"uses",
"it",
"in",
"the",
"validation",
"process",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"user",
"s",
"validation",
"data",
"is",
"not",
"persisted",
"<",
"/",
"p",
">"
]
| [
"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",
"temporary",
"password",
"is",
"valid",
"only",
"once",
"to",
"complete",
"the",
"admin",
"create",
"user",
"flow",
"the",
"user",
"must",
"enter",
"the",
"temporary",
"password",
"in",
"the",
"sign",
"-",
"in",
"page",
"along",
"with",
"a",
"new",
"password",
"to",
"be",
"used",
"in",
"all",
"future",
"sign",
"-",
"ins",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"is",
"not",
"required",
"if",
"you",
"do",
"not",
"specify",
"a",
"value",
"amazon",
"cognito",
"generates",
"one",
"for",
"you",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"temporary",
"password",
"can",
"only",
"be",
"used",
"until",
"the",
"user",
"account",
"expiration",
"limit",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"to",
"reset",
"the",
"account",
"after",
"that",
"time",
"limit",
"you",
"must",
"call",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
"again",
"specifying",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"for",
"the",
"<",
"code",
">",
"message",
"action",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">"
]
| [
"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",
"temporary",
"password",
"is",
"valid",
"only",
"once",
"to",
"complete",
"the",
"admin",
"create",
"user",
"flow",
"the",
"user",
"must",
"enter",
"the",
"temporary",
"password",
"in",
"the",
"sign",
"-",
"in",
"page",
"along",
"with",
"a",
"new",
"password",
"to",
"be",
"used",
"in",
"all",
"future",
"sign",
"-",
"ins",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"is",
"not",
"required",
"if",
"you",
"do",
"not",
"specify",
"a",
"value",
"amazon",
"cognito",
"generates",
"one",
"for",
"you",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"temporary",
"password",
"can",
"only",
"be",
"used",
"until",
"the",
"user",
"account",
"expiration",
"limit",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"to",
"reset",
"the",
"account",
"after",
"that",
"time",
"limit",
"you",
"must",
"call",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
"again",
"specifying",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"for",
"the",
"<",
"code",
">",
"message",
"action",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">"
]
| [
"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",
"temporary",
"password",
"is",
"valid",
"only",
"once",
"to",
"complete",
"the",
"admin",
"create",
"user",
"flow",
"the",
"user",
"must",
"enter",
"the",
"temporary",
"password",
"in",
"the",
"sign",
"-",
"in",
"page",
"along",
"with",
"a",
"new",
"password",
"to",
"be",
"used",
"in",
"all",
"future",
"sign",
"-",
"ins",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"is",
"not",
"required",
"if",
"you",
"do",
"not",
"specify",
"a",
"value",
"amazon",
"cognito",
"generates",
"one",
"for",
"you",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"temporary",
"password",
"can",
"only",
"be",
"used",
"until",
"the",
"user",
"account",
"expiration",
"limit",
"that",
"you",
"specified",
"when",
"you",
"created",
"the",
"user",
"pool",
"to",
"reset",
"the",
"account",
"after",
"that",
"time",
"limit",
"you",
"must",
"call",
"<",
"code",
">",
"admin",
"create",
"user",
"<",
"/",
"code",
">",
"again",
"specifying",
"<",
"code",
">",
"resend",
"<",
"/",
"code",
">",
"for",
"the",
"<",
"code",
">",
"message",
"action",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">"
]
| [
"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",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"otherwise",
"it",
"is",
"ignored",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"this",
"parameter",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"and",
"the",
"phone",
"number",
"or",
"email",
"address",
"specified",
"in",
"the",
"user",
"attributes",
"parameter",
"already",
"exists",
"as",
"an",
"alias",
"with",
"a",
"different",
"user",
"the",
"api",
"call",
"will",
"migrate",
"the",
"alias",
"from",
"the",
"previous",
"user",
"to",
"the",
"newly",
"created",
"user",
"the",
"previous",
"user",
"will",
"no",
"longer",
"be",
"able",
"to",
"log",
"in",
"using",
"that",
"alias",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"this",
"parameter",
"is",
"set",
"to",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"the",
"api",
"throws",
"an",
"<",
"code",
">",
"alias",
"exists",
"exception",
"<",
"/",
"code",
">",
"error",
"if",
"the",
"alias",
"already",
"exists",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"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",
"account",
"set",
"to",
"<",
"code",
">",
"suppress",
"<",
"/",
"code",
">",
"to",
"suppress",
"sending",
"the",
"message",
"only",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"account",
"set",
"to",
"<",
"code",
">",
"suppress",
"<",
"/",
"code",
">",
"to",
"suppress",
"sending",
"the",
"message",
"only",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"account",
"set",
"to",
"<",
"code",
">",
"suppress",
"<",
"/",
"code",
">",
"to",
"suppress",
"sending",
"the",
"message",
"only",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"account",
"set",
"to",
"<",
"code",
">",
"suppress",
"<",
"/",
"code",
">",
"to",
"suppress",
"sending",
"the",
"message",
"only",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"account",
"set",
"to",
"<",
"code",
">",
"suppress",
"<",
"/",
"code",
">",
"to",
"suppress",
"sending",
"the",
"message",
"only",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"will",
"be",
"used",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"more",
"than",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"will",
"be",
"used",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"more",
"than",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"desired",
"delivery",
"mediums",
"=",
"=",
"null",
")",
"{",
"this",
"desired",
"delivery",
"mediums",
"=",
"null",
";",
"return",
";",
"}",
"this",
"desired",
"delivery",
"mediums",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"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",
"will",
"be",
"used",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"more",
"than",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"desired",
"delivery",
"mediums",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"desired",
"delivery",
"mediums",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"desired",
"delivery",
"mediums",
"=",
"=",
"null",
")",
"{",
"set",
"desired",
"delivery",
"mediums",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"desired",
"delivery",
"mediums",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"desired",
"delivery",
"mediums",
")",
"{",
"this",
"desired",
"delivery",
"mediums",
"add",
"(",
"ele",
")",
";",
"}",
"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",
"will",
"be",
"used",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"more",
"than",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"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",
"will",
"be",
"used",
"the",
"default",
"value",
"is",
"<",
"code",
">",
"sms",
"<",
"/",
"code",
">",
"more",
"than",
"one",
"value",
"can",
"be",
"specified",
"<",
"/",
"p",
">"
]
| [
"java",
"util",
"array",
"list",
"<",
"string",
">",
"desired",
"delivery",
"mediums",
"copy",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"desired",
"delivery",
"mediums",
"length",
")",
";",
"for",
"(",
"delivery",
"medium",
"type",
"value",
":",
"desired",
"delivery",
"mediums",
")",
"{",
"desired",
"delivery",
"mediums",
"copy",
"add",
"(",
"value",
"to",
"string",
"(",
")",
")",
";",
"}",
"if",
"(",
"get",
"desired",
"delivery",
"mediums",
"(",
")",
"=",
"=",
"null",
")",
"{",
"set",
"desired",
"delivery",
"mediums",
"(",
"desired",
"delivery",
"mediums",
"copy",
")",
";",
"}",
"else",
"{",
"get",
"desired",
"delivery",
"mediums",
"(",
")",
"add",
"all",
"(",
"desired",
"delivery",
"mediums",
"copy",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"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",
"=",
"(",
"(",
"gridmix",
"key",
")",
"other",
")",
";",
"return",
"get",
"type",
"(",
")",
"=",
"=",
"o",
"get",
"type",
"(",
")",
"&",
"&",
"super",
"equals",
"(",
"o",
")",
";",
"}",
"return",
"false",
";"
]
|
[
"sets",
"the",
"{"
]
| [
"this",
"metrics",
"=",
"metrics",
";",
"if",
"(",
"metrics",
"!",
"=",
"null",
")",
"{",
"this",
"size",
"of",
"resource",
"usage",
"metrics",
"=",
"metrics",
"size",
"(",
")",
";",
"}",
"else",
"{",
"this",
"size",
"of",
"resource",
"usage",
"metrics",
"=",
"0",
";",
"}"
]
|
[
"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",
"<",
"code",
">",
"export",
"type",
"<",
"/",
"code",
">",
"<",
"code",
">",
"oas",
"3",
"0",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"swagger",
"<",
"/",
"code",
">",
"any",
"combination",
"of",
"the",
"following",
"parameters",
"are",
"supported",
":",
"<",
"code",
">",
"extensions",
"=",
"integrations",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"extensions",
"=",
"apigateway",
"<",
"/",
"code",
">",
"will",
"export",
"the",
"api",
"with",
"x",
"-",
"amazon",
"-",
"apigateway",
"-",
"integration",
"extensions",
"<",
"code",
">",
"extensions",
"=",
"authorizers",
"<",
"/",
"code",
">",
"will",
"export",
"the",
"api",
"with",
"x",
"-",
"amazon",
"-",
"apigateway",
"-",
"authorizer",
"extensions",
"<",
"code",
">",
"postman",
"<",
"/",
"code",
">",
"will",
"export",
"the",
"api",
"with",
"postman",
"extensions",
"allowing",
"for",
"import",
"to",
"the",
"postman",
"tool",
"<",
"/",
"p",
">"
]
| [
"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",
"<",
"code",
">",
"application",
"/",
"yaml",
"<",
"/",
"code",
">",
"are",
"supported",
"for",
"<",
"code",
">",
"export",
"type",
"<",
"/",
"code",
">",
"of",
"<",
"code",
">",
"oas",
"3",
"0",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"swagger",
"<",
"/",
"code",
">",
"this",
"should",
"be",
"specified",
"in",
"the",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"header",
"for",
"direct",
"api",
"requests",
"<",
"/",
"p",
">"
]
| [
"this",
"accepts",
"=",
"accepts",
";"
]
|
[
"<",
"p",
">",
"the",
"content",
"-",
"type",
"of",
"the",
"export",
"for",
"example",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"currently",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"application",
"/",
"yaml",
"<",
"/",
"code",
">",
"are",
"supported",
"for",
"<",
"code",
">",
"export",
"type",
"<",
"/",
"code",
">",
"of",
"<",
"code",
">",
"oas",
"3",
"0",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"swagger",
"<",
"/",
"code",
">",
"this",
"should",
"be",
"specified",
"in",
"the",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"header",
"for",
"direct",
"api",
"requests",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"accepts",
";"
]
|
[
"<",
"p",
">",
"the",
"content",
"-",
"type",
"of",
"the",
"export",
"for",
"example",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"currently",
"<",
"code",
">",
"application",
"/",
"json",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"application",
"/",
"yaml",
"<",
"/",
"code",
">",
"are",
"supported",
"for",
"<",
"code",
">",
"export",
"type",
"<",
"/",
"code",
">",
"of",
"<",
"code",
">",
"oas",
"3",
"0",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"swagger",
"<",
"/",
"code",
">",
"this",
"should",
"be",
"specified",
"in",
"the",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"header",
"for",
"direct",
"api",
"requests",
"<",
"/",
"p",
">"
]
| [
"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",
">",
"action",
"subsequent",
"calls",
"to",
"the",
"action",
"fill",
"<",
"b",
">",
"next",
"token",
"<",
"/",
"b",
">",
"in",
"the",
"request",
"with",
"the",
"value",
"of",
"<",
"b",
">",
"next",
"token",
"<",
"/",
"b",
">",
"from",
"the",
"previous",
"response",
"to",
"continue",
"listing",
"data",
"<",
"/",
"p",
">"
]
| [
"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",
"client"
]
| [
"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",
"is",
"not",
"blank",
"(",
"job",
"key",
"store",
"location",
")",
")",
"{",
"password",
"=",
"system",
"getenv",
"(",
"constants",
"hive",
"server2",
"job",
"credstore",
"password",
"envvar",
")",
";",
"if",
"(",
"string",
"utils",
"is",
"not",
"blank",
"(",
"password",
")",
")",
"{",
"return",
"password",
";",
"}",
"}",
"password",
"=",
"system",
"getenv",
"(",
"constants",
"hadoop",
"credential",
"password",
"envvar",
")",
";",
"if",
"(",
"string",
"utils",
"is",
"not",
"blank",
"(",
"password",
")",
")",
"{",
"return",
"password",
";",
"}",
"return",
"null",
";"
]
|
[
"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",
"(",
"resource",
"location",
")",
";",
"return",
"true",
";",
"}",
"catch",
"(",
"malformed",
"u",
"r",
"l",
"exception",
"ex",
")",
"{",
"return",
"false",
";",
"}"
]
|
[
"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",
"equals",
"(",
"protocol",
")",
")",
";"
]
|
[
"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",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"vfszip",
"equals",
"(",
"protocol",
")",
"|",
"|",
"url",
"protocol",
"wsjar",
"equals",
"(",
"protocol",
")",
")",
";"
]
|
[
"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.