docstring_tokens
list | code_tokens
list |
---|---|
[
"find",
"the",
"fields",
"constant",
"that",
"matches",
"field",
"id",
",",
"or",
"null",
"if",
"its",
"not",
"found"
] | [
"public",
"static",
"fields",
"find",
"by",
"thrift",
"id",
"(",
"int",
"field",
"id",
")",
"{",
"switch",
"(",
"field",
"id",
")",
"{",
"case",
"1",
":",
"/",
"/",
"executor",
"info",
"return",
"executor",
"info",
";",
"case",
"2",
":",
"/",
"/",
"component",
"id",
"return",
"component",
"id",
";",
"case",
"3",
":",
"/",
"/",
"host",
"return",
"host",
";",
"case",
"4",
":",
"/",
"/",
"port",
"return",
"port",
";",
"case",
"5",
":",
"/",
"/",
"uptime",
"secs",
"return",
"uptime",
"secs",
";",
"case",
"7",
":",
"/",
"/",
"stats",
"return",
"stats",
";",
"default",
":",
"return",
"null",
";",
"}",
"}"
] |
[
"is",
"remember",
"me",
"authentication",
"?",
"looks",
"at",
"the",
"authentication",
"object",
"to",
"find",
"{",
"@",
"link",
"remember",
"me",
"credential",
"#",
"authentication",
"attribute",
"remember",
"me",
"}",
"and",
"expects",
"the",
"assertion",
"to",
"also",
"note",
"a",
"new",
"login",
"session"
] | [
"public",
"static",
"boolean",
"is",
"remember",
"me",
"authentication",
"(",
"final",
"authentication",
"model",
",",
"final",
"assertion",
"assertion",
")",
"{",
"val",
"authn",
"attributes",
"=",
"model",
"get",
"attributes",
"(",
")",
";",
"val",
"authn",
"method",
"=",
"authn",
"attributes",
"get",
"(",
"remember",
"me",
"credential",
"authentication",
"attribute",
"remember",
"me",
")",
";",
"return",
"authn",
"method",
"!",
"=",
"null",
"&",
"&",
"authn",
"method",
"contains",
"(",
"boolean",
"true",
")",
"&",
"&",
"assertion",
"is",
"from",
"new",
"login",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"remote",
"side",
"ip",
"address",
"when",
"invoked",
"inside",
"an",
"rpc",
"returns",
"null",
"incase",
"of",
"an",
"error"
] | [
"public",
"static",
"inet",
"address",
"get",
"remote",
"ip",
"(",
")",
"{",
"call",
"call",
"=",
"cur",
"call",
"get",
"(",
")",
";",
"return",
"(",
"call",
"!",
"=",
"null",
")",
"?",
"call",
"get",
"host",
"inet",
"address",
"(",
")",
":",
"null",
";",
"}"
] |
[
"clean",
"up",
"resources"
] | [
"protected",
"static",
"void",
"clean",
"up",
"all",
"(",
")",
"{",
"context",
"context",
"=",
"context",
"util",
"get",
"context",
"(",
")",
";",
"if",
"(",
"context",
"!",
"=",
"null",
")",
"{",
"context",
"set",
"cur",
"entry",
"(",
"null",
")",
";",
"context",
"util",
"exit",
"(",
")",
";",
"}",
"constants",
"root",
"remove",
"child",
"list",
"(",
")",
";",
"cluster",
"builder",
"slot",
"get",
"cluster",
"node",
"map",
"(",
")",
"clear",
"(",
")",
";",
"/",
"/",
"clear",
"chain",
"map",
"in",
"ct",
"sph",
"try",
"{",
"method",
"reset",
"chain",
"map",
"method",
"=",
"ct",
"sph",
"class",
"get",
"declared",
"method",
"(",
"\"",
"reset",
"chain",
"map",
"\"",
")",
";",
"reset",
"chain",
"map",
"method",
"set",
"accessible",
"(",
"true",
")",
";",
"reset",
"chain",
"map",
"method",
"invoke",
"(",
"null",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"/",
"/",
"empty",
"}",
"}"
] |
[
"sets",
"the",
"<",
"code",
">",
"prefix",
"wrapped",
"array",
"<",
"code",
">",
"property"
] | [
"public",
"xml",
"item",
"prefix",
"wrapped",
"array",
"(",
"list",
"<",
"integer",
">",
"prefix",
"wrapped",
"array",
")",
"{",
"this",
"prefix",
"wrapped",
"array",
"=",
"prefix",
"wrapped",
"array",
";",
"return",
"this",
";",
"}"
] |
[
"generate",
"index",
"name",
"according",
"the",
"the",
"given",
"row"
] | [
"string",
"generate",
"(",
"row",
"data",
"row",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"aapt",
"pb",
"attribute",
"attr",
"=",
"1",
";",
"<",
"code",
">"
] | [
"public",
"builder",
"merge",
"attr",
"(",
"com",
"android",
"aapt",
"resources",
"attribute",
"value",
")",
"{",
"copy",
"on",
"write",
"(",
")",
";",
"instance",
"merge",
"attr",
"(",
"value",
")",
";",
"return",
"this",
";",
"}"
] |
[
"return",
"the",
"selected",
"object",
"in",
"the",
"j",
"list"
] | [
"program",
"get",
"selected",
"program",
"(",
")",
"{",
"int",
"index",
"=",
"program",
"list",
"get",
"selected",
"index",
"(",
")",
";",
"if",
"(",
"index",
">",
"=",
"0",
")",
"{",
"return",
"list",
"model",
"get",
"(",
"index",
")",
";",
"}",
"return",
"null",
";",
"}"
] |
[
"get",
"a",
"count",
"of",
"the",
"number",
"of",
"items",
"in",
"the",
"specified",
"state",
"at",
"the",
"time",
"of",
"this",
"call"
] | [
"public",
"int",
"get",
"count",
"(",
"final",
"int",
"state",
")",
"{",
"int",
"count",
"=",
"0",
";",
"for",
"(",
"i",
"concurrent",
"bag",
"entry",
"e",
":",
"shared",
"list",
")",
"{",
"if",
"(",
"e",
"get",
"state",
"(",
")",
"=",
"=",
"state",
")",
"{",
"count",
"+",
"+",
";",
"}",
"}",
"return",
"count",
";",
"}"
] |
[
"creates",
"a",
"new",
"value",
"of",
"the",
"given",
"type",
"the",
"type",
"must",
"be",
"a",
"fully",
"specified",
"internal",
"type",
"for",
"primitives",
",",
"classes",
",",
"or",
"arrays"
] | [
"public",
"value",
"create",
"value",
"(",
"string",
"type",
",",
"clazz",
"referenced",
"class",
",",
"boolean",
"may",
"be",
"null",
")",
"{",
"switch",
"(",
"type",
"char",
"at",
"(",
"0",
")",
")",
"{",
"case",
"class",
"constants",
"type",
"void",
":",
"return",
"null",
";",
"case",
"class",
"constants",
"type",
"boolean",
":",
"case",
"class",
"constants",
"type",
"byte",
":",
"case",
"class",
"constants",
"type",
"char",
":",
"case",
"class",
"constants",
"type",
"short",
":",
"case",
"class",
"constants",
"type",
"int",
":",
"return",
"create",
"integer",
"value",
"(",
")",
";",
"case",
"class",
"constants",
"type",
"long",
":",
"return",
"create",
"long",
"value",
"(",
")",
";",
"case",
"class",
"constants",
"type",
"float",
":",
"return",
"create",
"float",
"value",
"(",
")",
";",
"case",
"class",
"constants",
"type",
"double",
":",
"return",
"create",
"double",
"value",
"(",
")",
";",
"default",
":",
"return",
"create",
"reference",
"value",
"(",
"class",
"util",
"is",
"internal",
"array",
"type",
"(",
"type",
")",
"?",
"type",
":",
"class",
"util",
"internal",
"class",
"name",
"from",
"class",
"type",
"(",
"type",
")",
",",
"referenced",
"class",
",",
"may",
"be",
"null",
")",
";",
"}",
"}"
] |
[
"consume",
"the",
"response",
"status",
"value",
"as",
"an",
"integer"
] | [
"public",
"web",
"test",
"client",
"response",
"spec",
"value",
"(",
"consumer",
"<",
"integer",
">",
"consumer",
")",
"{",
"int",
"value",
"=",
"this",
"exchange",
"result",
"get",
"status",
"(",
")",
"value",
"(",
")",
";",
"this",
"exchange",
"result",
"assert",
"with",
"diagnostics",
"(",
"(",
")",
"-",
">",
"consumer",
"accept",
"(",
"value",
")",
")",
";",
"return",
"this",
"response",
"spec",
";",
"}"
] |
[
"an",
"application",
"has",
"no",
"more",
"outstanding",
"requests"
] | [
"synchronized",
"public",
"void",
"deactivate",
"application",
"(",
"string",
"user",
",",
"application",
"id",
"application",
"id",
")",
"{",
"set",
"<",
"application",
"id",
">",
"user",
"apps",
"=",
"users",
"applications",
"get",
"(",
"user",
")",
";",
"if",
"(",
"user",
"apps",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"user",
"apps",
"remove",
"(",
"application",
"id",
")",
")",
"{",
"metrics",
"deactivate",
"app",
"(",
"user",
")",
";",
"}",
"if",
"(",
"user",
"apps",
"is",
"empty",
"(",
")",
")",
"{",
"users",
"applications",
"remove",
"(",
"user",
")",
";",
"-",
"-",
"active",
"users",
";",
"metrics",
"decr",
"active",
"users",
"(",
")",
";",
"log",
"debug",
"(",
"\"",
"user",
"{",
"}",
"removed",
"from",
"active",
"users",
",",
"currently",
":",
"{",
"}",
"\"",
",",
"user",
",",
"active",
"users",
")",
";",
"}",
"}",
"}"
] |
[
"returns",
"a",
"new",
",",
"mutable",
"copy",
"of",
"this",
"array",
"'",
"s",
"values",
",",
"as",
"a",
"primitive",
"{",
"@",
"code",
"double",
"[",
"]",
"}"
] | [
"public",
"double",
"[",
"]",
"to",
"array",
"(",
")",
"{",
"return",
"arrays",
"copy",
"of",
"range",
"(",
"array",
",",
"start",
",",
"end",
")",
";",
"}"
] |
[
"remove",
"the",
"cache",
"by",
"key"
] | [
"public",
"static",
"void",
"remove",
"(",
"@",
"non",
"null",
"string",
"key",
")",
"{",
"remove",
"(",
"key",
",",
"get",
"default",
"cache",
"double",
"utils",
"(",
")",
")",
";",
"}"
] |
[
"writes",
"the",
"given",
"bitmap",
"font",
"data",
"to",
"a",
"file",
",",
"using",
"the",
"specified",
"<",
"tt",
">",
"page",
"refs",
"<",
"tt",
">",
"strings",
"as",
"the",
"image",
"paths",
"for",
"each",
"texture",
"page",
"the",
"glyphs",
"in",
"bitmap",
"font",
"data",
"have",
"a",
"\"",
"page",
"\"",
"id",
",",
"which",
"references",
"the",
"index",
"of",
"the",
"page",
"ref",
"you",
"specify",
"here",
"the",
"font",
"info",
"parameter",
"is",
"useful",
"for",
"cleaner",
"output",
";",
"such",
"as",
"including",
"a",
"size",
"and",
"font",
"face",
"name",
"hint",
"however",
",",
"it",
"can",
"be",
"null",
"to",
"use",
"default",
"values",
"lib",
"g",
"d",
"x",
"ignores",
"most",
"of",
"the",
"\"",
"info",
"\"",
"line",
"when",
"reading",
"back",
"fonts",
",",
"only",
"padding",
"is",
"used",
"padding",
"also",
"affects",
"the",
"size",
",",
"location",
",",
"and",
"offset",
"of",
"the",
"glyphs",
"that",
"are",
"output",
"likewise",
",",
"the",
"scale",
"w",
"and",
"scale",
"h",
"are",
"only",
"for",
"cleaner",
"output",
"they",
"are",
"currently",
"ignored",
"by",
"lib",
"g",
"d",
"x",
"'",
"s",
"reader",
"for",
"maximum",
"compatibility",
"with",
"other",
"b",
"m",
"font",
"tools",
",",
"you",
"should",
"use",
"the",
"width",
"and",
"height",
"of",
"your",
"texture",
"pages",
"(",
"each",
"page",
"should",
"be",
"the",
"same",
"size",
")"
] | [
"public",
"static",
"void",
"write",
"font",
"(",
"bitmap",
"font",
"data",
"font",
"data",
",",
"string",
"[",
"]",
"page",
"refs",
",",
"file",
"handle",
"out",
"fnt",
"file",
",",
"font",
"info",
"info",
",",
"int",
"scale",
"w",
",",
"int",
"scale",
"h",
")",
"{",
"if",
"(",
"info",
"=",
"=",
"null",
")",
"{",
"info",
"=",
"new",
"font",
"info",
"(",
")",
";",
"info",
"face",
"=",
"out",
"fnt",
"file",
"name",
"without",
"extension",
"(",
")",
";",
"}",
"int",
"line",
"height",
"=",
"(",
"int",
")",
"font",
"data",
"line",
"height",
";",
"int",
"pages",
"=",
"page",
"refs",
"length",
";",
"int",
"packed",
"=",
"0",
";",
"int",
"base",
"=",
"(",
"int",
")",
"(",
"(",
"font",
"data",
"cap",
"height",
")",
"+",
"(",
"font",
"data",
"flipped",
"?",
"-",
"font",
"data",
"ascent",
":",
"font",
"data",
"ascent",
")",
")",
";",
"output",
"format",
"fmt",
"=",
"bitmap",
"font",
"writer",
"get",
"output",
"format",
"(",
")",
";",
"boolean",
"xml",
"=",
"fmt",
"=",
"=",
"output",
"format",
"xml",
";",
"string",
"builder",
"buf",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"if",
"(",
"xml",
")",
"{",
"buf",
"append",
"(",
"\"",
"<",
"font",
">",
"\\",
"n",
"\"",
")",
";",
"}",
"string",
"xml",
"open",
"=",
"xml",
"?",
"\"",
"\\",
"t",
"<",
"\"",
":",
"\"",
"\"",
";",
"string",
"xml",
"close",
"self",
"=",
"xml",
"?",
"\"",
"/",
">",
"\"",
":",
"\"",
"\"",
";",
"string",
"xml",
"tab",
"=",
"xml",
"?",
"\"",
"\\",
"t",
"\"",
":",
"\"",
"\"",
";",
"string",
"xml",
"close",
"=",
"xml",
"?",
"\"",
">",
"\"",
":",
"\"",
"\"",
";",
"string",
"xml",
"quote",
"=",
"xml",
"?",
"\"",
"\\",
"\"",
"\"",
":",
"\"",
"\"",
";",
"string",
"alpha",
"chnl",
"params",
"=",
"xml",
"?",
"\"",
"alpha",
"chnl",
"=",
"\\",
"\"",
"0",
"\\",
"\"",
"red",
"chnl",
"=",
"\\",
"\"",
"0",
"\\",
"\"",
"green",
"chnl",
"=",
"\\",
"\"",
"0",
"\\",
"\"",
"blue",
"chnl",
"=",
"\\",
"\"",
"0",
"\\",
"\"",
"\"",
":",
"\"",
"alpha",
"chnl",
"=",
"0",
"red",
"chnl",
"=",
"0",
"green",
"chnl",
"=",
"0",
"blue",
"chnl",
"=",
"0",
"\"",
";",
"/",
"/",
"info",
"line",
"buf",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"info",
"face",
"=",
"\\",
"\"",
"\"",
")",
"append",
"(",
"info",
"face",
"=",
"=",
"null",
"?",
"\"",
"\"",
":",
"info",
"face",
"replace",
"all",
"(",
"\"",
"\\",
"\"",
"\"",
",",
"\"",
"'",
"\"",
")",
")",
"append",
"(",
"\"",
"\\",
"\"",
"size",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"size",
")",
")",
"append",
"(",
"\"",
"bold",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"bold",
"?",
"1",
":",
"0",
")",
")",
"append",
"(",
"\"",
"italic",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"italic",
"?",
"1",
":",
"0",
")",
")",
"append",
"(",
"\"",
"charset",
"=",
"\\",
"\"",
"\"",
")",
"append",
"(",
"info",
"charset",
"=",
"=",
"null",
"?",
"\"",
"\"",
":",
"info",
"charset",
")",
"append",
"(",
"\"",
"\\",
"\"",
"unicode",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"unicode",
"?",
"1",
":",
"0",
")",
")",
"append",
"(",
"\"",
"stretch",
"h",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"stretch",
"h",
")",
")",
"append",
"(",
"\"",
"smooth",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"smooth",
"?",
"1",
":",
"0",
")",
")",
"append",
"(",
"\"",
"aa",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"aa",
")",
")",
"append",
"(",
"\"",
"padding",
"=",
"\"",
")",
"append",
"(",
"xml",
"quote",
")",
"append",
"(",
"info",
"padding",
"up",
")",
"append",
"(",
"\"",
",",
"\"",
")",
"append",
"(",
"info",
"padding",
"right",
")",
"append",
"(",
"\"",
",",
"\"",
")",
"append",
"(",
"info",
"padding",
"down",
")",
"append",
"(",
"\"",
",",
"\"",
")",
"append",
"(",
"info",
"padding",
"left",
")",
"append",
"(",
"xml",
"quote",
")",
"append",
"(",
"\"",
"spacing",
"=",
"\"",
")",
"append",
"(",
"xml",
"quote",
")",
"append",
"(",
"info",
"spacing",
"horizontal",
")",
"append",
"(",
"\"",
",",
"\"",
")",
"append",
"(",
"info",
"spacing",
"vertical",
")",
"append",
"(",
"xml",
"quote",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"/",
"/",
"common",
"line",
"buf",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"common",
"line",
"height",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"line",
"height",
")",
")",
"append",
"(",
"\"",
"base",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"base",
")",
")",
"append",
"(",
"\"",
"scale",
"w",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"scale",
"w",
")",
")",
"append",
"(",
"\"",
"scale",
"h",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"scale",
"h",
")",
")",
"append",
"(",
"\"",
"pages",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"pages",
")",
")",
"append",
"(",
"\"",
"packed",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"packed",
")",
")",
"append",
"(",
"alpha",
"chnl",
"params",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"if",
"(",
"xml",
")",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"pages",
">",
"\\",
"n",
"\"",
")",
";",
"/",
"/",
"pages",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"page",
"refs",
"length",
";",
"i",
"+",
"+",
")",
"{",
"buf",
"append",
"(",
"xml",
"tab",
")",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"page",
"id",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"i",
")",
")",
"append",
"(",
"\"",
"file",
"=",
"\\",
"\"",
"\"",
")",
"append",
"(",
"page",
"refs",
"[",
"i",
"]",
")",
"append",
"(",
"\"",
"\\",
"\"",
"\"",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"}",
"if",
"(",
"xml",
")",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"/",
"pages",
">",
"\\",
"n",
"\"",
")",
";",
"/",
"/",
"chars",
"array",
"<",
"glyph",
">",
"glyphs",
"=",
"new",
"array",
"<",
"glyph",
">",
"(",
"256",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"font",
"data",
"glyphs",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"font",
"data",
"glyphs",
"[",
"i",
"]",
"=",
"=",
"null",
")",
"continue",
";",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"font",
"data",
"glyphs",
"[",
"i",
"]",
"length",
";",
"j",
"+",
"+",
")",
"{",
"if",
"(",
"font",
"data",
"glyphs",
"[",
"i",
"]",
"[",
"j",
"]",
"!",
"=",
"null",
")",
"{",
"glyphs",
"add",
"(",
"font",
"data",
"glyphs",
"[",
"i",
"]",
"[",
"j",
"]",
")",
";",
"}",
"}",
"}",
"buf",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"chars",
"count",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"glyphs",
"size",
")",
")",
"append",
"(",
"xml",
"close",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"int",
"pad",
"top",
"=",
"info",
"padding",
"up",
";",
"int",
"pad",
"left",
"=",
"info",
"padding",
"left",
";",
"int",
"pad",
"right",
"=",
"info",
"padding",
"right",
";",
"int",
"pad",
"x",
"=",
"pad",
"left",
"+",
"pad",
"right",
";",
"int",
"pad",
"y",
"=",
"info",
"padding",
"up",
"+",
"info",
"padding",
"down",
";",
"/",
"/",
"char",
"definitions",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"glyphs",
"size",
";",
"i",
"+",
"+",
")",
"{",
"glyph",
"g",
"=",
"glyphs",
"get",
"(",
"i",
")",
";",
"boolean",
"empty",
"=",
"g",
"width",
"=",
"=",
"0",
"|",
"|",
"g",
"height",
"=",
"=",
"0",
";",
"buf",
"append",
"(",
"xml",
"tab",
")",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"char",
"id",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"6s",
"\"",
",",
"g",
"id",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"x",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"empty",
"?",
"0",
":",
"g",
"src",
"x",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"y",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"empty",
"?",
"0",
":",
"g",
"src",
"y",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"width",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"empty",
"?",
"0",
":",
"g",
"width",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"height",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"empty",
"?",
"0",
":",
"g",
"height",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"xoffset",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"g",
"xoffset",
"-",
"pad",
"left",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"yoffset",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"font",
"data",
"flipped",
"?",
"g",
"yoffset",
"+",
"pad",
"top",
":",
"-",
"(",
"g",
"height",
"+",
"(",
"g",
"yoffset",
"+",
"pad",
"top",
")",
")",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"xadvance",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"g",
"xadvance",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"page",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"string",
"format",
"(",
"\"",
"%",
"-",
"5s",
"\"",
",",
"g",
"page",
")",
",",
"true",
")",
")",
"append",
"(",
"\"",
"chnl",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"0",
",",
"true",
")",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"}",
"if",
"(",
"xml",
")",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"/",
"chars",
">",
"\\",
"n",
"\"",
")",
";",
"/",
"/",
"kernings",
"int",
"kern",
"count",
"=",
"0",
";",
"string",
"builder",
"kern",
"buf",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"glyphs",
"size",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"glyphs",
"size",
";",
"j",
"+",
"+",
")",
"{",
"glyph",
"first",
"=",
"glyphs",
"get",
"(",
"i",
")",
";",
"glyph",
"second",
"=",
"glyphs",
"get",
"(",
"j",
")",
";",
"int",
"kern",
"=",
"first",
"get",
"kerning",
"(",
"(",
"char",
")",
"second",
"id",
")",
";",
"if",
"(",
"kern",
"!",
"=",
"0",
")",
"{",
"kern",
"count",
"+",
"+",
";",
"kern",
"buf",
"append",
"(",
"xml",
"tab",
")",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"kerning",
"first",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"first",
"id",
")",
")",
"append",
"(",
"\"",
"second",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"second",
"id",
")",
")",
"append",
"(",
"\"",
"amount",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"kern",
",",
"true",
")",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"}",
"}",
"}",
"/",
"/",
"kern",
"info",
"buf",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"kernings",
"count",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"kern",
"count",
")",
")",
"append",
"(",
"xml",
"close",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"buf",
"append",
"(",
"kern",
"buf",
")",
";",
"if",
"(",
"xml",
")",
"{",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"/",
"kernings",
">",
"\\",
"n",
"\"",
")",
";",
"}",
"/",
"/",
"override",
"metrics",
"if",
"(",
"info",
"has",
"override",
"metrics",
")",
"{",
"if",
"(",
"xml",
")",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"metrics",
">",
"\\",
"n",
"\"",
")",
";",
"buf",
"append",
"(",
"xml",
"tab",
")",
"append",
"(",
"xml",
"open",
")",
"append",
"(",
"\"",
"metrics",
"ascent",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"ascent",
",",
"true",
")",
")",
"append",
"(",
"\"",
"descent",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"descent",
",",
"true",
")",
")",
"append",
"(",
"\"",
"down",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"down",
",",
"true",
")",
")",
"append",
"(",
"\"",
"cap",
"height",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"cap",
"height",
",",
"true",
")",
")",
"append",
"(",
"\"",
"line",
"height",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"line",
"height",
",",
"true",
")",
")",
"append",
"(",
"\"",
"space",
"x",
"advance",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"space",
"x",
"advance",
",",
"true",
")",
")",
"append",
"(",
"\"",
"x",
"height",
"=",
"\"",
")",
"append",
"(",
"quote",
"(",
"info",
"x",
"height",
",",
"true",
")",
")",
"append",
"(",
"xml",
"close",
"self",
")",
"append",
"(",
"\"",
"\\",
"n",
"\"",
")",
";",
"if",
"(",
"xml",
")",
"buf",
"append",
"(",
"\"",
"\\",
"t",
"<",
"/",
"metrics",
">",
"\\",
"n",
"\"",
")",
";",
"}",
"if",
"(",
"xml",
")",
"{",
"buf",
"append",
"(",
"\"",
"<",
"/",
"font",
">",
"\"",
")",
";",
"}",
"string",
"charset",
"=",
"info",
"charset",
";",
"if",
"(",
"charset",
"!",
"=",
"null",
"&",
"&",
"charset",
"length",
"(",
")",
"=",
"=",
"0",
")",
"charset",
"=",
"null",
";",
"out",
"fnt",
"file",
"write",
"string",
"(",
"buf",
"to",
"string",
"(",
")",
",",
"false",
",",
"charset",
")",
";",
"}"
] |
[
"format",
"the",
"number",
"as",
"string",
",",
"using",
"the",
"specified",
"number",
"format"
] | [
"public",
"string",
"get",
"as",
"text",
"(",
")",
"{",
"object",
"value",
"=",
"get",
"value",
"(",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"\"",
"\"",
";",
"}",
"if",
"(",
"this",
"number",
"format",
"!",
"=",
"null",
")",
"{",
"/",
"/",
"use",
"number",
"format",
"for",
"rendering",
"value",
"return",
"this",
"number",
"format",
"format",
"(",
"value",
")",
";",
"}",
"else",
"{",
"/",
"/",
"use",
"to",
"string",
"method",
"for",
"rendering",
"value",
"return",
"value",
"to",
"string",
"(",
")",
";",
"}",
"}"
] |
[
"creates",
"a",
"sorter",
"of",
"{",
"@",
"link",
"leaf",
"reader",
"context",
"}",
"that",
"orders",
"leaves",
"depending",
"on",
"the",
"minimum",
"value",
"and",
"the",
"sort",
"order",
"of",
"the",
"provided",
"<",
"code",
">",
"sort",
"field",
"<",
"code",
">"
] | [
"static",
"checked",
"consumer",
"<",
"list",
"<",
"leaf",
"reader",
"context",
">",
",",
"i",
"o",
"exception",
">",
"create",
"leaf",
"sorter",
"(",
"sort",
"field",
"sort",
"field",
")",
"{",
"return",
"leaves",
"-",
">",
"{",
"long",
"[",
"]",
"sort",
"values",
"=",
"new",
"long",
"[",
"leaves",
"size",
"(",
")",
"]",
";",
"long",
"missing",
"value",
"=",
"(",
"long",
")",
"sort",
"field",
"get",
"missing",
"value",
"(",
")",
";",
"for",
"(",
"leaf",
"reader",
"context",
"ctx",
":",
"leaves",
")",
"{",
"point",
"values",
"values",
"=",
"ctx",
"reader",
"(",
")",
"get",
"point",
"values",
"(",
"sort",
"field",
"get",
"field",
"(",
")",
")",
";",
"if",
"(",
"values",
"=",
"=",
"null",
")",
"{",
"sort",
"values",
"[",
"ctx",
"ord",
"]",
"=",
"missing",
"value",
";",
"}",
"else",
"{",
"byte",
"[",
"]",
"sort",
"value",
"=",
"sort",
"field",
"get",
"reverse",
"(",
")",
"?",
"values",
"get",
"max",
"packed",
"value",
"(",
")",
":",
"values",
"get",
"min",
"packed",
"value",
"(",
")",
";",
"sort",
"values",
"[",
"ctx",
"ord",
"]",
"=",
"sort",
"value",
"=",
"=",
"null",
"?",
"missing",
"value",
":",
"long",
"point",
"decode",
"dimension",
"(",
"sort",
"value",
",",
"0",
")",
";",
"}",
"}",
"comparator",
"<",
"leaf",
"reader",
"context",
">",
"comparator",
"=",
"comparator",
"comparing",
"long",
"(",
"l",
"-",
">",
"sort",
"values",
"[",
"l",
"ord",
"]",
")",
";",
"if",
"(",
"sort",
"field",
"get",
"reverse",
"(",
")",
")",
"{",
"comparator",
"=",
"comparator",
"reversed",
"(",
")",
";",
"}",
"collections",
"sort",
"(",
"leaves",
",",
"comparator",
")",
";",
"}",
";",
"}"
] |
[
"formats",
"the",
"host",
"string",
"of",
"an",
"address",
"so",
"it",
"can",
"be",
"used",
"for",
"computing",
"an",
"http",
"component",
"such",
"as",
"a",
"url",
"or",
"a",
"host",
"header"
] | [
"public",
"static",
"string",
"format",
"hostname",
"for",
"http",
"(",
"inet",
"socket",
"address",
"addr",
")",
"{",
"string",
"host",
"string",
"=",
"net",
"util",
"get",
"hostname",
"(",
"addr",
")",
";",
"if",
"(",
"net",
"util",
"is",
"valid",
"ip",
"v",
"6",
"address",
"(",
"host",
"string",
")",
")",
"{",
"if",
"(",
"!",
"addr",
"is",
"unresolved",
"(",
")",
")",
"{",
"host",
"string",
"=",
"net",
"util",
"to",
"address",
"string",
"(",
"addr",
"get",
"address",
"(",
")",
")",
";",
"}",
"return",
"'",
"[",
"'",
"+",
"host",
"string",
"+",
"'",
"]",
"'",
";",
"}",
"return",
"host",
"string",
";",
"}"
] |
[
"start",
"a",
"new",
"back",
"off",
"execution"
] | [
"back",
"off",
"execution",
"start",
"(",
")",
";"
] |
[
"get",
"bool",
"item"
] | [
"public",
"boolean",
"get",
"bool",
"item",
"(",
")",
"{",
"return",
"bool",
"item",
";",
"}"
] |
[
"displays",
"the",
"execute",
"diff",
"dialog"
] | [
"void",
"display",
"execute",
"diff",
"(",
")",
"{",
"if",
"(",
"execute",
"diff",
"dialog",
"=",
"=",
"null",
")",
"{",
"execute",
"diff",
"dialog",
"=",
"new",
"execute",
"diff",
"dialog",
"(",
")",
";",
"execute",
"diff",
"dialog",
"add",
"action",
"listener",
"(",
"new",
"diff",
"action",
"listener",
"(",
")",
")",
";",
"}",
"if",
"(",
"execute",
"diff",
"dialog",
"!",
"=",
"null",
")",
"{",
"execute",
"diff",
"dialog",
"configure",
"(",
"primary",
"program",
",",
"secondary",
"diff",
"program",
",",
"current",
"selection",
",",
"exec",
"diff",
"filter",
")",
";",
"execute",
"diff",
"dialog",
"set",
"pgm",
"context",
"enabled",
"(",
"same",
"program",
"context",
")",
";",
"tool",
"show",
"dialog",
"(",
"execute",
"diff",
"dialog",
")",
";",
"}",
"}"
] |
[
"get",
"the",
"md",
"5",
"for",
"the",
"file",
"call",
"get",
"m",
"d",
"5",
"(",
"file",
"input",
"stream",
"is",
",",
"int",
"buf",
"len",
")",
"inside"
] | [
"public",
"static",
"string",
"get",
"m",
"d",
"5",
"(",
"final",
"file",
"file",
",",
"final",
"int",
"buf",
"len",
")",
"{",
"if",
"(",
"file",
"=",
"=",
"null",
"|",
"|",
"buf",
"len",
"<",
"=",
"0",
"|",
"|",
"!",
"file",
"exists",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"file",
"input",
"stream",
"fin",
"=",
"null",
";",
"try",
"{",
"fin",
"=",
"new",
"file",
"input",
"stream",
"(",
"file",
")",
";",
"string",
"md",
"5",
"=",
"md5",
"get",
"m",
"d",
"5",
"(",
"fin",
",",
"(",
"int",
")",
"(",
"buf",
"len",
"<",
"=",
"file",
"length",
"(",
")",
"?",
"buf",
"len",
":",
"file",
"length",
"(",
")",
")",
")",
";",
"fin",
"close",
"(",
")",
";",
"return",
"md",
"5",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}",
"finally",
"{",
"i",
"o",
"helper",
"close",
"quietly",
"(",
"fin",
")",
";",
"}",
"}"
] |
[
"if",
"tracing",
"start",
"time",
"greater",
"than",
"{",
"@",
"link",
"profile",
"task",
"#",
"get",
"min",
"duration",
"threshold",
"(",
")",
"}",
",",
"then",
"start",
"to",
"profiling",
"trace"
] | [
"public",
"void",
"start",
"profiling",
"if",
"need",
"(",
")",
"{",
"if",
"(",
"system",
"current",
"time",
"millis",
"(",
")",
"-",
"tracing",
"context",
"create",
"time",
"(",
")",
">",
"execution",
"context",
"get",
"task",
"(",
")",
"get",
"min",
"duration",
"threshold",
"(",
")",
")",
"{",
"this",
"profiling",
"start",
"time",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"this",
"tracing",
"context",
"profile",
"status",
"(",
")",
"update",
"status",
"(",
"profile",
"status",
"profiling",
")",
";",
"}",
"}"
] |
[
"retype",
"the",
"high",
"variable",
"to",
"a",
"given",
"data",
"-",
"type",
"to",
"the",
"database"
] | [
"private",
"void",
"commit",
"variable",
"(",
"high",
"variable",
"var",
",",
"data",
"type",
"new",
"dt",
",",
"boolean",
"is",
"this",
"param",
")",
"{",
"if",
"(",
"!",
"is",
"this",
"param",
")",
"{",
"try",
"{",
"high",
"function",
"d",
"b",
"util",
"update",
"d",
"b",
"variable",
"(",
"var",
"get",
"symbol",
"(",
")",
",",
"null",
",",
"new",
"dt",
",",
"source",
"type",
"user",
"defined",
")",
";",
"}",
"catch",
"(",
"duplicate",
"name",
"exception",
"e",
")",
"{",
"throw",
"new",
"assert",
"exception",
"(",
"\"",
"unexpected",
"exception",
"\"",
",",
"e",
")",
";",
"}",
"catch",
"(",
"invalid",
"input",
"exception",
"e",
")",
"{",
"msg",
"error",
"(",
"this",
",",
"\"",
"failed",
"to",
"re",
"-",
"type",
"variable",
"\"",
"+",
"var",
"get",
"name",
"(",
")",
"+",
"\"",
":",
"\"",
"+",
"e",
"get",
"message",
"(",
")",
")",
";",
"}",
"}",
"}"
] |
[
"returns",
"true",
"if",
"this",
"parser",
"forbids",
"skipping",
"names",
"and",
"values"
] | [
"public",
"final",
"boolean",
"fail",
"on",
"unknown",
"(",
")",
"{",
"return",
"fail",
"on",
"unknown",
";",
"}"
] |
[
"spin",
"-",
"waits",
"up",
"to",
"the",
"specified",
"number",
"of",
"milliseconds",
"for",
"the",
"given",
"thread",
"to",
"enter",
"a",
"wait",
"state",
":",
"blocked",
",",
"waiting",
",",
"or",
"timed",
"waiting"
] | [
"void",
"wait",
"for",
"thread",
"to",
"enter",
"wait",
"state",
"(",
"thread",
"thread",
",",
"long",
"timeout",
"millis",
")",
"{",
"long",
"start",
"time",
"=",
"system",
"nano",
"time",
"(",
")",
";",
"for",
"(",
";",
";",
")",
"{",
"thread",
"state",
"s",
"=",
"thread",
"get",
"state",
"(",
")",
";",
"if",
"(",
"s",
"=",
"=",
"thread",
"state",
"blocked",
"|",
"|",
"s",
"=",
"=",
"thread",
"state",
"waiting",
"|",
"|",
"s",
"=",
"=",
"thread",
"state",
"timed",
"waiting",
")",
"return",
";",
"else",
"if",
"(",
"s",
"=",
"=",
"thread",
"state",
"terminated",
")",
"fail",
"(",
"\"",
"unexpected",
"thread",
"termination",
"\"",
")",
";",
"else",
"if",
"(",
"millis",
"elapsed",
"since",
"(",
"start",
"time",
")",
">",
"timeout",
"millis",
")",
"{",
"thread",
"assert",
"true",
"(",
"thread",
"is",
"alive",
"(",
")",
")",
";",
"return",
";",
"}",
"thread",
"yield",
"(",
")",
";",
"}",
"}"
] |
[
"displays",
"a",
"filesystem",
"related",
"{",
"@",
"link",
"throwable",
"exception",
"}",
"in",
"the",
"most",
"user",
"-",
"friendly",
"manner",
"possible",
",",
"even",
"if",
"we",
"have",
"to",
"do",
"some",
"hacky",
"things",
"with",
"helping",
"the",
"user",
"with",
"crypto",
"problems"
] | [
"public",
"static",
"void",
"display",
"exception",
"(",
"object",
"originator",
",",
"component",
"parent",
",",
"string",
"title",
",",
"string",
"message",
",",
"throwable",
"throwable",
")",
"{",
"if",
"(",
"throwable",
"instanceof",
"crypto",
"exception",
")",
"{",
"display",
"crypto",
"exception",
"(",
"originator",
",",
"parent",
",",
"title",
",",
"message",
",",
"(",
"crypto",
"exception",
")",
"throwable",
")",
";",
"}",
"else",
"{",
"msg",
"show",
"error",
"(",
"originator",
",",
"parent",
",",
"title",
",",
"message",
",",
"throwable",
")",
";",
"}",
"}"
] |
[
"creates",
"a",
"{",
"@",
"link",
"leader",
"retrieval",
"driver",
"factory",
"}",
"implemented",
"by",
"zoo",
"keeper"
] | [
"public",
"static",
"zoo",
"keeper",
"leader",
"retrieval",
"driver",
"factory",
"create",
"leader",
"retrieval",
"driver",
"factory",
"(",
"final",
"curator",
"framework",
"client",
",",
"final",
"configuration",
"configuration",
",",
"final",
"string",
"path",
"suffix",
")",
"{",
"final",
"string",
"leader",
"path",
"=",
"configuration",
"get",
"string",
"(",
"high",
"availability",
"options",
"ha",
"zookeeper",
"leader",
"path",
")",
"+",
"path",
"suffix",
";",
"return",
"new",
"zoo",
"keeper",
"leader",
"retrieval",
"driver",
"factory",
"(",
"client",
",",
"leader",
"path",
")",
";",
"}"
] |
[
"initiates",
"a",
"scan",
",",
"using",
"the",
"specified",
"camera",
",",
"only",
"for",
"a",
"certain",
"set",
"of",
"barcode",
"types",
",",
"given",
"as",
"strings",
"corresponding",
"to",
"their",
"names",
"in",
"z",
"xing",
"'",
"s",
"{",
"@",
"code",
"barcode",
"format",
"}",
"class",
"like",
"\"",
"upc",
"a",
"\"",
"you",
"can",
"supply",
"constants",
"like",
"{",
"@",
"link",
"#",
"product",
"code",
"types",
"}",
"for",
"example"
] | [
"public",
"final",
"alert",
"dialog",
"initiate",
"scan",
"(",
"collection",
"<",
"string",
">",
"desired",
"barcode",
"formats",
",",
"int",
"camera",
"id",
")",
"{",
"intent",
"intent",
"scan",
"=",
"new",
"intent",
"(",
"bs",
"package",
"+",
"\"",
"scan",
"\"",
")",
";",
"intent",
"scan",
"add",
"category",
"(",
"intent",
"category",
"default",
")",
";",
"/",
"/",
"check",
"which",
"types",
"of",
"codes",
"to",
"scan",
"for",
"if",
"(",
"desired",
"barcode",
"formats",
"!",
"=",
"null",
")",
"{",
"/",
"/",
"set",
"the",
"desired",
"barcode",
"types",
"string",
"builder",
"joined",
"by",
"comma",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"for",
"(",
"string",
"format",
":",
"desired",
"barcode",
"formats",
")",
"{",
"if",
"(",
"joined",
"by",
"comma",
"length",
"(",
")",
">",
"0",
")",
"{",
"joined",
"by",
"comma",
"append",
"(",
"'",
",",
"'",
")",
";",
"}",
"joined",
"by",
"comma",
"append",
"(",
"format",
")",
";",
"}",
"intent",
"scan",
"put",
"extra",
"(",
"\"",
"scan",
"formats",
"\"",
",",
"joined",
"by",
"comma",
"to",
"string",
"(",
")",
")",
";",
"}",
"/",
"/",
"check",
"requested",
"camera",
"id",
"if",
"(",
"camera",
"id",
">",
"=",
"0",
")",
"{",
"intent",
"scan",
"put",
"extra",
"(",
"\"",
"scan",
"camera",
"id",
"\"",
",",
"camera",
"id",
")",
";",
"}",
"string",
"target",
"app",
"package",
"=",
"find",
"target",
"app",
"package",
"(",
"intent",
"scan",
")",
";",
"if",
"(",
"target",
"app",
"package",
"=",
"=",
"null",
")",
"{",
"return",
"show",
"download",
"dialog",
"(",
")",
";",
"}",
"intent",
"scan",
"set",
"package",
"(",
"target",
"app",
"package",
")",
";",
"intent",
"scan",
"add",
"flags",
"(",
"intent",
"flag",
"activity",
"clear",
"top",
")",
";",
"intent",
"scan",
"add",
"flags",
"(",
"flag",
"new",
"doc",
")",
";",
"attach",
"more",
"extras",
"(",
"intent",
"scan",
")",
";",
"start",
"activity",
"for",
"result",
"(",
"intent",
"scan",
",",
"request",
"code",
")",
";",
"return",
"null",
";",
"}"
] |
[
"wait",
"until",
"the",
"rpc",
"servers",
"have",
"shutdown"
] | [
"void",
"join",
"(",
")",
"throws",
"interrupted",
"exception",
"{",
"client",
"rpc",
"server",
"join",
"(",
")",
";",
"if",
"(",
"service",
"rpc",
"server",
"!",
"=",
"null",
")",
"{",
"service",
"rpc",
"server",
"join",
"(",
")",
";",
"}",
"if",
"(",
"lifeline",
"rpc",
"server",
"!",
"=",
"null",
")",
"{",
"lifeline",
"rpc",
"server",
"join",
"(",
")",
";",
"}",
"}"
] |
[
"verifies",
"that",
"the",
"{",
"@",
"code",
"set",
"}",
"returned",
"by",
"{",
"@",
"code",
"edges",
"connecting",
"}",
"has",
"the",
"expected",
"mutability",
"property",
"(",
"see",
"the",
"{",
"@",
"code",
"network",
"}",
"documentation",
"for",
"more",
"information",
")"
] | [
"public",
"abstract",
"void",
"edges",
"connecting",
"check",
"returned",
"set",
"mutability",
"(",
")",
";"
] |
[
"get",
"map",
"map",
"anytype"
] | [
"public",
"map",
"<",
"string",
",",
"map",
"<",
"string",
",",
"object",
">",
">",
"get",
"map",
"map",
"anytype",
"(",
")",
"{",
"return",
"map",
"map",
"anytype",
";",
"}"
] |
[
"await",
"termination",
"on",
"the",
"main",
"thread",
"since",
"the",
"grpc",
"library",
"uses",
"daemon",
"threads"
] | [
"private",
"void",
"block",
"until",
"shutdown",
"(",
")",
"throws",
"interrupted",
"exception",
"{",
"if",
"(",
"server",
"!",
"=",
"null",
")",
"{",
"server",
"await",
"termination",
"(",
")",
";",
"}",
"}"
] |
[
"returns",
"the",
"player",
"currently",
"set",
"on",
"this",
"view",
",",
"or",
"null",
"if",
"no",
"player",
"is",
"set"
] | [
"public",
"player",
"get",
"player",
"(",
")",
"{",
"return",
"player",
";",
"}"
] |
[
"add",
"a",
"new",
"range",
"with",
"no",
"lower",
"bound"
] | [
"public",
"date",
"range",
"aggregation",
"builder",
"add",
"unbounded",
"to",
"(",
"string",
"key",
",",
"string",
"to",
")",
"{",
"add",
"range",
"(",
"new",
"range",
"aggregator",
"range",
"(",
"key",
",",
"null",
",",
"to",
")",
")",
";",
"return",
"this",
";",
"}"
] |
[
"drawable",
"to",
"bytes"
] | [
"public",
"static",
"byte",
"[",
"]",
"drawable",
"2",
"bytes",
"(",
"final",
"drawable",
"drawable",
",",
"final",
"compress",
"format",
"format",
",",
"int",
"quality",
")",
"{",
"return",
"drawable",
"=",
"=",
"null",
"?",
"null",
":",
"bitmap",
"2",
"bytes",
"(",
"drawable",
"2",
"bitmap",
"(",
"drawable",
")",
",",
"format",
",",
"quality",
")",
";",
"}"
] |
[
"find",
"the",
"fields",
"constant",
"that",
"matches",
"name",
",",
"or",
"null",
"if",
"its",
"not",
"found"
] | [
"public",
"static",
"fields",
"find",
"by",
"name",
"(",
"string",
"name",
")",
"{",
"return",
"by",
"name",
"get",
"(",
"name",
")",
";",
"}"
] |
[
"shortcut",
"for",
"{",
"@",
"link",
"#",
"body",
"(",
"body",
"inserter",
")",
"}",
"with",
"a",
"{",
"@",
"linkplain",
"body",
"inserters",
"#",
"from",
"value",
"value",
"inserter",
"}",
"as",
"of",
"5",
"2",
"this",
"method",
"delegates",
"to",
"{",
"@",
"link",
"#",
"body",
"value",
"(",
"object",
")",
"}"
] | [
"request",
"headers",
"spec",
"<",
"?",
">",
"sync",
"body",
"(",
"object",
"body",
")",
";"
] |
[
"determine",
"whether",
"the",
"specified",
"bean",
"definition",
"qualifies",
"as",
"an",
"autowire",
"candidate",
",",
"to",
"be",
"injected",
"into",
"other",
"beans",
"which",
"declare",
"a",
"dependency",
"of",
"matching",
"type"
] | [
"protected",
"boolean",
"is",
"autowire",
"candidate",
"(",
"string",
"bean",
"name",
",",
"root",
"bean",
"definition",
"mbd",
",",
"dependency",
"descriptor",
"descriptor",
",",
"autowire",
"candidate",
"resolver",
"resolver",
")",
"{",
"string",
"bd",
"name",
"=",
"bean",
"factory",
"utils",
"transformed",
"bean",
"name",
"(",
"bean",
"name",
")",
";",
"resolve",
"bean",
"class",
"(",
"mbd",
",",
"bd",
"name",
")",
";",
"if",
"(",
"mbd",
"is",
"factory",
"method",
"unique",
"&",
"&",
"mbd",
"factory",
"method",
"to",
"introspect",
"=",
"=",
"null",
")",
"{",
"new",
"constructor",
"resolver",
"(",
"this",
")",
"resolve",
"factory",
"method",
"if",
"possible",
"(",
"mbd",
")",
";",
"}",
"bean",
"definition",
"holder",
"holder",
"=",
"(",
"bean",
"name",
"equals",
"(",
"bd",
"name",
")",
"?",
"this",
"merged",
"bean",
"definition",
"holders",
"compute",
"if",
"absent",
"(",
"bean",
"name",
",",
"key",
"-",
">",
"new",
"bean",
"definition",
"holder",
"(",
"mbd",
",",
"bean",
"name",
",",
"get",
"aliases",
"(",
"bd",
"name",
")",
")",
")",
":",
"new",
"bean",
"definition",
"holder",
"(",
"mbd",
",",
"bean",
"name",
",",
"get",
"aliases",
"(",
"bd",
"name",
")",
")",
")",
";",
"return",
"resolver",
"is",
"autowire",
"candidate",
"(",
"holder",
",",
"descriptor",
")",
";",
"}"
] |
[
"creates",
"an",
"address",
"set",
"that",
"contains",
"the",
"entire",
"code",
"units",
"within",
"the",
"program",
"'",
"s",
"listing",
"that",
"are",
"part",
"of",
"the",
"address",
"set",
"that",
"is",
"passed",
"in",
"<",
"br",
">",
"note",
":",
"this",
"method",
"will",
"not",
"remove",
"any",
"addresses",
"from",
"the",
"address",
"set",
"even",
"if",
"they",
"are",
"not",
"part",
"of",
"code",
"units",
"in",
"the",
"program",
"'",
"s",
"listing"
] | [
"public",
"static",
"address",
"set",
"get",
"code",
"unit",
"set",
"(",
"address",
"set",
"view",
"addr",
"set",
",",
"program",
"program",
")",
"{",
"listing",
"listing",
"=",
"program",
"get",
"listing",
"(",
")",
";",
"address",
"set",
"addrs",
"=",
"new",
"address",
"set",
"(",
"addr",
"set",
")",
";",
"address",
"range",
"iterator",
"iter",
"=",
"addr",
"set",
"get",
"address",
"ranges",
"(",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"address",
"range",
"range",
"=",
"iter",
"next",
"(",
")",
";",
"address",
"range",
"min",
"=",
"range",
"get",
"min",
"address",
"(",
")",
";",
"address",
"range",
"max",
"=",
"range",
"get",
"max",
"address",
"(",
")",
";",
"code",
"unit",
"min",
"cu",
"=",
"listing",
"get",
"code",
"unit",
"containing",
"(",
"range",
"min",
")",
";",
"if",
"(",
"min",
"cu",
"!",
"=",
"null",
")",
"{",
"address",
"min",
"cu",
"min",
"addr",
"=",
"min",
"cu",
"get",
"min",
"address",
"(",
")",
";",
"if",
"(",
"min",
"cu",
"min",
"addr",
"compare",
"to",
"(",
"range",
"min",
")",
"!",
"=",
"0",
")",
"{",
"addrs",
"add",
"range",
"(",
"min",
"cu",
"min",
"addr",
",",
"min",
"cu",
"get",
"max",
"address",
"(",
")",
")",
";",
"}",
"}",
"code",
"unit",
"max",
"cu",
"=",
"listing",
"get",
"code",
"unit",
"containing",
"(",
"range",
"max",
")",
";",
"if",
"(",
"max",
"cu",
"!",
"=",
"null",
")",
"{",
"address",
"max",
"cu",
"max",
"addr",
"=",
"max",
"cu",
"get",
"max",
"address",
"(",
")",
";",
"if",
"(",
"max",
"cu",
"max",
"addr",
"compare",
"to",
"(",
"range",
"max",
")",
"!",
"=",
"0",
")",
"{",
"addrs",
"add",
"range",
"(",
"max",
"cu",
"get",
"min",
"address",
"(",
")",
",",
"max",
"cu",
"max",
"addr",
")",
";",
"}",
"}",
"}",
"return",
"addrs",
";",
"}"
] |
[
"set",
"up",
"a",
"namesystem",
"with",
"several",
"edits",
",",
"both",
"deletions",
"and",
"additions",
",",
"and",
"failover",
"to",
"a",
"new",
"nn",
"while",
"that",
"nn",
"is",
"in",
"safemode",
"ensure",
"that",
"it",
"will",
"exit",
"safemode"
] | [
"public",
"void",
"test",
"complex",
"failover",
"into",
"safemode",
"(",
")",
"throws",
"exception",
"{",
"banner",
"(",
"\"",
"starting",
"with",
"nn0",
"active",
"and",
"nn1",
"standby",
",",
"creating",
"some",
"blocks",
"\"",
")",
";",
"d",
"f",
"s",
"test",
"util",
"create",
"file",
"(",
"fs",
",",
"new",
"path",
"(",
"\"",
"/",
"test",
"\"",
")",
",",
"3",
"*",
"block",
"size",
",",
"(",
"short",
")",
"3",
",",
"1l",
")",
";",
"/",
"/",
"roll",
"edit",
"log",
"so",
"that",
",",
"when",
"the",
"sbn",
"restarts",
",",
"it",
"will",
"load",
"/",
"/",
"the",
"namespace",
"during",
"startup",
"and",
"enter",
"safemode",
"nn",
"0",
"get",
"rpc",
"server",
"(",
")",
"roll",
"edit",
"log",
"(",
")",
";",
"banner",
"(",
"\"",
"creating",
"some",
"blocks",
"that",
"won",
"'",
"t",
"be",
"in",
"the",
"edit",
"log",
"\"",
")",
";",
"d",
"f",
"s",
"test",
"util",
"create",
"file",
"(",
"fs",
",",
"new",
"path",
"(",
"\"",
"/",
"test",
"2",
"\"",
")",
",",
"5",
"*",
"block",
"size",
",",
"(",
"short",
")",
"3",
",",
"1l",
")",
";",
"banner",
"(",
"\"",
"deleting",
"the",
"original",
"blocks",
"\"",
")",
";",
"fs",
"delete",
"(",
"new",
"path",
"(",
"\"",
"/",
"test",
"\"",
")",
",",
"true",
")",
";",
"banner",
"(",
"\"",
"restarting",
"standby",
"\"",
")",
";",
"restart",
"standby",
"(",
")",
";",
"/",
"/",
"we",
"expect",
"it",
"to",
"be",
"on",
"its",
"way",
"out",
"of",
"safemode",
",",
"since",
"all",
"of",
"the",
"blocks",
"/",
"/",
"from",
"the",
"edit",
"log",
"have",
"been",
"reported",
"assert",
"safe",
"mode",
"(",
"nn",
"1",
",",
"3",
",",
"3",
",",
"3",
",",
"0",
")",
";",
"/",
"/",
"initiate",
"a",
"failover",
"into",
"it",
"while",
"it",
"'",
"s",
"in",
"safemode",
"banner",
"(",
"\"",
"initiating",
"a",
"failover",
"into",
"nn1",
"in",
"safemode",
"\"",
")",
";",
"name",
"node",
"adapter",
"abort",
"edit",
"logs",
"(",
"nn",
"0",
")",
";",
"cluster",
"transition",
"to",
"active",
"(",
"1",
")",
";",
"assert",
"safe",
"mode",
"(",
"nn",
"1",
",",
"5",
",",
"5",
",",
"3",
",",
"0",
")",
";",
"}"
] |
[
"return",
"true",
"if",
"this",
"has",
"only",
"read",
"only",
"object",
"is",
"equal",
"to",
"o"
] | [
"public",
"boolean",
"equals",
"(",
"object",
"o",
")",
"{",
"if",
"(",
"this",
"=",
"=",
"o",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"has",
"only",
"read",
"only",
"has",
"only",
"read",
"only",
"=",
"(",
"has",
"only",
"read",
"only",
")",
"o",
";",
"return",
"objects",
"equals",
"(",
"this",
"bar",
",",
"has",
"only",
"read",
"only",
"bar",
")",
"&",
"&",
"objects",
"equals",
"(",
"this",
"foo",
",",
"has",
"only",
"read",
"only",
"foo",
")",
";",
"}"
] |
[
"constructor",
"without",
"arguments"
] | [
"public",
"static",
"void",
"setup",
"null",
"(",
")",
"{",
"register",
"t",
"m",
"request",
"=",
"new",
"register",
"t",
"m",
"request",
"(",
")",
";",
"air",
"=",
"mockito",
"mock",
"(",
"abstract",
"identify",
"request",
"class",
",",
"mockito",
"calls",
"real",
"methods",
")",
";",
"}"
] |
[
"enter",
"the",
"ready",
"state",
"for",
"the",
"given",
"node"
] | [
"public",
"void",
"ready",
"(",
"string",
"id",
")",
"{",
"node",
"connection",
"state",
"node",
"state",
"=",
"node",
"state",
"(",
"id",
")",
";",
"node",
"state",
"state",
"=",
"connection",
"state",
"ready",
";",
"node",
"state",
"authentication",
"exception",
"=",
"null",
";",
"reset",
"reconnect",
"backoff",
"(",
"node",
"state",
")",
";",
"reset",
"connection",
"setup",
"timeout",
"(",
"node",
"state",
")",
";",
"connecting",
"nodes",
"remove",
"(",
"id",
")",
";",
"}"
] |
[
"called",
"if",
"the",
"up",
"(",
"or",
"cancel",
")",
"motion",
"event",
"is",
"intercepted",
"by",
"this",
"layout"
] | [
"void",
"on",
"up",
"or",
"cancel",
"motion",
"event",
"(",
"motion",
"event",
"ev",
")",
";"
] |
[
"get",
"the",
"{",
"@",
"link",
"partitioner",
"}",
"used",
"to",
"partition",
"{",
"@",
"link",
"mapper",
"}",
"-",
"outputs",
"to",
"be",
"sent",
"to",
"the",
"{",
"@",
"link",
"reducer",
"}",
"s"
] | [
"public",
"class",
"<",
"?",
"extends",
"partitioner",
">",
"get",
"partitioner",
"class",
"(",
")",
"{",
"return",
"get",
"class",
"(",
"\"",
"mapred",
"partitioner",
"class",
"\"",
",",
"hash",
"partitioner",
"class",
",",
"partitioner",
"class",
")",
";",
"}"
] |
[
"skips",
"{",
"@",
"code",
"byte",
"count",
"}",
"bytes",
"in",
"this",
"stream",
"subsequent",
"calls",
"to",
"{",
"@",
"link",
"#",
"read",
"}",
"will",
"not",
"return",
"these",
"bytes",
"unless",
"{",
"@",
"link",
"#",
"reset",
"}",
"is",
"used"
] | [
"public",
"synchronized",
"long",
"skip",
"(",
"long",
"byte",
"count",
")",
"throws",
"i",
"o",
"exception",
"{",
"if",
"(",
"byte",
"count",
"<",
"1",
")",
"{",
"return",
"0",
";",
"}",
"/",
"/",
"use",
"local",
"refs",
"since",
"buf",
"and",
"in",
"may",
"be",
"invalidated",
"by",
"an",
"unsynchronized",
"close",
"(",
")",
"byte",
"[",
"]",
"local",
"buf",
"=",
"buf",
";",
"if",
"(",
"local",
"buf",
"=",
"=",
"null",
")",
"{",
"throw",
"stream",
"closed",
"(",
")",
";",
"}",
"input",
"stream",
"local",
"in",
"=",
"in",
";",
"if",
"(",
"local",
"in",
"=",
"=",
"null",
")",
"{",
"throw",
"stream",
"closed",
"(",
")",
";",
"}",
"if",
"(",
"count",
"-",
"pos",
">",
"=",
"byte",
"count",
")",
"{",
"pos",
"=",
"(",
"int",
")",
"(",
"pos",
"+",
"byte",
"count",
")",
";",
"return",
"byte",
"count",
";",
"}",
"/",
"/",
"see",
"https",
":",
"/",
"/",
"errorprone",
"info",
"/",
"bugpattern",
"/",
"int",
"long",
"math",
"long",
"read",
"=",
"(",
"long",
")",
"count",
"-",
"pos",
";",
"pos",
"=",
"count",
";",
"if",
"(",
"markpos",
"!",
"=",
"-",
"1",
"&",
"&",
"byte",
"count",
"<",
"=",
"marklimit",
")",
"{",
"if",
"(",
"fillbuf",
"(",
"local",
"in",
",",
"local",
"buf",
")",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"read",
";",
"}",
"if",
"(",
"count",
"-",
"pos",
">",
"=",
"byte",
"count",
"-",
"read",
")",
"{",
"/",
"/",
"see",
"https",
":",
"/",
"/",
"errorprone",
"info",
"/",
"bugpattern",
"/",
"narrowing",
"compound",
"assignment",
"pos",
"=",
"(",
"int",
")",
"(",
"pos",
"+",
"byte",
"count",
"-",
"read",
")",
";",
"return",
"byte",
"count",
";",
"}",
"/",
"/",
"couldn",
"'",
"t",
"get",
"all",
"the",
"bytes",
",",
"skip",
"what",
"we",
"read",
"read",
"=",
"read",
"+",
"count",
"-",
"pos",
";",
"pos",
"=",
"count",
";",
"return",
"read",
";",
"}",
"/",
"/",
"we",
"can",
"'",
"t",
"skip",
"over",
"the",
"remaining",
"bytes",
"without",
"exceeding",
"the",
"mark",
"limit",
"so",
"there",
"will",
"be",
"no",
"/",
"/",
"way",
"to",
"reset",
"to",
"a",
"proper",
"position",
"in",
"the",
"stream",
"long",
"skipped",
"=",
"local",
"in",
"skip",
"(",
"byte",
"count",
"-",
"read",
")",
";",
"if",
"(",
"skipped",
">",
"0",
")",
"{",
"markpos",
"=",
"-",
"1",
";",
"}",
"return",
"read",
"+",
"skipped",
";",
"}"
] |
[
"are",
"we",
"overriding",
"include",
"synonyms",
"default",
"?"
] | [
"public",
"boolean",
"is",
"override",
"include",
"synonyms",
"default",
"(",
")",
"{",
"return",
"this",
"override",
"include",
"synonyms",
"default",
";",
"}"
] |
[
"build",
"a",
"new",
"{",
"@",
"link",
"alias",
"action",
"}",
"to",
"add",
"aliases"
] | [
"public",
"static",
"alias",
"actions",
"add",
"(",
")",
"{",
"return",
"new",
"alias",
"actions",
"(",
"alias",
"actions",
"type",
"add",
")",
";",
"}"
] |
[
"get",
"capital",
"camel"
] | [
"public",
"string",
"get",
"capital",
"camel",
"(",
")",
"{",
"return",
"capital",
"camel",
";",
"}"
] |
[
"create",
"the",
"ticket",
"object"
] | [
"<",
"t",
"extends",
"ticket",
"granting",
"ticket",
">",
"t",
"create",
"(",
"authentication",
"authentication",
",",
"service",
"service",
",",
"class",
"<",
"t",
">",
"clazz",
")",
";"
] |
[
"hash",
"a",
"string",
"into",
"64",
"bits",
"instead",
"of",
"the",
"normal",
"32",
"this",
"allows",
"us",
"to",
"better",
"use",
"strings",
"as",
"a",
"model",
"id",
"with",
"less",
"chance",
"of",
"collisions",
"this",
"uses",
"the",
"fnv",
"-",
"1a",
"algorithm",
"for",
"a",
"good",
"mix",
"of",
"speed",
"and",
"distribution",
"performance",
"comparisons",
"found",
"at",
"http",
":",
"stackoverflow",
"coma",
"1",
"6",
"6",
"0",
"6",
"1",
"3",
"hash",
"implementation",
"from",
"http",
":",
"www",
"isthe",
"comchongotechcompfnvindex",
"html",
"#",
"fnv",
"-",
"1a"
] | [
"public",
"static",
"long",
"hash",
"string",
"6",
"4",
"bit",
"(",
"@",
"nullable",
"char",
"sequence",
"str",
")",
"{",
"if",
"(",
"str",
"=",
"=",
"null",
")",
"{",
"return",
"0",
";",
"}",
"long",
"result",
"=",
"0xcbf",
"2",
"9ce",
"4",
"8",
"4",
"2",
"2",
"2",
"3",
"2",
"5",
"l",
";",
"final",
"int",
"len",
"=",
"str",
"length",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"len",
";",
"i",
"+",
"+",
")",
"{",
"result",
"^",
"=",
"str",
"char",
"at",
"(",
"i",
")",
";",
"result",
"*",
"=",
"0x",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1b",
"3",
"l",
";",
"}",
"return",
"result",
";",
"}"
] |
[
"get",
"the",
"name",
"of",
"the",
"symbol",
"in",
"the",
"indicated",
"program",
"or",
"null",
"if",
"it",
"doesn",
"'",
"t",
"exist",
"in",
"the",
"indicated",
"program"
] | [
"private",
"string",
"get",
"name",
"(",
"program",
"program",
")",
"{",
"if",
"(",
"program",
"=",
"=",
"result",
"pgm",
")",
"{",
"return",
"get",
"result",
"name",
"(",
")",
";",
"}",
"if",
"(",
"program",
"=",
"=",
"original",
"pgm",
")",
"{",
"return",
"get",
"original",
"name",
"(",
")",
";",
"}",
"if",
"(",
"program",
"=",
"=",
"latest",
"pgm",
")",
"{",
"return",
"get",
"latest",
"name",
"(",
")",
";",
"}",
"if",
"(",
"program",
"=",
"=",
"my",
"pgm",
")",
"{",
"return",
"get",
"my",
"name",
"(",
")",
";",
"}",
"return",
"null",
";",
"}"
] |
[
"adds",
"constraints",
"describing",
"the",
"target",
"environment"
] | [
"public",
"builder",
"add",
"target",
"constraints",
"(",
"iterable",
"<",
"constraint",
"value",
"info",
">",
"constraints",
")",
"{",
"this",
"target",
"constraints",
"add",
"constraints",
"(",
"constraints",
")",
";",
"return",
"this",
";",
"}"
] |
[
"verifies",
"that",
"we",
"can",
"delete",
"a",
"previously",
"immutable",
"tag",
"once",
"it",
"has",
"been",
"assigned",
"to",
"a",
"function"
] | [
"public",
"void",
"test",
"delete",
"immutable",
"tag",
"after",
"use",
"(",
")",
"throws",
"exception",
"{",
"function",
"tag",
"table",
"table",
"=",
"get",
"target",
"table",
"(",
")",
";",
"/",
"/",
"get",
"an",
"immutable",
"tag",
"from",
"the",
"source",
"panel",
"in",
"memory",
"function",
"tag",
"tag",
"=",
"get",
"immutable",
"tag",
"(",
")",
";",
"assert",
"true",
"(",
"\"",
"must",
"have",
"at",
"least",
"one",
"immutable",
"tag",
"for",
"this",
"test",
"\"",
",",
"tag",
"!",
"=",
"null",
")",
";",
"/",
"/",
"assign",
"the",
"tag",
"to",
"a",
"function",
",",
"select",
"the",
"tag",
"in",
"the",
"target",
"panel",
",",
"/",
"/",
"and",
"verify",
"that",
"the",
"delete",
"button",
"is",
"enabled",
"add",
"tag",
"to",
"function",
"(",
"tag",
"get",
"name",
"(",
")",
",",
"function",
"entry",
"address",
")",
";",
"wait",
"for",
"swing",
"(",
")",
";",
"boolean",
"in",
"list",
"=",
"tag",
"exists",
"(",
"tag",
"get",
"name",
"(",
")",
",",
"get",
"all",
"tags",
"(",
")",
")",
";",
"assert",
"true",
"(",
"in",
"list",
")",
";",
"select",
"tag",
"in",
"table",
"(",
"tag",
"get",
"name",
"(",
")",
",",
"table",
")",
";",
"wait",
"for",
"swing",
"(",
")",
";",
"assert",
"true",
"(",
"is",
"button",
"enabled",
"(",
"\"",
"delete",
"btn",
"\"",
")",
")",
";",
"}"
] |
[
"add",
"a",
"configuration",
"resource",
"the",
"properties",
"of",
"this",
"resource",
"will",
"override",
"properties",
"of",
"previously",
"added",
"resources",
",",
"unless",
"they",
"were",
"marked",
"<",
"a",
"href",
"=",
"\"",
"#",
"final",
"\"",
">",
"final"
] | [
"public",
"void",
"add",
"resource",
"(",
"url",
"url",
")",
"{",
"add",
"resource",
"object",
"(",
"new",
"resource",
"(",
"url",
")",
")",
";",
"}"
] |
[
"open",
"a",
"channel",
"for",
"the",
"given",
"file",
"for",
"windows",
"ntfs",
"and",
"some",
"old",
"linux",
"file",
"system",
",",
"set",
"preallocate",
"to",
"true",
"and",
"init",
"file",
"size",
"with",
"one",
"value",
"(",
"for",
"example",
"512",
"1025",
"1024",
")",
"can",
"improve",
"the",
"kafka",
"produce",
"performance"
] | [
"private",
"static",
"file",
"channel",
"open",
"channel",
"(",
"file",
"file",
",",
"boolean",
"mutable",
",",
"boolean",
"file",
"already",
"exists",
",",
"int",
"init",
"file",
"size",
",",
"boolean",
"preallocate",
")",
"throws",
"i",
"o",
"exception",
"{",
"if",
"(",
"mutable",
")",
"{",
"if",
"(",
"file",
"already",
"exists",
"|",
"|",
"!",
"preallocate",
")",
"{",
"return",
"file",
"channel",
"open",
"(",
"file",
"to",
"path",
"(",
")",
",",
"standard",
"open",
"option",
"create",
",",
"standard",
"open",
"option",
"read",
",",
"standard",
"open",
"option",
"write",
")",
";",
"}",
"else",
"{",
"random",
"access",
"file",
"random",
"access",
"file",
"=",
"new",
"random",
"access",
"file",
"(",
"file",
",",
"\"",
"rw",
"\"",
")",
";",
"random",
"access",
"file",
"set",
"length",
"(",
"init",
"file",
"size",
")",
";",
"return",
"random",
"access",
"file",
"get",
"channel",
"(",
")",
";",
"}",
"}",
"else",
"{",
"return",
"file",
"channel",
"open",
"(",
"file",
"to",
"path",
"(",
")",
")",
";",
"}",
"}"
] |
[
"the",
"settings",
"to",
"created",
"the",
"index",
"template",
"with"
] | [
"public",
"put",
"index",
"template",
"request",
"builder",
"set",
"settings",
"(",
"settings",
"settings",
")",
"{",
"request",
"settings",
"(",
"settings",
")",
";",
"return",
"this",
";",
"}"
] |
[
"gets",
"the",
"iterator",
"over",
"this",
"input"
] | [
"mutable",
"object",
"iterator",
"<",
"e",
">",
"get",
"iterator",
"(",
")",
"throws",
"interrupted",
"exception",
",",
"i",
"o",
"exception",
";"
] |
[
"returns",
"a",
"new",
"cache",
"generator"
] | [
"private",
"static",
"cache",
"generator",
"new",
"cache",
"generator",
"(",
"method",
"test",
"method",
")",
"{",
"cache",
"spec",
"cache",
"spec",
"=",
"test",
"method",
"get",
"annotation",
"(",
"cache",
"spec",
"class",
")",
";",
"require",
"non",
"null",
"(",
"cache",
"spec",
",",
"\"",
"@",
"cache",
"spec",
"not",
"found",
"\"",
")",
";",
"options",
"options",
"=",
"options",
"from",
"system",
"properties",
"(",
")",
";",
"/",
"/",
"inspect",
"the",
"test",
"parameters",
"for",
"interface",
"constraints",
"(",
"loading",
",",
"async",
")",
"boolean",
"is",
"async",
"only",
"=",
"has",
"cache",
"of",
"type",
"(",
"test",
"method",
",",
"async",
"cache",
"class",
")",
";",
"boolean",
"is",
"loading",
"only",
"=",
"has",
"cache",
"of",
"type",
"(",
"test",
"method",
",",
"loading",
"cache",
"class",
")",
"|",
"|",
"has",
"cache",
"of",
"type",
"(",
"test",
"method",
",",
"async",
"loading",
"cache",
"class",
")",
"|",
"|",
"options",
"compute",
"(",
")",
"filter",
"(",
"compute",
"async",
":",
":",
"equals",
")",
"is",
"present",
"(",
")",
";",
"return",
"new",
"cache",
"generator",
"(",
"cache",
"spec",
",",
"options",
",",
"is",
"loading",
"only",
",",
"is",
"async",
"only",
")",
";",
"}"
] |
[
"get",
"int",
"3",
"2",
"minimum",
":",
"20",
"maximum",
":",
"200"
] | [
"public",
"integer",
"get",
"int",
"3",
"2",
"(",
")",
"{",
"return",
"int",
"3",
"2",
";",
"}"
] |
[
"configure",
"a",
"chain",
"of",
"resource",
"resolvers",
"and",
"transformers",
"to",
"use",
"this",
"can",
"be",
"useful",
",",
"for",
"example",
",",
"to",
"apply",
"a",
"version",
"strategy",
"to",
"resource",
"u",
"r",
"ls",
"if",
"this",
"method",
"is",
"not",
"invoked",
",",
"by",
"default",
"only",
"a",
"simple",
"{",
"@",
"link",
"path",
"resource",
"resolver",
"}",
"is",
"used",
"in",
"order",
"to",
"match",
"url",
"paths",
"to",
"resources",
"under",
"the",
"configured",
"locations"
] | [
"public",
"resource",
"chain",
"registration",
"resource",
"chain",
"(",
"boolean",
"cache",
"resources",
",",
"cache",
"cache",
")",
"{",
"this",
"resource",
"chain",
"registration",
"=",
"new",
"resource",
"chain",
"registration",
"(",
"cache",
"resources",
",",
"cache",
")",
";",
"return",
"this",
"resource",
"chain",
"registration",
";",
"}"
] |
[
"the",
"same",
"as",
"the",
"key",
"of",
"a",
"{",
"@",
"link",
"span",
"#",
"tags",
"(",
")",
"}",
"v",
"2",
"span",
"tag",
"}"
] | [
"public",
"string",
"key",
"(",
")",
"{",
"return",
"key",
";",
"}"
] |
[
"encodes",
"the",
"given",
"x",
"5",
"0",
"9",
"certificate",
"and",
"private",
"key",
"as",
"a",
"bcfks",
"key",
"store",
",",
"optionally",
"protecting",
"the",
"private",
"key",
"(",
"and",
"possibly",
"the",
"cert",
"?",
")",
"with",
"a",
"password",
"returns",
"the",
"byte",
"array",
"encoding",
"of",
"the",
"key",
"store",
",",
"which",
"may",
"be",
"written",
"to",
"a",
"file",
"and",
"loaded",
"to",
"instantiate",
"the",
"key",
"store",
"at",
"a",
"later",
"point",
"or",
"in",
"another",
"process"
] | [
"public",
"static",
"byte",
"[",
"]",
"cert",
"and",
"private",
"key",
"to",
"b",
"c",
"f",
"k",
"s",
"bytes",
"(",
"x",
"5",
"0",
"9",
"certificate",
"cert",
",",
"private",
"key",
"private",
"key",
",",
"string",
"key",
"password",
")",
"throws",
"i",
"o",
"exception",
",",
"general",
"security",
"exception",
"{",
"key",
"store",
"key",
"store",
"=",
"key",
"store",
"get",
"instance",
"(",
"\"",
"bcfks",
"\"",
")",
";",
"return",
"cert",
"and",
"private",
"key",
"to",
"bytes",
"(",
"cert",
",",
"private",
"key",
",",
"key",
"password",
",",
"key",
"store",
")",
";",
"}"
] |
[
"this",
"function",
"tries",
"to",
"determine",
"the",
"fill",
"value",
"used",
"by",
"the",
"current",
"program",
"the",
"byte",
"value",
"occurring",
"most",
"is",
"the",
"winner"
] | [
"string",
"determine",
"filler",
"value",
"(",
"listing",
"listing",
")",
"{",
"function",
"iterator",
"iterator",
"=",
"listing",
"get",
"functions",
"(",
"true",
")",
";",
"hash",
"map",
"<",
"string",
",",
"integer",
">",
"patterns",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"while",
"(",
"iterator",
"has",
"next",
"(",
")",
")",
"{",
"/",
"/",
"get",
"undefined",
"byte",
"immediately",
"following",
"function",
"function",
"function",
"=",
"iterator",
"next",
"(",
")",
";",
"address",
"max",
"address",
"=",
"function",
"get",
"body",
"(",
")",
"get",
"max",
"address",
"(",
")",
";",
"data",
"undefined",
"data",
"=",
"listing",
"get",
"undefined",
"data",
"at",
"(",
"max",
"address",
"next",
"(",
")",
")",
";",
"if",
"(",
"undefined",
"data",
"=",
"=",
"null",
")",
"{",
"/",
"/",
"no",
"undefined",
"filler",
"bytes",
"found",
",",
"keep",
"going",
"to",
"next",
"function",
"continue",
";",
"}",
"/",
"/",
"add",
"filler",
"to",
"hash",
"string",
"pattern",
"=",
"program",
"utilities",
"get",
"byte",
"code",
"string",
"(",
"undefined",
"data",
")",
";",
"if",
"(",
"\"",
"?",
"?",
"\"",
"equals",
"(",
"pattern",
")",
")",
"{",
"continue",
";",
"}",
"if",
"(",
"patterns",
"contains",
"key",
"(",
"pattern",
")",
")",
"{",
"int",
"value",
"=",
"patterns",
"get",
"(",
"pattern",
")",
";",
"patterns",
"put",
"(",
"pattern",
",",
"value",
"+",
"1",
")",
";",
"}",
"else",
"{",
"patterns",
"put",
"(",
"pattern",
",",
"1",
")",
";",
"}",
"}",
"if",
"(",
"patterns",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"/",
"/",
"decide",
"that",
"filler",
"value",
"is",
"the",
"one",
"with",
"the",
"greatest",
"count",
"string",
"filler",
"=",
"get",
"most",
"frequent",
"fill",
"value",
"(",
"patterns",
")",
";",
"return",
"filler",
";",
"}"
] |
[
"regression",
"test",
"for",
"bug",
":",
"\"",
"subtracting",
"tests",
"from",
"test",
"doesn",
"'",
"t",
"work",
"\""
] | [
"public",
"void",
"test",
"filter",
"negative",
"test",
"from",
"test",
"suite",
"(",
")",
"throws",
"exception",
"{",
"analysis",
"mock",
"get",
"(",
")",
"cc",
"support",
"(",
")",
"setup",
"(",
"tester",
"mock",
"tools",
"config",
")",
";",
"tester",
"add",
"file",
"(",
"\"",
"cc",
"/",
"build",
"\"",
",",
"\"",
"cc",
"test",
"(",
"name",
"=",
"'",
"my",
"test",
"'",
",",
"srcs",
"=",
"[",
"'",
"test",
"cc",
"'",
"]",
")",
"\"",
",",
"\"",
"cc",
"test",
"(",
"name",
"=",
"'",
"my",
"other",
"test",
"'",
",",
"srcs",
"=",
"[",
"'",
"other",
"test",
"cc",
"'",
"]",
")",
"\"",
",",
"\"",
"test",
"suite",
"(",
"name",
"=",
"'",
"tests",
"'",
",",
"tests",
"=",
"[",
"'",
":",
"my",
"test",
"'",
",",
"'",
":",
"my",
"other",
"test",
"'",
"]",
")",
"\"",
")",
";",
"target",
"pattern",
"phase",
"value",
"result",
"=",
"assert",
"no",
"errors",
"(",
"tester",
"load",
"tests",
"(",
"\"",
"/",
"/",
"cc",
":",
"tests",
"\"",
",",
"\"",
"-",
"/",
"/",
"cc",
":",
"my",
"test",
"\"",
")",
")",
";",
"assert",
"that",
"(",
"result",
"get",
"target",
"labels",
"(",
")",
")",
"contains",
"exactly",
"elements",
"in",
"(",
"get",
"labels",
"(",
"\"",
"/",
"/",
"cc",
":",
"my",
"other",
"test",
"\"",
",",
"\"",
"/",
"/",
"cc",
":",
"my",
"test",
"\"",
")",
")",
";",
"assert",
"that",
"(",
"result",
"get",
"tests",
"to",
"run",
"labels",
"(",
")",
")",
"contains",
"exactly",
"elements",
"in",
"(",
"get",
"labels",
"(",
"\"",
"/",
"/",
"cc",
":",
"my",
"other",
"test",
"\"",
")",
")",
";",
"}"
] |
[
"reset",
"for",
"next",
"group"
] | [
"public",
"void",
"reset",
"(",
")",
"{",
"next",
"window",
"=",
"null",
";",
"watermark",
"=",
"long",
"min",
"value",
";",
"trigger",
"window",
"start",
"index",
"=",
"0",
";",
"empty",
"window",
"triggered",
"=",
"true",
";",
"reset",
"buffer",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"comma",
"separated",
"intercepter",
"class",
"names",
"from",
"the",
"configuration"
] | [
"private",
"list",
"<",
"string",
">",
"get",
"interceptor",
"class",
"names",
"(",
"configuration",
"config",
")",
"{",
"string",
"configured",
"interceptor",
"class",
"names",
"=",
"config",
"get",
"(",
"yarn",
"configuration",
"router",
"webapp",
"interceptor",
"class",
"pipeline",
",",
"yarn",
"configuration",
"default",
"router",
"webapp",
"interceptor",
"class",
")",
";",
"list",
"<",
"string",
">",
"interceptor",
"class",
"names",
"=",
"new",
"array",
"list",
"<",
"string",
">",
"(",
")",
";",
"collection",
"<",
"string",
">",
"temp",
"list",
"=",
"string",
"utils",
"get",
"string",
"collection",
"(",
"configured",
"interceptor",
"class",
"names",
")",
";",
"for",
"(",
"string",
"item",
":",
"temp",
"list",
")",
"{",
"interceptor",
"class",
"names",
"add",
"(",
"item",
"trim",
"(",
")",
")",
";",
"}",
"return",
"interceptor",
"class",
"names",
";",
"}"
] |
[
"return",
"the",
"name",
"of",
"the",
"attribute"
] | [
"public",
"string",
"get",
"name",
"(",
")",
"{",
"return",
"this",
"name",
";",
"}"
] |
[
"returns",
"true",
"if",
"the",
"register",
"contains",
"an",
"integer",
"0",
"or",
"a",
"known",
"-",
"null",
"object",
"reference"
] | [
"private",
"static",
"boolean",
"is",
"const",
"int",
"zero",
"or",
"known",
"null",
"(",
"register",
"spec",
"spec",
")",
"{",
"type",
"bearer",
"tb",
"=",
"spec",
"get",
"type",
"bearer",
"(",
")",
";",
"if",
"(",
"tb",
"instanceof",
"cst",
"literal",
"bits",
")",
"{",
"cst",
"literal",
"bits",
"clb",
"=",
"(",
"cst",
"literal",
"bits",
")",
"tb",
";",
"return",
"(",
"clb",
"get",
"long",
"bits",
"(",
")",
"=",
"=",
"0",
")",
";",
"}",
"return",
"false",
";",
"}"
] |
[
"put",
"a",
"build",
"side",
"row",
"to",
"hash",
"table"
] | [
"public",
"void",
"put",
"build",
"row",
"(",
"row",
"data",
"row",
")",
"throws",
"i",
"o",
"exception",
"{",
"final",
"int",
"hash",
"code",
"=",
"hash",
"(",
"this",
"build",
"side",
"projection",
"apply",
"(",
"row",
")",
"hash",
"code",
"(",
")",
",",
"0",
")",
";",
"/",
"/",
"todo",
":",
"combine",
"key",
"projection",
"and",
"build",
"side",
"conversion",
"to",
"code",
"gen",
"insert",
"into",
"table",
"(",
"origin",
"build",
"side",
"serializer",
"to",
"binary",
"row",
"(",
"row",
")",
",",
"hash",
"code",
")",
";",
"}"
] |
[
"set",
"up",
"the",
"drag",
"and",
"drop",
"stuff"
] | [
"private",
"void",
"init",
"drag",
"n",
"drop",
"(",
")",
"{",
"acceptable",
"flavors",
"=",
"get",
"acceptable",
"data",
"flavors",
"(",
")",
";",
"/",
"/",
"set",
"up",
"drop",
"stuff",
"drop",
"target",
"adapter",
"=",
"new",
"drop",
"tgt",
"adapter",
"(",
"this",
",",
"dn",
"d",
"constants",
"action",
"copy",
"or",
"move",
",",
"acceptable",
"flavors",
")",
";",
"drop",
"target",
"=",
"new",
"drop",
"target",
"(",
"this",
",",
"dn",
"d",
"constants",
"action",
"copy",
"or",
"move",
",",
"drop",
"target",
"adapter",
",",
"true",
")",
";",
"drop",
"target",
"set",
"active",
"(",
"true",
")",
";",
"/",
"/",
"set",
"up",
"drag",
"stuff",
"drag",
"source",
"=",
"drag",
"source",
"get",
"default",
"drag",
"source",
"(",
")",
";",
"drag",
"gesture",
"adapter",
"=",
"new",
"drag",
"gesture",
"adapter",
"(",
"this",
")",
";",
"drag",
"source",
"adapter",
"=",
"new",
"tree",
"drag",
"src",
"adapter",
"(",
"this",
")",
";",
"drag",
"source",
"create",
"default",
"drag",
"gesture",
"recognizer",
"(",
"this",
",",
"drag",
"action",
",",
"drag",
"gesture",
"adapter",
")",
";",
"}"
] |
[
"sets",
"this",
"primary",
"state",
"of",
"this",
"field"
] | [
"public",
"void",
"set",
"primary",
"(",
"boolean",
"state",
")",
"{",
"is",
"primary",
"=",
"state",
";",
"}"
] |
[
"add",
"call",
"w",
"delayslot",
"(",
"consumes",
"4",
"-",
"bytes",
")"
] | [
"public",
"void",
"add",
"bytes",
"call",
"with",
"delay",
"slot",
"(",
"string",
"addr",
",",
"string",
"dest",
"addr",
")",
"throws",
"memory",
"access",
"exception",
"{",
"address",
"address",
"=",
"addr",
"(",
"addr",
")",
";",
"address",
"dest",
"=",
"addr",
"(",
"dest",
"addr",
")",
";",
"short",
"rel",
"dest",
"=",
"get",
"byte",
"relative",
"offset",
"(",
"address",
",",
"dest",
")",
";",
"add",
"instruction",
"words",
"(",
"address",
",",
"(",
"short",
")",
"(",
"0xf",
"5",
"0",
"0",
"|",
"rel",
"dest",
")",
")",
";",
"/",
"/",
"callds",
"rel",
"add",
"bytes",
"fallthrough",
"(",
"address",
"get",
"offset",
"(",
")",
"+",
"2",
")",
";",
"}"
] |
[
"extract",
"the",
"saml",
"request",
"from",
"the",
"http",
"request",
"this",
"can",
"be",
"an",
"authentication",
"request",
"or",
"a",
"logout",
"request"
] | [
"optional",
"<",
"pair",
"<",
"?",
"extends",
"signable",
"s",
"a",
"m",
"l",
"object",
",",
"message",
"context",
">",
">",
"extract",
"(",
"http",
"servlet",
"request",
"request",
",",
"base",
"http",
"servlet",
"request",
"x",
"m",
"l",
"message",
"decoder",
"decoder",
",",
"class",
"<",
"?",
"extends",
"signable",
"s",
"a",
"m",
"l",
"object",
">",
"clazz",
")",
";"
] |
[
"set",
"the",
"default",
"character",
"set",
"to",
"use",
"for",
"reading",
"form",
"data",
"when",
"the",
"request",
"content",
"-",
"type",
"header",
"does",
"not",
"explicitly",
"specify",
"it",
"by",
"default",
"this",
"is",
"set",
"to",
"\"",
"utf",
"-",
"8",
"\""
] | [
"public",
"void",
"set",
"default",
"charset",
"(",
"charset",
"charset",
")",
"{",
"assert",
"not",
"null",
"(",
"charset",
",",
"\"",
"charset",
"must",
"not",
"be",
"null",
"\"",
")",
";",
"this",
"default",
"charset",
"=",
"charset",
";",
"}"
] |
[
"aggregate",
"the",
"value",
"of",
"records",
"of",
"the",
"original",
"{",
"@",
"link",
"k",
"table",
"}",
"that",
"got",
"{",
"@",
"link",
"k",
"table",
"#",
"group",
"by",
"(",
"key",
"value",
"mapper",
")",
"mapped",
"}",
"to",
"the",
"same",
"key",
"into",
"a",
"new",
"instance",
"of",
"{",
"@",
"link",
"k",
"table",
"}",
"using",
"default",
"serializers",
"and",
"deserializers",
"records",
"with",
"{",
"@",
"code",
"null",
"}",
"key",
"are",
"ignored",
"aggregating",
"is",
"a",
"generalization",
"of",
"{",
"@",
"link",
"#",
"reduce",
"(",
"reducer",
",",
"reducer",
")",
"combining",
"via",
"reduce",
"(",
")",
"}",
"as",
"it",
",",
"for",
"example",
",",
"allows",
"the",
"result",
"to",
"have",
"a",
"different",
"type",
"than",
"the",
"input",
"values",
"if",
"the",
"result",
"value",
"type",
"does",
"not",
"match",
"the",
"{",
"@",
"link",
"streams",
"config",
"#",
"default",
"value",
"serde",
"class",
"config",
"default",
"value",
"serde",
"}",
"you",
"should",
"use",
"{",
"@",
"link",
"#",
"aggregate",
"(",
"initializer",
",",
"aggregator",
",",
"aggregator",
",",
"materialized",
")",
"}",
"the",
"result",
"is",
"written",
"into",
"a",
"local",
"{",
"@",
"link",
"key",
"value",
"store",
"}",
"(",
"which",
"is",
"basically",
"an",
"ever",
"-",
"updating",
"materialized",
"view",
")",
"furthermore",
",",
"updates",
"to",
"the",
"store",
"are",
"sent",
"downstream",
"into",
"a",
"{",
"@",
"link",
"k",
"table",
"}",
"changelog",
"stream",
"the",
"specified",
"{",
"@",
"link",
"initializer",
"}",
"is",
"applied",
"once",
"directly",
"before",
"the",
"first",
"input",
"record",
"is",
"processed",
"to",
"provide",
"an",
"initial",
"intermediate",
"aggregation",
"result",
"that",
"is",
"used",
"to",
"process",
"the",
"first",
"record",
"each",
"update",
"to",
"the",
"original",
"{",
"@",
"link",
"k",
"table",
"}",
"results",
"in",
"a",
"two",
"step",
"update",
"of",
"the",
"result",
"{",
"@",
"link",
"k",
"table",
"}",
"the",
"specified",
"{",
"@",
"link",
"aggregator",
"adder",
"}",
"is",
"applied",
"for",
"each",
"update",
"record",
"and",
"computes",
"a",
"new",
"aggregate",
"using",
"the",
"current",
"aggregate",
"(",
"or",
"for",
"the",
"very",
"first",
"record",
"using",
"the",
"intermediate",
"aggregation",
"result",
"provided",
"via",
"the",
"{",
"@",
"link",
"initializer",
"}",
")",
"and",
"the",
"record",
"'",
"s",
"value",
"by",
"adding",
"the",
"new",
"record",
"to",
"the",
"aggregate",
"the",
"specified",
"{",
"@",
"link",
"aggregator",
"subtractor",
"}",
"is",
"applied",
"for",
"each",
"\"",
"replaced",
"\"",
"record",
"of",
"the",
"original",
"{",
"@",
"link",
"k",
"table",
"}",
"and",
"computes",
"a",
"new",
"aggregate",
"using",
"the",
"current",
"aggregate",
"and",
"the",
"record",
"'",
"s",
"value",
"by",
"\"",
"removing",
"\"",
"the",
"\"",
"replaced",
"\"",
"record",
"from",
"the",
"aggregate",
"thus",
",",
"{",
"@",
"code",
"aggregate",
"(",
"initializer",
",",
"aggregator",
",",
"aggregator",
",",
"string",
")",
"}",
"can",
"be",
"used",
"to",
"compute",
"aggregate",
"functions",
"like",
"sum",
"for",
"sum",
",",
"the",
"initializer",
",",
"adder",
",",
"and",
"subtractor",
"would",
"work",
"as",
"follows",
":",
"{",
"@",
"code",
"in",
"this",
"example",
",",
"long",
"serde",
"class",
"must",
"be",
"set",
"as",
"default",
"value",
"serde",
"in",
"streams",
"config",
"public",
"class",
"sum",
"initializer",
"implements",
"initializer",
"<",
"long",
">",
"{",
"public",
"long",
"apply",
"(",
")",
"{",
"return",
"0l",
";",
"}",
"}",
"public",
"class",
"sum",
"adder",
"implements",
"aggregator",
"<",
"string",
",",
"integer",
",",
"long",
">",
"{",
"public",
"long",
"apply",
"(",
"string",
"key",
",",
"integer",
"new",
"value",
",",
"long",
"aggregate",
")",
"{",
"return",
"aggregate",
"+",
"new",
"value",
";",
"}",
"}",
"public",
"class",
"sum",
"subtractor",
"implements",
"aggregator",
"<",
"string",
",",
"integer",
",",
"long",
">",
"{",
"public",
"long",
"apply",
"(",
"string",
"key",
",",
"integer",
"old",
"value",
",",
"long",
"aggregate",
")",
"{",
"return",
"aggregate",
"-",
"old",
"value",
";",
"}",
"}",
"}",
"not",
"all",
"updates",
"might",
"get",
"sent",
"downstream",
",",
"as",
"an",
"internal",
"cache",
"is",
"used",
"to",
"deduplicate",
"consecutive",
"updates",
"to",
"the",
"same",
"key",
"the",
"rate",
"of",
"propagated",
"updates",
"depends",
"on",
"your",
"input",
"data",
"rate",
",",
"the",
"number",
"of",
"distinct",
"keys",
",",
"the",
"number",
"of",
"parallel",
"running",
"kafka",
"streams",
"instances",
",",
"and",
"the",
"{",
"@",
"link",
"streams",
"config",
"configuration",
"}",
"parameters",
"for",
"{",
"@",
"link",
"streams",
"config",
"#",
"cache",
"max",
"bytes",
"buffering",
"config",
"cache",
"size",
"}",
",",
"and",
"{",
"@",
"link",
"streams",
"config",
"#",
"commit",
"interval",
"ms",
"config",
"commit",
"interval",
"}",
"for",
"failure",
"and",
"recovery",
"the",
"store",
"will",
"be",
"backed",
"by",
"an",
"internal",
"changelog",
"topic",
"that",
"will",
"be",
"created",
"in",
"kafka",
"the",
"changelog",
"topic",
"will",
"be",
"named",
"\"",
"$",
"{",
"application",
"id",
"}",
"-",
"$",
"{",
"internal",
"store",
"name",
"}",
"-",
"changelog",
"\"",
",",
"where",
"\"",
"application",
"id",
"\"",
"is",
"user",
"-",
"specified",
"in",
"{",
"@",
"link",
"streams",
"config",
"}",
"via",
"parameter",
"{",
"@",
"link",
"streams",
"config",
"#",
"application",
"id",
"config",
"application",
"id",
"config",
"}",
",",
"\"",
"internal",
"store",
"name",
"\"",
"is",
"an",
"internal",
"name",
"and",
"\"",
"-",
"changelog",
"\"",
"is",
"a",
"fixed",
"suffix",
"note",
"that",
"the",
"internal",
"store",
"name",
"may",
"not",
"be",
"queryable",
"through",
"interactive",
"queries",
"you",
"can",
"retrieve",
"all",
"generated",
"internal",
"topic",
"names",
"via",
"{",
"@",
"link",
"topology",
"#",
"describe",
"(",
")",
"}"
] | [
"<",
"vr",
">",
"k",
"table",
"<",
"k",
",",
"vr",
">",
"aggregate",
"(",
"final",
"initializer",
"<",
"vr",
">",
"initializer",
",",
"final",
"aggregator",
"<",
"?",
"super",
"k",
",",
"?",
"super",
"v",
",",
"vr",
">",
"adder",
",",
"final",
"aggregator",
"<",
"?",
"super",
"k",
",",
"?",
"super",
"v",
",",
"vr",
">",
"subtractor",
")",
";"
] |
[
"this",
"returns",
"all",
"paths",
"that",
"contain",
"v",
"which",
"we",
"need",
"to",
"consider",
"when",
"looking",
"for",
"the",
"dominator",
"of",
"v",
"it",
"places",
"the",
"longest",
"path",
"as",
"the",
"first",
"element",
"in",
"the",
"vector",
"path",
"set"
] | [
"public",
"vector",
"all",
"paths",
"containing",
"(",
"vertex",
"v",
")",
"{",
"int",
"i",
",",
"maxsize",
"=",
"0",
";",
"vector",
"path",
"set",
"=",
"new",
"vector",
"(",
")",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"paths",
"size",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"vector",
"tmp",
"path",
"=",
"(",
"vector",
")",
"paths",
"element",
"at",
"(",
"i",
")",
";",
"if",
"(",
"tmp",
"path",
"contains",
"(",
"v",
")",
")",
"{",
"if",
"(",
"tmp",
"path",
"size",
"(",
")",
">",
"maxsize",
")",
"{",
"maxsize",
"=",
"tmp",
"path",
"size",
"(",
")",
";",
"path",
"set",
"add",
"(",
"0",
",",
"tmp",
"path",
")",
";",
"}",
"else",
"{",
"path",
"set",
"add",
"(",
"paths",
"element",
"at",
"(",
"i",
")",
")",
";",
"}",
"}",
"}",
"return",
"path",
"set",
";",
"}"
] |
[
"set",
"this",
"to",
"true",
"to",
"draw",
"the",
"entry",
"labels",
"into",
"the",
"pie",
"slices",
"(",
"provided",
"by",
"the",
"get",
"label",
"(",
")",
"method",
"of",
"the",
"pie",
"entry",
"class",
")",
"deprecated",
"-",
">",
"use",
"set",
"draw",
"entry",
"labels",
"(",
")",
"instead"
] | [
"public",
"void",
"set",
"draw",
"slice",
"text",
"(",
"boolean",
"enabled",
")",
"{",
"m",
"draw",
"entry",
"labels",
"=",
"enabled",
";",
"}"
] |
[
"puts",
"the",
"given",
"instance",
"in",
"the",
"intern",
"table",
"if",
"it",
"'",
"s",
"not",
"already",
"there",
"if",
"a",
"conflicting",
"value",
"is",
"already",
"in",
"the",
"table",
",",
"then",
"leave",
"it",
"return",
"the",
"interned",
"value"
] | [
"private",
"static",
"prototype",
"put",
"intern",
"(",
"prototype",
"desc",
")",
"{",
"synchronized",
"(",
"intern",
"table",
")",
"{",
"string",
"descriptor",
"=",
"desc",
"get",
"descriptor",
"(",
")",
";",
"prototype",
"already",
"=",
"intern",
"table",
"get",
"(",
"descriptor",
")",
";",
"if",
"(",
"already",
"!",
"=",
"null",
")",
"{",
"return",
"already",
";",
"}",
"intern",
"table",
"put",
"(",
"descriptor",
",",
"desc",
")",
";",
"return",
"desc",
";",
"}",
"}"
] |
[
"get",
"the",
"component",
"of",
"interest",
"at",
"the",
"bit",
"position",
"which",
"corresponds",
"to",
"this",
"bit",
"attributes",
"object"
] | [
"data",
"type",
"component",
"get",
"data",
"type",
"component",
"(",
"boolean",
"ignore",
"active",
"component",
")",
"{",
"/",
"/",
"note",
"that",
"this",
"method",
"implementation",
"assumes",
"the",
"edit",
"component",
"/",
"/",
"will",
"never",
"be",
"a",
"conflict",
"but",
"may",
"contain",
"a",
"conflict",
"component",
"/",
"/",
"since",
"it",
"is",
"always",
"constructed",
"last",
"if",
"(",
"dtc",
"!",
"=",
"null",
"&",
"&",
"(",
"dtc",
"get",
"ordinal",
"(",
")",
"!",
"=",
"edit",
"ordinal",
"|",
"|",
"!",
"ignore",
"active",
"component",
")",
")",
"{",
"return",
"dtc",
";",
"}",
"if",
"(",
"conflict",
"!",
"=",
"null",
")",
"{",
"return",
"conflict",
"dtc",
";",
"}",
"return",
"null",
";",
"}"
] |
[
"provides",
"additional",
"precomputed",
"values",
"to",
"inject",
"into",
"the",
"skyframe",
"graph",
"called",
"on",
"every",
"command",
"execution"
] | [
"public",
"immutable",
"list",
"<",
"precomputed",
"value",
"injected",
">",
"get",
"precomputed",
"values",
"(",
")",
"{",
"return",
"immutable",
"list",
"of",
"(",
")",
";",
"}"
] |
[
"expires",
"all",
"of",
"the",
"data",
"that",
"has",
"been",
"cached",
"in",
"this",
"realm"
] | [
"void",
"expire",
"all",
"(",
")",
";"
] |
[
"cleans",
"up",
"a",
"view",
"that",
"goes",
"off",
"screen",
"after",
"it",
"has",
"already",
"been",
"bound"
] | [
"void",
"unbind",
"(",
"v",
"view",
")",
";"
] |
[
"update",
"fast",
"-",
"forward",
"-",
"rewind",
"seek",
"duration",
"options",
"according",
"to",
"language",
"and",
"inexact",
"seek",
"setting",
"exoplayer",
"can",
"'",
"t",
"seek",
"5",
"seconds",
"in",
"audio",
"when",
"using",
"inexact",
"seek"
] | [
"private",
"void",
"update",
"seek",
"options",
"(",
")",
"{",
"/",
"/",
"initializing",
"r",
"array",
"seek",
"duration",
"description",
"to",
"display",
"the",
"translation",
"of",
"seconds",
"final",
"resources",
"res",
"=",
"get",
"resources",
"(",
")",
";",
"final",
"string",
"[",
"]",
"durations",
"values",
"=",
"res",
"get",
"string",
"array",
"(",
"r",
"array",
"seek",
"duration",
"value",
")",
";",
"final",
"list",
"<",
"string",
">",
"displayed",
"duration",
"values",
"=",
"new",
"linked",
"list",
"<",
">",
"(",
")",
";",
"final",
"list",
"<",
"string",
">",
"displayed",
"description",
"values",
"=",
"new",
"linked",
"list",
"<",
">",
"(",
")",
";",
"int",
"current",
"duration",
"value",
";",
"final",
"boolean",
"inexact",
"seek",
"=",
"get",
"preference",
"manager",
"(",
")",
"get",
"shared",
"preferences",
"(",
")",
"get",
"boolean",
"(",
"res",
"get",
"string",
"(",
"r",
"string",
"use",
"inexact",
"seek",
"key",
")",
",",
"false",
")",
";",
"for",
"(",
"final",
"string",
"durations",
"value",
":",
"durations",
"values",
")",
"{",
"current",
"duration",
"value",
"=",
"integer",
"parse",
"int",
"(",
"durations",
"value",
")",
"/",
"(",
"int",
")",
"date",
"utils",
"second",
"in",
"millis",
";",
"if",
"(",
"inexact",
"seek",
"&",
"&",
"current",
"duration",
"value",
"%",
"10",
"=",
"=",
"5",
")",
"{",
"continue",
";",
"}",
"displayed",
"duration",
"values",
"add",
"(",
"durations",
"value",
")",
";",
"try",
"{",
"displayed",
"description",
"values",
"add",
"(",
"string",
"format",
"(",
"res",
"get",
"quantity",
"string",
"(",
"r",
"plurals",
"seconds",
",",
"current",
"duration",
"value",
")",
",",
"current",
"duration",
"value",
")",
")",
";",
"}",
"catch",
"(",
"final",
"resources",
"not",
"found",
"exception",
"ignored",
")",
"{",
"/",
"/",
"if",
"this",
"happens",
",",
"the",
"translation",
"is",
"missing",
",",
"/",
"/",
"and",
"the",
"english",
"string",
"will",
"be",
"displayed",
"instead",
"}",
"}",
"final",
"list",
"preference",
"durations",
"=",
"find",
"preference",
"(",
"get",
"string",
"(",
"r",
"string",
"seek",
"duration",
"key",
")",
")",
";",
"durations",
"set",
"entry",
"values",
"(",
"displayed",
"duration",
"values",
"to",
"array",
"(",
"new",
"char",
"sequence",
"[",
"0",
"]",
")",
")",
";",
"durations",
"set",
"entries",
"(",
"displayed",
"description",
"values",
"to",
"array",
"(",
"new",
"char",
"sequence",
"[",
"0",
"]",
")",
")",
";",
"final",
"int",
"selected",
"duration",
"=",
"integer",
"parse",
"int",
"(",
"durations",
"get",
"value",
"(",
")",
")",
";",
"if",
"(",
"inexact",
"seek",
"&",
"&",
"selected",
"duration",
"/",
"(",
"int",
")",
"date",
"utils",
"second",
"in",
"millis",
"%",
"10",
"=",
"=",
"5",
")",
"{",
"final",
"int",
"new",
"duration",
"=",
"selected",
"duration",
"/",
"(",
"int",
")",
"date",
"utils",
"second",
"in",
"millis",
"+",
"5",
";",
"durations",
"set",
"value",
"(",
"integer",
"to",
"string",
"(",
"new",
"duration",
"*",
"(",
"int",
")",
"date",
"utils",
"second",
"in",
"millis",
")",
")",
";",
"final",
"toast",
"toast",
"=",
"toast",
"make",
"text",
"(",
"get",
"context",
"(",
")",
",",
"get",
"string",
"(",
"r",
"string",
"new",
"seek",
"duration",
"toast",
",",
"new",
"duration",
")",
",",
"toast",
"length",
"long",
")",
";",
"toast",
"show",
"(",
")",
";",
"}",
"}"
] |
[
"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",
"api",
"response",
"<",
"order",
">",
"get",
"order",
"by",
"id",
"with",
"http",
"info",
"(",
"long",
"order",
"id",
")",
"throws",
"api",
"exception",
"{",
"okhttp",
"3",
"call",
"local",
"var",
"call",
"=",
"get",
"order",
"by",
"id",
"validate",
"before",
"call",
"(",
"order",
"id",
",",
"null",
")",
";",
"type",
"local",
"var",
"return",
"type",
"=",
"new",
"type",
"token",
"<",
"order",
">",
"(",
")",
"{",
"}",
"get",
"type",
"(",
")",
";",
"return",
"local",
"var",
"api",
"client",
"execute",
"(",
"local",
"var",
"call",
",",
"local",
"var",
"return",
"type",
")",
";",
"}"
] |
[
"return",
"a",
"list",
"of",
"file",
"objects",
"that",
"name",
"files",
"antlr",
"will",
"read",
"to",
"process",
"t",
"g",
";",
"this",
"can",
"be",
"tokens",
"files",
"if",
"the",
"grammar",
"uses",
"the",
"token",
"vocab",
"option",
"as",
"well",
"as",
"any",
"imported",
"grammar",
"files"
] | [
"public",
"list",
"<",
"file",
">",
"get",
"dependencies",
"file",
"list",
"(",
")",
"{",
"/",
"/",
"find",
"all",
"the",
"things",
"other",
"than",
"imported",
"grammars",
"list",
"<",
"file",
">",
"files",
"=",
"get",
"non",
"import",
"dependencies",
"file",
"list",
"(",
")",
";",
"/",
"/",
"handle",
"imported",
"grammars",
"list",
"<",
"grammar",
">",
"imports",
"=",
"g",
"get",
"all",
"imported",
"grammars",
"(",
")",
";",
"if",
"(",
"imports",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"grammar",
"g",
":",
"imports",
")",
"{",
"string",
"libdir",
"=",
"tool",
"lib",
"directory",
";",
"string",
"file",
"name",
"=",
"groom",
"qualified",
"file",
"name",
"(",
"libdir",
",",
"g",
"file",
"name",
")",
";",
"files",
"add",
"(",
"new",
"file",
"(",
"file",
"name",
")",
")",
";",
"}",
"}",
"if",
"(",
"files",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"return",
"files",
";",
"}"
] |
[
"creates",
"a",
"new",
"label",
"late",
"bound",
"default",
"which",
"uses",
"the",
"rule",
",",
"its",
"configured",
"attributes",
",",
"and",
"a",
"fragment",
"of",
"the",
"target",
"configuration",
"note",
"that",
"the",
"configuration",
"fragment",
"here",
"does",
"not",
"take",
"into",
"account",
"any",
"transitions",
"that",
"are",
"on",
"the",
"attribute",
"with",
"this",
"label",
"late",
"bound",
"default",
"as",
"its",
"value",
"the",
"configuration",
"will",
"be",
"the",
"same",
"as",
"the",
"configuration",
"given",
"to",
"the",
"target",
"bearing",
"the",
"attribute",
"nearly",
"all",
"late",
"bound",
"defaults",
"should",
"use",
"this",
"constructor",
"or",
"{",
"@",
"link",
"label",
"list",
"late",
"bound",
"default",
"#",
"from",
"target",
"configuration",
"}",
"there",
"are",
"few",
"situations",
"where",
"it",
"isn",
"'",
"t",
"the",
"appropriate",
"option",
"if",
"you",
"want",
"a",
"late",
"-",
"bound",
"dependency",
"which",
"is",
"configured",
"in",
"the",
"host",
"configuration",
",",
"just",
"use",
"this",
"method",
"with",
"{",
"@",
"link",
"com",
"google",
"devtools",
"build",
"lib",
"analysis",
"config",
"host",
"transition",
"}",
"if",
"you",
"also",
"need",
"to",
"decide",
"the",
"label",
"of",
"the",
"dependency",
"with",
"information",
"gained",
"from",
"the",
"host",
"configuration",
"-",
"and",
"it",
"'",
"s",
"very",
"unlikely",
"that",
"you",
"do",
"-",
"you",
"can",
"use",
"{",
"@",
"link",
"label",
"late",
"bound",
"default",
"#",
"from",
"host",
"configuration",
"}",
"as",
"well",
"if",
"you",
"want",
"to",
"decide",
"an",
"attribute",
"'",
"s",
"value",
"based",
"on",
"the",
"value",
"of",
"its",
"other",
"attributes",
",",
"use",
"a",
"subclass",
"of",
"{",
"@",
"link",
"computed",
"default",
"}",
"the",
"only",
"time",
"you",
"should",
"need",
"{",
"@",
"link",
"label",
"list",
"late",
"bound",
"default",
"#",
"from",
"rule",
"and",
"attributes",
"only",
"}",
"is",
"if",
"you",
"need",
"access",
"to",
"three",
"or",
"more",
"configurable",
"attributes",
",",
"or",
"if",
"you",
"need",
"to",
"match",
"names",
"with",
"a",
"late",
"-",
"bound",
"attribute",
"on",
"another",
"rule",
"if",
"you",
"have",
"a",
"constant",
"-",
"valued",
"attribute",
",",
"but",
"you",
"need",
"it",
"to",
"have",
"the",
"same",
"name",
"as",
"an",
"attribute",
"on",
"another",
"rule",
"which",
"is",
"late",
"-",
"bound",
",",
"use",
"{",
"@",
"link",
"#",
"always",
"null",
"}"
] | [
"public",
"static",
"<",
"fragment",
"t",
">",
"label",
"late",
"bound",
"default",
"<",
"fragment",
"t",
">",
"from",
"target",
"configuration",
"(",
"class",
"<",
"fragment",
"t",
">",
"fragment",
"class",
",",
"label",
"default",
"value",
",",
"resolver",
"<",
"fragment",
"t",
",",
"label",
">",
"resolver",
")",
"{",
"preconditions",
"check",
"argument",
"(",
"!",
"fragment",
"class",
"equals",
"(",
"void",
"class",
")",
",",
"\"",
"use",
"from",
"rule",
"and",
"attributes",
"only",
"to",
"specify",
"a",
"late",
"bound",
"default",
"which",
"does",
"not",
"use",
"\"",
"+",
"\"",
"configuration",
"\"",
")",
";",
"return",
"new",
"label",
"late",
"bound",
"default",
"<",
">",
"(",
"false",
",",
"fragment",
"class",
",",
"default",
"value",
",",
"resolver",
")",
";",
"}"
] |
[
"uninstalls",
"the",
"synchronizer",
"from",
"the",
"input",
"'",
"s",
"file"
] | [
"public",
"void",
"uninstall",
"(",
")",
"{",
"get",
"file",
"(",
")",
"get",
"workspace",
"(",
")",
"remove",
"resource",
"change",
"listener",
"(",
"this",
")",
";",
"is",
"installed",
"=",
"false",
";",
"}"
] |
[
"puts",
"the",
"given",
"byte",
"array",
"in",
"the",
"byte",
"array",
"array",
"at",
"the",
"given",
"index"
] | [
"public",
"void",
"put",
"(",
"int",
"index",
",",
"byte",
"[",
"]",
"value",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"remove",
"(",
"index",
")",
";",
"return",
";",
"}",
"if",
"(",
"index",
">",
"=",
"starts",
"length",
")",
"{",
"adjust",
"array",
"sizes",
"(",
"math",
"max",
"(",
"index",
"+",
"1",
",",
"starts",
"length",
"*",
"2",
")",
")",
";",
"}",
"if",
"(",
"index",
">",
"last",
"start",
")",
"{",
"last",
"start",
"=",
"index",
";",
"}",
"/",
"/",
"is",
"there",
"already",
"something",
"here",
"?",
"if",
"(",
"starts",
"[",
"index",
"]",
">",
"0",
")",
"{",
"/",
"/",
"if",
"so",
",",
"does",
"the",
"new",
"array",
"fit",
"in",
"the",
"already",
"allocated",
"space",
"?",
"if",
"(",
"lengths",
"[",
"index",
"]",
">",
"=",
"value",
"length",
")",
"{",
"/",
"/",
"if",
"it",
"does",
",",
"subtract",
"the",
"difference",
"the",
"allocated",
"space",
"total",
"total",
"space",
"allocated",
"-",
"=",
"lengths",
"[",
"index",
"]",
"-",
"value",
"length",
";",
"}",
"else",
"{",
"/",
"/",
"otherwise",
",",
"subtract",
"the",
"entire",
"space",
"from",
"the",
"allocated",
"space",
"total",
"/",
"/",
"and",
"allocate",
"new",
"space",
"total",
"space",
"allocated",
"-",
"=",
"lengths",
"[",
"index",
"]",
";",
"starts",
"[",
"index",
"]",
"=",
"alloc",
"space",
"(",
"value",
"length",
")",
";",
"}",
"}",
"else",
"{",
"starts",
"[",
"index",
"]",
"=",
"alloc",
"space",
"(",
"value",
"length",
")",
";",
"}",
"lengths",
"[",
"index",
"]",
"=",
"(",
"short",
")",
"value",
"length",
";",
"system",
"arraycopy",
"(",
"value",
",",
"0",
",",
"bytes",
",",
"starts",
"[",
"index",
"]",
",",
"value",
"length",
")",
";",
"}"
] |
[
"whether",
"the",
"given",
"{",
"@",
"linkplain",
"method",
"parameter",
"method",
"parameter",
"}",
"is",
"supported",
"by",
"this",
"resolver"
] | [
"boolean",
"supports",
"parameter",
"(",
"method",
"parameter",
"parameter",
")",
";"
] |
[
"disables",
"blending",
"for",
"drawing",
"sprites",
"calling",
"this",
"within",
"{",
"@",
"link",
"#",
"begin",
"(",
")",
"}",
"{",
"@",
"link",
"#",
"end",
"(",
")",
"}",
"will",
"flush",
"the",
"batch"
] | [
"public",
"void",
"disable",
"blending",
"(",
")",
";"
] |
[
"https",
":",
"jira",
"spring",
"iobrowse",
"s",
"p",
"r",
"-",
"2788"
] | [
"public",
"void",
"as",
"body",
"tag",
"with",
"no",
"errors",
"and",
"existing",
"messages",
"attribute",
"in",
"page",
"scope",
"are",
"not",
"clobbered",
"(",
")",
"throws",
"exception",
"{",
"assert",
"when",
"no",
"errors",
"existing",
"messages",
"in",
"scope",
"are",
"not",
"clobbered",
"(",
"page",
"context",
"page",
"scope",
")",
";",
"}"
] |
[
"invoke",
"j",
"unit",
"'",
"s",
"private",
"{",
"@",
"code",
"with",
"rules",
"(",
")",
"}",
"method",
"using",
"reflection"
] | [
"private",
"statement",
"with",
"rules",
"reflectively",
"(",
"framework",
"method",
"framework",
"method",
",",
"object",
"test",
"instance",
",",
"statement",
"statement",
")",
"{",
"object",
"result",
"=",
"reflection",
"utils",
"invoke",
"method",
"(",
"with",
"rules",
"method",
",",
"this",
",",
"framework",
"method",
",",
"test",
"instance",
",",
"statement",
")",
";",
"assert",
"state",
"(",
"result",
"instanceof",
"statement",
",",
"\"",
"with",
"rules",
"mismatch",
"\"",
")",
";",
"return",
"(",
"statement",
")",
"result",
";",
"}"
] |
[
"sets",
"the",
"radius",
"of",
"circle"
] | [
"public",
"void",
"set",
"radius",
"(",
"float",
"radius",
")",
"{",
"this",
"radius",
"=",
"radius",
";",
"}"
] |
[
"returns",
"true",
"iff",
"the",
"graph",
"contains",
"the",
"edge",
"e"
] | [
"public",
"boolean",
"contains",
"(",
"edge",
"e",
")",
"{",
"return",
"this",
"edges",
"(",
")",
"contains",
"(",
"e",
")",
";",
"}"
] |
[
"estimate",
"of",
"how",
"long",
"will",
"it",
"take",
"to",
"execute",
"this",
"executable",
"measured",
"in",
"milliseconds"
] | [
"default",
"long",
"get",
"estimated",
"duration",
"(",
")",
"{",
"return",
"executables",
"get",
"parent",
"of",
"(",
"this",
")",
"get",
"estimated",
"duration",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"appropriate",
"{",
"@",
"code",
"invoke",
"-",
"static",
"}",
"rop",
"for",
"the",
"given",
"type",
"the",
"result",
"is",
"typically",
"a",
"newly",
"-",
"allocated",
"instance"
] | [
"public",
"static",
"rop",
"op",
"invoke",
"static",
"(",
"prototype",
"meth",
")",
"{",
"return",
"new",
"rop",
"(",
"reg",
"ops",
"invoke",
"static",
",",
"meth",
"get",
"parameter",
"frame",
"types",
"(",
")",
",",
"std",
"type",
"list",
"throwable",
")",
";",
"}"
] |
[
"invoke",
"any",
"(",
"empty",
"collection",
")",
"throws",
"iae"
] | [
"public",
"void",
"test",
"invoke",
"any",
"impl",
"empty",
"tasks",
"(",
")",
"throws",
"exception",
"{",
"listening",
"executor",
"service",
"e",
"=",
"new",
"direct",
"executor",
"service",
"(",
")",
";",
"try",
"{",
"invoke",
"any",
"impl",
"(",
"e",
",",
"new",
"array",
"list",
"<",
"callable",
"<",
"string",
">",
">",
"(",
")",
",",
"false",
",",
"0",
",",
"time",
"unit",
"nanoseconds",
")",
";",
"fail",
"(",
")",
";",
"}",
"catch",
"(",
"illegal",
"argument",
"exception",
"success",
")",
"{",
"}",
"finally",
"{",
"join",
"pool",
"(",
"e",
")",
";",
"}",
"}"
] |
[
"finally",
",",
"complete",
"write",
"to",
"set",
"real",
"size",
"to",
"binary"
] | [
"void",
"complete",
"(",
")",
";",
"/",
"/",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.