docstring_tokens
list | code_tokens
list |
---|---|
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"vertex",
"attrib",
"l",
"1dv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"vertex",
"attrib",
"l",
"2dv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"vertex",
"attrib",
"l",
"3dv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"vertex",
"attrib",
"l",
"4dv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"vertex",
"attrib",
"l",
"pointer",
"vertex",
"attrib",
"l",
"pointer",
"}"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"vertex",
"attrib",
"l",
"pointer",
"(",
"int",
"index",
",",
"int",
"size",
",",
"int",
"type",
",",
"int",
"stride",
",",
"long",
"pointer",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"get",
"vertex",
"attrib",
"ldv",
"(",
"int",
"index",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"viewport",
"arrayv",
"viewport",
"arrayv",
"}"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"viewport",
"arrayv",
"(",
"int",
"first",
",",
"int",
"count",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"viewport",
"indexedfv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"scissor",
"arrayv",
"scissor",
"arrayv",
"}"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"scissor",
"arrayv",
"(",
"int",
"first",
",",
"int",
"count",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"scissor",
"indexedv",
"(",
"int",
"index",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"depth",
"range",
"arrayv",
"depth",
"range",
"arrayv",
"}"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"depth",
"range",
"arrayv",
"(",
"int",
"first",
",",
"int",
"count",
",",
"long",
"v",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"get",
"floati",
"v",
"(",
"int",
"target",
",",
"int",
"index",
",",
"long",
"data",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"public",
"static",
"native",
"void",
"ngl",
"get",
"doublei",
"v",
"(",
"int",
"target",
",",
"int",
"index",
",",
"long",
"data",
")",
";"
] |
[
"sets",
"{"
] |
[
"logger",
"factory",
"logger",
"provider",
"=",
"logger",
"provider",
":",
":",
"create",
"logger",
";",
"if",
"(",
"loggers",
"!",
"=",
"null",
")",
"{",
"loggers",
"clear",
"(",
")",
";",
"}"
] |
[
"returns",
"logger",
"for",
"given",
"class",
"by",
"simply",
"using",
"the",
"class",
"name"
] |
[
"return",
"get",
"logger",
"(",
"clazz",
"get",
"name",
"(",
")",
")",
";"
] |
[
"enables",
"cache",
"previous",
"cache",
"is",
"removed"
] |
[
"loggers",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";"
] |
[
"disables",
"the",
"cache"
] |
[
"loggers",
"=",
"null",
";"
] |
[
"returns",
"logger",
"for",
"given",
"name",
"repeated",
"calls",
"to",
"this",
"method",
"with",
"the",
"same",
"argument",
"should",
"return",
"the",
"very",
"same",
"instance",
"of",
"the",
"logger"
] |
[
"if",
"(",
"loggers",
"=",
"=",
"null",
")",
"{",
"return",
"logger",
"provider",
"apply",
"(",
"name",
")",
";",
"}",
"return",
"loggers",
"compute",
"if",
"absent",
"(",
"name",
",",
"logger",
"provider",
")",
";"
] |
[
"<",
"p",
">",
"the",
"serial",
"number",
"that",
"uniquely",
"identifies",
"the",
"mfa",
"device",
"for",
"virtual",
"mfa",
"devices",
"the",
"serial",
"number",
"is",
"the",
"device",
"arn",
"<",
"/",
"p",
">"
] |
[
"this",
"serial",
"number",
"=",
"serial",
"number",
";"
] |
[
"register",
"a",
"request",
"to",
"the",
"trace",
"<",
"p",
">",
"should",
"be",
"called",
"before",
"logging",
"any",
"trace",
"information"
] |
[
"request",
"to",
"traces",
"map",
"put",
"(",
"request",
"id",
",",
"new",
"concurrent",
"linked",
"queue",
"<",
"trace",
">",
"(",
")",
")",
";",
"register",
"thread",
"to",
"request",
"(",
"new",
"trace",
"entry",
"(",
"request",
"id",
",",
"null",
")",
")",
";"
] |
[
"register",
"a",
"thread",
"to",
"the",
"request"
] |
[
"trace",
"trace",
"=",
"new",
"trace",
"(",
"parent",
"trace",
"entry",
"trace",
")",
";",
"trace",
"entry",
"thread",
"local",
"set",
"(",
"new",
"trace",
"entry",
"(",
"parent",
"trace",
"entry",
"request",
"id",
",",
"trace",
")",
")",
";",
"request",
"to",
"traces",
"map",
"get",
"(",
"parent",
"trace",
"entry",
"request",
"id",
")",
"add",
"(",
"trace",
")",
";"
] |
[
"un",
"-",
"register",
"a",
"request",
"from",
"the",
"trace",
"<",
"p",
">",
"should",
"be",
"called",
"after",
"all",
"trace",
"information",
"being",
"saved"
] |
[
"trace",
"entry",
"trace",
"entry",
"=",
"trace",
"entry",
"thread",
"local",
"get",
"(",
")",
";",
"request",
"to",
"traces",
"map",
"remove",
"(",
"trace",
"entry",
"request",
"id",
")",
";",
"unregister",
"thread",
"from",
"request",
"(",
")",
";"
] |
[
"un",
"-",
"register",
"a",
"thread",
"from",
"the",
"request"
] |
[
"trace",
"entry",
"thread",
"local",
"remove",
"(",
")",
";"
] |
[
"return",
"whether",
"the",
"trace",
"is",
"enabled"
] |
[
"return",
"trace",
"entry",
"thread",
"local",
"get",
"(",
")",
"!",
"=",
"null",
";"
] |
[
"log",
"a",
"key",
"-",
"value",
"pair",
"trace",
"information",
"<",
"p",
">",
"should",
"be",
"called",
"after",
"calling",
"{"
] |
[
"trace",
"entry",
"thread",
"local",
"get",
"(",
")",
"trace",
"log",
"(",
"key",
",",
"value",
")",
";"
] |
[
"get",
"the",
"trace",
"information",
"added",
"so",
"far"
] |
[
"j",
"s",
"o",
"n",
"array",
"json",
"traces",
"=",
"new",
"j",
"s",
"o",
"n",
"array",
"(",
")",
";",
"for",
"(",
"trace",
"trace",
":",
"request",
"to",
"traces",
"map",
"get",
"(",
"trace",
"entry",
"thread",
"local",
"get",
"(",
")",
"request",
"id",
")",
")",
"{",
"json",
"traces",
"put",
"(",
"trace",
"to",
"json",
"(",
")",
")",
";",
"}",
"return",
"json",
"traces",
"to",
"string",
"(",
")",
";"
] |
[
"get",
"the",
"{"
] |
[
"return",
"trace",
"entry",
"thread",
"local",
"get",
"(",
")",
";"
] |
[
"adds",
"a",
"layer",
"removes",
"any",
"prior",
"occurrences",
"of",
"the",
"same",
"layer"
] |
[
"layer",
"digests",
"builder",
"add",
"(",
"layer",
"get",
"blob",
"descriptor",
"(",
")",
"get",
"digest",
"(",
")",
")",
";",
"layers",
"add",
"(",
"layer",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"all",
"layers",
"in",
"{",
"@",
"code",
"layers",
"}"
] |
[
"for",
"(",
"u",
"layer",
":",
"layers",
")",
"{",
"add",
"(",
"layer",
")",
";",
"}",
"return",
"this",
";"
] |
[
"remove",
"any",
"duplicate",
"layers",
"keeping",
"the",
"last",
"occurrence",
"of",
"the",
"layer"
] |
[
"remove",
"duplicates",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"time",
"in",
"milliseconds",
"from",
"the",
"beginning",
"of",
"the",
"video",
"that",
"the",
"moderation",
"label",
"was",
"detected",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"timestamp",
";"
] |
[
"return",
"the",
"application",
"exception",
"that",
"was",
"thrown",
"before",
"this",
"transaction",
"exception",
"if",
"any"
] |
[
"return",
"this",
"application",
"exception",
";"
] |
[
"return",
"the",
"exception",
"that",
"was",
"the",
"first",
"to",
"be",
"thrown",
"within",
"the",
"failed",
"transaction",
":",
"i",
"e",
"the",
"application",
"exception",
"if",
"any",
"or",
"the",
"transaction",
"system",
"exception",
"s",
"own",
"cause"
] |
[
"return",
"(",
"this",
"application",
"exception",
"!",
"=",
"null",
"?",
"this",
"application",
"exception",
":",
"get",
"cause",
"(",
")",
")",
";"
] |
[
"refresh",
"all",
"pool",
"stats"
] |
[
"refresh",
"basic",
"(",
")",
";",
"refresh",
"bucket",
"stats",
"(",
")",
";"
] |
[
"<",
"p",
">",
"when",
"a",
"buyer",
"visits",
"your",
"website",
"during",
"the",
"registration",
"process",
"the",
"buyer",
"submits",
"a",
"registration",
"token",
"through",
"the",
"browser",
"the",
"registration",
"token",
"is",
"resolved",
"to",
"obtain",
"a",
"customer",
"identifier",
"and",
"product",
"code",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"registration",
"token",
";"
] |
[
"<",
"p",
">",
"when",
"a",
"buyer",
"visits",
"your",
"website",
"during",
"the",
"registration",
"process",
"the",
"buyer",
"submits",
"a",
"registration",
"token",
"through",
"the",
"browser",
"the",
"registration",
"token",
"is",
"resolved",
"to",
"obtain",
"a",
"customer",
"identifier",
"and",
"product",
"code",
"<",
"/",
"p",
">"
] |
[
"set",
"registration",
"token",
"(",
"registration",
"token",
")",
";",
"return",
"this",
";"
] |
[
"to",
"wson",
"or",
"wson",
"w",
"x",
"j",
"s",
"object"
] |
[
"if",
"(",
"tasks",
"=",
"=",
"null",
")",
"{",
"return",
"new",
"w",
"x",
"j",
"s",
"object",
"(",
"null",
")",
";",
"}",
"if",
"(",
"tasks",
"get",
"class",
"(",
")",
"=",
"=",
"w",
"x",
"j",
"s",
"object",
"class",
")",
"{",
"return",
"(",
"w",
"x",
"j",
"s",
"object",
")",
"tasks",
";",
"}",
"if",
"(",
"use",
"wson",
")",
"{",
"return",
"new",
"w",
"x",
"j",
"s",
"object",
"(",
"w",
"x",
"j",
"s",
"object",
"wson",
",",
"wson",
"to",
"wson",
"(",
"tasks",
")",
")",
";",
"}",
"else",
"{",
"return",
"new",
"w",
"x",
"j",
"s",
"object",
"(",
"w",
"x",
"j",
"s",
"object",
"json",
",",
"w",
"x",
"json",
"utils",
"from",
"object",
"to",
"j",
"s",
"o",
"n",
"string",
"(",
"tasks",
")",
")",
";",
"}"
] |
[
"{"
] |
[
"return",
"transactional",
";"
] |
[
"{"
] |
[
"return",
"null",
";"
] |
[
"<",
"code",
">",
"string",
"self",
"introduce",
"=",
"4",
";",
"<",
"/",
"code",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"self",
"introduce",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"=",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"java",
"lang",
"string",
"s",
"=",
"bs",
"to",
"string",
"utf",
"8",
"(",
")",
";",
"self",
"introduce",
"=",
"s",
";",
"return",
"s",
";",
"}"
] |
[
"<",
"code",
">",
"string",
"self",
"introduce",
"=",
"4",
";",
"<",
"/",
"code",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"self",
"introduce",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"(",
"(",
"java",
"lang",
"string",
")",
"ref",
")",
";",
"self",
"introduce",
"=",
"b",
";",
"return",
"b",
";",
"}",
"else",
"{",
"return",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"}"
] |
[
"<",
"code",
">",
"core",
"user",
"status",
"user",
"status",
"=",
"4",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"user",
"status",
";"
] |
[
"<",
"code",
">",
"core",
"user",
"status",
"user",
"status",
"=",
"4",
";",
"<",
"/",
"code",
">"
] |
[
"com",
"akaxin",
"proto",
"core",
"user",
"proto",
"user",
"status",
"result",
"=",
"com",
"akaxin",
"proto",
"core",
"user",
"proto",
"user",
"status",
"value",
"of",
"(",
"user",
"status",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"com",
"akaxin",
"proto",
"core",
"user",
"proto",
"user",
"status",
"unrecognized",
":",
"result",
";"
] |
[
"<",
"code",
">",
"int",
"6",
"4",
"register",
"time",
"=",
"6",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"register",
"time",
";"
] |
[
"<",
"code",
">",
"core",
"user",
"profile",
"apply",
"user",
"=",
"1",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"apply",
"user",
"!",
"=",
"null",
";"
] |
[
"<",
"code",
">",
"core",
"user",
"profile",
"apply",
"user",
"=",
"1",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"apply",
"user",
"=",
"=",
"null",
"?",
"com",
"akaxin",
"proto",
"core",
"user",
"proto",
"user",
"profile",
"get",
"default",
"instance",
"(",
")",
":",
"apply",
"user",
";"
] |
[
"<",
"code",
">",
"core",
"user",
"profile",
"apply",
"user",
"=",
"1",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"get",
"apply",
"user",
"(",
")",
";"
] |
[
"{"
] |
[
"return",
"false",
";"
] |
[
"{"
] |
[
"return",
"null",
";"
] |
[
"{"
] |
[
"return",
"null",
";"
] |
[
"{"
] |
[] |
[
"{"
] |
[] |
[
"{"
] |
[
"return",
"false",
";"
] |
[
"{"
] |
[
"return",
"false",
";"
] |
[
"{"
] |
[
"return",
"false",
";"
] |
[
"returns",
"true",
"if",
"field",
"archive",
"member",
"path",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"archive",
"member",
"path",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"sha",
"1",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"sha",
"1",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"is",
"directory",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"isdirectory",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"path",
"is",
"absolute",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"pathisabsolute",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"contents",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"contents",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"root",
"sym",
"link",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"root",
"sym",
"link",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"root",
"sym",
"link",
"target",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"root",
"sym",
"link",
"target",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"children",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"this",
"children",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"is",
"executable",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"isexecutable",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"materialize",
"during",
"preloading",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"materializeduringpreloading",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] |
[
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"path",
":",
"return",
"is",
"set",
"path",
"(",
")",
";",
"case",
"archive",
"member",
"path",
":",
"return",
"is",
"set",
"archive",
"member",
"path",
"(",
")",
";",
"case",
"sha1",
":",
"return",
"is",
"set",
"sha",
"1",
"(",
")",
";",
"case",
"is",
"directory",
":",
"return",
"is",
"set",
"is",
"directory",
"(",
")",
";",
"case",
"path",
"is",
"absolute",
":",
"return",
"is",
"set",
"path",
"is",
"absolute",
"(",
")",
";",
"case",
"contents",
":",
"return",
"is",
"set",
"contents",
"(",
")",
";",
"case",
"root",
"sym",
"link",
":",
"return",
"is",
"set",
"root",
"sym",
"link",
"(",
")",
";",
"case",
"root",
"sym",
"link",
"target",
":",
"return",
"is",
"set",
"root",
"sym",
"link",
"target",
"(",
")",
";",
"case",
"children",
":",
"return",
"is",
"set",
"children",
"(",
")",
";",
"case",
"is",
"executable",
":",
"return",
"is",
"set",
"is",
"executable",
"(",
")",
";",
"case",
"materialize",
"during",
"preloading",
":",
"return",
"is",
"set",
"materialize",
"during",
"preloading",
"(",
")",
";",
"}",
"throw",
"new",
"java",
"lang",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"get",
"the",
"registration",
"id",
"field"
] |
[
"return",
"buffer",
"get",
"long",
"(",
"offset",
"+",
"registration",
"id",
"offset",
")",
";"
] |
[
"set",
"registration",
"id",
"field"
] |
[
"buffer",
"put",
"long",
"(",
"offset",
"+",
"registration",
"id",
"offset",
",",
"registration",
"id",
")",
";",
"return",
"this",
";"
] |
[
"get",
"current",
"render",
"state"
] |
[
"if",
"(",
"render",
"state",
"!",
"=",
"null",
")",
"{",
"render",
"state",
"=",
"template",
"list",
"get",
"cell",
"data",
"manager",
"(",
")",
"get",
"render",
"state",
"(",
"position",
")",
";",
"}",
"return",
"render",
"state",
";"
] |
[
"get",
"the",
"current",
"task",
"throttle",
"as",
"derived",
"from",
"task",
"runner",
"events"
] |
[
"return",
"throttle",
";"
] |
[
"returns",
"the",
"descriptor",
"index"
] |
[
"return",
"u",
"2descriptor",
"index",
";"
] |
[
"returns",
"the",
"type"
] |
[
"return",
"clazz",
"get",
"string",
"(",
"u",
"2descriptor",
"index",
")",
";"
] |
[
"lets",
"the",
"clazz",
"objects",
"referenced",
"in",
"the",
"signature",
"string",
"accept",
"the",
"given",
"visitor"
] |
[
"if",
"(",
"referenced",
"classes",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"referenced",
"classes",
"length",
";",
"index",
"+",
"+",
")",
"{",
"if",
"(",
"referenced",
"classes",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"referenced",
"classes",
"[",
"index",
"]",
"accept",
"(",
"class",
"visitor",
")",
";",
"}",
"}",
"}"
] |
[
"implementations",
"for",
"constant"
] |
[
"return",
"class",
"constants",
"constant",
"method",
"type",
";"
] |
[
"implementations",
"for",
"attribute",
"visitor"
] |
[] |
[
"returns",
"the",
"module",
"information",
"of",
"the",
"unloaded",
"module",
"this",
"method",
"returns",
"null",
"in",
"case",
"of",
"errors"
] |
[
"return",
"module",
";"
] |
[
"returns",
"the",
"thread",
"object",
"representing",
"the",
"initial",
"thread",
"of",
"the",
"target",
"process"
] |
[
"return",
"thread",
";"
] |
[
"{"
] |
[
"counters",
"add",
"element",
"(",
"vector",
")",
";",
"sum",
"of",
"labels",
"add",
"element",
"(",
"vector",
")",
";",
"sum",
"of",
"squared",
"labels",
"add",
"element",
"(",
"vector",
")",
";"
] |
[
"{"
] |
[
"m",
"s",
"e",
"histogram",
"res",
"=",
"new",
"m",
"s",
"e",
"histogram",
"(",
"sample",
"id",
",",
"bucket",
"meta",
")",
";",
"res",
"counters",
"=",
"this",
"counters",
"plus",
"(",
"other",
"counters",
")",
";",
"res",
"sum",
"of",
"labels",
"=",
"this",
"sum",
"of",
"labels",
"plus",
"(",
"other",
"sum",
"of",
"labels",
")",
";",
"res",
"sum",
"of",
"squared",
"labels",
"=",
"this",
"sum",
"of",
"squared",
"labels",
"plus",
"(",
"other",
"sum",
"of",
"squared",
"labels",
")",
";",
"res",
"bucket",
"ids",
"add",
"all",
"(",
"this",
"bucket",
"ids",
")",
";",
"res",
"bucket",
"ids",
"add",
"all",
"(",
"bucket",
"ids",
")",
";",
"return",
"res",
";"
] |
[
"{"
] |
[
"return",
"bucket",
"ids",
";"
] |
[
"computes",
"impurity",
"function",
"value"
] |
[
"return",
"y",
"2s",
"-",
"2",
"0",
"*",
"ys",
"/",
"cnt",
"*",
"ys",
"+",
"math",
"pow",
"(",
"ys",
"/",
"cnt",
",",
"2",
")",
"*",
"cnt",
";"
] |
[
"maps",
"vector",
"to",
"bucket",
"id"
] |
[
"int",
"bucket",
"id",
"=",
"bucket",
"meta",
"get",
"bucket",
"id",
"(",
"vec",
"features",
"(",
")",
"get",
"(",
"feature",
"id",
")",
")",
";",
"this",
"bucket",
"ids",
"add",
"(",
"bucket",
"id",
")",
";",
"return",
"bucket",
"id",
";"
] |
[
"maps",
"vector",
"to",
"counter",
"value"
] |
[
"return",
"(",
"double",
")",
"vec",
"counters",
"(",
")",
"[",
"sample",
"id",
"]",
";"
] |
[
"maps",
"vector",
"to",
"y",
"-",
"value"
] |
[
"return",
"vec",
"counters",
"(",
")",
"[",
"sample",
"id",
"]",
"*",
"vec",
"label",
"(",
")",
";"
] |
[
"maps",
"vector",
"to",
"y",
"^",
"2",
"value"
] |
[
"return",
"vec",
"counters",
"(",
")",
"[",
"sample",
"id",
"]",
"*",
"math",
"pow",
"(",
"vec",
"label",
"(",
")",
",",
"2",
")",
";"
] |
[
"{"
] |
[
"hash",
"set",
"<",
"integer",
">",
"union",
"buckets",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
"buckets",
"(",
")",
")",
";",
"union",
"buckets",
"add",
"all",
"(",
"other",
"bucket",
"ids",
")",
";",
"if",
"(",
"union",
"buckets",
"size",
"(",
")",
"!",
"=",
"bucket",
"ids",
"size",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"this",
"counters",
"is",
"equal",
"to",
"(",
"other",
"counters",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"this",
"sum",
"of",
"labels",
"is",
"equal",
"to",
"(",
"other",
"sum",
"of",
"labels",
")",
")",
"return",
"false",
";",
"return",
"this",
"sum",
"of",
"squared",
"labels",
"is",
"equal",
"to",
"(",
"other",
"sum",
"of",
"squared",
"labels",
")",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"account",
"id",
"<",
"/",
"code",
">",
"value",
"is",
"the",
"aws",
"account",
"id",
"this",
"value",
"must",
"match",
"the",
"aws",
"account",
"id",
"associated",
"with",
"the",
"credentials",
"used",
"to",
"sign",
"the",
"request",
"you",
"can",
"either",
"specify",
"an",
"aws",
"account",
"id",
"or",
"optionally",
"a",
"single",
"<",
"code",
">",
"-",
"<",
"/",
"code",
">",
"(",
"hyphen",
")",
"in",
"which",
"case",
"amazon",
"glacier",
"uses",
"the",
"aws",
"account",
"id",
"associated",
"with",
"the",
"credentials",
"used",
"to",
"sign",
"the",
"request",
"if",
"you",
"specify",
"your",
"account",
"id",
"do",
"not",
"include",
"any",
"hyphens",
"(",
"-",
")",
"in",
"the",
"id",
"<",
"/",
"p",
">"
] |
[
"this",
"account",
"id",
"=",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"account",
"id",
"<",
"/",
"code",
">",
"value",
"is",
"the",
"aws",
"account",
"id",
"this",
"value",
"must",
"match",
"the",
"aws",
"account",
"id",
"associated",
"with",
"the",
"credentials",
"used",
"to",
"sign",
"the",
"request",
"you",
"can",
"either",
"specify",
"an",
"aws",
"account",
"id",
"or",
"optionally",
"a",
"single",
"<",
"code",
">",
"-",
"<",
"/",
"code",
">",
"(",
"hyphen",
")",
"in",
"which",
"case",
"amazon",
"glacier",
"uses",
"the",
"aws",
"account",
"id",
"associated",
"with",
"the",
"credentials",
"used",
"to",
"sign",
"the",
"request",
"if",
"you",
"specify",
"your",
"account",
"id",
"do",
"not",
"include",
"any",
"hyphens",
"(",
"-",
")",
"in",
"the",
"id",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"account",
"id",
"<",
"/",
"code",
">",
"value",
"is",
"the",
"aws",
"account",
"id",
"of",
"the",
"account",
"that",
"owns",
"the",
"vault",
"you",
"can",
"either",
"specify",
"an",
"aws",
"account",
"id",
"or",
"optionally",
"a",
"single",
"<",
"code",
">",
"-",
"<",
"/",
"code",
">",
"(",
"hyphen",
")",
"in",
"which",
"case",
"amazon",
"glacier",
"uses",
"the",
"aws",
"account",
"id",
"associated",
"with",
"the",
"credentials",
"used",
"to",
"sign",
"the",
"request",
"if",
"you",
"use",
"an",
"account",
"id",
"do",
"not",
"include",
"any",
"hyphens",
"(",
"-",
")",
"in",
"the",
"id",
"<",
"/",
"p",
">"
] |
[
"set",
"account",
"id",
"(",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] |
[
"this",
"vault",
"name",
"=",
"vault",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"vault",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] |
[
"set",
"vault",
"name",
"(",
"vault",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"archive",
"description",
"that",
"you",
"are",
"uploading",
"in",
"parts",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"part",
"size",
"must",
"be",
"a",
"megabyte",
"(",
"1024",
"kb",
")",
"multiplied",
"by",
"a",
"power",
"of",
"2",
"for",
"example",
"1048576",
"(",
"1",
"mb",
")",
"2097152",
"(",
"2",
"mb",
")",
"4194304",
"(",
"4",
"mb",
")",
"8388608",
"(",
"8",
"mb",
")",
"and",
"so",
"on",
"the",
"minimum",
"allowable",
"part",
"size",
"is",
"1",
"mb",
"and",
"the",
"maximum",
"is",
"4",
"gb",
"(",
"4096",
"mb",
")",
"<",
"/",
"p",
">"
] |
[
"set",
"archive",
"description",
"(",
"archive",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"each",
"part",
"except",
"the",
"last",
"in",
"bytes",
"the",
"last",
"part",
"can",
"be",
"smaller",
"than",
"this",
"part",
"size",
"<",
"/",
"p",
">"
] |
[
"this",
"part",
"size",
"=",
"part",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"each",
"part",
"except",
"the",
"last",
"in",
"bytes",
"the",
"last",
"part",
"can",
"be",
"smaller",
"than",
"this",
"part",
"size",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"part",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"each",
"part",
"except",
"the",
"last",
"in",
"bytes",
"the",
"last",
"part",
"can",
"be",
"smaller",
"than",
"this",
"part",
"size",
"<",
"/",
"p",
">"
] |
[
"set",
"part",
"size",
"(",
"part",
"size",
")",
";",
"return",
"this",
";"
] |
[
"@",
"hide",
"vector",
"add"
] |
[
"this",
"x",
"+",
"=",
"a",
"x",
";",
"this",
"y",
"+",
"=",
"a",
"y",
";",
"this",
"z",
"+",
"=",
"a",
"z",
";"
] |
[
"@",
"hide",
"vector",
"add"
] |
[
"long",
"3",
"result",
"=",
"new",
"long",
"3",
"(",
")",
";",
"result",
"x",
"=",
"a",
"x",
"+",
"b",
"x",
";",
"result",
"y",
"=",
"a",
"y",
"+",
"b",
"y",
";",
"result",
"z",
"=",
"a",
"z",
"+",
"b",
"z",
";",
"return",
"result",
";"
] |
[
"@",
"hide",
"vector",
"add"
] |
[
"x",
"+",
"=",
"value",
";",
"y",
"+",
"=",
"value",
";",
"z",
"+",
"=",
"value",
";"
] |
[
"@",
"hide",
"vector",
"add"
] |
[
"long",
"3",
"result",
"=",
"new",
"long",
"3",
"(",
")",
";",
"result",
"x",
"=",
"a",
"x",
"+",
"b",
";",
"result",
"y",
"=",
"a",
"y",
"+",
"b",
";",
"result",
"z",
"=",
"a",
"z",
"+",
"b",
";",
"return",
"result",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.