docstring_tokens
list | code_tokens
list |
---|---|
[
"test",
"boolean"
]
| [
"return",
"true",
";"
]
|
[
"sets",
"connection",
"values"
]
| [
"weixin",
"user",
"info",
"profile",
"=",
"api",
"get",
"user",
"info",
"(",
"open",
"id",
")",
";",
"values",
"set",
"provider",
"user",
"id",
"(",
"profile",
"get",
"openid",
"(",
")",
")",
";",
"values",
"set",
"display",
"name",
"(",
"profile",
"get",
"nickname",
"(",
")",
")",
";",
"values",
"set",
"image",
"url",
"(",
"profile",
"get",
"headimgurl",
"(",
")",
")",
";"
]
|
[
"fetch",
"user",
"profile",
"user",
"profile"
]
| [
"return",
"null",
";"
]
|
[
"called",
"by",
"python",
"process"
]
| [
"synchronized",
"(",
"statement",
"set",
"notifier",
")",
"{",
"while",
"(",
"python",
"interpret",
"request",
"=",
"=",
"null",
")",
"{",
"try",
"{",
"statement",
"set",
"notifier",
"wait",
"(",
"1000",
")",
";",
"}",
"catch",
"(",
"interrupted",
"exception",
"e",
")",
"{",
"e",
"print",
"stack",
"trace",
"(",
")",
";",
"}",
"}",
"python",
"interpret",
"request",
"req",
"=",
"python",
"interpret",
"request",
";",
"python",
"interpret",
"request",
"=",
"null",
";",
"return",
"req",
";",
"}"
]
|
[
"used",
"by",
"subclass",
"such",
"as",
"py",
"spark",
"interpreter",
"to",
"set",
"job",
"group",
"before",
"executing",
"spark",
"code"
]
| []
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"maintenance",
"track",
"<",
"/",
"p",
">"
]
| [
"set",
"maintenance",
"track",
"name",
"(",
"maintenance",
"track",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"integer",
"value",
"for",
"the",
"maximum",
"number",
"of",
"maintenance",
"tracks",
"to",
"return",
"<",
"/",
"p",
">"
]
| [
"set",
"max",
"records",
"(",
"max",
"records",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"optional",
"parameter",
"that",
"specifies",
"the",
"starting",
"point",
"to",
"return",
"a",
"set",
"of",
"response",
"records",
"when",
"the",
"results",
"of",
"a",
"<",
"code",
">",
"describe",
"cluster",
"tracks",
"<",
"/",
"code",
">",
"request",
"exceed",
"the",
"value",
"specified",
"in",
"<",
"code",
">",
"max",
"records",
"<",
"/",
"code",
">",
"amazon",
"redshift",
"returns",
"a",
"value",
"in",
"the",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"field",
"of",
"the",
"response",
"you",
"can",
"retrieve",
"the",
"next",
"set",
"of",
"response",
"records",
"by",
"providing",
"the",
"returned",
"marker",
"value",
"in",
"the",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"parameter",
"and",
"retrying",
"the",
"request",
"<",
"/",
"p",
">"
]
| [
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"loads",
"a",
"{",
"@",
"link",
"class",
"}",
"using",
"the",
"<",
"code",
">",
"full",
"qualified",
"name",
"<",
"/",
"code",
">",
"supplied",
"this",
"method",
"tries",
"first",
"to",
"load",
"from",
"the",
"specified",
"{",
"@",
"link",
"class",
"}",
"if",
"not",
"found",
"it",
"will",
"try",
"to",
"load",
"from",
"using",
"tcl",
"<",
"/",
"p",
">"
]
| [
"security",
"manager",
"sm",
"=",
"system",
"get",
"security",
"manager",
"(",
")",
";",
"if",
"(",
"sm",
"!",
"=",
"null",
")",
"{",
"return",
"access",
"controller",
"do",
"privileged",
"(",
"new",
"privileged",
"action",
"<",
"class",
"<",
"?",
">",
">",
"(",
")",
"{",
"public",
"class",
"<",
"?",
">",
"run",
"(",
")",
"{",
"class",
"loader",
"class",
"loader",
"=",
"the",
"class",
"get",
"class",
"loader",
"(",
")",
";",
"class",
"<",
"?",
">",
"clazz",
"=",
"load",
"class",
"(",
"class",
"loader",
",",
"full",
"qualified",
"name",
")",
";",
"if",
"(",
"clazz",
"=",
"=",
"null",
")",
"{",
"class",
"loader",
"=",
"thread",
"current",
"thread",
"(",
")",
"get",
"context",
"class",
"loader",
"(",
")",
";",
"clazz",
"=",
"load",
"class",
"(",
"class",
"loader",
",",
"full",
"qualified",
"name",
")",
";",
"}",
"return",
"clazz",
";",
"}",
"}",
")",
";",
"}",
"else",
"{",
"class",
"loader",
"class",
"loader",
"=",
"the",
"class",
"get",
"class",
"loader",
"(",
")",
";",
"class",
"<",
"?",
">",
"clazz",
"=",
"load",
"class",
"(",
"class",
"loader",
",",
"full",
"qualified",
"name",
")",
";",
"if",
"(",
"clazz",
"=",
"=",
"null",
")",
"{",
"class",
"loader",
"=",
"thread",
"current",
"thread",
"(",
")",
"get",
"context",
"class",
"loader",
"(",
")",
";",
"clazz",
"=",
"load",
"class",
"(",
"class",
"loader",
",",
"full",
"qualified",
"name",
")",
";",
"}",
"return",
"clazz",
";",
"}"
]
|
[
"<",
"p",
">",
"loads",
"a",
"class",
"from",
"the",
"specified",
"{",
"@",
"link",
"class",
"loader",
"}",
"using",
"the",
"<",
"code",
">",
"full",
"qualified",
"name",
"<",
"/",
"code",
">",
"supplied",
"<",
"/",
"p",
">"
]
| [
"security",
"manager",
"sm",
"=",
"system",
"get",
"security",
"manager",
"(",
")",
";",
"if",
"(",
"sm",
"!",
"=",
"null",
")",
"{",
"return",
"access",
"controller",
"do",
"privileged",
"(",
"new",
"privileged",
"action",
"<",
"class",
"<",
"?",
">",
">",
"(",
")",
"{",
"public",
"class",
"<",
"?",
">",
"run",
"(",
")",
"{",
"try",
"{",
"return",
"class",
"loader",
"load",
"class",
"(",
"full",
"qualified",
"name",
")",
";",
"}",
"catch",
"(",
"class",
"not",
"found",
"exception",
"e",
")",
"{",
"}",
"return",
"null",
";",
"}",
"}",
")",
";",
"}",
"else",
"{",
"try",
"{",
"return",
"class",
"loader",
"load",
"class",
"(",
"full",
"qualified",
"name",
")",
";",
"}",
"catch",
"(",
"class",
"not",
"found",
"exception",
"e",
")",
"{",
"}",
"return",
"null",
";",
"}"
]
|
[
"<",
"p",
">",
"returns",
"a",
"system",
"property",
"value",
"using",
"the",
"specified",
"<",
"code",
">",
"key",
"<",
"/",
"code",
">",
"if",
"not",
"found",
"the",
"<",
"code",
">",
"default",
"value",
"<",
"/",
"code",
">",
"will",
"be",
"returned",
"<",
"/",
"p",
">"
]
| [
"security",
"manager",
"sm",
"=",
"system",
"get",
"security",
"manager",
"(",
")",
";",
"if",
"(",
"sm",
"!",
"=",
"null",
")",
"{",
"return",
"access",
"controller",
"do",
"privileged",
"(",
"new",
"privileged",
"action",
"<",
"string",
">",
"(",
")",
"{",
"public",
"string",
"run",
"(",
")",
"{",
"return",
"system",
"get",
"property",
"(",
"key",
",",
"default",
"value",
")",
";",
"}",
"}",
")",
";",
"}",
"else",
"{",
"return",
"system",
"get",
"property",
"(",
"key",
",",
"default",
"value",
")",
";",
"}"
]
|
[
"load",
"a",
"resource",
"based",
"on",
"the",
"passed",
"{",
"@",
"link",
"class",
"}",
"classloader",
"failing",
"which",
"try",
"with",
"the",
"thread",
"context",
"cl"
]
| [
"security",
"manager",
"sm",
"=",
"system",
"get",
"security",
"manager",
"(",
")",
";",
"if",
"(",
"sm",
"!",
"=",
"null",
")",
"{",
"return",
"access",
"controller",
"do",
"privileged",
"(",
"new",
"privileged",
"action",
"<",
"url",
">",
"(",
")",
"{",
"public",
"url",
"run",
"(",
")",
"{",
"url",
"url",
"=",
"null",
";",
"class",
"loader",
"clazz",
"loader",
"=",
"clazz",
"get",
"class",
"loader",
"(",
")",
";",
"url",
"=",
"clazz",
"loader",
"get",
"resource",
"(",
"resource",
"name",
")",
";",
"if",
"(",
"url",
"=",
"=",
"null",
")",
"{",
"clazz",
"loader",
"=",
"thread",
"current",
"thread",
"(",
")",
"get",
"context",
"class",
"loader",
"(",
")",
";",
"url",
"=",
"clazz",
"loader",
"get",
"resource",
"(",
"resource",
"name",
")",
";",
"}",
"return",
"url",
";",
"}",
"}",
")",
";",
"}",
"else",
"{",
"url",
"url",
"=",
"null",
";",
"class",
"loader",
"clazz",
"loader",
"=",
"clazz",
"get",
"class",
"loader",
"(",
")",
";",
"url",
"=",
"clazz",
"loader",
"get",
"resource",
"(",
"resource",
"name",
")",
";",
"if",
"(",
"url",
"=",
"=",
"null",
")",
"{",
"clazz",
"loader",
"=",
"thread",
"current",
"thread",
"(",
")",
"get",
"context",
"class",
"loader",
"(",
")",
";",
"url",
"=",
"clazz",
"loader",
"get",
"resource",
"(",
"resource",
"name",
")",
";",
"}",
"return",
"url",
";",
"}"
]
|
[
"uses",
"test",
"data",
"and",
"codepoint",
"wrapping",
"trick",
"from",
"okhttp",
"3",
"form",
"body",
"test"
]
| [
"for",
"(",
"int",
"codepoint",
":",
"arrays",
"as",
"list",
"(",
"0x",
"d",
"8",
"0",
"0",
",",
"0x",
"d",
"f",
"f",
"f",
",",
"0x",
"d",
"8",
"3",
"d",
")",
")",
"{",
"string",
"test",
"=",
"new",
"string",
"(",
"new",
"int",
"[",
"]",
"{",
"'",
"a",
"'",
",",
"codepoint",
",",
"'",
"c",
"'",
"}",
",",
"0",
",",
"3",
")",
";",
"assert",
"that",
"(",
"buffer",
"utf",
"8",
"size",
"in",
"bytes",
"(",
"test",
")",
")",
"is",
"equal",
"to",
"(",
"3",
")",
";",
"assert",
"that",
"(",
"new",
"buffer",
"(",
"3",
")",
"write",
"utf",
"8",
"(",
"test",
")",
"to",
"byte",
"array",
"(",
")",
")",
"contains",
"exactly",
"(",
"'",
"a",
"'",
",",
"'",
"?",
"'",
",",
"'",
"c",
"'",
")",
";",
"}"
]
|
[
"https",
":",
"/",
"/",
"developers",
"google",
"com",
"/",
"protocol",
"-",
"buffers",
"/",
"docs",
"/",
"encoding",
"#",
"varints"
]
| [
"int",
"number",
"=",
"300",
";",
"buffer",
"buffer",
"=",
"new",
"buffer",
"(",
"buffer",
"varint",
"size",
"in",
"bytes",
"(",
"number",
")",
")",
";",
"buffer",
"write",
"varint",
"(",
"number",
")",
";",
"assert",
"that",
"(",
"buffer",
"to",
"byte",
"array",
"(",
")",
")",
"contains",
"exactly",
"(",
"0b",
"1",
"0",
"1",
"0",
"1100",
",",
"0b",
"0",
"0",
"0",
"0",
"0010",
")",
";"
]
|
[
"https",
":",
"/",
"/",
"developers",
"google",
"com",
"/",
"protocol",
"-",
"buffers",
"/",
"docs",
"/",
"encoding",
"#",
"varints"
]
| [
"long",
"number",
"=",
"300",
";",
"buffer",
"buffer",
"=",
"new",
"buffer",
"(",
"buffer",
"varint",
"size",
"in",
"bytes",
"(",
"number",
")",
")",
";",
"buffer",
"write",
"varint",
"(",
"number",
")",
";",
"assert",
"that",
"(",
"buffer",
"to",
"byte",
"array",
"(",
")",
")",
"contains",
"exactly",
"(",
"0b",
"1",
"0",
"1",
"0",
"1100",
",",
"0b",
"0",
"0",
"0",
"0",
"0010",
")",
";"
]
|
[
"opens",
"the",
"web",
"&",
"app",
"activity",
"settings",
"that",
"allows",
"the",
"user",
"to",
"control",
"how",
"google",
"uses",
"chrome",
"browsing",
"history"
]
| [
"intent",
"intent",
"=",
"new",
"intent",
"(",
"intent",
"action",
"view",
",",
"uri",
"parse",
"(",
"url",
"constants",
"google",
"account",
"activity",
"controls",
"url",
")",
")",
";",
"intent",
"put",
"extra",
"(",
"browser",
"extra",
"application",
"id",
",",
"activity",
"get",
"package",
"name",
"(",
")",
")",
";",
"intent",
"put",
"extra",
"(",
"browser",
"extra",
"create",
"new",
"tab",
",",
"true",
")",
";",
"intent",
"set",
"package",
"(",
"activity",
"get",
"package",
"name",
"(",
")",
")",
";",
"activity",
"start",
"activity",
"(",
"intent",
")",
";"
]
|
[
"sets",
"a",
"custom",
"maximum",
"cache",
"size",
"to",
"use",
"in",
"the",
"backing",
"cache",
"pools"
]
| [
"this",
"maximum",
"cache",
"size",
"=",
"maximum",
"cache",
"size",
";"
]
|
[
"returns",
"whether",
"similar",
"declaration",
"updating",
"is",
"requested",
"or",
"not"
]
| [
"return",
"update",
"similar",
"declarations",
";"
]
|
[
"returns",
"the",
"similar",
"declarations",
"that",
"get",
"updated",
"returns",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"similar",
"declaration",
"updating",
"is",
"not",
"requested"
]
| [
"return",
"similar",
"declarations",
";"
]
|
[
"finds",
"a",
"visible",
"tree",
"node",
"that",
"represents",
"a",
"given",
"criterium"
]
| [
"if",
"(",
"node",
"get",
"criterium",
"(",
")",
"=",
"=",
"criterium",
")",
"{",
"return",
"node",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"node",
"get",
"child",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"final",
"j",
"criterium",
"tree",
"node",
"child",
"=",
"(",
"j",
"criterium",
"tree",
"node",
")",
"node",
"get",
"child",
"at",
"(",
"i",
")",
";",
"final",
"j",
"criterium",
"tree",
"node",
"parent",
"=",
"find",
"parent",
"node",
"(",
"child",
",",
"criterium",
")",
";",
"if",
"(",
"parent",
"!",
"=",
"null",
")",
"{",
"return",
"parent",
";",
"}",
"}",
"return",
"null",
";"
]
|
[
"sorts",
"visible",
"tree",
"nodes"
]
| [
"final",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"operators",
"=",
"new",
"array",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"(",
")",
";",
"final",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"conditions",
"=",
"new",
"array",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"(",
")",
";",
"final",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"minus",
"=",
"new",
"array",
"list",
"<",
"j",
"criterium",
"tree",
"node",
">",
"(",
")",
";",
"final",
"enumeration",
"<",
"?",
">",
"children",
"=",
"parent",
"node",
"children",
"(",
")",
";",
"while",
"(",
"children",
"has",
"more",
"elements",
"(",
")",
")",
"{",
"final",
"j",
"criterium",
"tree",
"node",
"child",
"=",
"(",
"j",
"criterium",
"tree",
"node",
")",
"children",
"next",
"element",
"(",
")",
";",
"final",
"i",
"criterium",
"type",
"=",
"child",
"get",
"criterium",
"(",
")",
";",
"if",
"(",
"type",
"instanceof",
"c",
"condition",
"criterium",
")",
"{",
"conditions",
"add",
"(",
"child",
")",
";",
"}",
"else",
"{",
"operators",
"add",
"(",
"child",
")",
";",
"}",
"}",
"parent",
"node",
"remove",
"all",
"children",
"(",
")",
";",
"for",
"(",
"final",
"j",
"criterium",
"tree",
"node",
"child",
":",
"operators",
")",
"{",
"parent",
"node",
"add",
"(",
"child",
")",
";",
"child",
"set",
"parent",
"(",
"parent",
"node",
")",
";",
"}",
"for",
"(",
"final",
"j",
"criterium",
"tree",
"node",
"child",
":",
"conditions",
")",
"{",
"parent",
"node",
"add",
"(",
"child",
")",
";",
"child",
"set",
"parent",
"(",
"parent",
"node",
")",
";",
"}",
"for",
"(",
"final",
"j",
"criterium",
"tree",
"node",
"child",
":",
"minus",
")",
"{",
"parent",
"node",
"add",
"(",
"child",
")",
";",
"child",
"set",
"parent",
"(",
"parent",
"node",
")",
";",
"}"
]
|
[
"frees",
"allocated",
"resources"
]
| [
"m",
"criterium",
"tree",
"remove",
"listener",
"(",
"m",
"internal",
"tree",
"listener",
")",
";"
]
|
[
"proceed",
"with",
"the",
"ssl",
"certificate",
"<",
"p",
">",
"it",
"is",
"not",
"recommended",
"to",
"proceed",
"past",
"ssl",
"errors",
"and",
"this",
"method",
"should",
"generally",
"not",
"be",
"used",
";",
"see",
"{"
]
| []
|
[
"returns",
"the",
"{"
]
| [
"return",
"storage",
"get",
"(",
"type",
")",
";"
]
|
[
"returns",
"the",
"default",
"{"
]
| [
"return",
"storage",
"get",
"(",
"platform",
"aware",
")",
";"
]
|
[
"program",
"entry",
"point"
]
| [
"halfling",
"thief",
"thief",
"=",
"new",
"halfling",
"thief",
"(",
"new",
"hit",
"and",
"run",
"method",
"(",
")",
")",
";",
"thief",
"steal",
"(",
")",
";",
"thief",
"change",
"method",
"(",
"new",
"subtle",
"method",
"(",
")",
")",
";",
"thief",
"steal",
"(",
")",
";"
]
|
[
"create",
"a",
"frame",
"with",
"single",
"column",
"represented",
"by",
"given",
"vector"
]
| [
"return",
"new",
"frame",
"(",
")",
"add",
"(",
"name",
",",
"vec",
")",
";"
]
|
[
"create",
"a",
"new",
"frame",
"based",
"on",
"given",
"column",
"data"
]
| [
"return",
"new",
"frame",
"(",
"names",
",",
"vecs",
")",
";"
]
|
[
"create",
"a",
"new",
"frame",
"based",
"on",
"given",
"row",
"data"
]
| [
"assert",
"names",
"=",
"=",
"null",
"|",
"|",
"names",
"length",
"=",
"=",
"rows",
"[",
"0",
"]",
"length",
";",
"futures",
"fs",
"=",
"new",
"futures",
"(",
")",
";",
"vec",
"[",
"]",
"vecs",
"=",
"new",
"vec",
"[",
"rows",
"[",
"0",
"]",
"length",
"]",
";",
"key",
"keys",
"[",
"]",
"=",
"vec",
"vector",
"group",
"vg",
"len1",
"add",
"vecs",
"(",
"vecs",
"length",
")",
";",
"for",
"(",
"int",
"c",
"=",
"0",
";",
"c",
"<",
"vecs",
"length",
";",
"c",
"+",
"+",
")",
"{",
"appendable",
"vec",
"vec",
"=",
"new",
"appendable",
"vec",
"(",
"keys",
"[",
"c",
"]",
")",
";",
"new",
"chunk",
"chunk",
"=",
"new",
"new",
"chunk",
"(",
"vec",
",",
"0",
")",
";",
"for",
"(",
"int",
"r",
"=",
"0",
";",
"r",
"<",
"rows",
"length",
";",
"r",
"+",
"+",
")",
"chunk",
"add",
"num",
"(",
"rows",
"[",
"r",
"]",
"[",
"c",
"]",
")",
";",
"chunk",
"close",
"(",
"0",
",",
"fs",
")",
";",
"vecs",
"[",
"c",
"]",
"=",
"vec",
"close",
"(",
"fs",
")",
";",
"}",
"fs",
"block",
"for",
"pending",
"(",
")",
";",
"return",
"new",
"frame",
"(",
"names",
",",
"vecs",
")",
";"
]
|
[
"load",
"the",
"referenced",
"object"
]
| [
"return",
"get",
"job",
"meta",
"(",
"rep",
",",
"meta",
"store",
",",
"space",
")",
";"
]
|
[
"<",
"p",
">",
"use",
"this",
"parameter",
"only",
"when",
"paginating",
"results",
"and",
"only",
"after",
"you",
"receive",
"a",
"response",
"indicating",
"that",
"the",
"results",
"are",
"truncated",
"set",
"it",
"to",
"the",
"value",
"of",
"the",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"element",
"in",
"the",
"response",
"that",
"you",
"received",
"to",
"indicate",
"where",
"the",
"next",
"call",
"should",
"start",
"<",
"/",
"p",
">"
]
| [
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"(",
"optional",
")",
"use",
"this",
"only",
"when",
"paginating",
"results",
"to",
"indicate",
"the",
"maximum",
"number",
"of",
"items",
"you",
"want",
"in",
"the",
"response",
"if",
"additional",
"items",
"exist",
"beyond",
"the",
"maximum",
"you",
"specify",
"the",
"<",
"code",
">",
"is",
"truncated",
"<",
"/",
"code",
">",
"response",
"element",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"do",
"not",
"include",
"this",
"parameter",
"it",
"defaults",
"to",
"100",
"note",
"that",
"iam",
"might",
"return",
"fewer",
"results",
"even",
"when",
"there",
"are",
"more",
"results",
"available",
"in",
"that",
"case",
"the",
"<",
"code",
">",
"is",
"truncated",
"<",
"/",
"code",
">",
"response",
"element",
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"contains",
"a",
"value",
"to",
"include",
"in",
"the",
"subsequent",
"call",
"that",
"tells",
"the",
"service",
"where",
"to",
"continue",
"from",
"<",
"/",
"p",
">"
]
| [
"set",
"max",
"items",
"(",
"max",
"items",
")",
";",
"return",
"this",
";"
]
|
[
"create",
"a",
"{"
]
| [
"jms",
"pool",
"connection",
"factory",
"pooled",
"connection",
"factory",
"=",
"new",
"jms",
"pool",
"connection",
"factory",
"(",
")",
";",
"pooled",
"connection",
"factory",
"set",
"connection",
"factory",
"(",
"connection",
"factory",
")",
";",
"pooled",
"connection",
"factory",
"set",
"block",
"if",
"session",
"pool",
"is",
"full",
"(",
"this",
"properties",
"is",
"block",
"if",
"full",
"(",
")",
")",
";",
"if",
"(",
"this",
"properties",
"get",
"block",
"if",
"full",
"timeout",
"(",
")",
"!",
"=",
"null",
")",
"{",
"pooled",
"connection",
"factory",
"set",
"block",
"if",
"session",
"pool",
"is",
"full",
"timeout",
"(",
"this",
"properties",
"get",
"block",
"if",
"full",
"timeout",
"(",
")",
"to",
"millis",
"(",
")",
")",
";",
"}",
"if",
"(",
"this",
"properties",
"get",
"idle",
"timeout",
"(",
")",
"!",
"=",
"null",
")",
"{",
"pooled",
"connection",
"factory",
"set",
"connection",
"idle",
"timeout",
"(",
"(",
"int",
")",
"this",
"properties",
"get",
"idle",
"timeout",
"(",
")",
"to",
"millis",
"(",
")",
")",
";",
"}",
"pooled",
"connection",
"factory",
"set",
"max",
"connections",
"(",
"this",
"properties",
"get",
"max",
"connections",
"(",
")",
")",
";",
"pooled",
"connection",
"factory",
"set",
"max",
"sessions",
"per",
"connection",
"(",
"this",
"properties",
"get",
"max",
"sessions",
"per",
"connection",
"(",
")",
")",
";",
"if",
"(",
"this",
"properties",
"get",
"time",
"between",
"expiration",
"check",
"(",
")",
"!",
"=",
"null",
")",
"{",
"pooled",
"connection",
"factory",
"set",
"connection",
"check",
"interval",
"(",
"this",
"properties",
"get",
"time",
"between",
"expiration",
"check",
"(",
")",
"to",
"millis",
"(",
")",
")",
";",
"}",
"pooled",
"connection",
"factory",
"set",
"use",
"anonymous",
"producers",
"(",
"this",
"properties",
"is",
"use",
"anonymous",
"producers",
"(",
")",
")",
";",
"return",
"pooled",
"connection",
"factory",
";"
]
|
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
]
| [
"return",
"ease",
"back",
"out",
"get",
"value",
"(",
"p",
"seconds",
"elapsed",
"/",
"p",
"duration",
")",
";"
]
|
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
]
| [
"final",
"float",
"t",
"=",
"p",
"percentage",
"-",
"1",
";",
"return",
"1",
"+",
"t",
"*",
"t",
"*",
"(",
"(",
"1",
"7",
"0",
"1",
"5",
"8f",
"+",
"1",
")",
"*",
"t",
"+",
"1",
"7",
"0",
"1",
"5",
"8f",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"code",
"build",
"project",
"<",
"/",
"p",
">"
]
| [
"set",
"project",
"name",
"(",
"project",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"an",
"immutable",
"version",
"of",
"this",
"configuration"
]
| [
"if",
"(",
"read",
"only",
"=",
"=",
"null",
")",
"{",
"read",
"only",
"=",
"new",
"near",
"cache",
"config",
"read",
"only",
"(",
"this",
")",
";",
"}",
"return",
"read",
"only",
";"
]
|
[
"sets",
"the",
"name",
"of",
"the",
"near",
"cache"
]
| [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
]
|
[
"checks",
"if",
"the",
"near",
"cache",
"key",
"is",
"stored",
"in",
"serialized",
"format",
"or",
"by",
"-",
"reference"
]
| [
"return",
"serialize",
"keys",
"|",
"|",
"in",
"memory",
"format",
"=",
"=",
"in",
"memory",
"format",
"native",
";"
]
|
[
"sets",
"if",
"the",
"near",
"cache",
"key",
"is",
"stored",
"in",
"serialized",
"format",
"or",
"by",
"-",
"reference"
]
| [
"this",
"serialize",
"keys",
"=",
"serialize",
"keys",
";",
"return",
"this",
";"
]
|
[
"sets",
"if",
"near",
"cache",
"entries",
"are",
"invalidated",
"when",
"the",
"entries",
"in",
"the",
"backing",
"data",
"structure",
"are",
"changed",
"(",
"updated",
"or",
"removed",
")",
"<",
"p",
">",
"when",
"this",
"setting",
"is",
"enabled",
"a",
"hazelcast",
"instance",
"with",
"a",
"near",
"cache",
"listens",
"for",
"cluster",
"-",
"wide",
"changes",
"on",
"the",
"entries",
"of",
"the",
"backing",
"data",
"structure",
"and",
"invalidates",
"its",
"corresponding",
"near",
"cache",
"entries",
"changes",
"done",
"on",
"the",
"local",
"hazelcast",
"instance",
"always",
"invalidate",
"the",
"near",
"cache",
"immediately"
]
| [
"this",
"invalidate",
"on",
"change",
"=",
"invalidate",
"on",
"change",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"maximum",
"size",
"of",
"the",
"near",
"cache",
"<",
"p",
">",
"when",
"the",
"max",
"size",
"is",
"reached",
"the",
"near",
"cache",
"is",
"evicted",
"based",
"on",
"the",
"policy",
"defined"
]
| [
"return",
"max",
"size",
";"
]
|
[
"returns",
"the",
"eviction",
"policy",
"for",
"the",
"near",
"cache"
]
| [
"return",
"eviction",
"policy",
";"
]
|
[
"sets",
"if",
"local",
"entries",
"are",
"also",
"cached",
"in",
"the",
"near",
"cache",
"<",
"p",
">",
"this",
"is",
"useful",
"when",
"the",
"in",
"-",
"memory",
"format",
"of",
"the",
"near",
"cache",
"is",
"different",
"from",
"the",
"backing",
"data",
"structure",
"this",
"setting",
"has",
"no",
"meaning",
"on",
"hazelcast",
"clients",
"since",
"they",
"have",
"no",
"local",
"entries"
]
| [
"this",
"cache",
"local",
"entries",
"=",
"cache",
"local",
"entries",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"{",
"@",
"link",
"local",
"update",
"policy",
"}",
"of",
"this",
"near",
"cache"
]
| [
"return",
"local",
"update",
"policy",
";"
]
|
[
"looks",
"up",
"a",
"word"
]
| [
"return",
"dict",
"contains",
"(",
"word",
")",
";"
]
|
[
"takes",
"the",
"result",
"and",
"determines",
"whether",
"the",
"state",
"of",
"the",
"resource",
"matches",
"the",
"expected",
"state",
"to",
"determine",
"the",
"current",
"state",
"of",
"the",
"resource",
"jmes",
"path",
"expression",
"is",
"evaluated",
"and",
"compared",
"against",
"the",
"expected",
"result"
]
| [
"json",
"node",
"query",
"node",
"=",
"object",
"mapper",
"singleton",
"get",
"object",
"mapper",
"(",
")",
"value",
"to",
"tree",
"(",
"result",
")",
";",
"json",
"node",
"final",
"result",
"=",
"ast",
"accept",
"(",
"new",
"jmes",
"path",
"evaluation",
"visitor",
"(",
")",
",",
"query",
"node",
")",
";",
"return",
"acceptor",
"path",
"matcher",
"path",
"all",
"(",
"expected",
"result",
",",
"final",
"result",
")",
";"
]
|
[
"this",
"flips",
"the",
"underlying",
"bb",
"so",
"be",
"sure",
"to",
"use",
"it",
"last",
"!"
]
| [
"cur",
"buf",
"flip",
"(",
")",
";",
"return",
"cur",
"buf",
";"
]
|
[
"output",
"stream"
]
| [
"check",
"size",
"and",
"grow",
"(",
"bytes",
"sizeof",
"byte",
")",
";",
"cur",
"buf",
"put",
"(",
"(",
"byte",
")",
"b",
")",
";"
]
|
[
"writes",
"the",
"complete",
"contents",
"of",
"this",
"byte",
"buffer",
"output",
"stream",
"to",
"the",
"specified",
"output",
"stream",
"argument"
]
| [
"writable",
"byte",
"channel",
"channel",
"=",
"channels",
"new",
"channel",
"(",
"out",
")",
";",
"byte",
"buffer",
"bb",
"=",
"cur",
"buf",
"duplicate",
"(",
")",
";",
"bb",
"flip",
"(",
")",
";",
"channel",
"write",
"(",
"bb",
")",
";"
]
|
[
"writes",
"an",
"<",
"code",
">",
"int",
"<",
"/",
"code",
">",
"to",
"the",
"underlying",
"output",
"stream",
"as",
"four",
"bytes",
"high",
"byte",
"first"
]
| [
"check",
"size",
"and",
"grow",
"(",
"bytes",
"sizeof",
"int",
")",
";",
"byte",
"buffer",
"utils",
"put",
"int",
"(",
"this",
"cur",
"buf",
",",
"i",
")",
";"
]
|
[
"/",
"*",
"see",
"http",
":",
"/",
"/",
"stackoverflow",
"com",
"/",
"questions",
"/",
"4965335",
"/",
"how",
"-",
"to",
"-",
"print",
"-",
"binary",
"-",
"tree",
"-",
"diagram"
]
| [
"logger",
"info",
"(",
"\"",
"\"",
")",
";",
"logger",
"info",
"(",
"id",
")",
";",
"for",
"(",
"debug",
"info",
"execution",
"tree",
"node",
"child",
"node",
":",
"child",
"nodes",
")",
"{",
"child",
"node",
"print",
"(",
"logger",
",",
"\"",
"\"",
",",
"true",
")",
";",
"}",
"logger",
"info",
"(",
"\"",
"\"",
")",
";"
]
|
[
"unsafe",
"version",
"of",
":",
"{"
]
| [
"long",
"function",
"address",
"=",
"instance",
"get",
"capabilities",
"(",
")",
"vk",
"create",
"mac",
"o",
"s",
"surface",
"m",
"v",
"k",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"vk",
"mac",
"o",
"s",
"surface",
"create",
"info",
"m",
"v",
"k",
"validate",
"(",
"p",
"create",
"info",
")",
";",
"if",
"(",
"p",
"allocator",
"!",
"=",
"null",
")",
"{",
"vk",
"allocation",
"callbacks",
"validate",
"(",
"p",
"allocator",
")",
";",
"}",
"}",
"return",
"call",
"p",
"p",
"p",
"p",
"i",
"(",
"function",
"address",
",",
"instance",
"address",
"(",
")",
",",
"p",
"create",
"info",
",",
"p",
"allocator",
",",
"p",
"surface",
")",
";"
]
|
[
"<",
"p",
">",
"unique",
"identifier",
"of",
"the",
"key",
"<",
"/",
"p",
">"
]
| [
"set",
"key",
"id",
"(",
"key",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"arn",
"of",
"the",
"key",
"<",
"/",
"p",
">"
]
| [
"this",
"key",
"arn",
"=",
"key",
"arn",
";"
]
|
[
"<",
"p",
">",
"arn",
"of",
"the",
"key",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"key",
"arn",
";"
]
|
[
"<",
"p",
">",
"arn",
"of",
"the",
"key",
"<",
"/",
"p",
">"
]
| [
"set",
"key",
"arn",
"(",
"key",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"create",
"or",
"reuse",
"a",
"bt",
"triangle",
"index",
"vertex",
"array",
"instance",
"based",
"on",
"the",
"specified",
"{"
]
| [
"bt",
"triangle",
"index",
"vertex",
"array",
"result",
"=",
"get",
"instance",
"(",
"mesh",
"parts",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
")",
"{",
"result",
"=",
"new",
"bt",
"triangle",
"index",
"vertex",
"array",
"(",
"mesh",
"parts",
")",
";",
"instances",
"add",
"(",
"result",
")",
";",
"}",
"result",
"obtain",
"(",
")",
";",
"return",
"result",
";"
]
|
[
"the",
"amount",
"of",
"meshes",
"this",
"array",
"contains"
]
| [
"return",
"meshes",
"size",
";"
]
|
[
"return",
"the",
"{"
]
| [
"return",
"meshes",
"get",
"(",
"index",
")",
";"
]
|
[
"add",
"a",
"{"
]
| [
"bt",
"indexed",
"mesh",
"mesh",
"=",
"bt",
"indexed",
"mesh",
"obtain",
"(",
"mesh",
"part",
")",
";",
"add",
"indexed",
"mesh",
"(",
"mesh",
",",
"phy",
"scalar",
"type",
"phy",
"short",
")",
";",
"mesh",
"release",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"add",
"one",
"or",
"more",
"{"
]
| [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"mesh",
"parts",
"length",
";",
"i",
"+",
"+",
")",
"add",
"mesh",
"part",
"(",
"mesh",
"parts",
"[",
"i",
"]",
")",
";",
"return",
"this",
";"
]
|
[
"add",
"one",
"or",
"more",
"{"
]
| [
"for",
"(",
"final",
"mesh",
"part",
"mesh",
"part",
":",
"mesh",
"parts",
")",
"add",
"mesh",
"part",
"(",
"mesh",
"part",
")",
";",
"return",
"this",
";"
]
|
[
"add",
"one",
"or",
"more",
"{"
]
| [
"for",
"(",
"final",
"node",
"part",
"node",
"part",
":",
"node",
"parts",
")",
"add",
"mesh",
"part",
"(",
"node",
"part",
"mesh",
"part",
")",
";",
"return",
"this",
";"
]
|
[
"add",
"a",
"{"
]
| [
"mesh",
"obtain",
"(",
")",
";",
"internal",
"add",
"indexed",
"mesh",
"(",
"mesh",
",",
"index",
"type",
")",
";",
"meshes",
"add",
"(",
"mesh",
")",
";",
"return",
"this",
";"
]
|
[
"add",
"a",
"{"
]
| [
"return",
"add",
"indexed",
"mesh",
"(",
"mesh",
",",
"phy",
"scalar",
"type",
"phy",
"short",
")",
";"
]
|
[
"the",
"length",
"of",
"the",
"term",
"buffer",
"in",
"each",
"log",
"partition"
]
| [
"return",
"term",
"length",
";"
]
|
[
"opens",
"the",
"{",
"@",
"link",
"commit",
"view",
"}"
]
| [
"view",
"show",
"(",
"commit",
"description",
")",
";"
]
|
[
"sets",
"the",
"{",
"@",
"link",
"commit",
"presenter",
"commit",
"action",
"handler",
"}",
"called",
"after",
"the",
"ok",
"or",
"continue",
"action",
"is",
"executed"
]
| [
"this",
"handler",
"=",
"handler",
";"
]
|
[
"puts",
"current",
"time",
"into",
"the",
"input",
"bundle"
]
| [
"bundle",
"put",
"long",
"(",
"scheduled",
"time",
"tag",
",",
"system",
"current",
"time",
"millis",
"(",
")",
")",
";",
"bundle",
"put",
"boolean",
"(",
"chrome",
"background",
"service",
"hold",
"wakelock",
",",
"true",
")",
";"
]
|
[
"extracts",
"the",
"time",
"we",
"put",
"into",
"the",
"bundle"
]
| [
"return",
"bundle",
"get",
"long",
"(",
"scheduled",
"time",
"tag",
")",
";"
]
|
[
"puts",
"trigger",
"conditions",
"into",
"the",
"input",
"bundle"
]
| [
"bundle",
"put",
"boolean",
"(",
"power",
"connected",
"tag",
",",
"conditions",
"require",
"power",
"connected",
"(",
")",
")",
";",
"bundle",
"put",
"int",
"(",
"battery",
"percentage",
"tag",
",",
"conditions",
"get",
"minimum",
"battery",
"percentage",
"(",
")",
")",
";",
"bundle",
"put",
"boolean",
"(",
"unmetered",
"network",
"tag",
",",
"conditions",
"require",
"unmetered",
"network",
"(",
")",
")",
";"
]
|
[
"extracts",
"the",
"trigger",
"conditions",
"we",
"put",
"into",
"the",
"bundle"
]
| [
"boolean",
"require",
"power",
"connected",
"=",
"bundle",
"get",
"boolean",
"(",
"power",
"connected",
"tag",
",",
"true",
")",
";",
"int",
"minimum",
"battery",
"percentage",
"=",
"bundle",
"get",
"int",
"(",
"battery",
"percentage",
"tag",
",",
"100",
")",
";",
"boolean",
"require",
"unmetered",
"network",
"=",
"bundle",
"get",
"boolean",
"(",
"unmetered",
"network",
"tag",
",",
"true",
")",
";",
"return",
"new",
"trigger",
"conditions",
"(",
"require",
"power",
"connected",
",",
"minimum",
"battery",
"percentage",
",",
"require",
"unmetered",
"network",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"protocol",
"you",
"can",
"specify",
"http",
"https",
"or",
"#",
"{",
"protocol",
"}",
"you",
"can",
"redirect",
"http",
"to",
"http",
"http",
"to",
"https",
"and",
"https",
"to",
"https",
"you",
"cannot",
"redirect",
"https",
"to",
"http",
"<",
"/",
"p",
">"
]
| [
"set",
"protocol",
"(",
"protocol",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"port",
"you",
"can",
"specify",
"a",
"value",
"from",
"1",
"to",
"65535",
"or",
"#",
"{",
"port",
"}",
"<",
"/",
"p",
">"
]
| [
"set",
"port",
"(",
"port",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"hostname",
"this",
"component",
"is",
"not",
"percent",
"-",
"encoded",
"the",
"hostname",
"can",
"contain",
"#",
"{",
"host",
"}",
"<",
"/",
"p",
">"
]
| [
"set",
"host",
"(",
"host",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"absolute",
"path",
"starting",
"with",
"the",
"leading",
"/",
"this",
"component",
"is",
"not",
"percent",
"-",
"encoded",
"the",
"path",
"can",
"contain",
"#",
"{",
"host",
"}",
"#",
"{",
"path",
"}",
"and",
"#",
"{",
"port",
"}",
"<",
"/",
"p",
">"
]
| [
"set",
"path",
"(",
"path",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"query",
"parameters",
"url",
"-",
"encoded",
"when",
"necessary",
"but",
"not",
"percent",
"-",
"encoded",
"do",
"not",
"include",
"the",
"leading",
"?",
"as",
"it",
"is",
"automatically",
"added",
"you",
"can",
"specify",
"any",
"of",
"the",
"reserved",
"keywords",
"<",
"/",
"p",
">"
]
| [
"set",
"query",
"(",
"query",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"http",
"redirect",
"code",
"the",
"redirect",
"is",
"either",
"permanent",
"(",
"http",
"301",
")",
"or",
"temporary",
"(",
"http",
"302",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"status",
"code",
"(",
"status",
"code",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"http",
"redirect",
"code",
"the",
"redirect",
"is",
"either",
"permanent",
"(",
"http",
"301",
")",
"or",
"temporary",
"(",
"http",
"302",
")",
"<",
"/",
"p",
">"
]
| [
"this",
"status",
"code",
"=",
"status",
"code",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"an",
"attribute",
"name"
]
| [
"return",
"const",
"pool",
"get",
"utf",
"8",
"info",
"(",
"name",
")",
";"
]
|
[
"returns",
"the",
"length",
"of",
"this",
"<",
"code",
">",
"attribute",
"info",
"<",
"/",
"code",
">",
"structure",
"the",
"returned",
"value",
"is",
"<",
"code",
">",
"attribute",
"length",
"+",
"6",
"<",
"/",
"code",
">"
]
| [
"return",
"info",
"length",
"+",
"6",
";"
]
|
[
"returns",
"the",
"<",
"code",
">",
"info",
"<",
"/",
"code",
">",
"field",
"of",
"this",
"<",
"code",
">",
"attribute",
"info",
"<",
"/",
"code",
">",
"structure"
]
| [
"return",
"info",
";"
]
|
[
"sets",
"the",
"<",
"code",
">",
"info",
"<",
"/",
"code",
">",
"field",
"of",
"this",
"<",
"code",
">",
"attribute",
"info",
"<",
"/",
"code",
">",
"structure"
]
| [
"info",
"=",
"newinfo",
";"
]
|
[
"makes",
"a",
"copy",
"class",
"names",
"are",
"replaced",
"according",
"to",
"the",
"given",
"<",
"code",
">",
"map",
"<",
"/",
"code",
">",
"object"
]
| [
"return",
"new",
"attribute",
"info",
"(",
"new",
"cp",
",",
"get",
"name",
"(",
")",
",",
"arrays",
"copy",
"of",
"(",
"info",
",",
"info",
"length",
")",
")",
";"
]
|
[
"/",
"*",
"the",
"following",
"two",
"methods",
"are",
"used",
"to",
"implement",
"class",
"file",
"rename",
"class",
"(",
")",
"only",
"code",
"attribute",
"local",
"variable",
"attribute",
"annotations",
"attribute",
"and",
"signature",
"attribute",
"override",
"these",
"methods"
]
| []
|
[
"generates",
"a",
"function",
"call",
"with",
"null",
"handling",
"automatic",
"binding",
"of",
"session",
"parameter",
"etc"
]
| [
"optional",
"<",
"bytecode",
"node",
">",
"instance",
"=",
"optional",
"empty",
"(",
")",
";",
"if",
"(",
"function",
"get",
"instance",
"factory",
"(",
")",
"is",
"present",
"(",
")",
")",
"{",
"field",
"definition",
"field",
"=",
"cached",
"instance",
"binder",
"get",
"cached",
"instance",
"(",
"function",
"get",
"instance",
"factory",
"(",
")",
"get",
"(",
")",
")",
";",
"instance",
"=",
"optional",
"of",
"(",
"scope",
"get",
"this",
"(",
")",
"get",
"field",
"(",
"field",
")",
")",
";",
"}",
"return",
"generate",
"invocation",
"(",
"scope",
",",
"name",
",",
"function",
",",
"instance",
",",
"arguments",
",",
"call",
"site",
"binder",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"dhcp",
"options",
"set",
"or",
"<",
"code",
">",
"default",
"<",
"/",
"code",
">",
"to",
"associate",
"no",
"dhcp",
"options",
"with",
"the",
"vpc",
"<",
"/",
"p",
">"
]
| [
"set",
"dhcp",
"options",
"id",
"(",
"dhcp",
"options",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vpc",
"<",
"/",
"p",
">"
]
| [
"set",
"vpc",
"id",
"(",
"vpc",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"convert",
"the",
"column",
"indicator",
"in",
"excel",
"like",
"a",
"b",
"c",
"ae",
"cx",
"and",
"so",
"on",
"to",
"a",
"1",
"-",
"based",
"column",
"number"
]
| [
"int",
"col",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"column",
"indicator",
"length",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"char",
"c",
"=",
"column",
"indicator",
"char",
"at",
"(",
"i",
")",
";",
"int",
"offset",
"=",
"1",
"+",
"character",
"get",
"numeric",
"value",
"(",
"c",
")",
"-",
"character",
"get",
"numeric",
"value",
"(",
"'",
"a",
"'",
")",
";",
"col",
"+",
"=",
"math",
"pow",
"(",
"26",
",",
"column",
"indicator",
"length",
"(",
")",
"-",
"i",
"-",
"1",
")",
"*",
"offset",
";",
"}",
"return",
"col",
";"
]
|
[
"computes",
"the",
"indexes",
"within",
"the",
"declared",
"output",
"schema",
"of",
"the",
"specified",
"stream",
"for",
"a",
"list",
"of",
"given",
"field",
"-",
"grouping",
"attributes"
]
| [
"final",
"int",
"[",
"]",
"field",
"indexes",
"=",
"new",
"int",
"[",
"grouping",
"fields",
"size",
"(",
")",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"field",
"indexes",
"length",
";",
"+",
"+",
"i",
")",
"{",
"field",
"indexes",
"[",
"i",
"]",
"=",
"this",
"output",
"streams",
"get",
"(",
"stream",
"id",
")",
"field",
"index",
"(",
"grouping",
"fields",
"get",
"(",
"i",
")",
")",
";",
"}",
"return",
"field",
"indexes",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"add",
"permission",
"operation"
]
| [
"return",
"add",
"permission",
"async",
"(",
"new",
"add",
"permission",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"label",
"(",
"label",
")",
"with",
"a",
"w",
"s",
"account",
"ids",
"(",
"a",
"w",
"s",
"account",
"ids",
")",
"with",
"action",
"names",
"(",
"action",
"names",
")",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"add",
"permission",
"operation",
"with",
"an",
"async",
"handler"
]
| [
"return",
"add",
"permission",
"async",
"(",
"new",
"add",
"permission",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"label",
"(",
"label",
")",
"with",
"a",
"w",
"s",
"account",
"ids",
"(",
"a",
"w",
"s",
"account",
"ids",
")",
"with",
"action",
"names",
"(",
"action",
"names",
")",
",",
"async",
"handler",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"confirm",
"subscription",
"operation"
]
| [
"return",
"confirm",
"subscription",
"async",
"(",
"new",
"confirm",
"subscription",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"token",
"(",
"token",
")",
"with",
"authenticate",
"on",
"unsubscribe",
"(",
"authenticate",
"on",
"unsubscribe",
")",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"confirm",
"subscription",
"operation",
"with",
"an",
"async",
"handler"
]
| [
"return",
"confirm",
"subscription",
"async",
"(",
"new",
"confirm",
"subscription",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"token",
"(",
"token",
")",
"with",
"authenticate",
"on",
"unsubscribe",
"(",
"authenticate",
"on",
"unsubscribe",
")",
",",
"async",
"handler",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"confirm",
"subscription",
"operation"
]
| [
"return",
"confirm",
"subscription",
"async",
"(",
"new",
"confirm",
"subscription",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"token",
"(",
"token",
")",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"confirm",
"subscription",
"operation",
"with",
"an",
"async",
"handler"
]
| [
"return",
"confirm",
"subscription",
"async",
"(",
"new",
"confirm",
"subscription",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
"with",
"token",
"(",
"token",
")",
",",
"async",
"handler",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"create",
"topic",
"operation"
]
| [
"return",
"create",
"topic",
"async",
"(",
"new",
"create",
"topic",
"request",
"(",
")",
"with",
"name",
"(",
"name",
")",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"create",
"topic",
"operation",
"with",
"an",
"async",
"handler"
]
| [
"return",
"create",
"topic",
"async",
"(",
"new",
"create",
"topic",
"request",
"(",
")",
"with",
"name",
"(",
"name",
")",
",",
"async",
"handler",
")",
";"
]
|
[
"simplified",
"method",
"form",
"for",
"invoking",
"the",
"delete",
"topic",
"operation"
]
| [
"return",
"delete",
"topic",
"async",
"(",
"new",
"delete",
"topic",
"request",
"(",
")",
"with",
"topic",
"arn",
"(",
"topic",
"arn",
")",
")",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.