docstring_tokens
list | code_tokens
list |
---|---|
[
"get",
"the",
"generic",
"type",
"class",
"of",
"list",
"or",
"set",
"if",
"there",
"'",
"s",
"no",
"generic",
"type",
"of",
"list",
"or",
"set",
"return",
"null"
]
| [
"protected",
"class",
"<",
"?",
">",
"get",
"generic",
"type",
"class",
"(",
"field",
"field",
")",
"{",
"type",
"generic",
"type",
"=",
"field",
"get",
"generic",
"type",
"(",
")",
";",
"if",
"(",
"generic",
"type",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"generic",
"type",
"instanceof",
"parameterized",
"type",
")",
"{",
"parameterized",
"type",
"parameterized",
"type",
"=",
"(",
"parameterized",
"type",
")",
"generic",
"type",
";",
"return",
"(",
"class",
"<",
"?",
">",
")",
"parameterized",
"type",
"get",
"actual",
"type",
"arguments",
"(",
")",
"[",
"0",
"]",
";",
"}",
"}",
"return",
"null",
";",
"}"
]
|
[
"rehash",
"{",
"@",
"link",
"object",
"#",
"hash",
"code",
"(",
")",
"}",
"to",
"partition"
]
| [
"public",
"int",
"get",
"partition",
"(",
"k",
"key",
",",
"v",
"value",
",",
"int",
"num",
"reduce",
"tasks",
")",
"{",
"int",
"h",
"=",
"seed",
"^",
"key",
"hash",
"code",
"(",
")",
";",
"h",
"^",
"=",
"(",
"h",
">",
">",
">",
"20",
")",
"^",
"(",
"h",
">",
">",
">",
"12",
")",
";",
"h",
"=",
"h",
"^",
"(",
"h",
">",
">",
">",
"7",
")",
"^",
"(",
"h",
">",
">",
">",
"4",
")",
";",
"return",
"(",
"h",
"&",
"integer",
"max",
"value",
")",
"%",
"num",
"reduce",
"tasks",
";",
"}"
]
|
[
"adds",
"a",
"new",
"item",
"to",
"the",
"<",
"code",
">",
"prefix",
"ns",
"wrapped",
"array",
"<",
"code",
">",
"list"
]
| [
"public",
"xml",
"item",
"add",
"prefix",
"ns",
"wrapped",
"array",
"item",
"(",
"integer",
"prefix",
"ns",
"wrapped",
"array",
"item",
")",
"{",
"this",
"prefix",
"ns",
"wrapped",
"array",
"add",
"(",
"prefix",
"ns",
"wrapped",
"array",
"item",
")",
";",
"return",
"this",
";",
"}"
]
|
[
"determines",
"whether",
"`",
"path",
"`",
"is",
"a",
"junction",
"point",
"or",
"directory",
"symlink"
]
| [
"public",
"static",
"boolean",
"is",
"symlink",
"or",
"junction",
"(",
"string",
"path",
")",
"throws",
"i",
"o",
"exception",
"{",
"boolean",
"[",
"]",
"result",
"=",
"new",
"boolean",
"[",
"]",
"{",
"false",
"}",
";",
"string",
"[",
"]",
"error",
"=",
"new",
"string",
"[",
"]",
"{",
"null",
"}",
";",
"switch",
"(",
"native",
"is",
"symlink",
"or",
"junction",
"(",
"as",
"long",
"path",
"(",
"path",
")",
",",
"result",
",",
"error",
")",
")",
"{",
"case",
"is",
"symlink",
"or",
"junction",
"success",
":",
"return",
"result",
"[",
"0",
"]",
";",
"case",
"is",
"symlink",
"or",
"junction",
"does",
"not",
"exist",
":",
"error",
"[",
"0",
"]",
"=",
"\"",
"path",
"does",
"not",
"exist",
"\"",
";",
"break",
";",
"default",
":",
"/",
"/",
"this",
"is",
"is",
"symlink",
"or",
"junction",
"error",
"(",
"1",
")",
"the",
"jni",
"code",
"puts",
"a",
"custom",
"message",
"in",
"/",
"/",
"'",
"error",
"[",
"0",
"]",
"'",
"break",
";",
"}",
"throw",
"new",
"i",
"o",
"exception",
"(",
"string",
"format",
"(",
"\"",
"cannot",
"tell",
"if",
"'",
"%",
"s",
"'",
"is",
"link",
":",
"%",
"s",
"\"",
",",
"path",
",",
"error",
"[",
"0",
"]",
")",
")",
";",
"}"
]
|
[
"static",
"method",
"to",
"return",
"a",
"set",
"of",
"all",
"<",
"code",
">",
"shell",
"<",
"code",
">",
"objects"
]
| [
"public",
"static",
"set",
"<",
"shell",
">",
"get",
"all",
"shells",
"(",
")",
"{",
"synchronized",
"(",
"child",
"shells",
")",
"{",
"return",
"new",
"hash",
"set",
"<",
">",
"(",
"child",
"shells",
"key",
"set",
"(",
")",
")",
";",
"}",
"}"
]
|
[
"convert",
"from",
"a",
"jms",
"message",
"to",
"a",
"java",
"object"
]
| [
"object",
"from",
"message",
"(",
"message",
"message",
")",
"throws",
"j",
"m",
"s",
"exception",
",",
"message",
"conversion",
"exception",
";"
]
|
[
"save",
"the",
"bitmap"
]
| [
"public",
"static",
"boolean",
"save",
"(",
"final",
"bitmap",
"src",
",",
"final",
"file",
"file",
",",
"final",
"compress",
"format",
"format",
",",
"final",
"int",
"quality",
")",
"{",
"return",
"save",
"(",
"src",
",",
"file",
",",
"format",
",",
"quality",
",",
"false",
")",
";",
"}"
]
|
[
"get",
"the",
"max",
"bytes",
"params",
"can",
"be",
"serialized"
]
| [
"public",
"static",
"integer",
"get",
"max",
"param",
"byte",
"size",
"(",
")",
"{",
"string",
"max",
"param",
"byte",
"size",
"=",
"sentinel",
"config",
"get",
"config",
"(",
"max",
"param",
"byte",
"size",
")",
";",
"try",
"{",
"return",
"max",
"param",
"byte",
"size",
"=",
"=",
"null",
"?",
"null",
":",
"integer",
"value",
"of",
"(",
"max",
"param",
"byte",
"size",
")",
";",
"}",
"catch",
"(",
"exception",
"ex",
")",
"{",
"record",
"log",
"warn",
"(",
"\"",
"[",
"cluster",
"client",
"start",
"up",
"config",
"]",
"failed",
"to",
"parse",
"max",
"param",
"byte",
"size",
":",
"\"",
"+",
"max",
"param",
"byte",
"size",
")",
";",
"return",
"null",
";",
"}",
"}"
]
|
[
"asynchronously",
"executes",
"a",
"count",
"request",
"using",
"the",
"count",
"api",
"see",
"<",
"a",
"href",
"=",
"\"",
"https",
":",
"www",
"elastic",
"coguideenelasticsearchreferencecurrentsearch",
"-",
"count",
"html",
"\"",
">",
"count",
"api",
"on",
"elastic",
"co"
]
| [
"public",
"final",
"cancellable",
"count",
"async",
"(",
"count",
"request",
"count",
"request",
",",
"request",
"options",
"options",
",",
"action",
"listener",
"<",
"count",
"response",
">",
"listener",
")",
"{",
"return",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"count",
"request",
",",
"request",
"converters",
":",
":",
"count",
",",
"options",
",",
"count",
"response",
":",
":",
"from",
"x",
"content",
",",
"listener",
",",
"empty",
"set",
"(",
")",
")",
";",
"}"
]
|
[
"returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"statement",
"information",
"for",
"this",
"compilation",
"unit",
"(",
"not",
"including",
"the",
"total",
"length",
"field",
"itself",
")"
]
| [
"public",
"int",
"get",
"total",
"length",
"(",
")",
"{",
"return",
"total",
"length",
";",
"}"
]
|
[
"returns",
"the",
"{",
"@",
"link",
"list",
"}",
"&",
"lt",
";",
"{",
"@",
"link",
"image",
"section",
"header",
"}",
"&",
"gt",
";",
"when",
"this",
"return",
"a",
"non",
"-",
"null",
"list",
"the",
"omap",
"from",
"src",
"should",
"be",
"used",
"for",
"remapping",
"global",
"symbols"
]
| [
"public",
"list",
"<",
"image",
"section",
"header",
">",
"get",
"image",
"section",
"headers",
"orig",
"(",
")",
"{",
"return",
"image",
"section",
"headers",
"orig",
";",
"}"
]
|
[
"determine",
"if",
"the",
"specified",
"file",
"is",
"contained",
"within",
"the",
"ghidra",
"installation"
]
| [
"private",
"static",
"boolean",
"is",
"system",
"file",
"(",
"resource",
"file",
"file",
")",
"{",
"try",
"{",
"string",
"file",
"path",
"=",
"file",
"get",
"canonical",
"path",
"(",
")",
"replace",
"(",
"'",
"\\",
"\\",
"'",
",",
"'",
"/",
"'",
")",
";",
"if",
"(",
"file",
"path",
"starts",
"with",
"(",
"user",
"scripts",
"dir",
")",
")",
"{",
"/",
"/",
"a",
"script",
"inside",
"of",
"the",
"user",
"scripts",
"dir",
"is",
"not",
"a",
"'",
"system",
"'",
"script",
"return",
"false",
";",
"}",
"collection",
"<",
"resource",
"file",
">",
"roots",
"=",
"application",
"get",
"application",
"root",
"directories",
"(",
")",
";",
"for",
"(",
"resource",
"file",
"resource",
"file",
":",
"roots",
")",
"{",
"string",
"install",
"path",
"=",
"resource",
"file",
"get",
"canonical",
"path",
"(",
")",
"replace",
"(",
"'",
"\\",
"\\",
"'",
",",
"'",
"/",
"'",
")",
";",
"if",
"(",
"file",
"path",
"starts",
"with",
"(",
"install",
"path",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"msg",
"error",
"(",
"ghidra",
"script",
"util",
"class",
",",
"\"",
"failed",
"to",
"find",
"file",
"in",
"system",
"directories",
":",
"\"",
"+",
"file",
"to",
"string",
"(",
")",
",",
"e",
")",
";",
"return",
"true",
";",
"}",
"}"
]
|
[
"returns",
"true",
"if",
"this",
"level",
"represents",
"the",
"source",
"level",
"from",
"which",
"all",
"other",
"levels",
"emanate",
",",
"which",
"is",
"row",
"1"
]
| [
"public",
"boolean",
"is",
"source",
"(",
")",
"{",
"return",
"direction",
"is",
"source",
"(",
")",
";",
"}"
]
|
[
"model",
"tests",
"for",
"type",
"holder",
"default"
]
| [
"public",
"void",
"test",
"type",
"holder",
"default",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"type",
"holder",
"default",
"}"
]
|
[
"inserts",
"an",
"html",
"-",
"formatted",
"string",
"into",
"the",
"given",
"buffer",
"this",
"is",
"meant",
"to",
"be",
"used",
"for",
"inserting",
"the",
"name",
"of",
"each",
"row",
"in",
"the",
"description",
"text"
]
| [
"protected",
"void",
"insert",
"row",
"title",
"(",
"string",
"builder",
"buffer",
",",
"string",
"row",
"name",
")",
"{",
"buffer",
"append",
"(",
"\"",
"<",
"tr",
">",
"\"",
")",
";",
"buffer",
"append",
"(",
"\"",
"<",
"td",
"valign",
"=",
"\\",
"\"",
"top",
"\\",
"\"",
">",
"\"",
")",
";",
"insert",
"h",
"t",
"m",
"l",
"line",
"(",
"buffer",
",",
"row",
"name",
"+",
"\"",
":",
"\"",
",",
"title",
"attr",
"set",
")",
";",
"buffer",
"append",
"(",
"\"",
"<",
"/",
"td",
">",
"\"",
")",
";",
"}"
]
|
[
"compare",
"two",
"collections",
"by",
"their",
"corresponding",
"elements",
"in",
"order",
"if",
"the",
"collections",
"have",
"differing",
"sizes",
",",
"the",
"ordering",
"does",
"not",
"matter",
"the",
"smaller",
"collection",
"precedes",
"the",
"larger",
"otherwise",
",",
"each",
"corresponding",
"pair",
"of",
"elements",
"are",
"compared",
"once",
"an",
"unequal",
"pair",
"is",
"found",
",",
"the",
"collections",
"are",
"ordered",
"by",
"those",
"elements",
"this",
"is",
"analogous",
"to",
"{",
"@",
"link",
"string",
"}",
"comparison"
]
| [
"public",
"static",
"<",
"t",
"extends",
"comparable",
"<",
"t",
">",
">",
"int",
"compare",
"in",
"order",
"(",
"collection",
"<",
"t",
">",
"a",
",",
"collection",
"<",
"t",
">",
"b",
")",
"{",
"int",
"result",
";",
"result",
"=",
"a",
"size",
"(",
")",
"-",
"b",
"size",
"(",
")",
";",
"if",
"(",
"result",
"!",
"=",
"0",
")",
"{",
"return",
"result",
";",
"}",
"iterator",
"<",
"t",
">",
"ita",
"=",
"a",
"iterator",
"(",
")",
";",
"iterator",
"<",
"t",
">",
"itb",
"=",
"b",
"iterator",
"(",
")",
";",
"while",
"(",
"ita",
"has",
"next",
"(",
")",
")",
"{",
"result",
"=",
"ita",
"next",
"(",
")",
"compare",
"to",
"(",
"itb",
"next",
"(",
")",
")",
";",
"if",
"(",
"result",
"!",
"=",
"0",
")",
"{",
"return",
"result",
";",
"}",
"}",
"return",
"0",
";",
"}"
]
|
[
"called",
"to",
"get",
"access",
"to",
"the",
"underlying",
"nio",
"buffers",
"for",
"a",
"{",
"@",
"link",
"byte",
"buf",
"}",
"that",
"will",
"be",
"used",
"for",
"reading"
]
| [
"byte",
"buffer",
"[",
"]",
"readable",
"nio",
"buffers",
"(",
"byte",
"buf",
"buf",
")",
"{",
"return",
"nio",
"buffers",
"(",
"buf",
",",
"single",
"read",
"buffer",
")",
";",
"}"
]
|
[
"test",
"to",
"make",
"sure",
"that",
"the",
"same",
"item",
"stored",
"with",
"two",
"different",
"versions",
"of",
"the",
"cache",
"will",
"be",
"stored",
"with",
"two",
"different",
"file",
"names"
]
| [
"public",
"void",
"test",
"versioning",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"/",
"/",
"define",
"data",
"that",
"will",
"be",
"written",
"to",
"cache",
"cache",
"key",
"key",
"=",
"new",
"simple",
"cache",
"key",
"(",
"\"",
"version",
"test",
"\"",
")",
";",
"byte",
"[",
"]",
"value",
"=",
"new",
"byte",
"[",
"32",
"]",
";",
"value",
"[",
"0",
"]",
"=",
"'",
"v",
"'",
";",
"/",
"/",
"set",
"up",
"cache",
"with",
"version",
"=",
"=",
"1",
"disk",
"storage",
"storage",
"1",
"=",
"create",
"disk",
"storage",
"(",
"testcache",
"current",
"version",
")",
";",
"disk",
"storage",
"cache",
"cache",
"1",
"=",
"create",
"disk",
"cache",
"(",
"storage",
"1",
",",
"false",
")",
";",
"/",
"/",
"write",
"test",
"data",
"to",
"cache",
"1",
"cache",
"1",
"insert",
"(",
"key",
",",
"writer",
"callbacks",
"from",
"(",
"value",
")",
")",
";",
"/",
"/",
"get",
"cached",
"file",
"binary",
"resource",
"resource",
"1",
"=",
"get",
"resource",
"(",
"storage",
"1",
",",
"key",
")",
";",
"assert",
"not",
"null",
"(",
"resource",
"1",
")",
";",
"/",
"/",
"set",
"up",
"cache",
"with",
"version",
"=",
"=",
"2",
"disk",
"storage",
"storage",
"supplier",
"2",
"=",
"create",
"disk",
"storage",
"(",
"testcache",
"next",
"version",
")",
";",
"disk",
"storage",
"cache",
"cache",
"2",
"=",
"create",
"disk",
"cache",
"(",
"storage",
"supplier",
"2",
",",
"false",
")",
";",
"/",
"/",
"write",
"test",
"data",
"to",
"cache",
"2",
"cache",
"2",
"insert",
"(",
"key",
",",
"writer",
"callbacks",
"from",
"(",
"value",
")",
")",
";",
"/",
"/",
"get",
"cached",
"file",
"binary",
"resource",
"resource",
"2",
"=",
"get",
"resource",
"(",
"storage",
"supplier",
"2",
",",
"key",
")",
";",
"assert",
"not",
"null",
"(",
"resource",
"2",
")",
";",
"/",
"/",
"make",
"sure",
"filenames",
"of",
"the",
"two",
"file",
"are",
"different",
"assert",
"false",
"(",
"resource",
"2",
"equals",
"(",
"resource",
"1",
")",
")",
";",
"}"
]
|
[
"creates",
"a",
"snapshot",
"file",
"name"
]
| [
"public",
"static",
"string",
"make",
"snapshot",
"name",
"(",
"long",
"zxid",
")",
"{",
"return",
"file",
"snap",
"snapshot",
"file",
"prefix",
"+",
"\"",
"\"",
"+",
"long",
"to",
"hex",
"string",
"(",
"zxid",
")",
"+",
"snap",
"stream",
"get",
"stream",
"mode",
"(",
")",
"get",
"file",
"extension",
"(",
")",
";",
"}"
]
|
[
"returns",
"the",
"version",
"of",
"the",
"node",
"this",
"connection",
"was",
"established",
"with"
]
| [
"default",
"version",
"get",
"version",
"(",
")",
"{",
"return",
"get",
"node",
"(",
")",
"get",
"version",
"(",
")",
";",
"}"
]
|
[
"given",
"a",
"target",
"directory",
"somepathtoy",
"that",
"contains",
"files",
"z",
",",
"w",
",",
"and",
"v",
",",
"create",
"the",
"following",
"directory",
"structure",
":",
"external",
"-",
"repository",
"x",
"workspace",
"build",
"-",
">",
"&",
"lt",
";",
"build",
"root",
"&",
"gt",
";",
"x",
"build",
"z",
"-",
">",
"somepathtoyz",
"w",
"-",
">",
"somepathtoyw",
"v",
"-",
">",
"somepathtoyv"
]
| [
"public",
"static",
"boolean",
"symlink",
"local",
"repository",
"contents",
"(",
"path",
"repository",
"directory",
",",
"path",
"target",
"directory",
",",
"string",
"user",
"defined",
"path",
")",
"throws",
"repository",
"function",
"exception",
"{",
"try",
"{",
"file",
"system",
"utils",
"create",
"directory",
"and",
"parents",
"(",
"repository",
"directory",
")",
";",
"for",
"(",
"path",
"target",
":",
"target",
"directory",
"get",
"directory",
"entries",
"(",
")",
")",
"{",
"path",
"symlink",
"path",
"=",
"repository",
"directory",
"get",
"relative",
"(",
"target",
"get",
"base",
"name",
"(",
")",
")",
";",
"create",
"symbolic",
"link",
"(",
"symlink",
"path",
",",
"target",
")",
";",
"}",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"repository",
"function",
"exception",
"(",
"new",
"i",
"o",
"exception",
"(",
"string",
"format",
"(",
"\"",
"the",
"repository",
"'",
"s",
"path",
"is",
"\\",
"\"",
"%",
"s",
"\\",
"\"",
"(",
"absolute",
":",
"\\",
"\"",
"%",
"s",
"\\",
"\"",
")",
"\"",
"+",
"\"",
"but",
"a",
"symlink",
"could",
"not",
"be",
"created",
"for",
"it",
",",
"because",
":",
"%",
"s",
"\"",
",",
"user",
"defined",
"path",
",",
"target",
"directory",
",",
"e",
"get",
"message",
"(",
")",
")",
")",
",",
"transience",
"transient",
")",
";",
"}",
"return",
"true",
";",
"}"
]
|
[
"get",
"the",
"length",
"of",
"acked",
"bytes",
"in",
"the",
"block",
"group",
"a",
"full",
"stripe",
"is",
"acked",
"when",
"at",
"least",
"num",
"data",
"blocks",
"streamers",
"have",
"the",
"corresponding",
"cells",
"of",
"the",
"stripe",
",",
"and",
"all",
"previous",
"full",
"stripes",
"are",
"also",
"acked",
"this",
"enforces",
"the",
"constraint",
"that",
"there",
"is",
"at",
"most",
"one",
"partial",
"stripe",
"partial",
"stripes",
"write",
"all",
"parity",
"cells",
"empty",
"data",
"cells",
"are",
"not",
"written",
"parity",
"cells",
"are",
"the",
"length",
"of",
"the",
"longest",
"data",
"cell",
"(",
"s",
")",
"for",
"example",
",",
"with",
"rs",
"(",
"3",
",",
"2",
")",
",",
"if",
"we",
"have",
"data",
"cells",
"with",
"lengths",
"[",
"1mb",
",",
"64kb",
",",
"0",
"]",
",",
"the",
"parity",
"blocks",
"will",
"be",
"length",
"[",
"1mb",
",",
"1mb",
"]",
"to",
"be",
"considered",
"acked",
",",
"a",
"partial",
"stripe",
"needs",
"at",
"least",
"num",
"data",
"blocks",
"empty",
"or",
"written",
"cells",
"currently",
",",
"partial",
"stripes",
"can",
"only",
"happen",
"when",
"closing",
"the",
"file",
"at",
"a",
"non",
"-",
"stripe",
"boundary",
",",
"but",
"this",
"could",
"also",
"happen",
"during",
"(",
"currently",
"unimplemented",
")",
"hflushhsync",
"support"
]
| [
"private",
"long",
"get",
"acked",
"length",
"(",
")",
"{",
"/",
"/",
"determine",
"the",
"number",
"of",
"full",
"stripes",
"that",
"are",
"sufficiently",
"durable",
"final",
"long",
"sent",
"bytes",
"=",
"current",
"block",
"group",
"get",
"num",
"bytes",
"(",
")",
";",
"final",
"long",
"num",
"full",
"stripes",
"=",
"sent",
"bytes",
"/",
"num",
"data",
"blocks",
"/",
"cell",
"size",
";",
"final",
"long",
"full",
"stripe",
"length",
"=",
"num",
"full",
"stripes",
"*",
"num",
"data",
"blocks",
"*",
"cell",
"size",
";",
"assert",
"full",
"stripe",
"length",
"<",
"=",
"sent",
"bytes",
":",
"\"",
"full",
"stripe",
"length",
"can",
"'",
"t",
"be",
"\"",
"+",
"\"",
"greater",
"than",
"the",
"block",
"group",
"length",
"\"",
";",
"long",
"acked",
"length",
"=",
"0",
";",
"/",
"/",
"determine",
"the",
"length",
"contained",
"by",
"at",
"least",
"`",
"num",
"data",
"blocks",
"`",
"blocks",
"/",
"/",
"since",
"it",
"'",
"s",
"sorted",
",",
"all",
"the",
"blocks",
"after",
"`",
"offset",
"`",
"are",
"at",
"least",
"as",
"long",
",",
"/",
"/",
"and",
"there",
"are",
"at",
"least",
"`",
"num",
"data",
"blocks",
"`",
"at",
"or",
"after",
"`",
"offset",
"`",
"list",
"<",
"long",
">",
"block",
"lengths",
"=",
"collections",
"unmodifiable",
"list",
"(",
"get",
"block",
"lengths",
"(",
")",
")",
";",
"list",
"<",
"long",
">",
"sorted",
"block",
"lengths",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"block",
"lengths",
")",
";",
"collections",
"sort",
"(",
"sorted",
"block",
"lengths",
")",
";",
"if",
"(",
"num",
"full",
"stripes",
">",
"0",
")",
"{",
"final",
"int",
"offset",
"=",
"sorted",
"block",
"lengths",
"size",
"(",
")",
"-",
"num",
"data",
"blocks",
";",
"acked",
"length",
"=",
"sorted",
"block",
"lengths",
"get",
"(",
"offset",
")",
"*",
"num",
"data",
"blocks",
";",
"}",
"/",
"/",
"if",
"the",
"acked",
"length",
"is",
"less",
"than",
"the",
"expected",
"full",
"stripe",
"length",
",",
"then",
"/",
"/",
"we",
"'",
"re",
"missing",
"a",
"full",
"stripe",
"return",
"the",
"acked",
"length",
"if",
"(",
"acked",
"length",
"<",
"full",
"stripe",
"length",
")",
"{",
"return",
"acked",
"length",
";",
"}",
"/",
"/",
"if",
"the",
"expected",
"length",
"is",
"exactly",
"a",
"stripe",
"boundary",
",",
"then",
"we",
"'",
"re",
"also",
"done",
"if",
"(",
"acked",
"length",
"=",
"=",
"sent",
"bytes",
")",
"{",
"return",
"acked",
"length",
";",
"}",
"/",
"*",
"otherwise",
",",
"we",
"'",
"re",
"potentially",
"dealing",
"with",
"a",
"partial",
"stripe",
"the",
"partial",
"stripe",
"is",
"laid",
"out",
"as",
"follows",
":",
"0",
"or",
"more",
"full",
"data",
"cells",
",",
"`",
"cell",
"size",
"`",
"in",
"length",
"0",
"or",
"1",
"partial",
"data",
"cells",
"0",
"or",
"more",
"empty",
"data",
"cells",
"`",
"num",
"parity",
"blocks",
"`",
"parity",
"cells",
",",
"the",
"length",
"of",
"the",
"longest",
"data",
"cell",
"if",
"the",
"partial",
"stripe",
"is",
"sufficiently",
"acked",
",",
"we",
"'",
"ll",
"update",
"the",
"acked",
"length",
"*",
"/",
"/",
"/",
"how",
"many",
"full",
"and",
"empty",
"data",
"cells",
"do",
"we",
"expect",
"?",
"final",
"int",
"num",
"full",
"data",
"cells",
"=",
"(",
"int",
")",
"(",
"(",
"sent",
"bytes",
"-",
"full",
"stripe",
"length",
")",
"/",
"cell",
"size",
")",
";",
"final",
"int",
"partial",
"length",
"=",
"(",
"int",
")",
"(",
"sent",
"bytes",
"-",
"full",
"stripe",
"length",
")",
"%",
"cell",
"size",
";",
"final",
"int",
"num",
"partial",
"data",
"cells",
"=",
"partial",
"length",
"=",
"=",
"0",
"?",
"0",
":",
"1",
";",
"final",
"int",
"num",
"empty",
"data",
"cells",
"=",
"num",
"data",
"blocks",
"-",
"num",
"full",
"data",
"cells",
"-",
"num",
"partial",
"data",
"cells",
";",
"/",
"/",
"calculate",
"the",
"expected",
"length",
"of",
"the",
"parity",
"blocks",
"final",
"int",
"parity",
"length",
"=",
"num",
"full",
"data",
"cells",
">",
"0",
"?",
"cell",
"size",
":",
"partial",
"length",
";",
"final",
"long",
"full",
"stripe",
"block",
"offset",
"=",
"full",
"stripe",
"length",
"/",
"num",
"data",
"blocks",
";",
"/",
"/",
"iterate",
"through",
"each",
"type",
"of",
"streamers",
",",
"checking",
"the",
"expected",
"length",
"long",
"[",
"]",
"expected",
"block",
"lengths",
"=",
"new",
"long",
"[",
"num",
"all",
"blocks",
"]",
";",
"int",
"idx",
"=",
"0",
";",
"/",
"/",
"full",
"cells",
"for",
"(",
";",
"idx",
"<",
"num",
"full",
"data",
"cells",
";",
"idx",
"+",
"+",
")",
"{",
"expected",
"block",
"lengths",
"[",
"idx",
"]",
"=",
"full",
"stripe",
"block",
"offset",
"+",
"cell",
"size",
";",
"}",
"/",
"/",
"partial",
"cell",
"for",
"(",
";",
"idx",
"<",
"num",
"full",
"data",
"cells",
"+",
"num",
"partial",
"data",
"cells",
";",
"idx",
"+",
"+",
")",
"{",
"expected",
"block",
"lengths",
"[",
"idx",
"]",
"=",
"full",
"stripe",
"block",
"offset",
"+",
"partial",
"length",
";",
"}",
"/",
"/",
"empty",
"cells",
"for",
"(",
";",
"idx",
"<",
"num",
"full",
"data",
"cells",
"+",
"num",
"partial",
"data",
"cells",
"+",
"num",
"empty",
"data",
"cells",
";",
"idx",
"+",
"+",
")",
"{",
"expected",
"block",
"lengths",
"[",
"idx",
"]",
"=",
"full",
"stripe",
"block",
"offset",
";",
"}",
"/",
"/",
"parity",
"cells",
"for",
"(",
";",
"idx",
"<",
"num",
"all",
"blocks",
";",
"idx",
"+",
"+",
")",
"{",
"expected",
"block",
"lengths",
"[",
"idx",
"]",
"=",
"full",
"stripe",
"block",
"offset",
"+",
"parity",
"length",
";",
"}",
"/",
"/",
"check",
"expected",
"lengths",
"against",
"actual",
"streamer",
"lengths",
"/",
"/",
"update",
"if",
"we",
"have",
"sufficient",
"durability",
"int",
"num",
"blocks",
"with",
"correct",
"length",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"all",
"blocks",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"block",
"lengths",
"get",
"(",
"i",
")",
"=",
"=",
"expected",
"block",
"lengths",
"[",
"i",
"]",
")",
"{",
"num",
"blocks",
"with",
"correct",
"length",
"+",
"+",
";",
"}",
"}",
"if",
"(",
"num",
"blocks",
"with",
"correct",
"length",
">",
"=",
"num",
"data",
"blocks",
")",
"{",
"acked",
"length",
"=",
"sent",
"bytes",
";",
"}",
"return",
"acked",
"length",
";",
"}"
]
|
[
"get",
"at",
"resource",
"manager",
"data",
"source",
"manager",
"java"
]
| [
"protected",
"resource",
"manager",
"get",
"resource",
"manager",
"(",
")",
"{",
"return",
"default",
"resource",
"manager",
"get",
"(",
")",
"get",
"resource",
"manager",
"(",
"branch",
"type",
"at",
")",
";",
"}"
]
|
[
"we",
"could",
"just",
"use",
"member",
"id",
"to",
"be",
"the",
"hashcode",
",",
"since",
"it",
"'",
"s",
"unique",
"across",
"the",
"group"
]
| [
"public",
"int",
"hash",
"code",
"(",
")",
"{",
"return",
"member",
"id",
"hash",
"code",
"(",
")",
";",
"}"
]
|
[
"checks",
"whether",
"the",
"provided",
"field",
"name",
"can",
"be",
"safely",
"added",
"to",
"the",
"provided",
"document",
"when",
"the",
"provided",
"field",
"name",
"holds",
"the",
"path",
"using",
"the",
"dot",
"notation",
",",
"we",
"have",
"to",
"make",
"sure",
"that",
"each",
"node",
"of",
"the",
"tree",
"either",
"doesn",
"'",
"t",
"exist",
"or",
"is",
"a",
"map",
",",
"otherwise",
"new",
"fields",
"cannot",
"be",
"added"
]
| [
"public",
"static",
"boolean",
"can",
"add",
"field",
"(",
"string",
"path",
",",
"ingest",
"document",
"ingest",
"document",
")",
"{",
"string",
"[",
"]",
"path",
"elements",
"=",
"path",
"split",
"(",
"\"",
"\\",
"\\",
"\"",
")",
";",
"map",
"<",
"string",
",",
"object",
">",
"inner",
"map",
"=",
"ingest",
"document",
"get",
"source",
"and",
"metadata",
"(",
")",
";",
"if",
"(",
"path",
"elements",
"length",
">",
"1",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"path",
"elements",
"length",
"-",
"1",
";",
"i",
"+",
"+",
")",
"{",
"object",
"current",
"level",
"=",
"inner",
"map",
"get",
"(",
"path",
"elements",
"[",
"i",
"]",
")",
";",
"if",
"(",
"current",
"level",
"=",
"=",
"null",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"current",
"level",
"instanceof",
"map",
"=",
"=",
"false",
")",
"{",
"return",
"false",
";",
"}",
"@",
"suppress",
"warnings",
"(",
"\"",
"unchecked",
"\"",
")",
"map",
"<",
"string",
",",
"object",
">",
"map",
"=",
"(",
"map",
"<",
"string",
",",
"object",
">",
")",
"current",
"level",
";",
"inner",
"map",
"=",
"map",
";",
"}",
"}",
"string",
"leaf",
"key",
"=",
"path",
"elements",
"[",
"path",
"elements",
"length",
"-",
"1",
"]",
";",
"return",
"inner",
"map",
"contains",
"key",
"(",
"leaf",
"key",
")",
"=",
"=",
"false",
";",
"}"
]
|
[
"parses",
"the",
"given",
"{",
"@",
"link",
"type",
"element",
"}",
"for",
"any",
"declared",
"extends",
"relationship",
"and",
"adds",
"it",
"to",
"the",
"json",
"object"
]
| [
"private",
"void",
"add",
"super",
"class",
"(",
"type",
"element",
"type",
"element",
",",
"json",
"object",
"obj",
")",
"{",
"if",
"(",
"type",
"element",
"get",
"superclass",
"(",
")",
"instanceof",
"declared",
"type",
")",
"{",
"declared",
"type",
"declared",
"type",
"=",
"(",
"declared",
"type",
")",
"type",
"element",
"get",
"superclass",
"(",
")",
";",
"if",
"(",
"declared",
"type",
"as",
"element",
"(",
")",
"instanceof",
"type",
"element",
")",
"{",
"type",
"element",
"type",
"el",
"=",
"(",
"type",
"element",
")",
"declared",
"type",
"as",
"element",
"(",
")",
";",
"obj",
"add",
"property",
"(",
"\"",
"extends",
"\"",
",",
"type",
"el",
"get",
"qualified",
"name",
"(",
")",
"to",
"string",
"(",
")",
")",
";",
"}",
"}",
"}"
]
|
[
"returns",
"whether",
"the",
"point",
"is",
"in",
"the",
"frustum"
]
| [
"public",
"boolean",
"point",
"in",
"frustum",
"(",
"float",
"x",
",",
"float",
"y",
",",
"float",
"z",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"planes",
"length",
";",
"i",
"+",
"+",
")",
"{",
"plane",
"side",
"result",
"=",
"planes",
"[",
"i",
"]",
"test",
"point",
"(",
"x",
",",
"y",
",",
"z",
")",
";",
"if",
"(",
"result",
"=",
"=",
"plane",
"side",
"back",
")",
"return",
"false",
";",
"}",
"return",
"true",
";",
"}"
]
|
[
"compute",
"arrays",
"of",
"valid",
"unicode",
"text",
",",
"and",
"store",
"it",
"in",
"3",
"forms",
":",
"byte",
"arrays",
",",
"strings",
",",
"and",
"string",
"builders",
"(",
"in",
"a",
"char",
"sequence",
"[",
"]",
"to",
"make",
"it",
"a",
"little",
"harder",
"for",
"the",
"jvm",
")"
]
| [
"void",
"set",
"up",
"(",
")",
"{",
"final",
"long",
"seed",
"=",
"99",
";",
"final",
"random",
"rnd",
"=",
"new",
"random",
"(",
"seed",
")",
";",
"strings",
"=",
"new",
"string",
"[",
"samples",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"samples",
";",
"i",
"+",
"+",
")",
"{",
"string",
"builder",
"sb",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"char",
"count",
";",
"j",
"+",
"+",
")",
"{",
"int",
"code",
"point",
";",
"/",
"/",
"discard",
"illegal",
"surrogate",
"\"",
"codepoints",
"\"",
"do",
"{",
"code",
"point",
"=",
"rnd",
"next",
"int",
"(",
"max",
"code",
"point",
"value",
")",
";",
"}",
"while",
"(",
"character",
"is",
"surrogate",
"(",
"(",
"char",
")",
"code",
"point",
")",
")",
";",
"sb",
"append",
"code",
"point",
"(",
"code",
"point",
")",
";",
"}",
"strings",
"[",
"i",
"]",
"=",
"sb",
"to",
"string",
"(",
")",
";",
"}",
"}"
]
|
[
"returns",
"the",
"length",
"range"
]
| [
"public",
"int",
"get",
"length",
"range",
"(",
")",
"{",
"return",
"length",
"range",
";",
"}"
]
|
[
"template",
"method",
"to",
"create",
"an",
"advised",
"object",
"given",
"the",
"target",
"object",
"and",
"transaction",
"setup",
"creates",
"a",
"transaction",
"interceptor",
"and",
"applies",
"it"
]
| [
"protected",
"object",
"advised",
"(",
"object",
"target",
",",
"platform",
"transaction",
"manager",
"ptm",
",",
"transaction",
"attribute",
"source",
"tas",
")",
"{",
"transaction",
"interceptor",
"ti",
"=",
"new",
"transaction",
"interceptor",
"(",
")",
";",
"ti",
"set",
"transaction",
"manager",
"(",
"ptm",
")",
";",
"assert",
"that",
"(",
"ti",
"get",
"transaction",
"manager",
"(",
")",
")",
"is",
"equal",
"to",
"(",
"ptm",
")",
";",
"ti",
"set",
"transaction",
"attribute",
"source",
"(",
"tas",
")",
";",
"assert",
"that",
"(",
"ti",
"get",
"transaction",
"attribute",
"source",
"(",
")",
")",
"is",
"equal",
"to",
"(",
"tas",
")",
";",
"proxy",
"factory",
"pf",
"=",
"new",
"proxy",
"factory",
"(",
"target",
")",
";",
"pf",
"add",
"advice",
"(",
"0",
",",
"ti",
")",
";",
"return",
"pf",
"get",
"proxy",
"(",
")",
";",
"}"
]
|
[
"convert",
"the",
"given",
"object",
"to",
"string",
"with",
"each",
"line",
"indented",
"by",
"4",
"spaces",
"(",
"except",
"the",
"first",
"line",
")"
]
| [
"private",
"string",
"to",
"indented",
"string",
"(",
"object",
"o",
")",
"{",
"if",
"(",
"o",
"=",
"=",
"null",
")",
"{",
"return",
"\"",
"null",
"\"",
";",
"}",
"return",
"o",
"to",
"string",
"(",
")",
"replace",
"(",
"\"",
"\\",
"n",
"\"",
",",
"\"",
"\\",
"n",
"\"",
")",
";",
"}"
]
|
[
"a",
"test",
"{",
"@",
"link",
"rest",
"controller",
"}",
"this",
"controller",
"can",
"be",
"used",
"to",
"register",
"and",
"delegate",
"to",
"handlers",
",",
"but",
"uses",
"a",
"mock",
"client",
"and",
"cannot",
"carry",
"out",
"the",
"full",
"request"
]
| [
"protected",
"rest",
"controller",
"controller",
"(",
")",
"{",
"return",
"controller",
";",
"}"
]
|
[
"for",
"this",
"test",
",",
"the",
"body",
"for",
"this",
"request",
"much",
"reference",
"a",
"schema",
"named",
"&",
"#",
"x",
"6",
"0",
";",
"file",
"&",
"#",
"x",
"6",
"0",
";"
]
| [
"public",
"void",
"test",
"body",
"with",
"file",
"schema",
"test",
"(",
")",
"throws",
"api",
"exception",
"{",
"file",
"schema",
"test",
"class",
"body",
"=",
"null",
";",
"api",
"test",
"body",
"with",
"file",
"schema",
"(",
"body",
")",
";",
"/",
"/",
"todo",
":",
"test",
"validations",
"}"
]
|
[
"\\",
"sum",
"i",
"|",
"x",
"i",
"|"
]
| [
"public",
"static",
"double",
"asum",
"(",
"int",
"n",
",",
"double",
"[",
"]",
"x",
",",
"int",
"offset",
")",
"{",
"return",
"f2j",
"blas",
"dasum",
"(",
"n",
",",
"x",
",",
"offset",
",",
"1",
")",
";",
"}"
]
|
[
"starts",
"iterating",
"over",
"the",
"list",
"'",
"s",
"items",
"from",
"the",
"head",
"of",
"the",
"list"
]
| [
"public",
"void",
"iter",
"(",
")",
"{",
"iter",
"=",
"head",
";",
"}"
]
|
[
"called",
"on",
"the",
"main",
"thread",
"when",
"the",
"test",
"is",
"started",
"the",
"test",
"will",
"not",
"be",
"started",
"until",
"the",
"{",
"@",
"link",
"host",
"activity",
"}",
"has",
"been",
"resumed",
"and",
"its",
"{",
"@",
"link",
"surface",
"}",
"has",
"been",
"created"
]
| [
"void",
"on",
"start",
"(",
"host",
"activity",
"host",
",",
"surface",
"surface",
",",
"frame",
"layout",
"overlay",
"frame",
"layout",
")",
";"
]
|
[
"reset",
"the",
"friction",
"mixture",
"to",
"the",
"default",
"value"
]
| [
"public",
"void",
"reset",
"friction",
"(",
")",
"{",
"contact",
"reset",
"friction",
"(",
")",
";",
"}"
]
|
[
"appends",
"a",
"single",
"character",
"to",
"this",
"writer"
]
| [
"public",
"writer",
"append",
"(",
"final",
"char",
"value",
")",
"{",
"builder",
"append",
"(",
"value",
")",
";",
"return",
"this",
";",
"}"
]
|
[
"indicates",
"whether",
"this",
"domain",
"name",
"ends",
"in",
"a",
"{",
"@",
"linkplain",
"#",
"is",
"public",
"suffix",
"(",
")",
"public",
"suffix",
"}",
",",
"including",
"if",
"it",
"is",
"a",
"public",
"suffix",
"itself",
"for",
"example",
",",
"returns",
"{",
"@",
"code",
"true",
"}",
"for",
"{",
"@",
"code",
"www",
"google",
"com",
"}",
",",
"{",
"@",
"code",
"foo",
"co",
"uk",
"}",
"and",
"{",
"@",
"code",
"com",
"}",
",",
"but",
"not",
"for",
"{",
"@",
"code",
"invalid",
"}",
"or",
"{",
"@",
"code",
"google",
"invalid",
"}",
"this",
"is",
"the",
"recommended",
"method",
"for",
"determining",
"whether",
"a",
"domain",
"is",
"potentially",
"an",
"addressable",
"host",
"note",
"that",
"this",
"method",
"is",
"equivalent",
"to",
"{",
"@",
"link",
"#",
"has",
"registry",
"suffix",
"(",
")",
"}",
"because",
"all",
"registry",
"suffixes",
"are",
"public",
"suffixes",
"and",
"all",
"public",
"suffixes",
"have",
"registry",
"suffixes"
]
| [
"public",
"boolean",
"has",
"public",
"suffix",
"(",
")",
"{",
"return",
"public",
"suffix",
"index",
"!",
"=",
"no",
"suffix",
"found",
";",
"}"
]
|
[
"creates",
"an",
"auxiliary",
"service",
"from",
"a",
"specification",
"using",
"a",
"custom",
"local",
"classpath"
]
| [
"private",
"auxiliary",
"service",
"create",
"aux",
"service",
"from",
"local",
"classpath",
"(",
"aux",
"service",
"record",
"service",
",",
"string",
"app",
"local",
"class",
"path",
",",
"configuration",
"conf",
")",
"throws",
"i",
"o",
"exception",
",",
"class",
"not",
"found",
"exception",
"{",
"preconditions",
"check",
"argument",
"(",
"app",
"local",
"class",
"path",
"!",
"=",
"null",
"&",
"&",
"!",
"app",
"local",
"class",
"path",
"is",
"empty",
"(",
")",
",",
"\"",
"local",
"classpath",
"was",
"null",
"in",
"create",
"aux",
"service",
"from",
"local",
"classpath",
"\"",
")",
";",
"final",
"string",
"s",
"name",
"=",
"service",
"get",
"name",
"(",
")",
";",
"final",
"string",
"class",
"name",
"=",
"get",
"class",
"name",
"(",
"service",
")",
";",
"if",
"(",
"service",
"get",
"configuration",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"service",
"get",
"configuration",
"(",
")",
"get",
"files",
"(",
")",
"size",
"(",
")",
">",
"0",
")",
"{",
"throw",
"new",
"yarn",
"runtime",
"exception",
"(",
"\"",
"the",
"aux",
"service",
":",
"\"",
"+",
"s",
"name",
"+",
"\"",
"has",
"configured",
"local",
"classpath",
":",
"\"",
"+",
"app",
"local",
"class",
"path",
"+",
"\"",
"and",
"config",
"files",
":",
"\"",
"+",
"service",
"get",
"configuration",
"(",
")",
"get",
"files",
"(",
")",
"+",
"\"",
"only",
"one",
"of",
"them",
"should",
"be",
"configured",
"\"",
")",
";",
"}",
"return",
"auxiliary",
"service",
"with",
"custom",
"class",
"loader",
"get",
"instance",
"(",
"conf",
",",
"class",
"name",
",",
"app",
"local",
"class",
"path",
",",
"get",
"system",
"classes",
"(",
"service",
",",
"class",
"name",
")",
")",
";",
"}"
]
|
[
"overridden",
"to",
"accept",
"a",
"failure",
"in",
"the",
"initial",
"setup",
"-",
"leaving",
"it",
"up",
"to",
"the",
"asynchronous",
"invokers",
"to",
"establish",
"the",
"shared",
"connection",
"on",
"first",
"access"
]
| [
"protected",
"void",
"establish",
"shared",
"connection",
"(",
")",
"{",
"try",
"{",
"super",
"establish",
"shared",
"connection",
"(",
")",
";",
"}",
"catch",
"(",
"exception",
"ex",
")",
"{",
"if",
"(",
"ex",
"instanceof",
"j",
"m",
"s",
"exception",
")",
"{",
"invoke",
"exception",
"listener",
"(",
"(",
"j",
"m",
"s",
"exception",
")",
"ex",
")",
";",
"}",
"logger",
"debug",
"(",
"\"",
"could",
"not",
"establish",
"shared",
"jms",
"connection",
"-",
"\"",
"+",
"\"",
"leaving",
"it",
"up",
"to",
"asynchronous",
"invokers",
"to",
"establish",
"a",
"connection",
"as",
"soon",
"as",
"possible",
"\"",
",",
"ex",
")",
";",
"}",
"}"
]
|
[
"set",
"an",
"{",
"@",
"link",
"async",
"listenable",
"task",
"executor",
"}",
"to",
"use",
"when",
"opening",
"connections",
"if",
"this",
"property",
"is",
"set",
"to",
"{",
"@",
"code",
"null",
"}",
",",
"calls",
"to",
"any",
"of",
"the",
"{",
"@",
"code",
"do",
"handshake",
"}",
"methods",
"will",
"block",
"until",
"the",
"connection",
"is",
"established",
"by",
"default",
",",
"an",
"instance",
"of",
"{",
"@",
"code",
"simple",
"async",
"task",
"executor",
"}",
"is",
"used"
]
| [
"public",
"void",
"set",
"task",
"executor",
"(",
"@",
"nullable",
"async",
"listenable",
"task",
"executor",
"task",
"executor",
")",
"{",
"this",
"task",
"executor",
"=",
"task",
"executor",
";",
"}"
]
|
[
"all",
"state",
"from",
"all",
"subscribed",
"state",
"spouts",
"streams",
"will",
"be",
"synced",
"with",
"the",
"provided",
"object",
"it",
"is",
"recommended",
"that",
"your",
"i",
"subscribed",
"state",
"object",
"is",
"kept",
"as",
"an",
"instance",
"variable",
"of",
"this",
"object",
"the",
"recommended",
"usage",
"of",
"this",
"method",
"is",
"as",
"follows",
":",
"my",
"state",
"=",
"context",
"set",
"all",
"subscribed",
"state",
"(",
"new",
"my",
"state",
"(",
")",
")",
";"
]
| [
"public",
"<",
"t",
"extends",
"i",
"subscribed",
"state",
">",
"t",
"set",
"all",
"subscribed",
"state",
"(",
"t",
"obj",
")",
"{",
"/",
"/",
"check",
"that",
"only",
"subscribed",
"to",
"one",
"component",
"/",
"stream",
"for",
"statespout",
"/",
"/",
"setsubscribedstate",
"appropriately",
"throw",
"new",
"not",
"implemented",
"exception",
"(",
")",
";",
"}"
]
|
[
"returns",
"the",
"attribute",
"value",
"with",
"the",
"specified",
"name",
",",
"or",
"if",
"no",
"attribute",
"is",
"found",
",",
"the",
"text",
"of",
"a",
"child",
"with",
"the",
"name"
]
| [
"public",
"boolean",
"get",
"boolean",
"(",
"string",
"name",
",",
"boolean",
"default",
"value",
")",
"{",
"string",
"value",
"=",
"get",
"(",
"name",
",",
"null",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"return",
"default",
"value",
";",
"return",
"boolean",
"parse",
"boolean",
"(",
"value",
")",
";",
"}"
]
|
[
"convert",
"a",
"byte",
"array",
"into",
"an",
"inet",
"address",
"{",
"@",
"link",
"inet",
"address",
"#",
"get",
"by",
"address",
"}",
"is",
"documented",
"as",
"throwing",
"a",
"checked",
"exception",
"\"",
"if",
"ip",
"address",
"is",
"of",
"illegal",
"length",
"\"",
"we",
"replace",
"it",
"with",
"an",
"unchecked",
"exception",
",",
"for",
"use",
"by",
"callers",
"who",
"already",
"know",
"that",
"addr",
"is",
"an",
"array",
"of",
"length",
"4",
"or",
"16"
]
| [
"private",
"static",
"inet",
"address",
"bytes",
"to",
"inet",
"address",
"(",
"byte",
"[",
"]",
"addr",
")",
"{",
"try",
"{",
"return",
"inet",
"address",
"get",
"by",
"address",
"(",
"addr",
")",
";",
"}",
"catch",
"(",
"unknown",
"host",
"exception",
"e",
")",
"{",
"throw",
"new",
"assertion",
"error",
"(",
"e",
")",
";",
"}",
"}"
]
|
[
"test",
"when",
"a",
"block",
"'",
"s",
"replica",
"is",
"removed",
"from",
"rbw",
"folder",
"in",
"one",
"of",
"the",
"datanode",
",",
"namenode",
"should",
"ask",
"to",
"invalidate",
"that",
"corrupted",
"block",
"and",
"schedule",
"replication",
"for",
"one",
"more",
"replica",
"for",
"that",
"under",
"replicated",
"block"
]
| [
"public",
"void",
"test",
"block",
"invalidation",
"when",
"r",
"b",
"w",
"replica",
"missed",
"in",
"d",
"n",
"(",
")",
"throws",
"i",
"o",
"exception",
",",
"interrupted",
"exception",
"{",
"/",
"/",
"this",
"test",
"cannot",
"pass",
"on",
"windows",
"due",
"to",
"file",
"locking",
"enforcement",
"it",
"will",
"/",
"/",
"reject",
"the",
"attempt",
"to",
"delete",
"the",
"block",
"file",
"from",
"the",
"rbw",
"folder",
"assume",
"not",
"windows",
"(",
")",
";",
"configuration",
"conf",
"=",
"new",
"hdfs",
"configuration",
"(",
")",
";",
"conf",
"set",
"int",
"(",
"d",
"f",
"s",
"config",
"keys",
"dfs",
"replication",
"key",
",",
"2",
")",
";",
"conf",
"set",
"long",
"(",
"d",
"f",
"s",
"config",
"keys",
"dfs",
"blockreport",
"interval",
"msec",
"key",
",",
"300",
")",
";",
"conf",
"set",
"long",
"(",
"d",
"f",
"s",
"config",
"keys",
"dfs",
"datanode",
"directoryscan",
"interval",
"key",
",",
"1",
")",
";",
"conf",
"set",
"long",
"(",
"d",
"f",
"s",
"config",
"keys",
"dfs",
"heartbeat",
"interval",
"key",
",",
"1",
")",
";",
"mini",
"d",
"f",
"s",
"cluster",
"cluster",
"=",
"new",
"mini",
"d",
"f",
"s",
"cluster",
"builder",
"(",
"conf",
")",
"num",
"data",
"nodes",
"(",
"2",
")",
"build",
"(",
")",
";",
"f",
"s",
"data",
"output",
"stream",
"out",
"=",
"null",
";",
"try",
"{",
"final",
"f",
"s",
"namesystem",
"namesystem",
"=",
"cluster",
"get",
"namesystem",
"(",
")",
";",
"file",
"system",
"fs",
"=",
"cluster",
"get",
"file",
"system",
"(",
")",
";",
"path",
"test",
"path",
"=",
"new",
"path",
"(",
"\"",
"/",
"tmp",
"/",
"test",
"r",
"b",
"w",
"block",
"invalidation",
"\"",
",",
"\"",
"foo",
"1",
"\"",
")",
";",
"out",
"=",
"fs",
"create",
"(",
"test",
"path",
",",
"(",
"short",
")",
"2",
")",
";",
"out",
"write",
"bytes",
"(",
"\"",
"hdfs",
"-",
"3157",
":",
"\"",
"+",
"test",
"path",
")",
";",
"out",
"hsync",
"(",
")",
";",
"cluster",
"start",
"data",
"nodes",
"(",
"conf",
",",
"1",
",",
"true",
",",
"null",
",",
"null",
",",
"null",
")",
";",
"extended",
"block",
"blk",
"=",
"d",
"f",
"s",
"test",
"util",
"get",
"first",
"block",
"(",
"fs",
",",
"test",
"path",
")",
";",
"/",
"/",
"delete",
"partial",
"block",
"and",
"its",
"meta",
"information",
"from",
"the",
"rbw",
"folder",
"/",
"/",
"of",
"first",
"datanode",
"materialized",
"replica",
"replica",
"=",
"cluster",
"get",
"materialized",
"replica",
"(",
"0",
",",
"blk",
")",
";",
"replica",
"delete",
"data",
"(",
")",
";",
"replica",
"delete",
"meta",
"(",
")",
";",
"out",
"close",
"(",
")",
";",
"int",
"live",
"replicas",
"=",
"0",
";",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"(",
"live",
"replicas",
"=",
"count",
"replicas",
"(",
"namesystem",
",",
"blk",
")",
"live",
"replicas",
"(",
")",
")",
"<",
"2",
")",
"{",
"/",
"/",
"this",
"confirms",
"we",
"have",
"a",
"corrupt",
"replica",
"log",
"info",
"(",
"\"",
"live",
"replicas",
"after",
"corruption",
":",
"\"",
"+",
"live",
"replicas",
")",
";",
"break",
";",
"}",
"thread",
"sleep",
"(",
"100",
")",
";",
"}",
"assert",
"equals",
"(",
"\"",
"there",
"should",
"be",
"less",
"than",
"2",
"replicas",
"in",
"the",
"\"",
"+",
"\"",
"live",
"replicas",
"map",
"\"",
",",
"1",
",",
"live",
"replicas",
")",
";",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"(",
"live",
"replicas",
"=",
"count",
"replicas",
"(",
"namesystem",
",",
"blk",
")",
"live",
"replicas",
"(",
")",
")",
">",
"1",
")",
"{",
"/",
"/",
"wait",
"till",
"the",
"live",
"replica",
"count",
"becomes",
"equal",
"to",
"replication",
"factor",
"log",
"info",
"(",
"\"",
"live",
"replicas",
"after",
"rereplication",
":",
"\"",
"+",
"live",
"replicas",
")",
";",
"break",
";",
"}",
"thread",
"sleep",
"(",
"100",
")",
";",
"}",
"assert",
"equals",
"(",
"\"",
"there",
"should",
"be",
"two",
"live",
"replicas",
"\"",
",",
"2",
",",
"live",
"replicas",
")",
";",
"while",
"(",
"true",
")",
"{",
"thread",
"sleep",
"(",
"100",
")",
";",
"if",
"(",
"count",
"replicas",
"(",
"namesystem",
",",
"blk",
")",
"corrupt",
"replicas",
"(",
")",
"=",
"=",
"0",
")",
"{",
"log",
"info",
"(",
"\"",
"corrupt",
"replicas",
"becomes",
"0",
"\"",
")",
";",
"break",
";",
"}",
"}",
"}",
"finally",
"{",
"if",
"(",
"out",
"!",
"=",
"null",
")",
"{",
"out",
"close",
"(",
")",
";",
"}",
"cluster",
"shutdown",
"(",
")",
";",
"}",
"}"
]
|
[
"test",
"the",
"property",
"'",
"property",
"'"
]
| [
"public",
"void",
"property",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"property",
"}"
]
|
[
"test",
"data",
"node",
"stops",
"when",
"the",
"number",
"of",
"failed",
"volumes",
"exceeds",
"dfs",
"datanode",
"failed",
"volumes",
"tolerated"
]
| [
"public",
"void",
"test",
"data",
"node",
"shutdown",
"after",
"num",
"failed",
"volume",
"exceeds",
"tolerated",
"(",
")",
"throws",
"exception",
"{",
"/",
"/",
"the",
"test",
"uses",
"data",
"node",
"test",
"utils",
"#",
"inject",
"data",
"dir",
"failure",
"(",
")",
"to",
"simulate",
"/",
"/",
"volume",
"failures",
"which",
"is",
"currently",
"not",
"supported",
"on",
"windows",
"assume",
"not",
"windows",
"(",
")",
";",
"/",
"/",
"make",
"both",
"data",
"directories",
"to",
"fail",
"on",
"dn",
"0",
"final",
"file",
"dn",
"0",
"vol",
"1",
"=",
"cluster",
"get",
"instance",
"storage",
"dir",
"(",
"0",
",",
"0",
")",
";",
"final",
"file",
"dn",
"0",
"vol",
"2",
"=",
"cluster",
"get",
"instance",
"storage",
"dir",
"(",
"0",
",",
"1",
")",
";",
"data",
"node",
"test",
"utils",
"inject",
"data",
"dir",
"failure",
"(",
"dn",
"0",
"vol",
"1",
",",
"dn",
"0",
"vol",
"2",
")",
";",
"data",
"node",
"dn",
"0",
"=",
"cluster",
"get",
"data",
"nodes",
"(",
")",
"get",
"(",
"0",
")",
";",
"data",
"node",
"test",
"utils",
"wait",
"for",
"disk",
"error",
"(",
"dn",
"0",
",",
"data",
"node",
"test",
"utils",
"get",
"volume",
"(",
"dn",
"0",
",",
"dn",
"0",
"vol",
"1",
")",
")",
";",
"data",
"node",
"test",
"utils",
"wait",
"for",
"disk",
"error",
"(",
"dn",
"0",
",",
"data",
"node",
"test",
"utils",
"get",
"volume",
"(",
"dn",
"0",
",",
"dn",
"0",
"vol",
"2",
")",
")",
";",
"/",
"/",
"dn0",
"should",
"stop",
"after",
"the",
"number",
"of",
"failure",
"disks",
"exceed",
"tolerated",
"/",
"/",
"value",
"(",
"1",
")",
"dn",
"0",
"check",
"disk",
"error",
"(",
")",
";",
"assert",
"false",
"(",
"dn",
"0",
"should",
"run",
"(",
")",
")",
";",
"}"
]
|
[
"helper",
"method",
"to",
"set",
"api",
"base",
"path"
]
| [
"public",
"api",
"client",
"set",
"base",
"path",
"(",
"string",
"base",
"path",
")",
"{",
"this",
"base",
"path",
"=",
"base",
"path",
";",
"return",
"this",
";",
"}"
]
|
[
"returns",
"the",
"non",
"-",
"system",
"module",
"maps",
"in",
"{",
"@",
"code",
"input",
"}"
]
| [
"private",
"static",
"iterable",
"<",
"artifact",
">",
"get",
"non",
"system",
"module",
"maps",
"(",
"nested",
"set",
"<",
"artifact",
">",
"input",
")",
"{",
"return",
"iterables",
"filter",
"(",
"input",
"to",
"list",
"(",
")",
",",
"(",
"a",
")",
"-",
">",
"{",
"path",
"fragment",
"path",
"=",
"a",
"get",
"exec",
"path",
"(",
")",
";",
"return",
"cpp",
"file",
"types",
"cpp",
"module",
"map",
"matches",
"(",
"path",
")",
"&",
"&",
"!",
"path",
"ends",
"with",
"(",
"stl",
"cppmap",
")",
"&",
"&",
"!",
"path",
"ends",
"with",
"(",
"crosstool",
"cppmap",
")",
";",
"}",
")",
";",
"}"
]
|
[
"get",
"the",
"maximum",
"edit",
"distance",
"setting"
]
| [
"public",
"int",
"max",
"edits",
"(",
")",
"{",
"return",
"max",
"edits",
";",
"}"
]
|
[
"{",
"@",
"inherit",
"doc",
"}"
]
| [
"protected",
"int",
"compare",
"to",
"0",
"(",
"constant",
"other",
")",
"{",
"string",
"this",
"descriptor",
"=",
"type",
"get",
"descriptor",
"(",
")",
";",
"string",
"other",
"descriptor",
"=",
"(",
"(",
"cst",
"type",
")",
"other",
")",
"type",
"get",
"descriptor",
"(",
")",
";",
"return",
"this",
"descriptor",
"compare",
"to",
"(",
"other",
"descriptor",
")",
";",
"}"
]
|
[
"get",
"the",
"value",
"of",
"the",
"'",
"{",
"@",
"code",
"size",
"}",
"'",
"attribute"
]
| [
"protected",
"string",
"get",
"size",
"(",
")",
"{",
"return",
"this",
"size",
";",
"}"
]
|
[
"set",
"a",
"custom",
"request",
"interceptor",
"a",
"request",
"interceptor",
"is",
"a",
"mechanism",
"for",
"altering",
"each",
"request",
"before",
"it",
"is",
"sent",
"after",
"the",
"request",
"has",
"been",
"fully",
"configured",
"but",
"not",
"yet",
"built",
",",
"the",
"request",
"builder",
"is",
"passed",
"into",
"this",
"function",
"for",
"further",
"modification",
",",
"after",
"which",
"it",
"is",
"sent",
"out",
"this",
"is",
"useful",
"for",
"altering",
"the",
"requests",
"in",
"a",
"custom",
"manner",
",",
"such",
"as",
"adding",
"headers",
"it",
"could",
"also",
"be",
"used",
"for",
"logging",
"and",
"monitoring"
]
| [
"public",
"api",
"client",
"set",
"request",
"interceptor",
"(",
"consumer",
"<",
"http",
"request",
"builder",
">",
"interceptor",
")",
"{",
"this",
"interceptor",
"=",
"interceptor",
";",
"return",
"this",
";",
"}"
]
|
[
"collects",
"methods",
"of",
"the",
"given",
"name"
]
| [
"public",
"static",
"list",
"<",
"method",
">",
"collect",
"methods",
"(",
"class",
"<",
"?",
">",
"function",
",",
"string",
"method",
"name",
")",
"{",
"return",
"arrays",
"stream",
"(",
"function",
"get",
"methods",
"(",
")",
")",
"filter",
"(",
"method",
"-",
">",
"method",
"get",
"name",
"(",
")",
"equals",
"(",
"method",
"name",
")",
")",
"sorted",
"(",
"comparator",
"comparing",
"(",
"method",
":",
":",
"to",
"string",
")",
")",
"/",
"/",
"for",
"deterministic",
"order",
"collect",
"(",
"collectors",
"to",
"list",
"(",
")",
")",
";",
"}"
]
|
[
"get",
"leaf",
"index",
"leaf",
"of",
"this",
"subtree",
"if",
"it",
"is",
"not",
"in",
"the",
"excluded",
"node"
]
| [
"node",
"get",
"leaf",
"(",
"int",
"leaf",
"index",
",",
"node",
"excluded",
"node",
")",
";"
]
|
[
"create",
"an",
"f",
"s",
"data",
"output",
"stream",
"at",
"the",
"specified",
"path"
]
| [
"public",
"b",
"create",
"(",
")",
"{",
"flags",
"add",
"(",
"create",
"flag",
"create",
")",
";",
"return",
"get",
"this",
"builder",
"(",
")",
";",
"}"
]
|
[
"associates",
"{",
"@",
"code",
"key",
"}",
"with",
"{",
"@",
"code",
"value",
"}",
"in",
"the",
"built",
"bimap",
"duplicate",
"keys",
"or",
"values",
"are",
"not",
"allowed",
",",
"and",
"will",
"cause",
"{",
"@",
"link",
"#",
"build",
"}",
"to",
"fail"
]
| [
"public",
"builder",
"<",
"k",
",",
"v",
">",
"put",
"(",
"k",
"key",
",",
"v",
"value",
")",
"{",
"super",
"put",
"(",
"key",
",",
"value",
")",
";",
"return",
"this",
";",
"}"
]
|
[
"creates",
"the",
"hashed",
"function",
"address",
"correlation",
"that",
"is",
"used",
"by",
"this",
"class",
"if",
"it",
"doesn",
"'",
"t",
"yet",
"exist"
]
| [
"private",
"void",
"initialize",
"correlation",
"(",
"task",
"monitor",
"monitor",
")",
"throws",
"cancelled",
"exception",
",",
"memory",
"access",
"exception",
"{",
"if",
"(",
"address",
"correlation",
"!",
"=",
"null",
")",
"{",
"return",
";",
"}",
"address",
"correlation",
"=",
"new",
"hashed",
"function",
"address",
"correlation",
"(",
"source",
"function",
",",
"destination",
"function",
",",
"monitor",
")",
";",
"}"
]
|
[
"deserializes",
"an",
"{",
"@",
"link",
"abstract",
"ms",
"type",
"}",
"from",
"the",
"{",
"@",
"link",
"pdb",
"byte",
"reader",
"}",
"and",
"returns",
"it"
]
| [
"private",
"id",
"ms",
"parsable",
"parse",
"(",
"pdb",
"byte",
"reader",
"reader",
",",
"int",
"data",
"type",
"id",
")",
"throws",
"pdb",
"exception",
",",
"cancelled",
"exception",
"{",
"pdb",
"get",
"pdb",
"reader",
"metrics",
"(",
")",
"witness",
"data",
"type",
"id",
"(",
"data",
"type",
"id",
")",
";",
"abstract",
"ms",
"type",
"type",
"=",
"null",
";",
"switch",
"(",
"data",
"type",
"id",
")",
"{",
"/",
"/",
"0x",
"0",
"0",
"0",
"0",
"block",
"case",
"modifier",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"modifier",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"pointer",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"pointer",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"array",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"array",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"class",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"class",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"structure",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"structure",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"union",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"union",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"enum",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"enum",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"procedure",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"procedure",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"function",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"function",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"vt",
"shape",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"vt",
"shape",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"cobol",
"0",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"cobol",
"0",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"cobol",
"1",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"cobol",
"1",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"basic",
"array",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"basic",
"array",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"label",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"label",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"null",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"null",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"not",
"tran",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"not",
"tran",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"path",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"path",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"precompiled",
"type",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"precompiled",
"type",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"end",
"precompiled",
"type",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"end",
"precompiled",
"type",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"oem",
"definable",
"string",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"oem",
"definable",
"string",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"type",
"server",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"type",
"server",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"0",
"2",
"0",
"0",
"block",
"case",
"skip",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"skip",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"arguments",
"list",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"arguments",
"list",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"default",
"arguments",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"default",
"arguments",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"field",
"list",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"field",
"list",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"derived",
"class",
"list",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"derived",
"class",
"list",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"bitfield",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"bitfield",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"method",
"list",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"method",
"list",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"const",
"bounds",
"upper",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"const",
"bounds",
"upper",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"const",
"bounds",
"lower",
"upper",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"const",
"bounds",
"lower",
"upper",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"var",
"bounds",
"upper",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"var",
"bounds",
"upper",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"var",
"bounds",
"lower",
"upper",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"var",
"bounds",
"lower",
"upper",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"referenced",
"symbol",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"referenced",
"symbol",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"4",
"0",
"0",
"block",
"case",
"base",
"class",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"base",
"class",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"base",
"class",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"base",
"class",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"indirect",
"virtual",
"base",
"class",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"indirect",
"virtual",
"base",
"class",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"enumerate",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"enumerate",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"friend",
"function",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"friend",
"function",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"index",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"index",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"static",
"member",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"static",
"member",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"overloaded",
"method",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"overloaded",
"method",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"nested",
"type",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"nested",
"type",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"pointer",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"pointer",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"friend",
"class",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"friend",
"class",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"one",
"method",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"one",
"method",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"pointer",
"with",
"offset",
"1",
"6",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"pointer",
"with",
"offset",
"1",
"6",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"1",
"0",
"0",
"0",
"block",
"case",
"modifier",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"modifier",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"pointer",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"pointer",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"array",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"array",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"class",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"class",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"structure",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"structure",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"union",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"union",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"enum",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"enum",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"procedure",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"procedure",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"function",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"function",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"cobol",
"0",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"cobol",
"0",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"basic",
"array",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"basic",
"array",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"path",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"path",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"precompiled",
"type",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"precompiled",
"type",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"oem",
"definable",
"string",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"oem",
"definable",
"string",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"alias",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"alias",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"oem",
"definable",
"string",
"2",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"oem",
"definable",
"string",
"2",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"1",
"2",
"0",
"0",
"block",
"case",
"skip",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"skip",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"arguments",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"arguments",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"default",
"arguments",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"default",
"arguments",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"field",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"field",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"derived",
"class",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"derived",
"class",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"bitfield",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"bitfield",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"method",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"method",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"const",
"bounds",
"upper",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"const",
"bounds",
"upper",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"const",
"bounds",
"lower",
"upper",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"const",
"bounds",
"lower",
"upper",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"var",
"bounds",
"upper",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"var",
"bounds",
"upper",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"var",
"bounds",
"lower",
"upper",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"var",
"bounds",
"lower",
"upper",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"1",
"4",
"0",
"0",
"block",
"case",
"base",
"class",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"base",
"class",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"base",
"class",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"base",
"class",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"indirect",
"virtual",
"base",
"class",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"indirect",
"virtual",
"base",
"class",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"friend",
"function",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"friend",
"function",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"index",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"index",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"static",
"member",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"static",
"member",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"overloaded",
"method",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"overloaded",
"method",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"nested",
"type",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"nested",
"type",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"pointer",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"pointer",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"friend",
"class",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"friend",
"class",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"one",
"method",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"one",
"method",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"pointer",
"with",
"offset",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"pointer",
"with",
"offset",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"nested",
"type",
"ext",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"nested",
"type",
"ext",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"modify",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"modify",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"managed",
"st",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"managed",
"st",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"1",
"5",
"0",
"0",
"block",
"case",
"type",
"server",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"type",
"server",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"enumerate",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"enumerate",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"array",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"array",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"class",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"class",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"structure",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"structure",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"union",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"union",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"enum",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"enum",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"dimensioned",
"array",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"dimensioned",
"array",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"precompiled",
"type",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"precompiled",
"type",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"alias",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"alias",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"default",
"arguments",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"default",
"arguments",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"friend",
"function",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"friend",
"function",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"static",
"member",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"static",
"member",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"overloaded",
"method",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"overloaded",
"method",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"nested",
"type",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"nested",
"type",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"one",
"method",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"one",
"method",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"nested",
"type",
"ext",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"nested",
"type",
"ext",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"modify",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"modify",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"managed",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"managed",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"type",
"server",
"2",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"type",
"server",
"2",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"strided",
"array",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"strided",
"array",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"high",
"level",
"shader",
"language",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"high",
"level",
"shader",
"language",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"modifier",
"ex",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"modifier",
"ex",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"interface",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"interface",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"base",
"interface",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"base",
"interface",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"vector",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"vector",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"matrix",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"matrix",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"virtual",
"function",
"table",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"virtual",
"function",
"table",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"0x",
"1",
"6",
"0",
"0",
"block",
"case",
"function",
"id",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"function",
"id",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"member",
"function",
"id",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"member",
"function",
"id",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"build",
"info",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"build",
"info",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"substring",
"list",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"substring",
"list",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"string",
"id",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"string",
"id",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"user",
"defined",
"type",
"source",
"and",
"line",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"user",
"defined",
"type",
"source",
"and",
"line",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"user",
"defined",
"type",
"module",
"source",
"and",
"line",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"user",
"defined",
"type",
"module",
"source",
"and",
"line",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"/",
"/",
"todo",
":",
"more",
"work",
"break",
";",
"case",
"class",
"1",
"9",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"class",
"1",
"9",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"case",
"structure",
"1",
"9",
"ms",
"type",
"pdb",
"id",
":",
"type",
"=",
"new",
"structure",
"1",
"9",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"break",
";",
"/",
"/",
"todo",
":",
"the",
"following",
"three",
"types",
"are",
"only",
"hypothetical",
"and",
"might",
"be",
"in",
"the",
"wrong",
"/",
"/",
"order",
"with",
"the",
"wrong",
"pdb",
"i",
"ds",
"and",
"the",
"wrong",
"internal",
"elements",
"and",
"parsing",
"/",
"/",
"these",
"are",
"here",
"as",
"partial",
"implementations",
"until",
"they",
"are",
"seen",
"and",
"can",
"be",
"/",
"/",
"cleaned",
"up",
"and",
"put",
"into",
"service",
"/",
"/",
"case",
"union",
"1",
"9",
"ms",
"type",
"pdb",
"id",
":",
"/",
"/",
"type",
"=",
"new",
"union",
"1",
"9",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"/",
"/",
"break",
";",
"/",
"/",
"case",
"enum",
"1",
"9",
"ms",
"type",
"pdb",
"id",
":",
"/",
"/",
"type",
"=",
"new",
"enum",
"1",
"9",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"/",
"/",
"break",
";",
"/",
"/",
"case",
"interface",
"1",
"9",
"ms",
"type",
"pdb",
"id",
":",
"/",
"/",
"type",
"=",
"new",
"interface",
"1",
"9",
"ms",
"type",
"(",
"pdb",
",",
"reader",
")",
";",
"/",
"/",
"break",
";",
"default",
":",
"/",
"/",
"this",
"should",
"never",
"happen",
"(",
"unless",
"we",
"missed",
"something",
"/",
"/",
"or",
"msft",
"has",
"added",
"new",
"in",
"a",
"version",
"we",
"do",
"not",
"handle",
"type",
"=",
"new",
"unknown",
"ms",
"type",
"(",
"pdb",
",",
"reader",
",",
"data",
"type",
"id",
")",
";",
"break",
";",
"}",
"return",
"type",
";",
"}"
]
|
[
"adds",
"the",
"given",
"value",
"to",
"the",
"configuration",
"object",
"the",
"main",
"key",
"of",
"the",
"config",
"option",
"will",
"be",
"used",
"to",
"map",
"the",
"value"
]
| [
"public",
"void",
"set",
"boolean",
"(",
"config",
"option",
"<",
"boolean",
">",
"key",
",",
"boolean",
"value",
")",
"{",
"set",
"value",
"internal",
"(",
"key",
"key",
"(",
")",
",",
"value",
")",
";",
"}"
]
|
[
"return",
"the",
"http",
"status",
"text"
]
| [
"public",
"string",
"get",
"status",
"text",
"(",
")",
"{",
"return",
"this",
"status",
"text",
";",
"}"
]
|
[
"set",
"the",
"instance",
"that",
"matches",
"the",
"one",
"of",
"child",
"schema",
",",
"check",
"the",
"instance",
"parameter",
"is",
"valid",
"against",
"the",
"one",
"of",
"child",
"schemas",
":",
"basque",
"pig",
",",
"danish",
"pig",
"it",
"could",
"be",
"an",
"instance",
"of",
"the",
"'",
"one",
"of",
"'",
"schemas",
"the",
"one",
"of",
"child",
"schemas",
"may",
"themselves",
"be",
"a",
"composed",
"schema",
"(",
"all",
"of",
",",
"any",
"of",
",",
"one",
"of",
")"
]
| [
"public",
"void",
"set",
"actual",
"instance",
"(",
"object",
"instance",
")",
"{",
"if",
"(",
"json",
"is",
"instance",
"of",
"(",
"basque",
"pig",
"class",
",",
"instance",
",",
"new",
"hash",
"set",
"<",
"class",
"<",
"?",
">",
">",
"(",
")",
")",
")",
"{",
"super",
"set",
"actual",
"instance",
"(",
"instance",
")",
";",
"return",
";",
"}",
"if",
"(",
"json",
"is",
"instance",
"of",
"(",
"danish",
"pig",
"class",
",",
"instance",
",",
"new",
"hash",
"set",
"<",
"class",
"<",
"?",
">",
">",
"(",
")",
")",
")",
"{",
"super",
"set",
"actual",
"instance",
"(",
"instance",
")",
";",
"return",
";",
"}",
"throw",
"new",
"runtime",
"exception",
"(",
"\"",
"invalid",
"instance",
"type",
"must",
"be",
"basque",
"pig",
",",
"danish",
"pig",
"\"",
")",
";",
"}"
]
|
[
"return",
"the",
"files",
"that",
"satisfy",
"the",
"filter",
"in",
"directory",
"doesn",
"'",
"t",
"traverse",
"subdirectories"
]
| [
"public",
"static",
"list",
"<",
"file",
">",
"list",
"files",
"in",
"dir",
"with",
"filter",
"(",
"final",
"file",
"dir",
",",
"final",
"file",
"filter",
"filter",
")",
"{",
"return",
"list",
"files",
"in",
"dir",
"with",
"filter",
"(",
"dir",
",",
"filter",
",",
"false",
",",
"null",
")",
";",
"}"
]
|
[
"gets",
"client",
"id",
"and",
"client",
"secret"
]
| [
"public",
"static",
"pair",
"<",
"string",
",",
"string",
">",
"get",
"client",
"id",
"and",
"client",
"secret",
"(",
"final",
"web",
"context",
"context",
")",
"{",
"val",
"extractor",
"=",
"new",
"basic",
"auth",
"extractor",
"(",
")",
";",
"val",
"upc",
"result",
"=",
"extractor",
"extract",
"(",
"context",
")",
";",
"if",
"(",
"upc",
"result",
"is",
"present",
"(",
")",
")",
"{",
"val",
"upc",
"=",
"upc",
"result",
"get",
"(",
")",
";",
"return",
"pair",
"of",
"(",
"upc",
"get",
"username",
"(",
")",
",",
"upc",
"get",
"password",
"(",
")",
")",
";",
"}",
"val",
"client",
"id",
"=",
"context",
"get",
"request",
"parameter",
"(",
"o",
"auth",
"2",
"0",
"constants",
"client",
"id",
")",
"map",
"(",
"string",
":",
":",
"value",
"of",
")",
"or",
"else",
"(",
"string",
"utils",
"empty",
")",
";",
"val",
"client",
"secret",
"=",
"context",
"get",
"request",
"parameter",
"(",
"o",
"auth",
"2",
"0",
"constants",
"client",
"secret",
")",
"map",
"(",
"string",
":",
":",
"value",
"of",
")",
"or",
"else",
"(",
"string",
"utils",
"empty",
")",
";",
"return",
"pair",
"of",
"(",
"client",
"id",
",",
"client",
"secret",
")",
";",
"}"
]
|
[
"an",
"optional",
"list",
"of",
"hex",
"-",
"encoded",
"sha",
"-",
"256",
"hashes",
"of",
"the",
"authorized",
"client",
"certificates",
"both",
"simple",
"and",
"colon",
"separated",
"formats",
"are",
"acceptable",
"note",
":",
"when",
"both",
"verify",
"certificate",
"hash",
"and",
"verify",
"certificate",
"spki",
"are",
"specified",
",",
"a",
"hash",
"matching",
"either",
"value",
"will",
"result",
"in",
"the",
"certificate",
"being",
"accepted",
"<",
"code",
">",
"repeated",
"string",
"verify",
"certificate",
"hash",
"=",
"12",
";",
"<",
"code",
">"
]
| [
"public",
"java",
"lang",
"string",
"get",
"verify",
"certificate",
"hash",
"(",
"int",
"index",
")",
"{",
"return",
"verify",
"certificate",
"hash",
"get",
"(",
"index",
")",
";",
"}"
]
|
[
"adds",
"an",
"unnamed",
"value",
"to",
"the",
"formatted",
"output",
"it",
"is",
"strongly",
"encouraged",
"to",
"use",
"{",
"@",
"link",
"#",
"add",
"(",
"string",
",",
"boolean",
")",
"}",
"instead",
"and",
"give",
"value",
"a",
"readable",
"name"
]
| [
"public",
"to",
"string",
"helper",
"add",
"value",
"(",
"boolean",
"value",
")",
"{",
"return",
"add",
"holder",
"(",
"string",
"value",
"of",
"(",
"value",
")",
")",
";",
"}"
]
|
[
"resolve",
"the",
"manifest",
"file",
"and",
"get",
"bundle",
"info"
]
| [
"private",
"static",
"void",
"update",
"(",
"awb",
"bundle",
"awb",
"bundle",
",",
"map",
"<",
"string",
",",
"bundle",
"info",
">",
"bundle",
"info",
"map",
",",
"app",
"variant",
"context",
"app",
"variant",
"context",
",",
"string",
"apk",
"version",
",",
"string",
"base",
"version",
")",
"throws",
"document",
"exception",
"{",
"string",
"artifact",
"id",
"=",
"awb",
"bundle",
"get",
"resolved",
"coordinates",
"(",
")",
"get",
"artifact",
"id",
"(",
")",
";",
"bundle",
"info",
"bundle",
"info",
"=",
"bundle",
"info",
"map",
"get",
"(",
"artifact",
"id",
")",
";",
"if",
"(",
"null",
"!",
"=",
"bundle",
"info",
")",
"{",
"awb",
"bundle",
"bundle",
"info",
"=",
"bundle",
"info",
";",
"}",
"else",
"{",
"bundle",
"info",
"=",
"awb",
"bundle",
"bundle",
"info",
";",
"}",
"bundle",
"info",
"set",
"is",
"m",
"bundle",
"(",
"awb",
"bundle",
"is",
"m",
"bundle",
")",
";",
"if",
"(",
"app",
"variant",
"context",
"get",
"atlas",
"extension",
"(",
")",
"get",
"t",
"build",
"config",
"(",
")",
"get",
"inside",
"of",
"apk",
"bundles",
"(",
")",
"size",
"(",
")",
">",
"0",
")",
"{",
"awb",
"bundle",
"is",
"remote",
"=",
"!",
"app",
"variant",
"context",
"get",
"atlas",
"extension",
"(",
")",
"get",
"t",
"build",
"config",
"(",
")",
"get",
"inside",
"of",
"apk",
"bundles",
"(",
")",
"contains",
"(",
"artifact",
"id",
")",
";",
"}",
"else",
"if",
"(",
"app",
"variant",
"context",
"get",
"atlas",
"extension",
"(",
")",
"get",
"t",
"build",
"config",
"(",
")",
"get",
"out",
"of",
"apk",
"bundles",
"(",
")",
"size",
"(",
")",
">",
"0",
")",
"{",
"awb",
"bundle",
"is",
"remote",
"=",
"app",
"variant",
"context",
"get",
"atlas",
"extension",
"(",
")",
"get",
"t",
"build",
"config",
"(",
")",
"get",
"out",
"of",
"apk",
"bundles",
"(",
")",
"contains",
"(",
"artifact",
"id",
")",
";",
"}",
"bundle",
"info",
"set",
"is",
"internal",
"(",
"!",
"awb",
"bundle",
"is",
"remote",
")",
";",
"bundle",
"info",
"set",
"version",
"(",
"base",
"version",
"+",
"\"",
"@",
"\"",
"+",
"awb",
"bundle",
"get",
"resolved",
"coordinates",
"(",
")",
"get",
"version",
"(",
")",
")",
";",
"bundle",
"info",
"set",
"pkg",
"name",
"(",
"awb",
"bundle",
"get",
"package",
"name",
"(",
")",
")",
";",
"string",
"application",
"name",
"=",
"manifest",
"file",
"utils",
"get",
"application",
"name",
"(",
"awb",
"bundle",
"get",
"manifest",
"(",
")",
")",
";",
"if",
"(",
"string",
"utils",
"is",
"not",
"empty",
"(",
"application",
"name",
")",
")",
"{",
"if",
"(",
"application",
"name",
"starts",
"with",
"(",
"\"",
"\"",
")",
")",
"{",
"application",
"name",
"=",
"awb",
"bundle",
"get",
"package",
"name",
"(",
")",
"+",
"application",
"name",
";",
"}",
"bundle",
"info",
"set",
"application",
"name",
"(",
"application",
"name",
")",
";",
"}",
"manifest",
"helper",
"collect",
"bundle",
"info",
"(",
"app",
"variant",
"context",
",",
"bundle",
"info",
",",
"awb",
"bundle",
"get",
"manifest",
"(",
")",
",",
"awb",
"bundle",
"get",
"android",
"libraries",
"(",
")",
")",
";",
"}"
]
|
[
"creates",
"a",
"blob",
"store",
"based",
"on",
"the",
"parameters",
"set",
"in",
"the",
"configuration"
]
| [
"public",
"static",
"blob",
"store",
"service",
"create",
"blob",
"store",
"from",
"config",
"(",
"configuration",
"config",
")",
"throws",
"i",
"o",
"exception",
"{",
"if",
"(",
"high",
"availability",
"mode",
"is",
"high",
"availability",
"mode",
"activated",
"(",
"config",
")",
")",
"{",
"return",
"create",
"file",
"system",
"blob",
"store",
"(",
"config",
")",
";",
"}",
"else",
"{",
"return",
"new",
"void",
"blob",
"store",
"(",
")",
";",
"}",
"}"
]
|
[
"processes",
"each",
"model",
"'",
"s",
"property",
"mapped",
"to",
"string",
"type",
"and",
"adds",
"related",
"vendor",
"extensions"
]
| [
"public",
"void",
"process",
"string",
"type",
"property",
"(",
"codegen",
"model",
"model",
",",
"codegen",
"property",
"property",
",",
"string",
"description",
",",
"ktorm",
"schema",
"ktorm",
"schema",
")",
"{",
"map",
"<",
"string",
",",
"object",
">",
"column",
"definition",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"object",
">",
"(",
")",
";",
"string",
"base",
"name",
"=",
"property",
"get",
"base",
"name",
"(",
")",
";",
"string",
"col",
"name",
"=",
"to",
"column",
"name",
"(",
"base",
"name",
")",
";",
"string",
"data",
"type",
"=",
"property",
"get",
"data",
"type",
"(",
")",
";",
"string",
"data",
"format",
"=",
"property",
"get",
"data",
"format",
"(",
")",
";",
"string",
"actual",
"type",
"=",
"to",
"column",
"type",
"(",
"data",
"type",
",",
"data",
"format",
")",
";",
"integer",
"min",
"length",
"=",
"property",
"get",
"min",
"length",
"(",
")",
";",
"integer",
"max",
"length",
"=",
"property",
"get",
"max",
"length",
"(",
")",
";",
"integer",
"min",
"=",
"(",
"min",
"length",
"!",
"=",
"null",
")",
"?",
"min",
"length",
":",
"0",
";",
"integer",
"max",
"=",
"(",
"max",
"length",
"!",
"=",
"null",
")",
"?",
"max",
"length",
":",
"integer",
"max",
"value",
";",
"int",
"actual",
"min",
"=",
"math",
"min",
"(",
"min",
",",
"max",
")",
";",
"/",
"/",
"sometimes",
"min",
"and",
"max",
"values",
"can",
"be",
"mixed",
"up",
"int",
"actual",
"max",
"=",
"math",
"max",
"(",
"min",
",",
"max",
")",
";",
"/",
"/",
"sometimes",
"only",
"minimum",
"specified",
"and",
"it",
"can",
"be",
"pretty",
"high",
"ktorm",
"schema",
"put",
"(",
"\"",
"column",
"definition",
"\"",
",",
"column",
"definition",
")",
";",
"column",
"definition",
"put",
"(",
"\"",
"col",
"name",
"\"",
",",
"col",
"name",
")",
";",
"column",
"definition",
"put",
"(",
"\"",
"col",
"type",
"\"",
",",
"actual",
"type",
")",
";",
"column",
"definition",
"put",
"(",
"\"",
"col",
"kotlin",
"type",
"\"",
",",
"data",
"type",
")",
";",
"if",
"(",
"actual",
"min",
"!",
"=",
"0",
")",
"{",
"column",
"definition",
"put",
"(",
"\"",
"col",
"minimum",
"\"",
",",
"actual",
"min",
")",
";",
"}",
"if",
"(",
"actual",
"max",
"!",
"=",
"integer",
"max",
"value",
")",
"{",
"column",
"definition",
"put",
"(",
"\"",
"col",
"maximum",
"\"",
",",
"actual",
"max",
")",
";",
"}",
"process",
"type",
"args",
"(",
"data",
"type",
",",
"data",
"format",
",",
"actual",
"min",
",",
"actual",
"max",
",",
"column",
"definition",
")",
";",
"process",
"null",
"and",
"default",
"(",
"model",
",",
"property",
",",
"description",
",",
"column",
"definition",
")",
";",
"}"
]
|
[
"find",
"purchase",
"order",
"by",
"id",
"for",
"valid",
"response",
"try",
"integer",
"i",
"ds",
"with",
"value",
"&",
"lt",
";",
"&",
"#",
"x",
"3",
"d",
";",
"5",
"or",
"&",
"gt",
";",
"10",
"other",
"values",
"will",
"generated",
"exceptions"
]
| [
"public",
"order",
"get",
"order",
"by",
"id",
"(",
"long",
"order",
"id",
")",
"{",
"try",
"{",
"order",
"response",
"=",
"cache",
"get",
"object",
"(",
"\"",
"/",
"get",
"order",
"by",
"id",
"/",
"response",
"\"",
",",
"order",
"class",
")",
";",
"return",
"response",
";",
"}",
"catch",
"(",
"cache",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"}"
]
|
[
"fills",
"up",
"the",
"local",
"checkpoints",
"history",
"with",
"no",
"-",
"ops",
"until",
"the",
"local",
"checkpoint",
"and",
"the",
"max",
"seen",
"sequence",
"id",
"are",
"identical"
]
| [
"public",
"abstract",
"int",
"fill",
"seq",
"no",
"gaps",
"(",
"long",
"primary",
"term",
")",
"throws",
"i",
"o",
"exception",
";"
]
|
[
"return",
"the",
"names",
"of",
"beans",
"matching",
"the",
"given",
"type",
"(",
"including",
"subclasses",
")",
",",
"judging",
"from",
"either",
"bean",
"definitions",
"or",
"the",
"value",
"of",
"{",
"@",
"code",
"get",
"object",
"type",
"}",
"in",
"the",
"case",
"of",
"factory",
"beans",
"<",
"b",
">",
"note",
":",
"this",
"method",
"introspects",
"top",
"-",
"level",
"beans",
"only",
"<",
"b",
">",
"it",
"does",
"not",
"check",
"nested",
"beans",
"which",
"might",
"match",
"the",
"specified",
"type",
"as",
"well",
"does",
"consider",
"objects",
"created",
"by",
"factory",
"beans",
",",
"which",
"means",
"that",
"factory",
"beans",
"will",
"get",
"initialized",
"if",
"the",
"object",
"created",
"by",
"the",
"factory",
"bean",
"doesn",
"'",
"t",
"match",
",",
"the",
"raw",
"factory",
"bean",
"itself",
"will",
"be",
"matched",
"against",
"the",
"type",
"does",
"not",
"consider",
"any",
"hierarchy",
"this",
"factory",
"may",
"participate",
"in",
"use",
"bean",
"factory",
"utils",
"'",
"{",
"@",
"code",
"bean",
"names",
"for",
"type",
"including",
"ancestors",
"}",
"to",
"include",
"beans",
"in",
"ancestor",
"factories",
"too",
"note",
":",
"does",
"not",
"ignore",
"singleton",
"beans",
"that",
"have",
"been",
"registered",
"by",
"other",
"means",
"than",
"bean",
"definitions",
"this",
"version",
"of",
"{",
"@",
"code",
"get",
"bean",
"names",
"for",
"type",
"}",
"matches",
"all",
"kinds",
"of",
"beans",
",",
"be",
"it",
"singletons",
",",
"prototypes",
",",
"or",
"factory",
"beans",
"in",
"most",
"implementations",
",",
"the",
"result",
"will",
"be",
"the",
"same",
"as",
"for",
"{",
"@",
"code",
"get",
"bean",
"names",
"for",
"type",
"(",
"type",
",",
"true",
",",
"true",
")",
"}",
"bean",
"names",
"returned",
"by",
"this",
"method",
"should",
"always",
"return",
"bean",
"names",
"in",
"the",
"order",
"of",
"definition",
"in",
"the",
"backend",
"configuration",
",",
"as",
"far",
"as",
"possible"
]
| [
"string",
"[",
"]",
"get",
"bean",
"names",
"for",
"type",
"(",
"resolvable",
"type",
"type",
")",
";"
]
|
[
"the",
"node",
"name"
]
| [
"public",
"string",
"get",
"name",
"(",
")",
"{",
"return",
"name",
";",
"}"
]
|
[
"set",
"the",
"stack",
"variable",
"info",
"for",
"the",
"function"
]
| [
"private",
"void",
"set",
"stack",
"var",
"info",
"(",
"variable",
"[",
"]",
"vars",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"vars",
"length",
";",
"i",
"+",
"+",
")",
"{",
"stack",
"var",
"names",
"[",
"i",
"]",
"=",
"vars",
"[",
"i",
"]",
"get",
"name",
"(",
")",
";",
"stack",
"var",
"sources",
"[",
"i",
"]",
"=",
"vars",
"[",
"i",
"]",
"get",
"source",
"(",
")",
";",
"stack",
"offsets",
"[",
"i",
"]",
"=",
"vars",
"[",
"i",
"]",
"get",
"stack",
"offset",
"(",
")",
";",
"stack",
"var",
"f",
"u",
"offsets",
"[",
"i",
"]",
"=",
"vars",
"[",
"i",
"]",
"get",
"first",
"use",
"offset",
"(",
")",
";",
"stack",
"var",
"comments",
"[",
"i",
"]",
"=",
"vars",
"[",
"i",
"]",
"get",
"comment",
"(",
")",
";",
"}",
"}"
]
|
[
"get",
"enum",
"string"
]
| [
"public",
"enum",
"string",
"enum",
"get",
"enum",
"string",
"(",
")",
"{",
"return",
"enum",
"string",
";",
"}"
]
|
[
"returns",
"the",
"smallest",
"index",
"for",
"which",
"{",
"@",
"link",
"#",
"get",
"}",
"returns",
"{",
"@",
"code",
"target",
"}",
",",
"or",
"{",
"@",
"code",
"-",
"1",
"}",
"if",
"no",
"such",
"index",
"exists",
"values",
"are",
"compared",
"as",
"if",
"by",
"{",
"@",
"link",
"double",
"#",
"equals",
"}",
"equivalent",
"to",
"{",
"@",
"code",
"as",
"list",
"(",
")",
"index",
"of",
"(",
"target",
")",
"}"
]
| [
"public",
"int",
"index",
"of",
"(",
"double",
"target",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"are",
"equal",
"(",
"array",
"[",
"i",
"]",
",",
"target",
")",
")",
"{",
"return",
"i",
"-",
"start",
";",
"}",
"}",
"return",
"-",
"1",
";",
"}"
]
|
[
"build",
"a",
"lazily",
"resolving",
"message",
"from",
"the",
"given",
"supplier"
]
| [
"public",
"static",
"log",
"message",
"of",
"(",
"supplier",
"<",
"?",
"extends",
"char",
"sequence",
">",
"supplier",
")",
"{",
"return",
"new",
"supplier",
"message",
"(",
"supplier",
")",
";",
"}"
]
|
[
"similar",
"to",
"the",
"above",
"test",
",",
"except",
"that",
"there",
"are",
"multiple",
"local",
"files",
"and",
"one",
"of",
"them",
"can",
"be",
"saved"
]
| [
"public",
"void",
"test",
"client",
"side",
"exception",
"on",
"just",
"one",
"dir",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"configuration",
"conf",
"=",
"new",
"hdfs",
"configuration",
"(",
")",
";",
"mini",
"d",
"f",
"s",
"cluster",
"cluster",
"=",
"new",
"mini",
"d",
"f",
"s",
"cluster",
"builder",
"(",
"conf",
")",
"num",
"data",
"nodes",
"(",
"0",
")",
"build",
"(",
")",
";",
"n",
"n",
"storage",
"mock",
"storage",
"=",
"mockito",
"mock",
"(",
"n",
"n",
"storage",
"class",
")",
";",
"list",
"<",
"file",
">",
"local",
"paths",
"=",
"immutable",
"list",
"of",
"(",
"new",
"file",
"(",
"\"",
"/",
"xxxxx",
"-",
"does",
"-",
"not",
"-",
"exist",
"/",
"blah",
"\"",
")",
",",
"new",
"file",
"(",
"test",
"dir",
",",
"\"",
"testfile",
"\"",
")",
")",
";",
"try",
"{",
"url",
"fs",
"name",
"=",
"d",
"f",
"s",
"util",
"get",
"info",
"server",
"(",
"cluster",
"get",
"name",
"node",
"(",
")",
"get",
"service",
"rpc",
"address",
"(",
")",
",",
"conf",
",",
"d",
"f",
"s",
"util",
"get",
"http",
"client",
"scheme",
"(",
"conf",
")",
")",
"to",
"u",
"r",
"l",
"(",
")",
";",
"string",
"id",
"=",
"\"",
"getimage",
"=",
"1",
"&",
"txid",
"=",
"0",
"\"",
";",
"transfer",
"fs",
"image",
"get",
"file",
"client",
"(",
"fs",
"name",
",",
"id",
",",
"local",
"paths",
",",
"mock",
"storage",
",",
"false",
")",
";",
"mockito",
"verify",
"(",
"mock",
"storage",
")",
"report",
"error",
"on",
"file",
"(",
"local",
"paths",
"get",
"(",
"0",
")",
")",
";",
"assert",
"true",
"(",
"\"",
"the",
"valid",
"local",
"file",
"should",
"get",
"saved",
"properly",
"\"",
",",
"local",
"paths",
"get",
"(",
"1",
")",
"length",
"(",
")",
">",
"0",
")",
";",
"}",
"finally",
"{",
"cluster",
"shutdown",
"(",
")",
";",
"}",
"}"
]
|
[
"converts",
"relative",
"duration",
"to",
"the",
"percentage",
"string"
]
| [
"private",
"static",
"string",
"pretty",
"percentage",
"(",
"duration",
"duration",
",",
"duration",
"total",
")",
"{",
"/",
"/",
"duration",
"to",
"millis",
"(",
")",
"!",
"=",
"0",
"does",
"not",
"imply",
"!",
"duration",
"is",
"zero",
"(",
")",
"(",
"due",
"to",
"truncation",
")",
"if",
"(",
"total",
"to",
"millis",
"(",
")",
"=",
"=",
"0",
")",
"{",
"/",
"/",
"return",
"\"",
"not",
"available",
"\"",
"string",
"if",
"total",
"is",
"0",
"and",
"result",
"is",
"undefined",
"return",
"\"",
"n",
"/",
"a",
"\"",
";",
"}",
"return",
"string",
"format",
"(",
"\"",
"%",
"2f",
"%",
"%",
"\"",
",",
"duration",
"to",
"millis",
"(",
")",
"*",
"100",
"0",
"/",
"total",
"to",
"millis",
"(",
")",
")",
";",
"}"
]
|
[
"changes",
"the",
"tenant",
"id",
"for",
"all",
"jobs",
"related",
"to",
"a",
"given",
"{",
"@",
"link",
"deployment",
"entity",
"}"
]
| [
"void",
"update",
"job",
"tenant",
"id",
"for",
"deployment",
"(",
"string",
"deployment",
"id",
",",
"string",
"new",
"tenant",
"id",
")",
";"
]
|
[
"creates",
"an",
"address",
"annotation",
",",
"which",
"is",
"the",
"same",
"as",
"{",
"@",
"link",
"span",
"#",
"remote",
"endpoint",
"(",
")",
"}"
]
| [
"public",
"builder",
"add",
"binary",
"annotation",
"(",
"string",
"address",
",",
"endpoint",
"endpoint",
")",
"{",
"/",
"/",
"ignore",
"empty",
"endpoints",
"rather",
"than",
"crashing",
"v",
"1",
"parsers",
"on",
"bad",
"address",
"data",
"if",
"(",
"endpoint",
"=",
"=",
"null",
"|",
"|",
"empty",
"endpoint",
"equals",
"(",
"endpoint",
")",
")",
"return",
"this",
";",
"if",
"(",
"binary",
"annotations",
"=",
"=",
"null",
")",
"binary",
"annotations",
"=",
"new",
"array",
"list",
"<",
"v",
"1",
"binary",
"annotation",
">",
"(",
"4",
")",
";",
"binary",
"annotations",
"add",
"(",
"new",
"v",
"1",
"binary",
"annotation",
"(",
"address",
",",
"null",
",",
"endpoint",
")",
")",
";",
"return",
"this",
";",
"}"
]
|
[
"returns",
"the",
"min",
"seqno",
"that",
"is",
"retained",
"in",
"the",
"lucene",
"index",
"operations",
"whose",
"seq",
"#",
"is",
"least",
"this",
"value",
"should",
"exist",
"in",
"the",
"lucene",
"index"
]
| [
"synchronized",
"long",
"get",
"min",
"retained",
"seq",
"no",
"(",
")",
"{",
"/",
"*",
"*",
"when",
"an",
"engine",
"is",
"flushed",
",",
"we",
"need",
"to",
"provide",
"it",
"the",
"latest",
"collection",
"of",
"retention",
"leases",
"even",
"when",
"the",
"soft",
"deletes",
"policy",
"is",
"*",
"locked",
"for",
"peer",
"recovery",
"*",
"/",
"final",
"retention",
"leases",
"retention",
"leases",
"=",
"retention",
"leases",
"supplier",
"get",
"(",
")",
";",
"/",
"/",
"do",
"not",
"advance",
"if",
"the",
"retention",
"lock",
"is",
"held",
"if",
"(",
"retention",
"lock",
"count",
"=",
"=",
"0",
")",
"{",
"/",
"*",
"*",
"this",
"policy",
"retains",
"operations",
"for",
"two",
"purposes",
":",
"peer",
"-",
"recovery",
"and",
"querying",
"changes",
"history",
"*",
"-",
"peer",
"-",
"recovery",
"is",
"driven",
"by",
"the",
"local",
"checkpoint",
"of",
"the",
"safe",
"commit",
"in",
"peer",
"-",
"recovery",
",",
"the",
"primary",
"transfers",
"a",
"safe",
"commit",
",",
"*",
"then",
"sends",
"operations",
"after",
"the",
"local",
"checkpoint",
"of",
"that",
"commit",
"this",
"requires",
"keeping",
"all",
"ops",
"after",
"*",
"local",
"checkpoint",
"of",
"safe",
"commit",
"*",
"-",
"changes",
"a",
"p",
"is",
"are",
"driven",
"by",
"a",
"combination",
"of",
"the",
"global",
"checkpoint",
",",
"retention",
"operations",
",",
"and",
"retention",
"leases",
"here",
"we",
"*",
"prefer",
"using",
"the",
"global",
"checkpoint",
"instead",
"of",
"the",
"maximum",
"sequence",
"number",
"because",
"only",
"operations",
"up",
"to",
"the",
"global",
"*",
"checkpoint",
"are",
"exposed",
"in",
"the",
"changes",
"a",
"p",
"is",
"*",
"/",
"/",
"/",
"calculate",
"the",
"minimum",
"sequence",
"number",
"to",
"retain",
"based",
"on",
"retention",
"leases",
"final",
"long",
"minimum",
"retaining",
"sequence",
"number",
"=",
"retention",
"leases",
"leases",
"(",
")",
"stream",
"(",
")",
"map",
"to",
"long",
"(",
"retention",
"lease",
":",
":",
"retaining",
"sequence",
"number",
")",
"min",
"(",
")",
"or",
"else",
"(",
"long",
"max",
"value",
")",
";",
"/",
"*",
"*",
"the",
"minimum",
"sequence",
"number",
"to",
"retain",
"is",
"the",
"minimum",
"of",
"the",
"minimum",
"based",
"on",
"retention",
"leases",
",",
"and",
"the",
"number",
"of",
"operations",
"*",
"below",
"the",
"global",
"checkpoint",
"to",
"retain",
"(",
"index",
"soft",
"deletes",
"retention",
"operations",
")",
"the",
"additional",
"increments",
"on",
"the",
"global",
"*",
"checkpoint",
"and",
"the",
"local",
"checkpoint",
"of",
"the",
"safe",
"commit",
"are",
"due",
"to",
"the",
"fact",
"that",
"we",
"want",
"to",
"retain",
"all",
"operations",
"above",
"*",
"those",
"checkpoints",
"*",
"/",
"final",
"long",
"min",
"seq",
"no",
"for",
"querying",
"changes",
"=",
"math",
"min",
"(",
"1",
"+",
"global",
"checkpoint",
"supplier",
"get",
"as",
"long",
"(",
")",
"-",
"retention",
"operations",
",",
"minimum",
"retaining",
"sequence",
"number",
")",
";",
"final",
"long",
"min",
"seq",
"no",
"to",
"retain",
"=",
"math",
"min",
"(",
"min",
"seq",
"no",
"for",
"querying",
"changes",
",",
"1",
"+",
"local",
"checkpoint",
"of",
"safe",
"commit",
")",
";",
"/",
"*",
"*",
"we",
"take",
"the",
"maximum",
"as",
"min",
"seq",
"no",
"to",
"retain",
"can",
"go",
"backward",
"as",
"the",
"retention",
"operations",
"value",
"can",
"be",
"changed",
"in",
"settings",
",",
"or",
"from",
"*",
"the",
"addition",
"of",
"leases",
"with",
"a",
"retaining",
"sequence",
"number",
"lower",
"than",
"previous",
"retaining",
"sequence",
"numbers",
"*",
"/",
"min",
"retained",
"seq",
"no",
"=",
"math",
"max",
"(",
"min",
"retained",
"seq",
"no",
",",
"min",
"seq",
"no",
"to",
"retain",
")",
";",
"}",
"return",
"min",
"retained",
"seq",
"no",
";",
"}"
]
|
[
"clear",
"the",
"tool",
"button",
"that",
"is",
"being",
"transferred"
]
| [
"void",
"clear",
"transfer",
"data",
"(",
")",
"{",
"button",
"=",
"null",
";",
"}"
]
|
[
"clears",
"the",
"internal",
"state",
"any",
"successive",
"write",
"calls",
"will",
"fail",
"until",
"either",
"{",
"@",
"link",
"#",
"advance",
"(",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"seek",
"output",
"(",
"memory",
"segment",
",",
"int",
")",
"}",
"is",
"called"
]
| [
"protected",
"void",
"clear",
"(",
")",
"{",
"this",
"current",
"segment",
"=",
"null",
";",
"this",
"position",
"in",
"segment",
"=",
"this",
"header",
"length",
";",
"}"
]
|
[
"return",
"the",
"default",
"destroy",
"-",
"method",
"setting",
"for",
"the",
"document",
"that",
"'",
"s",
"currently",
"parsed"
]
| [
"public",
"string",
"get",
"destroy",
"method",
"(",
")",
"{",
"return",
"this",
"destroy",
"method",
";",
"}"
]
|
[
"get",
"the",
"process",
"cpu",
"time",
"(",
"sum",
"of",
"user",
"and",
"sys",
")",
"supported",
"platforms",
":",
"all"
]
| [
"public",
"time",
"value",
"get",
"total",
"(",
")",
"{",
"return",
"new",
"time",
"value",
"(",
"total",
")",
";",
"}"
]
|
[
"the",
"namespace",
"uri",
"of",
"this",
"element",
"<",
"code",
">",
"optional",
"string",
"namespace",
"uri",
"=",
"2",
";",
"<",
"code",
">"
]
| [
"public",
"com",
"google",
"protobuf",
"byte",
"string",
"get",
"namespace",
"uri",
"bytes",
"(",
")",
"{",
"return",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"(",
"namespace",
"uri",
")",
";",
"}"
]
|
[
"true",
"iff",
"the",
"named",
"path",
"is",
"a",
"directory",
"note",
":",
"avoid",
"using",
"this",
"method",
"instead",
"reuse",
"the",
"file",
"status",
"returned",
"by",
"get",
"file",
"status",
"(",
")",
"or",
"list",
"status",
"(",
")",
"methods"
]
| [
"public",
"boolean",
"is",
"directory",
"(",
"path",
"f",
")",
"throws",
"i",
"o",
"exception",
"{",
"try",
"{",
"return",
"get",
"file",
"status",
"(",
"f",
")",
"is",
"directory",
"(",
")",
";",
"}",
"catch",
"(",
"file",
"not",
"found",
"exception",
"e",
")",
"{",
"return",
"false",
";",
"/",
"/",
"f",
"does",
"not",
"exist",
"}",
"}"
]
|
[
"convert",
"the",
"value",
"type",
"of",
"the",
"keyframe",
"to",
"the",
"value",
"type",
"of",
"the",
"animation",
"often",
",",
"these",
"are",
"the",
"same",
"type"
]
| [
"o",
"convert",
"type",
"(",
"v",
"value",
")",
"{",
"/",
"/",
"noinspection",
"unchecked",
"return",
"(",
"o",
")",
"value",
";",
"}"
]
|
[
"tries",
"to",
"find",
"a",
"serializer",
"that",
"can",
"marshall",
"or",
"unmarshall",
"instances",
"of",
"the",
"given",
"type",
"using",
"kotlinx",
"serialization",
"if",
"no",
"serializer",
"can",
"be",
"found",
",",
"an",
"exception",
"is",
"thrown",
"resolved",
"serializers",
"are",
"cached",
"and",
"cached",
"results",
"are",
"returned",
"on",
"successive",
"calls",
"todo",
"avoid",
"relying",
"on",
"throwing",
"exception",
"when",
"https",
":",
"github",
"com",
"kotlinkotlinx",
"serializationpull",
"1",
"1",
"6",
"4",
"is",
"fixed"
]
| [
"private",
"k",
"serializer",
"<",
"object",
">",
"serializer",
"(",
"type",
"type",
")",
"{",
"k",
"serializer",
"<",
"object",
">",
"serializer",
"=",
"serializer",
"cache",
"get",
"(",
"type",
")",
";",
"if",
"(",
"serializer",
"=",
"=",
"null",
")",
"{",
"serializer",
"=",
"serializers",
"kt",
"serializer",
"(",
"type",
")",
";",
"if",
"(",
"serializer",
"get",
"descriptor",
"(",
")",
"get",
"kind",
"(",
")",
"equals",
"(",
"polymorphic",
"kind",
"open",
"instance",
")",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"open",
"polymorphic",
"serialization",
"is",
"not",
"supported",
"yet",
"\"",
")",
";",
"}",
"serializer",
"cache",
"put",
"(",
"type",
",",
"serializer",
")",
";",
"}",
"return",
"serializer",
";",
"}"
]
|
[
"generate",
"dispatch",
"on",
"exited",
"range",
"(",
")",
"implementation",
"for",
"the",
"component"
]
| [
"static",
"method",
"spec",
"generate",
"dispatch",
"on",
"exited",
"range",
"method",
"(",
"spec",
"model",
"spec",
"model",
")",
"{",
"final",
"method",
"spec",
"builder",
"method",
"builder",
"=",
"method",
"spec",
"method",
"builder",
"(",
"\"",
"dispatch",
"on",
"exited",
"range",
"\"",
")",
"add",
"modifiers",
"(",
"modifier",
"public",
")",
"add",
"annotation",
"(",
"override",
"class",
")",
"returns",
"(",
"type",
"name",
"void",
")",
"add",
"parameter",
"(",
"spec",
"model",
"get",
"context",
"class",
"(",
")",
",",
"\"",
"c",
"\"",
")",
"add",
"parameter",
"(",
"class",
"names",
"string",
",",
"\"",
"name",
"\"",
")",
";",
"method",
"builder",
"begin",
"control",
"flow",
"(",
"\"",
"switch",
"(",
"name",
")",
"\"",
")",
";",
"for",
"(",
"working",
"range",
"method",
"model",
"model",
":",
"spec",
"model",
"get",
"working",
"range",
"methods",
"(",
")",
")",
"{",
"if",
"(",
"model",
"exited",
"range",
"model",
"!",
"=",
"null",
"&",
"&",
"model",
"exited",
"range",
"model",
"type",
"model",
"!",
"=",
"null",
")",
"{",
"final",
"string",
"name",
"in",
"annotation",
"=",
"model",
"exited",
"range",
"model",
"type",
"model",
"name",
";",
"method",
"builder",
"begin",
"control",
"flow",
"(",
"\"",
"case",
"\\",
"\"",
"$",
"l",
"\\",
"\"",
":",
"\"",
",",
"name",
"in",
"annotation",
")",
";",
"method",
"builder",
"add",
"statement",
"(",
"\"",
"$",
"l",
"(",
"c",
")",
"\"",
",",
"model",
"exited",
"range",
"model",
"name",
")",
";",
"method",
"builder",
"add",
"statement",
"(",
"\"",
"return",
"\"",
")",
";",
"method",
"builder",
"end",
"control",
"flow",
"(",
")",
";",
"}",
"}",
"return",
"method",
"builder",
"end",
"control",
"flow",
"(",
")",
"build",
"(",
")",
";",
"}"
]
|
[
"log",
"an",
"error",
"with",
"error",
"log",
"level"
]
| [
"public",
"void",
"error",
"(",
"throwable",
"cause",
",",
"char",
"sequence",
"message",
")",
"{",
"this",
"log",
"error",
"(",
"message",
",",
"cause",
")",
";",
"}"
]
|
[
"return",
"a",
"thread",
"pool",
"that",
"uses",
"a",
"single",
"worker",
"thread",
"operating",
"off",
"an",
"unbounded",
"queue",
",",
"and",
"uses",
"the",
"provided",
"thread",
"factory",
"to",
"create",
"a",
"new",
"thread",
"when",
"needed"
]
| [
"public",
"static",
"executor",
"service",
"get",
"single",
"pool",
"(",
"@",
"int",
"range",
"(",
"from",
"=",
"1",
",",
"to",
"=",
"10",
")",
"final",
"int",
"priority",
")",
"{",
"return",
"get",
"pool",
"by",
"type",
"and",
"priority",
"(",
"type",
"single",
",",
"priority",
")",
";",
"}"
]
|
[
"test",
"the",
"property",
"'",
"anytype",
"1",
"'"
]
| [
"public",
"void",
"anytype",
"1",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"anytype",
"1",
"}"
]
|
[
"add",
"the",
"cycle",
"group",
"actions"
]
| [
"private",
"void",
"add",
"cycle",
"group",
"actions",
"(",
")",
"{",
"if",
"(",
"dtm",
"service",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"for",
"(",
"cycle",
"group",
"group",
":",
"cycle",
"group",
"all",
"cycle",
"groups",
")",
"{",
"cycle",
"group",
"action",
"action",
"=",
"new",
"cycle",
"group",
"action",
"(",
"group",
",",
"this",
")",
";",
"action",
"set",
"enabled",
"(",
"false",
")",
";",
"tool",
"add",
"action",
"(",
"action",
")",
";",
"}",
"}"
]
|
[
"load",
"a",
"ec",
"policy",
"from",
"a",
"policy",
"element",
"in",
"the",
"xml",
"configuration",
"file"
]
| [
"private",
"erasure",
"coding",
"policy",
"load",
"policy",
"(",
"element",
"element",
",",
"map",
"<",
"string",
",",
"e",
"c",
"schema",
">",
"schemas",
")",
"{",
"node",
"list",
"fields",
"=",
"element",
"get",
"child",
"nodes",
"(",
")",
";",
"e",
"c",
"schema",
"schema",
"=",
"null",
";",
"int",
"cell",
"size",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"fields",
"get",
"length",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"node",
"field",
"node",
"=",
"fields",
"item",
"(",
"i",
")",
";",
"if",
"(",
"field",
"node",
"instanceof",
"element",
")",
"{",
"element",
"field",
"=",
"(",
"element",
")",
"field",
"node",
";",
"string",
"tag",
"name",
"=",
"field",
"get",
"tag",
"name",
"(",
")",
";",
"/",
"/",
"get",
"the",
"nonnull",
"text",
"value",
"text",
"text",
"=",
"(",
"text",
")",
"field",
"get",
"first",
"child",
"(",
")",
";",
"if",
"(",
"text",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"!",
"text",
"is",
"element",
"content",
"whitespace",
"(",
")",
")",
"{",
"string",
"value",
"=",
"text",
"get",
"data",
"(",
")",
"trim",
"(",
")",
";",
"if",
"(",
"\"",
"schema",
"\"",
"equals",
"(",
"tag",
"name",
")",
")",
"{",
"schema",
"=",
"schemas",
"get",
"(",
"value",
")",
";",
"}",
"else",
"if",
"(",
"\"",
"cellsize",
"\"",
"equals",
"(",
"tag",
"name",
")",
")",
"{",
"try",
"{",
"cell",
"size",
"=",
"integer",
"parse",
"int",
"(",
"value",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"bad",
"ec",
"policy",
"cellsize",
"\"",
"+",
"\"",
"value",
"\"",
"+",
"value",
"+",
"\"",
"is",
"found",
"it",
"should",
"be",
"an",
"integer",
"\"",
")",
";",
"}",
"}",
"else",
"{",
"log",
"warn",
"(",
"\"",
"invalid",
"tag",
"name",
":",
"\"",
"+",
"tag",
"name",
")",
";",
"}",
"}",
"}",
"else",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"value",
"of",
"<",
"\"",
"+",
"tag",
"name",
"+",
"\"",
">",
"is",
"null",
"\"",
")",
";",
"}",
"}",
"}",
"if",
"(",
"schema",
"!",
"=",
"null",
"&",
"&",
"cell",
"size",
">",
"0",
")",
"{",
"return",
"new",
"erasure",
"coding",
"policy",
"(",
"schema",
",",
"cell",
"size",
")",
";",
"}",
"else",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"\"",
"bad",
"policy",
"is",
"found",
"in",
"\"",
"+",
"\"",
"ec",
"policy",
"configuration",
"file",
"\"",
")",
";",
"}",
"}"
]
|
[
"execute",
"the",
"scanpurge"
]
| [
"scan",
"result",
"execute",
"(",
"final",
"scan",
"args",
"scan",
"args",
")",
"throws",
"i",
"o",
"exception",
"{",
"s",
"3",
"a",
"file",
"system",
"fs",
"=",
"bind",
"filesystem",
"(",
"scan",
"args",
"get",
"source",
"f",
"s",
"(",
")",
")",
";",
"/",
"/",
"extract",
"the",
"callbacks",
"needed",
"for",
"the",
"rest",
"of",
"the",
"work",
"store",
"context",
"=",
"fs",
"create",
"store",
"context",
"(",
")",
";",
"operations",
"=",
"fs",
"create",
"marker",
"tool",
"operations",
"(",
")",
";",
"/",
"/",
"filesystem",
"policy",
"/",
"/",
"if",
"the",
"-",
"nonauth",
"option",
"is",
"set",
",",
"this",
"is",
"used",
"to",
"filter",
"/",
"/",
"out",
"surplus",
"markers",
"from",
"the",
"results",
"directory",
"policy",
"active",
"policy",
"=",
"fs",
"get",
"directory",
"marker",
"policy",
"(",
")",
";",
"directory",
"policy",
"marker",
"policy",
"policy",
"=",
"active",
"policy",
"get",
"marker",
"policy",
"(",
")",
";",
"println",
"(",
"out",
",",
"\"",
"the",
"directory",
"marker",
"policy",
"of",
"%",
"s",
"is",
"\\",
"\"",
"%",
"s",
"\\",
"\"",
"\"",
",",
"store",
"context",
"get",
"fs",
"u",
"r",
"i",
"(",
")",
",",
"policy",
")",
";",
"string",
"auth",
"path",
"=",
"store",
"context",
"get",
"configuration",
"(",
")",
"get",
"trimmed",
"(",
"authoritative",
"path",
",",
"\"",
"\"",
")",
";",
"if",
"(",
"policy",
"=",
"=",
"directory",
"policy",
"marker",
"policy",
"authoritative",
")",
"{",
"/",
"/",
"in",
"auth",
"mode",
",",
"note",
"the",
"auth",
"paths",
"println",
"(",
"out",
",",
"\"",
"authoritative",
"path",
"list",
"is",
"\\",
"\"",
"%",
"s",
"\\",
"\"",
"\"",
",",
"auth",
"path",
")",
";",
"}",
"/",
"/",
"qualify",
"the",
"path",
"path",
"path",
"=",
"scan",
"args",
"get",
"path",
"(",
")",
";",
"path",
"target",
"=",
"path",
"make",
"qualified",
"(",
"fs",
"get",
"uri",
"(",
")",
",",
"new",
"path",
"(",
"\"",
"/",
"\"",
")",
")",
";",
"/",
"/",
"initial",
"safety",
"check",
":",
"does",
"the",
"path",
"exist",
"?",
"try",
"{",
"get",
"filesystem",
"(",
")",
"get",
"file",
"status",
"(",
"target",
")",
";",
"}",
"catch",
"(",
"unknown",
"store",
"exception",
"ex",
")",
"{",
"/",
"/",
"bucket",
"doesn",
"'",
"t",
"exist",
"/",
"/",
"replace",
"the",
"stack",
"trace",
"with",
"an",
"error",
"code",
"throw",
"new",
"exit",
"util",
"exit",
"exception",
"(",
"exit",
"not",
"found",
",",
"ex",
"to",
"string",
"(",
")",
",",
"ex",
")",
";",
"}",
"catch",
"(",
"file",
"not",
"found",
"exception",
"ex",
")",
"{",
"throw",
"new",
"exit",
"util",
"exit",
"exception",
"(",
"exit",
"not",
"found",
",",
"\"",
"not",
"found",
":",
"\"",
"+",
"target",
",",
"ex",
")",
";",
"}",
"/",
"/",
"the",
"default",
"filter",
"policy",
"is",
"that",
"all",
"entries",
"should",
"be",
"deleted",
"directory",
"policy",
"filter",
"policy",
";",
"if",
"(",
"scan",
"args",
"is",
"non",
"auth",
"(",
")",
")",
"{",
"filter",
"policy",
"=",
"new",
"directory",
"policy",
"impl",
"(",
"directory",
"policy",
"marker",
"policy",
"authoritative",
",",
"fs",
":",
":",
"allow",
"authoritative",
")",
";",
"}",
"else",
"{",
"filter",
"policy",
"=",
"null",
";",
"}",
"int",
"min",
"marker",
"count",
"=",
"scan",
"args",
"get",
"min",
"marker",
"count",
"(",
")",
";",
"int",
"max",
"marker",
"count",
"=",
"scan",
"args",
"get",
"max",
"marker",
"count",
"(",
")",
";",
"if",
"(",
"min",
"marker",
"count",
">",
"max",
"marker",
"count",
")",
"{",
"/",
"/",
"swap",
"min",
"and",
"max",
"if",
"they",
"are",
"wrong",
"/",
"/",
"this",
"is",
"to",
"ensure",
"any",
"test",
"scripts",
"written",
"to",
"work",
"around",
"/",
"/",
"hadoop",
"-",
"17332",
"and",
"min",
"/",
"max",
"swapping",
"continue",
"to",
"work",
"println",
"(",
"out",
",",
"\"",
"swapping",
"-",
"min",
"(",
"%",
"d",
")",
"and",
"-",
"max",
"(",
"%",
"d",
")",
"values",
"\"",
",",
"min",
"marker",
"count",
",",
"max",
"marker",
"count",
")",
";",
"int",
"m",
"=",
"min",
"marker",
"count",
";",
"min",
"marker",
"count",
"=",
"max",
"marker",
"count",
";",
"max",
"marker",
"count",
"=",
"m",
";",
"}",
"scan",
"result",
"result",
"=",
"scan",
"(",
"target",
",",
"scan",
"args",
"is",
"do",
"purge",
"(",
")",
",",
"min",
"marker",
"count",
",",
"max",
"marker",
"count",
",",
"scan",
"args",
"get",
"limit",
"(",
")",
",",
"filter",
"policy",
")",
";",
"return",
"result",
";",
"}"
]
|
[
"returns",
"the",
"direct",
"byte",
"buffer",
"holding",
"the",
"pixel",
"data",
"for",
"the",
"format",
"alpha",
"each",
"value",
"is",
"encoded",
"as",
"a",
"byte",
"for",
"the",
"format",
"luminance",
"alpha",
"the",
"luminance",
"is",
"the",
"first",
"byte",
"and",
"the",
"alpha",
"is",
"the",
"second",
"byte",
"of",
"the",
"pixel",
"for",
"the",
"formats",
"rgb888",
"and",
"rgba8888",
"the",
"color",
"components",
"are",
"stored",
"in",
"a",
"single",
"byte",
"each",
"in",
"the",
"order",
"red",
",",
"green",
",",
"blue",
"(",
"alpha",
")",
"for",
"the",
"formats",
"rgb565",
"and",
"rgba4444",
"the",
"pixel",
"colors",
"are",
"stored",
"in",
"shorts",
"in",
"machine",
"dependent",
"order"
]
| [
"public",
"byte",
"buffer",
"get",
"pixels",
"(",
")",
"{",
"if",
"(",
"disposed",
")",
"throw",
"new",
"gdx",
"runtime",
"exception",
"(",
"\"",
"pixmap",
"already",
"disposed",
"\"",
")",
";",
"return",
"pixmap",
"get",
"pixels",
"(",
")",
";",
"}"
]
|
[
"model",
"tests",
"for",
"enum",
"class"
]
| [
"public",
"void",
"test",
"enum",
"class",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"enum",
"class",
"}"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.