docstring_tokens
list | code_tokens
list |
---|---|
[
"set",
"the",
"location",
"of",
"the",
"eh",
"cache",
"config",
"file",
"a",
"typical",
"value",
"is",
"\"",
"web",
"-",
"i",
"n",
"fehcache",
"xml",
"\"",
"default",
"is",
"\"",
"ehcache",
"xml",
"\"",
"in",
"the",
"root",
"of",
"the",
"class",
"path",
",",
"or",
"if",
"not",
"found",
",",
"\"",
"ehcache",
"-",
"failsafe",
"xml",
"\"",
"in",
"the",
"eh",
"cache",
"jar",
"(",
"default",
"eh",
"cache",
"initialization",
")"
] |
[
"public",
"void",
"set",
"config",
"location",
"(",
"resource",
"config",
"location",
")",
"{",
"this",
"config",
"location",
"=",
"config",
"location",
";",
"}"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] |
[
"public",
"void",
"write",
"(",
"data",
"output",
"out",
")",
"throws",
"i",
"o",
"exception",
"{",
"write",
"(",
"sigma",
",",
"out",
")",
";",
"}"
] |
[
"merge",
"the",
"contents",
"of",
"the",
"{",
"@",
"code",
"next",
"}",
"message",
"into",
"this",
"message",
"so",
"they",
"can",
"be",
"written",
"out",
"as",
"one",
"unit",
"this",
"allows",
"many",
"small",
"messages",
"to",
"be",
"written",
"as",
"a",
"single",
"data",
"frame"
] |
[
"boolean",
"merge",
"(",
"channel",
"handler",
"context",
"ctx",
",",
"flow",
"controlled",
"next",
")",
";"
] |
[
"verify",
"open",
"files",
"with",
"specified",
"filter",
"path"
] |
[
"private",
"void",
"verify",
"open",
"files",
"(",
"map",
"<",
"path",
",",
"f",
"s",
"data",
"output",
"stream",
">",
"open",
"files",
",",
"string",
"path",
")",
"throws",
"i",
"o",
"exception",
"{",
"verify",
"open",
"files",
"(",
"open",
"files",
",",
"enum",
"set",
"of",
"(",
"open",
"files",
"type",
"all",
"open",
"files",
")",
",",
"path",
")",
";",
"verify",
"open",
"files",
"(",
"new",
"hash",
"map",
"<",
">",
"(",
")",
",",
"enum",
"set",
"of",
"(",
"open",
"files",
"type",
"blocking",
"decommission",
")",
",",
"path",
")",
";",
"}"
] |
[
"first",
"generates",
"the",
"source",
"dictionary",
"from",
"the",
"source",
"program",
"and",
"match",
"set",
",",
"then",
"finds",
"the",
"destinations",
"corresponding",
"to",
"the",
"match",
"set",
"and",
"the",
"source",
"dictionary",
"using",
"the",
"preset",
"similarity",
"and",
"confidence",
"thresholds"
] |
[
"protected",
"void",
"do",
"correlate",
"(",
"v",
"t",
"match",
"set",
"match",
"set",
",",
"task",
"monitor",
"monitor",
")",
"throws",
"cancelled",
"exception",
"{",
"double",
"minbits",
"=",
"get",
"options",
"(",
")",
"get",
"double",
"(",
"confidence",
"threshold",
",",
"confidence",
"threshold",
"default",
")",
";",
"double",
"similarity",
"threshold",
"=",
"get",
"options",
"(",
")",
"get",
"double",
"(",
"similarity",
"threshold",
",",
"similarity",
"threshold",
"default",
")",
";",
"monitor",
"set",
"message",
"(",
"\"",
"finding",
"reference",
"features",
"\"",
")",
";",
"extract",
"reference",
"features",
"(",
"match",
"set",
",",
"monitor",
")",
";",
"monitor",
"set",
"message",
"(",
"\"",
"finding",
"destination",
"functions",
"\"",
")",
";",
"try",
"{",
"find",
"destinations",
"(",
"match",
"set",
",",
"similarity",
"threshold",
",",
"minbits",
",",
"monitor",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"\"",
"problem",
"with",
"parallel",
"decompiler",
"\"",
",",
"e",
")",
";",
"}",
"}"
] |
[
"the",
"version",
"of",
"the",
"activiti",
"library",
"used"
] |
[
"public",
"string",
"get",
"library",
"version",
"(",
")",
"{",
"return",
"library",
"version",
";",
"}"
] |
[
"allows",
"checking",
"if",
"given",
"method",
"was",
"the",
"only",
"one",
"invoked",
"e",
"g",
":",
"<",
"pre",
"class",
"=",
"\"",
"code",
"\"",
">",
"<",
"code",
"class",
"=",
"\"",
"java",
"\"",
">",
"verify",
"(",
"mock",
",",
"only",
"(",
")",
")",
"some",
"method",
"(",
")",
";",
"above",
"is",
"a",
"shorthand",
"for",
"following",
"2",
"lines",
"of",
"code",
":",
"verify",
"(",
"mock",
")",
"some",
"method",
"(",
")",
";",
"verify",
"no",
"more",
"interactions",
"(",
"mock",
")",
";",
"<",
"code",
">",
"see",
"also",
"{",
"@",
"link",
"mockito",
"#",
"verify",
"no",
"more",
"interactions",
"(",
"object",
")",
"}",
"see",
"examples",
"in",
"javadoc",
"for",
"{",
"@",
"link",
"mockito",
"}",
"class"
] |
[
"verification",
"mode",
"only",
"(",
")",
";"
] |
[
"log",
"in",
"a",
"user",
"using",
"the",
"given",
"subject"
] |
[
"public",
"static",
"void",
"login",
"user",
"from",
"subject",
"(",
"subject",
"subject",
")",
"throws",
"i",
"o",
"exception",
"{",
"set",
"login",
"user",
"(",
"create",
"login",
"user",
"(",
"subject",
")",
")",
";",
"}"
] |
[
"create",
"a",
"{",
"@",
"link",
"put",
"object",
"request",
"}",
"request",
"the",
"metadata",
"is",
"assumed",
"to",
"have",
"been",
"configured",
"with",
"the",
"size",
"of",
"the",
"operation"
] |
[
"static",
"put",
"object",
"request",
"new",
"put",
"object",
"request",
"(",
"final",
"o",
"b",
"s",
"file",
"system",
"owner",
",",
"final",
"string",
"key",
",",
"final",
"object",
"metadata",
"metadata",
",",
"final",
"input",
"stream",
"input",
"stream",
")",
"{",
"preconditions",
"check",
"not",
"null",
"(",
"input",
"stream",
")",
";",
"put",
"object",
"request",
"put",
"object",
"request",
"=",
"new",
"put",
"object",
"request",
"(",
"owner",
"get",
"bucket",
"(",
")",
",",
"key",
",",
"input",
"stream",
")",
";",
"put",
"object",
"request",
"set",
"acl",
"(",
"owner",
"get",
"canned",
"a",
"c",
"l",
"(",
")",
")",
";",
"put",
"object",
"request",
"set",
"metadata",
"(",
"metadata",
")",
";",
"if",
"(",
"owner",
"get",
"sse",
"(",
")",
"is",
"sse",
"c",
"enable",
"(",
")",
")",
"{",
"put",
"object",
"request",
"set",
"sse",
"c",
"header",
"(",
"owner",
"get",
"sse",
"(",
")",
"get",
"sse",
"c",
"header",
"(",
")",
")",
";",
"}",
"else",
"if",
"(",
"owner",
"get",
"sse",
"(",
")",
"is",
"sse",
"kms",
"enable",
"(",
")",
")",
"{",
"put",
"object",
"request",
"set",
"sse",
"kms",
"header",
"(",
"owner",
"get",
"sse",
"(",
")",
"get",
"sse",
"kms",
"header",
"(",
")",
")",
";",
"}",
"return",
"put",
"object",
"request",
";",
"}"
] |
[
"returns",
"the",
"query",
"that",
"defines",
"which",
"documents",
"the",
"function",
"score",
"query",
"will",
"be",
"executed",
"on"
] |
[
"public",
"query",
"builder",
"query",
"(",
")",
"{",
"return",
"this",
"query",
";",
"}"
] |
[
"returns",
"the",
"last",
"item"
] |
[
"public",
"long",
"peek",
"(",
")",
"{",
"return",
"items",
"[",
"size",
"-",
"1",
"]",
";",
"}"
] |
[
"schedule",
"the",
"next",
"block",
"report",
"after",
"the",
"block",
"report",
"interval",
"if",
"the",
"current",
"block",
"report",
"was",
"delayed",
"then",
"the",
"next",
"block",
"report",
"is",
"sent",
"per",
"the",
"original",
"schedule",
"numerical",
"overflow",
"is",
"possible",
"here"
] |
[
"void",
"schedule",
"next",
"block",
"report",
"(",
")",
"{",
"/",
"/",
"if",
"we",
"have",
"sent",
"the",
"first",
"set",
"of",
"block",
"reports",
",",
"then",
"wait",
"a",
"random",
"/",
"/",
"time",
"before",
"we",
"start",
"the",
"periodic",
"block",
"reports",
"if",
"(",
"reset",
"block",
"report",
"time",
")",
"{",
"next",
"block",
"report",
"time",
"=",
"monotonic",
"now",
"(",
")",
"+",
"thread",
"local",
"random",
"current",
"(",
")",
"next",
"int",
"(",
"(",
"int",
")",
"(",
"block",
"report",
"interval",
"ms",
")",
")",
";",
"reset",
"block",
"report",
"time",
"=",
"false",
";",
"}",
"else",
"{",
"/",
"*",
"say",
"the",
"last",
"block",
"report",
"was",
"at",
"8",
":",
"20",
":",
"14",
"the",
"current",
"report",
"*",
"should",
"have",
"started",
"around",
"14",
":",
"20",
":",
"14",
"(",
"default",
"6",
"hour",
"interval",
")",
"*",
"if",
"current",
"time",
"is",
":",
"*",
"1",
")",
"normal",
"like",
"14",
":",
"20",
":",
"18",
",",
"next",
"report",
"should",
"be",
"at",
"20",
":",
"20",
":",
"14",
"*",
"2",
")",
"unexpected",
"like",
"21",
":",
"35",
":",
"43",
",",
"next",
"report",
"should",
"be",
"at",
"2",
":",
"20",
":",
"14",
"*",
"on",
"the",
"next",
"day",
"*",
"/",
"long",
"factor",
"=",
"(",
"monotonic",
"now",
"(",
")",
"-",
"next",
"block",
"report",
"time",
"+",
"block",
"report",
"interval",
"ms",
")",
"/",
"block",
"report",
"interval",
"ms",
";",
"if",
"(",
"factor",
"!",
"=",
"0",
")",
"{",
"next",
"block",
"report",
"time",
"+",
"=",
"factor",
"*",
"block",
"report",
"interval",
"ms",
";",
"}",
"else",
"{",
"/",
"/",
"if",
"the",
"difference",
"between",
"the",
"present",
"time",
"and",
"the",
"scheduled",
"/",
"/",
"time",
"is",
"very",
"less",
",",
"the",
"factor",
"can",
"be",
"0",
",",
"so",
"in",
"that",
"case",
",",
"we",
"can",
"/",
"/",
"ignore",
"that",
"negligible",
"time",
",",
"spent",
"while",
"sending",
"the",
"b",
"rss",
"and",
"/",
"/",
"schedule",
"the",
"next",
"br",
"after",
"the",
"block",
"report",
"interval",
"next",
"block",
"report",
"time",
"+",
"=",
"block",
"report",
"interval",
"ms",
";",
"}",
"}",
"}"
] |
[
"uploads",
"an",
"image"
] |
[
"public",
"void",
"upload",
"file",
"test",
"(",
")",
"{",
"long",
"pet",
"id",
"=",
"null",
";",
"string",
"additional",
"metadata",
"=",
"null",
";",
"file",
"file",
"=",
"null",
";",
"model",
"api",
"response",
"response",
"=",
"api",
"upload",
"file",
"(",
"pet",
"id",
",",
"additional",
"metadata",
",",
"file",
")",
";",
"/",
"/",
"todo",
":",
"test",
"validations",
"}"
] |
[
"register",
"config",
"properties"
] |
[
"public",
"configuration",
"register",
"config",
"(",
"properties",
"ext",
"properties",
")",
"{",
"if",
"(",
"ext",
"properties",
"=",
"=",
"null",
")",
"{",
"return",
"this",
";",
"}",
"try",
"{",
"read",
"write",
"lock",
"write",
"lock",
"(",
")",
"lock",
"interruptibly",
"(",
")",
";",
"try",
"{",
"merge",
"(",
"ext",
"properties",
",",
"this",
"all",
"configs",
")",
";",
"}",
"finally",
"{",
"read",
"write",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}",
"}",
"catch",
"(",
"interrupted",
"exception",
"e",
")",
"{",
"log",
"error",
"(",
"\"",
"register",
"lock",
"error",
"{",
"}",
"\"",
"+",
"ext",
"properties",
")",
";",
"}",
"return",
"this",
";",
"}"
] |
[
"add",
"all",
"the",
"productions",
"of",
"a",
"given",
"grammar",
"to",
"this",
"one"
] |
[
"public",
"void",
"combine",
"(",
"abstract",
"assembly",
"grammar",
"<",
"nt",
",",
"p",
">",
"that",
")",
"{",
"for",
"(",
"p",
"prod",
":",
"that",
"prod",
"list",
")",
"{",
"add",
"production",
"(",
"prod",
")",
";",
"}",
"}"
] |
[
"sets",
"a",
"string",
"attribute",
"on",
"the",
"specified",
"element"
] |
[
"public",
"static",
"void",
"set",
"string",
"attr",
"(",
"element",
"ele",
",",
"string",
"attr",
"name",
",",
"string",
"attr",
"value",
")",
"{",
"if",
"(",
"attr",
"value",
"!",
"=",
"null",
")",
"{",
"ele",
"set",
"attribute",
"(",
"attr",
"name",
",",
"attr",
"value",
")",
";",
"}",
"}"
] |
[
"sends",
"a",
"'",
"goto",
"'",
"event",
"that",
"navigates",
"the",
"listing",
"to",
"the",
"specified",
"symbol"
] |
[
"public",
"boolean",
"go",
"to",
"(",
"symbol",
"symbol",
")",
"{",
"return",
"go",
"to",
"(",
"symbol",
"get",
"address",
"(",
")",
")",
";",
"}"
] |
[
"tests",
"that",
"configurable",
"\"",
"srcs",
"\"",
"doesn",
"'",
"t",
"crash",
"because",
"of",
"orphaned",
"implicit",
"so",
"outputs",
"(",
"see",
"{",
"@",
"link",
"cc",
"library",
"#",
"appears",
"to",
"have",
"object",
"files",
"}",
")"
] |
[
"public",
"void",
"test",
"configurable",
"srcs",
"(",
")",
"throws",
"exception",
"{",
"scratch",
"file",
"(",
"\"",
"foo",
"/",
"build",
"\"",
",",
"\"",
"cc",
"library",
"(",
"\"",
",",
"\"",
"name",
"=",
"'",
"foo",
"'",
",",
"\"",
",",
"\"",
"srcs",
"=",
"select",
"(",
"{",
"'",
"/",
"/",
"conditions",
":",
"default",
"'",
":",
"[",
"]",
"}",
")",
",",
"\"",
",",
"\"",
")",
"\"",
")",
";",
"configured",
"target",
"target",
"=",
"get",
"configured",
"target",
"(",
"\"",
"/",
"/",
"foo",
":",
"foo",
"\"",
")",
";",
"artifact",
"so",
"output",
"=",
"get",
"bin",
"artifact",
"(",
"\"",
"libfoo",
"so",
"\"",
",",
"target",
")",
";",
"assert",
"that",
"(",
"get",
"generating",
"action",
"(",
"so",
"output",
")",
")",
"is",
"instance",
"of",
"(",
"fail",
"action",
"class",
")",
";",
"}"
] |
[
"get",
"sc",
"a",
"e",
"t",
"h",
"flow",
"points"
] |
[
"public",
"string",
"get",
"sc",
"a",
"e",
"t",
"h",
"flow",
"points",
"(",
")",
"{",
"return",
"sc",
"a",
"e",
"t",
"h",
"flow",
"points",
";",
"}"
] |
[
"programmatically",
"updates",
"the",
"next",
"build",
"number",
"much",
"of",
"hudson",
"assumes",
"that",
"the",
"build",
"number",
"is",
"unique",
"and",
"monotonic",
",",
"so",
"this",
"method",
"can",
"only",
"accept",
"a",
"new",
"value",
"that",
"'",
"s",
"bigger",
"than",
"{",
"@",
"link",
"#",
"get",
"last",
"build",
"(",
")",
"}",
"returns",
"otherwise",
"it",
"'",
"ll",
"be",
"no",
"-",
"op"
] |
[
"public",
"synchronized",
"void",
"update",
"next",
"build",
"number",
"(",
"int",
"next",
")",
"throws",
"i",
"o",
"exception",
"{",
"run",
"t",
"lb",
"=",
"get",
"last",
"build",
"(",
")",
";",
"if",
"(",
"lb",
"!",
"=",
"null",
"?",
"next",
">",
"lb",
"get",
"number",
"(",
")",
":",
"next",
">",
"0",
")",
"{",
"this",
"next",
"build",
"number",
"=",
"next",
";",
"save",
"next",
"build",
"number",
"(",
")",
";",
"}",
"}"
] |
[
"processes",
"element",
"to",
"deduplicate",
"on",
"keys",
"with",
"row",
"time",
"semantic",
",",
"sends",
"current",
"element",
"if",
"it",
"is",
"last",
"or",
"first",
"row",
",",
"retracts",
"previous",
"element",
"if",
"needed"
] |
[
"public",
"static",
"void",
"deduplicate",
"on",
"row",
"time",
"(",
"value",
"state",
"<",
"row",
"data",
">",
"state",
",",
"row",
"data",
"current",
"row",
",",
"collector",
"<",
"row",
"data",
">",
"out",
",",
"boolean",
"generate",
"update",
"before",
",",
"boolean",
"generate",
"insert",
",",
"int",
"rowtime",
"index",
",",
"boolean",
"keep",
"last",
"row",
")",
"throws",
"exception",
"{",
"check",
"insert",
"only",
"(",
"current",
"row",
")",
";",
"row",
"data",
"pre",
"row",
"=",
"state",
"value",
"(",
")",
";",
"if",
"(",
"is",
"duplicate",
"(",
"pre",
"row",
",",
"current",
"row",
",",
"rowtime",
"index",
",",
"keep",
"last",
"row",
")",
")",
"{",
"update",
"deduplicate",
"result",
"(",
"generate",
"update",
"before",
",",
"generate",
"insert",
",",
"pre",
"row",
",",
"current",
"row",
",",
"out",
")",
";",
"state",
"update",
"(",
"current",
"row",
")",
";",
"}",
"}"
] |
[
"adds",
"a",
"static",
"field"
] |
[
"public",
"void",
"add",
"static",
"field",
"(",
"encoded",
"field",
"field",
",",
"constant",
"value",
")",
"{",
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
"\"",
"field",
"=",
"=",
"null",
"\"",
")",
";",
"}",
"if",
"(",
"static",
"values",
"constant",
"!",
"=",
"null",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"static",
"fields",
"already",
"sorted",
"\"",
")",
";",
"}",
"static",
"fields",
"add",
"(",
"field",
")",
";",
"static",
"values",
"put",
"(",
"field",
",",
"value",
")",
";",
"}"
] |
[
"constrains",
"a",
"value",
"between",
"minimum",
"and",
"maximum",
"values",
"(",
"inclusive",
")"
] |
[
"static",
"int",
"bounded",
"by",
"(",
"int",
"value",
",",
"int",
"min",
",",
"int",
"max",
")",
"{",
"return",
"math",
"min",
"(",
"max",
",",
"math",
"max",
"(",
"min",
",",
"value",
")",
")",
";",
"}"
] |
[
"return",
"the",
"aliases",
"for",
"the",
"given",
"name",
",",
"if",
"defined"
] |
[
"string",
"[",
"]",
"get",
"aliases",
"(",
"string",
"name",
")",
";"
] |
[
"build",
"call",
"for",
"update",
"user"
] |
[
"public",
"okhttp",
"3",
"call",
"update",
"user",
"call",
"(",
"string",
"username",
",",
"user",
"body",
",",
"final",
"api",
"callback",
"callback",
")",
"throws",
"api",
"exception",
"{",
"object",
"local",
"var",
"post",
"body",
"=",
"body",
";",
"/",
"/",
"create",
"path",
"and",
"map",
"variables",
"string",
"local",
"var",
"path",
"=",
"\"",
"/",
"user",
"/",
"{",
"username",
"}",
"\"",
"replace",
"all",
"(",
"\"",
"\\",
"\\",
"{",
"\"",
"+",
"\"",
"username",
"\"",
"+",
"\"",
"\\",
"\\",
"}",
"\"",
",",
"local",
"var",
"api",
"client",
"escape",
"string",
"(",
"username",
"to",
"string",
"(",
")",
")",
")",
";",
"list",
"<",
"pair",
">",
"local",
"var",
"query",
"params",
"=",
"new",
"array",
"list",
"<",
"pair",
">",
"(",
")",
";",
"list",
"<",
"pair",
">",
"local",
"var",
"collection",
"query",
"params",
"=",
"new",
"array",
"list",
"<",
"pair",
">",
"(",
")",
";",
"map",
"<",
"string",
",",
"string",
">",
"local",
"var",
"header",
"params",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"string",
">",
"(",
")",
";",
"map",
"<",
"string",
",",
"string",
">",
"local",
"var",
"cookie",
"params",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"string",
">",
"(",
")",
";",
"map",
"<",
"string",
",",
"object",
">",
"local",
"var",
"form",
"params",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"object",
">",
"(",
")",
";",
"final",
"string",
"[",
"]",
"local",
"var",
"accepts",
"=",
"{",
"}",
";",
"final",
"string",
"local",
"var",
"accept",
"=",
"local",
"var",
"api",
"client",
"select",
"header",
"accept",
"(",
"local",
"var",
"accepts",
")",
";",
"if",
"(",
"local",
"var",
"accept",
"!",
"=",
"null",
")",
"{",
"local",
"var",
"header",
"params",
"put",
"(",
"\"",
"accept",
"\"",
",",
"local",
"var",
"accept",
")",
";",
"}",
"final",
"string",
"[",
"]",
"local",
"var",
"content",
"types",
"=",
"{",
"}",
";",
"final",
"string",
"local",
"var",
"content",
"type",
"=",
"local",
"var",
"api",
"client",
"select",
"header",
"content",
"type",
"(",
"local",
"var",
"content",
"types",
")",
";",
"local",
"var",
"header",
"params",
"put",
"(",
"\"",
"content",
"-",
"type",
"\"",
",",
"local",
"var",
"content",
"type",
")",
";",
"string",
"[",
"]",
"local",
"var",
"auth",
"names",
"=",
"new",
"string",
"[",
"]",
"{",
"}",
";",
"return",
"local",
"var",
"api",
"client",
"build",
"call",
"(",
"local",
"var",
"path",
",",
"\"",
"put",
"\"",
",",
"local",
"var",
"query",
"params",
",",
"local",
"var",
"collection",
"query",
"params",
",",
"local",
"var",
"post",
"body",
",",
"local",
"var",
"header",
"params",
",",
"local",
"var",
"cookie",
"params",
",",
"local",
"var",
"form",
"params",
",",
"local",
"var",
"auth",
"names",
",",
"callback",
")",
";",
"}"
] |
[
"writes",
"the",
"data",
"type",
"as",
"ansi",
"-",
"c",
"using",
"the",
"underlying",
"writer"
] |
[
"private",
"void",
"do",
"write",
"(",
"data",
"type",
"dt",
",",
"task",
"monitor",
"monitor",
",",
"boolean",
"throw",
"exception",
"on",
"invalid",
"type",
")",
"throws",
"i",
"o",
"exception",
",",
"cancelled",
"exception",
"{",
"if",
"(",
"dt",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"if",
"(",
"dt",
"instanceof",
"function",
"definition",
")",
"{",
"return",
";",
"}",
"if",
"(",
"dt",
"instanceof",
"factory",
"data",
"type",
")",
"{",
"illegal",
"argument",
"exception",
"iae",
"=",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"factory",
"data",
"types",
"may",
"not",
"be",
"written",
"\"",
")",
";",
"if",
"(",
"throw",
"exception",
"on",
"invalid",
"type",
")",
"{",
"throw",
"iae",
";",
"}",
"msg",
"error",
"(",
"this",
",",
"\"",
"factory",
"data",
"types",
"may",
"not",
"be",
"written",
"-",
"type",
":",
"\"",
"+",
"dt",
")",
";",
"}",
"if",
"(",
"dt",
"instanceof",
"pointer",
"|",
"|",
"dt",
"instanceof",
"array",
"|",
"|",
"dt",
"instanceof",
"bit",
"field",
"data",
"type",
")",
"{",
"write",
"(",
"get",
"base",
"data",
"type",
"(",
"dt",
")",
",",
"monitor",
")",
";",
"return",
";",
"}",
"dt",
"=",
"dt",
"clone",
"(",
"dtm",
")",
";",
"/",
"/",
"force",
"resize",
"/",
"repack",
"for",
"target",
"data",
"organization",
"if",
"(",
"resolved",
"contains",
"(",
"dt",
")",
")",
"{",
"return",
";",
"}",
"resolved",
"add",
"(",
"dt",
")",
";",
"data",
"type",
"resolved",
"type",
"=",
"resolved",
"type",
"map",
"get",
"(",
"dt",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"resolved",
"type",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"resolved",
"type",
"is",
"equivalent",
"(",
"dt",
")",
")",
"{",
"return",
";",
"/",
"/",
"skip",
"equivalent",
"type",
"with",
"same",
"name",
"as",
"a",
"resolved",
"type",
"}",
"if",
"(",
"dt",
"instanceof",
"type",
"def",
")",
"{",
"data",
"type",
"base",
"type",
"=",
"(",
"(",
"type",
"def",
")",
"dt",
")",
"get",
"base",
"data",
"type",
"(",
")",
";",
"if",
"(",
"resolved",
"type",
"instanceof",
"composite",
"|",
"|",
"resolved",
"type",
"instanceof",
"enum",
")",
"{",
"if",
"(",
"base",
"type",
"is",
"equivalent",
"(",
"resolved",
"type",
")",
")",
"{",
"/",
"/",
"auto",
"-",
"typedef",
"already",
"generated",
"for",
"composite",
"or",
"enum",
"return",
";",
"}",
"}",
"}",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"comment",
"(",
"\"",
"warning",
"!",
"conflicting",
"data",
"type",
"names",
":",
"\"",
"+",
"dt",
"get",
"path",
"name",
"(",
")",
"+",
"\"",
"-",
"\"",
"+",
"resolved",
"type",
"get",
"path",
"name",
"(",
")",
")",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"return",
";",
"}",
"resolved",
"type",
"map",
"put",
"(",
"dt",
"get",
"name",
"(",
")",
",",
"dt",
")",
";",
"+",
"+",
"writer",
"depth",
";",
"if",
"(",
"dt",
"equals",
"(",
"data",
"type",
"default",
")",
")",
"{",
"writer",
"write",
"(",
"\"",
"typedef",
"unsigned",
"char",
"\"",
"+",
"data",
"type",
"default",
"get",
"name",
"(",
")",
"+",
"\"",
";",
"\"",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"dynamic",
")",
"{",
"write",
"dynamic",
"built",
"in",
"(",
"(",
"dynamic",
")",
"dt",
",",
"monitor",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"structure",
")",
"{",
"structure",
"struct",
"=",
"(",
"structure",
")",
"dt",
";",
"write",
"composite",
"pre",
"declaration",
"(",
"struct",
",",
"monitor",
")",
";",
"deferred",
"composite",
"declarations",
"add",
"(",
"struct",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"union",
")",
"{",
"union",
"union",
"=",
"(",
"union",
")",
"dt",
";",
"write",
"composite",
"pre",
"declaration",
"(",
"union",
",",
"monitor",
")",
";",
"deferred",
"composite",
"declarations",
"add",
"(",
"union",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"enum",
")",
"{",
"write",
"enum",
"(",
"(",
"enum",
")",
"dt",
",",
"monitor",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"type",
"def",
")",
"{",
"write",
"type",
"def",
"(",
"(",
"type",
"def",
")",
"dt",
",",
"monitor",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"built",
"in",
"data",
"type",
")",
"{",
"write",
"built",
"in",
"(",
"(",
"built",
"in",
"data",
"type",
")",
"dt",
",",
"monitor",
")",
";",
"}",
"else",
"if",
"(",
"dt",
"instanceof",
"bit",
"field",
"data",
"type",
")",
"{",
"/",
"/",
"skip",
"}",
"else",
"{",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"comment",
"(",
"\"",
"unable",
"to",
"write",
"datatype",
"type",
"unrecognized",
":",
"\"",
"+",
"dt",
"get",
"class",
"(",
")",
")",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"writer",
"write",
"(",
"eol",
")",
";",
"}",
"if",
"(",
"writer",
"depth",
"=",
"=",
"1",
")",
"{",
"write",
"deferred",
"declarations",
"(",
"monitor",
")",
";",
"}",
"-",
"-",
"writer",
"depth",
";",
"}"
] |
[
"test",
"the",
"property",
"'",
"name",
"'"
] |
[
"public",
"void",
"name",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"name",
"}"
] |
[
"persists",
"the",
"payload",
"of",
"{",
"@",
"link",
"confidential",
"key",
"}",
"to",
"the",
"disk"
] |
[
"protected",
"void",
"store",
"(",
"confidential",
"key",
"key",
",",
"byte",
"[",
"]",
"payload",
")",
"throws",
"i",
"o",
"exception",
"{",
"try",
"{",
"cipher",
"sym",
"=",
"secret",
"get",
"cipher",
"(",
"\"",
"aes",
"\"",
")",
";",
"sym",
"init",
"(",
"cipher",
"encrypt",
"mode",
",",
"master",
"key",
")",
";",
"try",
"(",
"output",
"stream",
"fos",
"=",
"files",
"new",
"output",
"stream",
"(",
"get",
"file",
"for",
"(",
"key",
")",
"to",
"path",
"(",
")",
")",
";",
"cipher",
"output",
"stream",
"cos",
"=",
"new",
"cipher",
"output",
"stream",
"(",
"fos",
",",
"sym",
")",
")",
"{",
"cos",
"write",
"(",
"payload",
")",
";",
"cos",
"write",
"(",
"magic",
")",
";",
"}",
"}",
"catch",
"(",
"general",
"security",
"exception",
"e",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"\"",
"failed",
"to",
"persist",
"the",
"key",
":",
"\"",
"+",
"key",
"get",
"id",
"(",
")",
",",
"e",
")",
";",
"}",
"catch",
"(",
"invalid",
"path",
"exception",
"e",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"e",
")",
";",
"}",
"}"
] |
[
"sets",
"the",
"paging",
"parameters"
] |
[
"public",
"void",
"set",
"page",
"params",
"(",
"page",
"params",
"page",
"params",
")",
"{",
"this",
"page",
"params",
"=",
"page",
"params",
";",
"}"
] |
[
"return",
"the",
"isolation",
"level",
"must",
"return",
"one",
"of",
"the",
"{",
"@",
"code",
"isolation",
"xxx",
"}",
"constants",
"defined",
"on",
"{",
"@",
"link",
"transaction",
"definition",
"this",
"interface",
"}",
"those",
"constants",
"are",
"designed",
"to",
"match",
"the",
"values",
"of",
"the",
"same",
"constants",
"on",
"{",
"@",
"link",
"java",
"sql",
"connection",
"}",
"exclusively",
"designed",
"for",
"use",
"with",
"{",
"@",
"link",
"#",
"propagation",
"required",
"}",
"or",
"{",
"@",
"link",
"#",
"propagation",
"requires",
"new",
"}",
"since",
"it",
"only",
"applies",
"to",
"newly",
"started",
"transactions",
"consider",
"switching",
"the",
"\"",
"validate",
"existing",
"transactions",
"\"",
"flag",
"to",
"\"",
"true",
"\"",
"on",
"your",
"transaction",
"manager",
"if",
"you",
"'",
"d",
"like",
"isolation",
"level",
"declarations",
"to",
"get",
"rejected",
"when",
"participating",
"in",
"an",
"existing",
"transaction",
"with",
"a",
"different",
"isolation",
"level",
"the",
"default",
"is",
"{",
"@",
"link",
"#",
"isolation",
"default",
"}",
"note",
"that",
"a",
"transaction",
"manager",
"that",
"does",
"not",
"support",
"custom",
"isolation",
"levels",
"will",
"throw",
"an",
"exception",
"when",
"given",
"any",
"other",
"level",
"than",
"{",
"@",
"link",
"#",
"isolation",
"default",
"}"
] |
[
"default",
"int",
"get",
"isolation",
"level",
"(",
")",
"{",
"return",
"isolation",
"default",
";",
"}"
] |
[
"returns",
"the",
"remainder",
"of",
"the",
"given",
"specific",
"double",
"value",
"and",
"this",
"double",
"value"
] |
[
"public",
"double",
"value",
"remainder",
"of",
"(",
"specific",
"double",
"value",
"other",
")",
"{",
"return",
"remainder",
"of",
"(",
"(",
"double",
"value",
")",
"other",
")",
";",
"}"
] |
[
"validate",
"the",
"config",
"files"
] |
[
"public",
"void",
"validate",
"config",
"files",
"(",
"list",
"<",
"config",
"file",
">",
"config",
"files",
",",
"string",
"comp",
"name",
",",
"file",
"system",
"fs",
")",
"throws",
"i",
"o",
"exception",
"{",
"set",
"<",
"string",
">",
"dest",
"file",
"set",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
")",
";",
"for",
"(",
"config",
"file",
"file",
":",
"config",
"files",
")",
"{",
"if",
"(",
"file",
"get",
"type",
"(",
")",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"file",
"type",
"is",
"empty",
"\"",
")",
";",
"}",
"config",
"file",
"type",
"enum",
"file",
"type",
"=",
"file",
"get",
"type",
"(",
")",
";",
"if",
"(",
"file",
"type",
"equals",
"(",
"config",
"file",
"type",
"enum",
"template",
")",
")",
"{",
"if",
"(",
"string",
"utils",
"is",
"empty",
"(",
"file",
"get",
"src",
"file",
"(",
")",
")",
"&",
"&",
"!",
"file",
"get",
"properties",
"(",
")",
"contains",
"key",
"(",
"content",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"message",
"format",
"format",
"(",
"\"",
"for",
"{",
"0",
"}",
"\"",
"+",
"\"",
"format",
",",
"either",
"src",
"file",
"must",
"be",
"specified",
"in",
"config",
"file",
",",
"\"",
"+",
"\"",
"or",
"the",
"\\",
"\"",
"{",
"1",
"}",
"\\",
"\"",
"key",
"must",
"be",
"specified",
"in",
"\"",
"+",
"\"",
"the",
"'",
"properties",
"'",
"field",
"of",
"config",
"file",
"\"",
",",
"config",
"file",
"type",
"enum",
"template",
",",
"content",
")",
")",
";",
"}",
"}",
"else",
"if",
"(",
"file",
"type",
"equals",
"(",
"config",
"file",
"type",
"enum",
"static",
")",
"|",
"|",
"file",
"type",
"equals",
"(",
"config",
"file",
"type",
"enum",
"archive",
")",
")",
"{",
"if",
"(",
"!",
"file",
"get",
"properties",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"string",
"format",
"(",
"\"",
"for",
"%",
"s",
"format",
",",
"should",
"not",
"specify",
"any",
"'",
"properties",
"'",
"\"",
",",
"file",
"type",
")",
")",
";",
"}",
"string",
"src",
"file",
"=",
"file",
"get",
"src",
"file",
"(",
")",
";",
"if",
"(",
"src",
"file",
"=",
"=",
"null",
"|",
"|",
"src",
"file",
"is",
"empty",
"(",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"string",
"format",
"(",
"\"",
"for",
"%",
"s",
"format",
",",
"should",
"make",
"sure",
"that",
"src",
"file",
"is",
"specified",
"\"",
",",
"file",
"type",
")",
")",
";",
"}",
"file",
"status",
"file",
"status",
"=",
"fs",
"get",
"file",
"status",
"(",
"new",
"path",
"(",
"src",
"file",
")",
")",
";",
"if",
"(",
"file",
"status",
"!",
"=",
"null",
"&",
"&",
"file",
"status",
"is",
"directory",
"(",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"src",
"file",
"=",
"\"",
"+",
"src",
"file",
"+",
"\"",
"is",
"a",
"directory",
",",
"which",
"is",
"not",
"supported",
"\"",
")",
";",
"}",
"}",
"if",
"(",
"!",
"string",
"utils",
"is",
"empty",
"(",
"file",
"get",
"src",
"file",
"(",
")",
")",
")",
"{",
"path",
"p",
"=",
"new",
"path",
"(",
"file",
"get",
"src",
"file",
"(",
")",
")",
";",
"if",
"(",
"!",
"fs",
"exists",
"(",
"p",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"specified",
"src",
"file",
"does",
"not",
"exist",
"on",
"\"",
"+",
"fs",
"get",
"scheme",
"(",
")",
"+",
"\"",
":",
"\"",
"+",
"file",
"get",
"src",
"file",
"(",
")",
")",
";",
"}",
"}",
"if",
"(",
"string",
"utils",
"is",
"empty",
"(",
"file",
"get",
"dest",
"file",
"(",
")",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"dest",
"file",
"is",
"empty",
"\"",
")",
";",
"}",
"if",
"(",
"dest",
"file",
"set",
"contains",
"(",
"file",
"get",
"dest",
"file",
"(",
")",
")",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"duplicated",
"config",
"file",
"exists",
":",
"\"",
"+",
"file",
"get",
"dest",
"file",
"(",
")",
")",
";",
"}",
"dest",
"file",
"set",
"add",
"(",
"file",
"get",
"dest",
"file",
"(",
")",
")",
";",
"java",
"nio",
"file",
"path",
"dest",
"path",
"=",
"paths",
"get",
"(",
"file",
"get",
"dest",
"file",
"(",
")",
")",
";",
"if",
"(",
"!",
"dest",
"path",
"is",
"absolute",
"(",
")",
"&",
"&",
"dest",
"path",
"get",
"name",
"count",
"(",
")",
">",
"1",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"non",
"-",
"absolute",
"dest",
"file",
"has",
"more",
"\"",
"+",
"\"",
"than",
"one",
"path",
"element",
"\"",
")",
";",
"}",
"/",
"/",
"provider",
"-",
"specific",
"validation",
"validate",
"config",
"file",
"(",
"file",
",",
"comp",
"name",
",",
"fs",
")",
";",
"}",
"}"
] |
[
"record",
"statistics",
"and",
"perform",
"rule",
"checking",
"for",
"the",
"given",
"resource"
] |
[
"public",
"static",
"boolean",
"entry",
"(",
"string",
"name",
",",
"int",
"batch",
"count",
")",
"{",
"return",
"entry",
"(",
"name",
",",
"entry",
"type",
"out",
",",
"batch",
"count",
",",
"objects0",
")",
";",
"}"
] |
[
"sets",
"the",
"path",
"for",
"action",
"log",
"buffers"
] |
[
"public",
"void",
"set",
"action",
"output",
"root",
"(",
"path",
"action",
"output",
"root",
")",
"{",
"set",
"action",
"output",
"root",
"(",
"action",
"output",
"root",
",",
"action",
"output",
"root",
")",
";",
"}"
] |
[
"gets",
"the",
"measurement",
"type",
"this",
"object",
"represents"
] |
[
"string",
"get",
"measurement",
"type",
"(",
")",
"{",
"return",
"measurement",
"type",
";",
"}"
] |
[
"default",
"normal",
"cache",
"size",
"-",
"system",
"property",
":",
"io",
"netty",
"allocator",
"normal",
"cache",
"size",
"-",
"default",
"64"
] |
[
"public",
"static",
"int",
"default",
"normal",
"cache",
"size",
"(",
")",
"{",
"return",
"default",
"normal",
"cache",
"size",
";",
"}"
] |
[
"test",
"the",
"property",
"'",
"prefix",
"integer",
"'"
] |
[
"public",
"void",
"prefix",
"integer",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"prefix",
"integer",
"}"
] |
[
"returns",
"this",
"mod",
"{",
"@",
"code",
"val",
"}"
] |
[
"public",
"unsigned",
"integer",
"mod",
"(",
"unsigned",
"integer",
"val",
")",
"{",
"return",
"from",
"int",
"bits",
"(",
"unsigned",
"ints",
"remainder",
"(",
"value",
",",
"check",
"not",
"null",
"(",
"val",
")",
"value",
")",
")",
";",
"}"
] |
[
"process",
"the",
"entry",
"point",
"section",
"of",
"the",
"xml",
"file"
] |
[
"void",
"read",
"(",
"xml",
"pull",
"parser",
"parser",
",",
"task",
"monitor",
"monitor",
")",
"throws",
"cancelled",
"exception",
"{",
"xml",
"element",
"element",
"=",
"parser",
"next",
"(",
")",
";",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"monitor",
"is",
"cancelled",
"(",
")",
")",
"{",
"throw",
"new",
"cancelled",
"exception",
"(",
")",
";",
"}",
"element",
"=",
"parser",
"peek",
"(",
")",
";",
"if",
"(",
"element",
"=",
"=",
"null",
"|",
"|",
"!",
"element",
"get",
"name",
"(",
")",
"equals",
"(",
"\"",
"equate",
"group",
"\"",
")",
")",
"{",
"break",
";",
"}",
"process",
"equate",
"group",
"(",
"parser",
",",
"monitor",
")",
";",
"}",
"element",
"=",
"parser",
"next",
"(",
")",
";",
"/",
"/",
"consume",
"last",
"equates",
"tag",
"}"
] |
[
"create",
"border",
"options",
"with",
"padding",
"and",
"scale",
"down",
"inside",
"borders",
"note",
"that",
"currently",
"padding",
"is",
"not",
"supported",
"with",
"rounding",
"options",
"as",
"circle",
"(",
")"
] |
[
"public",
"static",
"border",
"options",
"create",
"(",
"@",
"color",
"int",
"int",
"color",
",",
"float",
"width",
",",
"float",
"padding",
",",
"boolean",
"scale",
"down",
"inside",
"borders",
")",
"{",
"return",
"new",
"border",
"options",
"(",
"color",
",",
"width",
",",
"padding",
",",
"scale",
"down",
"inside",
"borders",
")",
";",
"}"
] |
[
"returns",
"<",
"code",
">",
"true",
"<",
"code",
">",
"iff",
"the",
"setting",
"is",
"a",
"private",
"setting",
"ie",
"it",
"should",
"be",
"treated",
"as",
"valid",
"even",
"though",
"it",
"has",
"no",
"internal",
"representation",
"otherwise",
"<",
"code",
">",
"false",
"<",
"code",
">"
] |
[
"public",
"boolean",
"is",
"private",
"setting",
"(",
"string",
"key",
")",
"{",
"return",
"false",
";",
"}"
] |
[
"look",
"up",
"the",
"handler",
"for",
"a",
"signal"
] |
[
"public",
"synchronized",
"irq",
"handler",
"lookup",
"(",
"string",
"signal",
"name",
")",
"{",
"for",
"(",
"irq",
"handler",
"irq",
"handler",
":",
"interrupt",
"handlers",
")",
"{",
"if",
"(",
"irq",
"handler",
"get",
"name",
"(",
")",
"equals",
"(",
"signal",
"name",
")",
")",
"{",
"return",
"irq",
"handler",
";",
"}",
"}",
"return",
"null",
";",
"}"
] |
[
"finds",
"pets",
"by",
"status",
"multiple",
"status",
"values",
"can",
"be",
"provided",
"with",
"comma",
"separated",
"strings"
] |
[
"public",
"list",
"<",
"pet",
">",
"find",
"pets",
"by",
"status",
"(",
"@",
"query",
"param",
"(",
"\"",
"status",
"\"",
")",
"@",
"not",
"null",
"list",
"<",
"string",
">",
"status",
")",
";"
] |
[
"gets",
"the",
"mapper",
"registry"
] |
[
"public",
"mapper",
"registry",
"get",
"mapper",
"registry",
"(",
")",
"{",
"return",
"mapper",
"registry",
";",
"}"
] |
[
"adds",
"the",
"specified",
"listener",
"to",
"this",
"future",
"the",
"specified",
"listener",
"is",
"notified",
"when",
"this",
"future",
"is",
"{",
"@",
"linkplain",
"#",
"is",
"done",
"(",
")",
"done",
"}",
"if",
"this",
"future",
"is",
"already",
"completed",
",",
"the",
"specified",
"listener",
"is",
"notified",
"immediately"
] |
[
"future",
"<",
"v",
">",
"add",
"listener",
"(",
"generic",
"future",
"listener",
"<",
"?",
"extends",
"future",
"<",
"?",
"super",
"v",
">",
">",
"listener",
")",
";"
] |
[
"gets",
"just",
"the",
"immediate",
"children",
"of",
"{",
"@",
"link",
"jenkins",
"}",
"but",
"of",
"the",
"given",
"type"
] |
[
"public",
"<",
"t",
">",
"list",
"<",
"t",
">",
"get",
"items",
"(",
"class",
"<",
"t",
">",
"type",
")",
"{",
"list",
"<",
"t",
">",
"r",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"top",
"level",
"item",
"i",
":",
"get",
"items",
"(",
"type",
":",
":",
"is",
"instance",
")",
")",
"{",
"r",
"add",
"(",
"type",
"cast",
"(",
"i",
")",
")",
";",
"}",
"return",
"r",
";",
"}"
] |
[
"toggle",
"upper",
"case",
"tabs"
] |
[
"public",
"static",
"void",
"toggle",
"upper",
"case",
"tabs",
"(",
")",
"{",
"config",
"set",
"upper",
"case",
"tabs",
"(",
"!",
"config",
"is",
"upper",
"case",
"tabs",
"(",
")",
")",
";",
"config",
"fire",
"changed",
"(",
")",
";",
"}"
] |
[
"add",
"a",
"complete",
"del",
"element"
] |
[
"ins",
"del",
"del",
"(",
"string",
"cdata",
")",
";"
] |
[
"reads",
"a",
"single",
"page",
"of",
"bytes",
"from",
"the",
"{",
"@",
"link",
"abstract",
"msf",
"}",
"and",
"writes",
"it",
"into",
"the",
"bytes",
"array"
] |
[
"void",
"read",
"page",
"(",
"int",
"page",
",",
"byte",
"[",
"]",
"bytes",
")",
"throws",
"i",
"o",
"exception",
"{",
"read",
"(",
"page",
",",
"0",
",",
"msf",
"get",
"page",
"size",
"(",
")",
",",
"bytes",
",",
"0",
")",
";",
"}"
] |
[
"adds",
"a",
"new",
"constant",
"string",
"info",
"to",
"the",
"constant",
"pool",
"of",
"this",
"symbol",
"table"
] |
[
"private",
"void",
"add",
"constant",
"utf",
"8",
"(",
"final",
"int",
"index",
",",
"final",
"string",
"value",
")",
"{",
"add",
"(",
"new",
"entry",
"(",
"index",
",",
"symbol",
"constant",
"utf8",
"tag",
",",
"value",
",",
"hash",
"(",
"symbol",
"constant",
"utf8",
"tag",
",",
"value",
")",
")",
")",
";",
"}"
] |
[
"adds",
"a",
"new",
"vertex",
"with",
"the",
"given",
"id",
"the",
"vertex",
"'",
"s",
"name",
"will",
"be",
"the",
"same",
"as",
"the",
"id",
"if",
"a",
"vertex",
"already",
"exists",
"with",
"that",
"id",
",",
"then",
"that",
"vertex",
"will",
"be",
"returned"
] |
[
"public",
"attributed",
"vertex",
"add",
"vertex",
"(",
"string",
"id",
")",
"{",
"return",
"add",
"vertex",
"(",
"id",
",",
"id",
")",
";",
"}"
] |
[
"gets",
"an",
"existing",
"mount",
"table",
"record",
"in",
"the",
"state",
"store"
] |
[
"private",
"mount",
"table",
"get",
"mount",
"table",
"entry",
"(",
"string",
"mount",
")",
"throws",
"i",
"o",
"exception",
"{",
"get",
"mount",
"table",
"entries",
"request",
"request",
"=",
"get",
"mount",
"table",
"entries",
"request",
"new",
"instance",
"(",
"mount",
")",
";",
"get",
"mount",
"table",
"entries",
"response",
"response",
"=",
"mount",
"store",
"get",
"mount",
"table",
"entries",
"(",
"request",
")",
";",
"list",
"<",
"mount",
"table",
">",
"results",
"=",
"response",
"get",
"entries",
"(",
")",
";",
"if",
"(",
"results",
"size",
"(",
")",
">",
"0",
")",
"{",
"/",
"/",
"first",
"result",
"is",
"sorted",
"to",
"have",
"the",
"shortest",
"mount",
"string",
"length",
"return",
"results",
"get",
"(",
"0",
")",
";",
"}",
"return",
"null",
";",
"}"
] |
[
"creates",
"a",
"ssl",
"context",
"provider",
"from",
"the",
"given",
"downstream",
"tls",
"context"
] |
[
"public",
"ssl",
"context",
"provider",
"create",
"(",
"downstream",
"tls",
"context",
"downstream",
"tls",
"context",
")",
"{",
"check",
"not",
"null",
"(",
"downstream",
"tls",
"context",
",",
"\"",
"downstream",
"tls",
"context",
"\"",
")",
";",
"check",
"not",
"null",
"(",
"downstream",
"tls",
"context",
"get",
"common",
"tls",
"context",
"(",
")",
",",
"\"",
"downstream",
"tls",
"context",
"should",
"have",
"common",
"tls",
"context",
"\"",
")",
";",
"if",
"(",
"common",
"tls",
"context",
"util",
"has",
"cert",
"provider",
"instance",
"(",
"downstream",
"tls",
"context",
"get",
"common",
"tls",
"context",
"(",
")",
")",
")",
"{",
"try",
"{",
"bootstrapper",
"bootstrap",
"info",
"bootstrap",
"info",
"=",
"bootstrapper",
"bootstrap",
"(",
")",
";",
"return",
"cert",
"provider",
"server",
"ssl",
"context",
"provider",
"factory",
"get",
"provider",
"(",
"downstream",
"tls",
"context",
",",
"bootstrap",
"info",
"get",
"node",
"(",
")",
"to",
"envoy",
"proto",
"node",
"(",
")",
",",
"bootstrap",
"info",
"get",
"cert",
"providers",
"(",
")",
")",
";",
"}",
"catch",
"(",
"xds",
"initialization",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"}",
"else",
"if",
"(",
"common",
"tls",
"context",
"util",
"has",
"all",
"secrets",
"using",
"filename",
"(",
"downstream",
"tls",
"context",
"get",
"common",
"tls",
"context",
"(",
")",
")",
")",
"{",
"return",
"secret",
"volume",
"server",
"ssl",
"context",
"provider",
"get",
"provider",
"(",
"downstream",
"tls",
"context",
")",
";",
"}",
"else",
"if",
"(",
"common",
"tls",
"context",
"util",
"has",
"all",
"secrets",
"using",
"sds",
"(",
"downstream",
"tls",
"context",
"get",
"common",
"tls",
"context",
"(",
")",
")",
")",
"{",
"try",
"{",
"return",
"sds",
"server",
"ssl",
"context",
"provider",
"get",
"provider",
"(",
"downstream",
"tls",
"context",
",",
"bootstrapper",
"bootstrap",
"(",
")",
"get",
"node",
"(",
")",
"to",
"envoy",
"proto",
"node",
"v",
"2",
"(",
")",
",",
"executors",
"new",
"single",
"thread",
"executor",
"(",
"new",
"thread",
"factory",
"builder",
"(",
")",
"set",
"name",
"format",
"(",
"\"",
"server",
"-",
"sds",
"-",
"sslcontext",
"-",
"provider",
"-",
"%",
"d",
"\"",
")",
"set",
"daemon",
"(",
"true",
")",
"build",
"(",
")",
")",
",",
"/",
"*",
"channel",
"executor",
"=",
"*",
"/",
"null",
")",
";",
"}",
"catch",
"(",
"xds",
"initialization",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"}",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"unsupported",
"configurations",
"in",
"downstream",
"tls",
"context",
"!",
"\"",
")",
";",
"}"
] |
[
"query",
"given",
"sql",
"to",
"create",
"a",
"prepared",
"statement",
"from",
"sql",
"and",
"a",
"list",
"of",
"arguments",
"to",
"bind",
"to",
"the",
"query",
",",
"expecting",
"a",
"result",
"list",
"the",
"results",
"will",
"be",
"mapped",
"to",
"a",
"list",
"(",
"one",
"entry",
"for",
"each",
"row",
")",
"of",
"result",
"objects",
",",
"each",
"of",
"them",
"matching",
"the",
"specified",
"element",
"type"
] |
[
"<",
"t",
">",
"list",
"<",
"t",
">",
"query",
"for",
"list",
"(",
"string",
"sql",
",",
"object",
"[",
"]",
"args",
",",
"int",
"[",
"]",
"arg",
"types",
",",
"class",
"<",
"t",
">",
"element",
"type",
")",
"throws",
"data",
"access",
"exception",
";"
] |
[
"sets",
"the",
"slf",
"4j",
"<",
"code",
">",
"mdc",
"<",
"code",
">",
"and",
"delegates",
"the",
"request",
"to",
"the",
"chain"
] |
[
"public",
"void",
"do",
"filter",
"(",
"servlet",
"request",
"request",
",",
"servlet",
"response",
"response",
",",
"filter",
"chain",
"chain",
")",
"throws",
"i",
"o",
"exception",
",",
"servlet",
"exception",
"{",
"try",
"{",
"mdc",
"clear",
"(",
")",
";",
"string",
"hostname",
"=",
"hostname",
"filter",
"get",
"(",
")",
";",
"if",
"(",
"hostname",
"!",
"=",
"null",
")",
"{",
"mdc",
"put",
"(",
"\"",
"hostname",
"\"",
",",
"hostname",
"filter",
"get",
"(",
")",
")",
";",
"}",
"principal",
"principal",
"=",
"(",
"(",
"http",
"servlet",
"request",
")",
"request",
")",
"get",
"user",
"principal",
"(",
")",
";",
"string",
"user",
"=",
"(",
"principal",
"!",
"=",
"null",
")",
"?",
"principal",
"get",
"name",
"(",
")",
":",
"null",
";",
"if",
"(",
"user",
"!",
"=",
"null",
")",
"{",
"mdc",
"put",
"(",
"\"",
"user",
"\"",
",",
"user",
")",
";",
"}",
"mdc",
"put",
"(",
"\"",
"method",
"\"",
",",
"(",
"(",
"http",
"servlet",
"request",
")",
"request",
")",
"get",
"method",
"(",
")",
")",
";",
"if",
"(",
"(",
"(",
"http",
"servlet",
"request",
")",
"request",
")",
"get",
"path",
"info",
"(",
")",
"!",
"=",
"null",
")",
"{",
"mdc",
"put",
"(",
"\"",
"path",
"\"",
",",
"(",
"(",
"http",
"servlet",
"request",
")",
"request",
")",
"get",
"path",
"info",
"(",
")",
")",
";",
"}",
"chain",
"do",
"filter",
"(",
"request",
",",
"response",
")",
";",
"}",
"finally",
"{",
"mdc",
"clear",
"(",
")",
";",
"}",
"}"
] |
[
"test",
"how",
"well",
"we",
"pick",
"random",
"nodes"
] |
[
"public",
"void",
"test",
"choose",
"random",
"(",
")",
"{",
"/",
"/",
"create",
"the",
"topology",
"network",
"topology",
"cluster",
"=",
"network",
"topology",
"get",
"instance",
"(",
"new",
"configuration",
"(",
")",
")",
";",
"node",
"element",
"node",
"1",
"=",
"get",
"new",
"node",
"(",
"\"",
"node",
"1",
"\"",
",",
"\"",
"/",
"d",
"1",
"/",
"r",
"1",
"\"",
")",
";",
"cluster",
"add",
"(",
"node",
"1",
")",
";",
"node",
"element",
"node",
"2",
"=",
"get",
"new",
"node",
"(",
"\"",
"node",
"2",
"\"",
",",
"\"",
"/",
"d",
"1",
"/",
"r",
"2",
"\"",
")",
";",
"cluster",
"add",
"(",
"node",
"2",
")",
";",
"node",
"element",
"node",
"3",
"=",
"get",
"new",
"node",
"(",
"\"",
"node",
"3",
"\"",
",",
"\"",
"/",
"d",
"1",
"/",
"r",
"3",
"\"",
")",
";",
"cluster",
"add",
"(",
"node",
"3",
")",
";",
"node",
"element",
"node",
"4",
"=",
"get",
"new",
"node",
"(",
"\"",
"node",
"4",
"\"",
",",
"\"",
"/",
"d",
"1",
"/",
"r",
"3",
"\"",
")",
";",
"cluster",
"add",
"(",
"node",
"4",
")",
";",
"/",
"/",
"number",
"of",
"test",
"runs",
"int",
"num",
"test",
"runs",
"=",
"3",
";",
"int",
"chi",
"square",
"test",
"rejected",
"counter",
"=",
"0",
";",
"/",
"/",
"number",
"of",
"iterations",
"to",
"do",
"the",
"test",
"int",
"num",
"iterations",
"=",
"100",
";",
"for",
"(",
"int",
"test",
"run",
"=",
"0",
";",
"test",
"run",
"<",
"num",
"test",
"runs",
";",
"+",
"+",
"test",
"run",
")",
"{",
"/",
"/",
"pick",
"random",
"nodes",
"hash",
"map",
"<",
"string",
",",
"integer",
">",
"histogram",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"integer",
">",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"iterations",
";",
"i",
"+",
"+",
")",
"{",
"string",
"random",
"node",
"=",
"cluster",
"choose",
"random",
"(",
"node",
"base",
"root",
")",
"get",
"name",
"(",
")",
";",
"if",
"(",
"!",
"histogram",
"contains",
"key",
"(",
"random",
"node",
")",
")",
"{",
"histogram",
"put",
"(",
"random",
"node",
",",
"0",
")",
";",
"}",
"histogram",
"put",
"(",
"random",
"node",
",",
"histogram",
"get",
"(",
"random",
"node",
")",
"+",
"1",
")",
";",
"}",
"assert",
"equals",
"(",
"\"",
"random",
"is",
"not",
"selecting",
"all",
"nodes",
"\"",
",",
"4",
",",
"histogram",
"size",
"(",
")",
")",
";",
"/",
"/",
"check",
"with",
"99",
"%",
"confidence",
"alpha",
"=",
"0",
"01",
"as",
"confidence",
"=",
"100",
"*",
"(",
"1",
"-",
"alpha",
")",
"chi",
"square",
"test",
"chi",
"square",
"test",
"=",
"new",
"chi",
"square",
"test",
"(",
")",
";",
"double",
"[",
"]",
"expected",
"=",
"new",
"double",
"[",
"histogram",
"size",
"(",
")",
"]",
";",
"long",
"[",
"]",
"observed",
"=",
"new",
"long",
"[",
"histogram",
"size",
"(",
")",
"]",
";",
"int",
"j",
"=",
"0",
";",
"for",
"(",
"integer",
"occurrence",
":",
"histogram",
"values",
"(",
")",
")",
"{",
"expected",
"[",
"j",
"]",
"=",
"1",
"0",
"*",
"num",
"iterations",
"/",
"histogram",
"size",
"(",
")",
";",
"observed",
"[",
"j",
"]",
"=",
"occurrence",
";",
"j",
"+",
"+",
";",
"}",
"boolean",
"chi",
"square",
"test",
"rejected",
"=",
"chi",
"square",
"test",
"chi",
"square",
"test",
"(",
"expected",
",",
"observed",
",",
"0",
"01",
")",
";",
"if",
"(",
"chi",
"square",
"test",
"rejected",
")",
"{",
"+",
"+",
"chi",
"square",
"test",
"rejected",
"counter",
";",
"}",
"}",
"/",
"/",
"check",
"that",
"they",
"have",
"the",
"proper",
"distribution",
"assert",
"false",
"(",
"\"",
"random",
"not",
"choosing",
"nodes",
"with",
"proper",
"distribution",
"\"",
",",
"chi",
"square",
"test",
"rejected",
"counter",
"=",
"=",
"3",
")",
";",
"/",
"/",
"pick",
"random",
"nodes",
"excluding",
"the",
"2",
"nodes",
"in",
"/",
"d",
"1",
"/",
"r",
"3",
"hash",
"map",
"<",
"string",
",",
"integer",
">",
"histogram",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"integer",
">",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"num",
"iterations",
";",
"i",
"+",
"+",
")",
"{",
"string",
"random",
"node",
"=",
"cluster",
"choose",
"random",
"(",
"\"",
"~",
"/",
"d",
"1",
"/",
"r",
"3",
"\"",
")",
"get",
"name",
"(",
")",
";",
"if",
"(",
"!",
"histogram",
"contains",
"key",
"(",
"random",
"node",
")",
")",
"{",
"histogram",
"put",
"(",
"random",
"node",
",",
"0",
")",
";",
"}",
"histogram",
"put",
"(",
"random",
"node",
",",
"histogram",
"get",
"(",
"random",
"node",
")",
"+",
"1",
")",
";",
"}",
"assert",
"equals",
"(",
"\"",
"random",
"is",
"not",
"selecting",
"the",
"nodes",
"it",
"should",
"\"",
",",
"2",
",",
"histogram",
"size",
"(",
")",
")",
";",
"node",
"val",
"=",
"cluster",
"choose",
"random",
"(",
"\"",
"/",
"d",
"1",
"\"",
",",
"\"",
"/",
"d",
"\"",
",",
"collections",
"empty",
"list",
"(",
")",
")",
";",
"assert",
"not",
"null",
"(",
"val",
")",
";",
"}"
] |
[
"get",
"the",
"log",
"file",
"base",
"directory",
"path",
",",
"which",
"is",
"guaranteed",
"ended",
"with",
"{",
"@",
"link",
"file",
"#",
"separator",
"}"
] |
[
"public",
"static",
"string",
"get",
"log",
"base",
"dir",
"(",
")",
"{",
"return",
"log",
"base",
"dir",
";",
"}"
] |
[
"return",
"the",
"result",
"of",
"1",
"value",
"by",
"name"
] |
[
"double",
"value",
"(",
"string",
"name",
")",
";"
] |
[
"checks",
"if",
"the",
"hadoop",
"dependency",
"is",
"at",
"most",
"the",
"given",
"version"
] |
[
"public",
"static",
"boolean",
"is",
"max",
"hadoop",
"version",
"(",
"int",
"major",
",",
"int",
"minor",
")",
"throws",
"flink",
"runtime",
"exception",
"{",
"final",
"tuple",
"2",
"<",
"integer",
",",
"integer",
">",
"hadoop",
"version",
"=",
"get",
"major",
"minor",
"bundled",
"hadoop",
"version",
"(",
")",
";",
"int",
"maj",
"=",
"hadoop",
"version",
"f",
"0",
";",
"int",
"min",
"=",
"hadoop",
"version",
"f",
"1",
";",
"return",
"maj",
"<",
"major",
"|",
"|",
"(",
"maj",
"=",
"=",
"major",
"&",
"&",
"min",
"<",
"minor",
")",
";",
"}"
] |
[
"get",
"name",
"boolean"
] |
[
"public",
"boolean",
"get",
"name",
"boolean",
"(",
")",
"{",
"return",
"name",
"boolean",
";",
"}"
] |
[
"gets",
"the",
"host",
"name",
"that",
"we",
"advertise",
"protocol",
"clients",
"to",
"connect",
"to"
] |
[
"public",
"string",
"get",
"advertised",
"host",
"(",
")",
"{",
"if",
"(",
"cli",
"host",
"name",
"!",
"=",
"null",
")",
"{",
"return",
"cli",
"host",
"name",
";",
"}",
"try",
"{",
"return",
"new",
"url",
"(",
"jenkins",
"get",
"(",
")",
"get",
"root",
"url",
"(",
")",
")",
"get",
"host",
"(",
")",
";",
"}",
"catch",
"(",
"malformed",
"u",
"r",
"l",
"exception",
"|",
"null",
"pointer",
"exception",
"e",
")",
"{",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
"\"",
"could",
"not",
"get",
"tcp",
"slave",
"agent",
"listener",
"host",
"name",
"\"",
",",
"e",
")",
";",
"}",
"}"
] |
[
"returns",
"the",
"number",
"of",
"undefined",
"bytes",
"that",
"are",
"available",
"in",
"the",
"structure",
"beginning",
"at",
"the",
"specified",
"row",
"index"
] |
[
"protected",
"int",
"get",
"num",
"undefined",
"bytes",
"at",
"(",
"int",
"row",
"index",
")",
"{",
"int",
"num",
"row",
"components",
"=",
"get",
"num",
"components",
"(",
")",
";",
"if",
"(",
"row",
"index",
"<",
"0",
"|",
"|",
"row",
"index",
">",
"=",
"num",
"row",
"components",
")",
"{",
"return",
"0",
";",
"}",
"data",
"type",
"component",
"start",
"component",
"=",
"get",
"component",
"(",
"row",
"index",
")",
";",
"int",
"previous",
"offset",
"=",
"(",
"start",
"component",
"!",
"=",
"null",
")",
"?",
"start",
"component",
"get",
"offset",
"(",
")",
":",
"0",
";",
"for",
"(",
"int",
"current",
"row",
"index",
"=",
"row",
"index",
";",
"current",
"row",
"index",
"<",
"num",
"row",
"components",
";",
"current",
"row",
"index",
"+",
"+",
")",
"{",
"/",
"/",
"get",
"the",
"current",
"data",
"type",
"at",
"the",
"index",
"data",
"type",
"component",
"comp",
"=",
"get",
"component",
"(",
"current",
"row",
"index",
")",
";",
"data",
"type",
"dt",
"=",
"comp",
"get",
"data",
"type",
"(",
")",
";",
"int",
"current",
"offset",
"=",
"comp",
"get",
"offset",
"(",
")",
";",
"if",
"(",
"!",
"dt",
"equals",
"(",
"data",
"type",
"default",
")",
")",
"{",
"return",
"current",
"offset",
"-",
"previous",
"offset",
";",
"/",
"/",
"ran",
"into",
"data",
"type",
"other",
"than",
"undefined",
"byte",
"}",
"}",
"return",
"view",
"composite",
"get",
"length",
"(",
")",
"-",
"previous",
"offset",
";",
"}"
] |
[
"remove",
"variable",
"references",
"in",
"the",
"given",
"address",
"set"
] |
[
"private",
"void",
"remove",
"variable",
"refs",
"(",
"function",
"function",
",",
"address",
"set",
"view",
"view",
")",
"{",
"reference",
"manager",
"ref",
"mgr",
"=",
"program",
"get",
"reference",
"manager",
"(",
")",
";",
"address",
"iterator",
"iter",
"=",
"ref",
"mgr",
"get",
"reference",
"source",
"iterator",
"(",
"view",
",",
"true",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"address",
"from",
"addr",
"=",
"iter",
"next",
"(",
")",
";",
"reference",
"[",
"]",
"refs",
"=",
"ref",
"mgr",
"get",
"references",
"from",
"(",
"from",
"addr",
")",
";",
"for",
"(",
"reference",
"ref",
":",
"refs",
")",
"{",
"address",
"to",
"addr",
"=",
"ref",
"get",
"to",
"address",
"(",
")",
";",
"if",
"(",
"to",
"addr",
"is",
"stack",
"address",
"(",
")",
"|",
"|",
"to",
"addr",
"is",
"register",
"address",
"(",
")",
")",
"{",
"/",
"/",
"delete",
"all",
"stack",
"and",
"register",
"references",
"ref",
"mgr",
"delete",
"(",
"ref",
")",
";",
"}",
"else",
"{",
"long",
"sym",
"i",
"d",
"=",
"ref",
"get",
"symbol",
"i",
"d",
"(",
")",
";",
"if",
"(",
"sym",
"i",
"d",
">",
"=",
"0",
")",
"{",
"symbol",
"s",
"=",
"symbol",
"mgr",
"get",
"symbol",
"(",
"sym",
"i",
"d",
")",
";",
"if",
"(",
"s",
"instanceof",
"variable",
"symbol",
"d",
"b",
"&",
"&",
"s",
"get",
"parent",
"symbol",
"(",
")",
"get",
"i",
"d",
"(",
")",
"=",
"=",
"function",
"get",
"i",
"d",
"(",
")",
")",
"{",
"if",
"(",
"to",
"addr",
"is",
"memory",
"address",
"(",
")",
")",
"{",
"/",
"/",
"leave",
"memory",
"references",
"in",
"place",
"ref",
"mgr",
"remove",
"association",
"(",
"ref",
")",
";",
"}",
"else",
"{",
"/",
"/",
"delete",
"bound",
"register",
"references",
"ref",
"mgr",
"delete",
"(",
"ref",
")",
";",
"}",
"}",
"}",
"}",
"}",
"}",
"}"
] |
[
"get",
"the",
"io",
"statistics",
"of",
"the",
"nested",
"stream",
",",
"falling",
"back",
"to",
"null",
"if",
"the",
"stream",
"does",
"not",
"implement",
"the",
"interface",
"{",
"@",
"link",
"i",
"o",
"statistics",
"source",
"}"
] |
[
"public",
"i",
"o",
"statistics",
"get",
"i",
"o",
"statistics",
"(",
")",
"{",
"return",
"i",
"o",
"statistics",
"support",
"retrieve",
"i",
"o",
"statistics",
"(",
"datas",
")",
";",
"}"
] |
[
"returns",
"a",
"map",
"of",
"metadata",
"name",
",",
"value",
"pairs",
"to",
"be",
"set",
"values",
"are",
"copied"
] |
[
"public",
"map",
"<",
"string",
",",
"object",
">",
"get",
"edited",
"values",
"(",
")",
"{",
"hash",
"map",
"<",
"string",
",",
"object",
">",
"hash",
"map",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
"edited",
"values",
")",
";",
"for",
"(",
"entry",
"<",
"string",
",",
"object",
">",
"entry",
":",
"hash",
"map",
"entry",
"set",
"(",
")",
")",
"{",
"object",
"value",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"if",
"(",
"value",
"instanceof",
"byte",
"[",
"]",
")",
"{",
"byte",
"[",
"]",
"bytes",
"=",
"(",
"byte",
"[",
"]",
")",
"value",
";",
"entry",
"set",
"value",
"(",
"arrays",
"copy",
"of",
"(",
"bytes",
",",
"bytes",
"length",
")",
")",
";",
"}",
"}",
"return",
"collections",
"unmodifiable",
"map",
"(",
"hash",
"map",
")",
";",
"}"
] |
[
"gets",
"the",
"older",
"remote",
"app",
"log",
"dir"
] |
[
"public",
"static",
"path",
"get",
"older",
"remote",
"app",
"log",
"dir",
"(",
"application",
"id",
"app",
"id",
",",
"string",
"user",
",",
"path",
"remote",
"root",
"log",
"dir",
",",
"string",
"suffix",
")",
"{",
"return",
"new",
"path",
"(",
"get",
"older",
"remote",
"log",
"suffixed",
"dir",
"(",
"remote",
"root",
"log",
"dir",
",",
"user",
",",
"suffix",
")",
",",
"app",
"id",
"to",
"string",
"(",
")",
")",
";",
"}"
] |
[
"returns",
"the",
"annotation",
"instance",
"for",
"the",
"given",
"annotation",
"type"
] |
[
"public",
"<",
"a",
"extends",
"annotation",
">",
"a",
"annotation",
"(",
"class",
"<",
"a",
">",
"annotation",
"class",
")",
"{",
"return",
"field",
"get",
"annotation",
"(",
"annotation",
"class",
")",
";",
"}"
] |
[
"write",
"a",
"{",
"@",
"link",
"writable",
"}",
",",
"{",
"@",
"link",
"string",
"}",
",",
"primitive",
"type",
",",
"or",
"an",
"array",
"of",
"the",
"preceding"
] |
[
"public",
"static",
"void",
"write",
"object",
"(",
"data",
"output",
"out",
",",
"object",
"instance",
",",
"class",
"declared",
"class",
",",
"configuration",
"conf",
")",
"throws",
"i",
"o",
"exception",
"{",
"write",
"object",
"(",
"out",
",",
"instance",
",",
"declared",
"class",
",",
"conf",
",",
"false",
")",
";",
"}"
] |
[
"create",
"a",
"new",
"instance",
"of",
"the",
"given",
"class",
"via",
"objenesis"
] |
[
"public",
"<",
"t",
">",
"t",
"new",
"instance",
"(",
"class",
"<",
"t",
">",
"clazz",
",",
"boolean",
"use",
"cache",
")",
"{",
"if",
"(",
"!",
"use",
"cache",
")",
"{",
"return",
"new",
"instantiator",
"of",
"(",
"clazz",
")",
"new",
"instance",
"(",
")",
";",
"}",
"return",
"get",
"instantiator",
"of",
"(",
"clazz",
")",
"new",
"instance",
"(",
")",
";",
"}"
] |
[
"adds",
"a",
"pending",
"delete",
"for",
"the",
"given",
"index"
] |
[
"public",
"void",
"add",
"pending",
"delete",
"(",
"index",
"index",
",",
"index",
"settings",
"settings",
")",
"{",
"pending",
"delete",
"pending",
"delete",
"=",
"new",
"pending",
"delete",
"(",
"index",
",",
"settings",
")",
";",
"add",
"pending",
"delete",
"(",
"index",
",",
"pending",
"delete",
")",
";",
"}"
] |
[
"invokes",
"{",
"@",
"link",
"blaze",
"module",
"#",
"blaze",
"shutdown",
"on",
"crash",
"}",
"on",
"all",
"registered",
"modules"
] |
[
"private",
"void",
"shut",
"down",
"modules",
"on",
"crash",
"(",
"detailed",
"exit",
"code",
"exit",
"code",
")",
"{",
"/",
"/",
"todo",
"(",
"b",
"/",
"167592709",
")",
":",
"remove",
"verbose",
"logging",
"when",
"bug",
"resolved",
"logger",
"at",
"info",
"(",
")",
"log",
"(",
"\"",
"shutting",
"down",
"modules",
"on",
"crash",
":",
"%",
"s",
"\"",
",",
"blaze",
"modules",
")",
";",
"try",
"{",
"for",
"(",
"blaze",
"module",
"module",
":",
"blaze",
"modules",
")",
"{",
"logger",
"at",
"info",
"(",
")",
"log",
"(",
"\"",
"shutting",
"down",
"%",
"s",
"on",
"crash",
"\"",
",",
"module",
")",
";",
"module",
"blaze",
"shutdown",
"on",
"crash",
"(",
"exit",
"code",
")",
";",
"}",
"}",
"finally",
"{",
"debug",
"logger",
"configurator",
"flush",
"server",
"log",
"(",
")",
";",
"}",
"}"
] |
[
"get",
"rid",
"of",
"the",
"dynamically",
"created",
"list",
"of",
"data",
"types"
] |
[
"private",
"void",
"clear",
"actions",
"(",
"list",
"<",
"data",
"action",
">",
"actions",
")",
"{",
"iterator",
"<",
"data",
"action",
">",
"iter",
"=",
"actions",
"iterator",
"(",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"docking",
"action",
"action",
"=",
"iter",
"next",
"(",
")",
";",
"tool",
"remove",
"action",
"(",
"action",
")",
";",
"action",
"dispose",
"(",
")",
";",
"}",
"actions",
"clear",
"(",
")",
";",
"}"
] |
[
"test",
"the",
"property",
"'",
"direct",
"map",
"'"
] |
[
"public",
"void",
"direct",
"map",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"direct",
"map",
"}"
] |
[
"set",
"the",
"terminal",
"title"
] |
[
"public",
"void",
"set",
"title",
"(",
"string",
"title",
")",
"throws",
"i",
"o",
"exception",
"{",
"write",
"bytes",
"(",
"set",
"term",
"title",
",",
"title",
"get",
"bytes",
"(",
")",
",",
"new",
"byte",
"[",
"]",
"{",
"bel",
"}",
")",
";",
"}"
] |
[
"shut",
"down",
"this",
"client",
"and",
"releasing",
"underlying",
"resources"
] |
[
"public",
"void",
"shutdown",
"(",
")",
"{",
"this",
"default",
"m",
"q",
"push",
"consumer",
"impl",
"shutdown",
"(",
"await",
"termination",
"millis",
"when",
"shutdown",
")",
";",
"if",
"(",
"null",
"!",
"=",
"trace",
"dispatcher",
")",
"{",
"trace",
"dispatcher",
"shutdown",
"(",
")",
";",
"}",
"}"
] |
[
"removes",
"a",
"{",
"@",
"link",
"media",
"source",
"}",
"from",
"the",
"playlist",
"note",
":",
"if",
"you",
"want",
"to",
"move",
"the",
"instance",
",",
"it",
"'",
"s",
"preferable",
"to",
"use",
"{",
"@",
"link",
"#",
"move",
"media",
"source",
"(",
"int",
",",
"int",
")",
"}",
"instead",
"note",
":",
"if",
"you",
"want",
"to",
"remove",
"a",
"set",
"of",
"contiguous",
"sources",
",",
"it",
"'",
"s",
"preferable",
"to",
"use",
"{",
"@",
"link",
"#",
"remove",
"media",
"source",
"range",
"(",
"int",
",",
"int",
")",
"}",
"instead"
] |
[
"public",
"synchronized",
"media",
"source",
"remove",
"media",
"source",
"(",
"int",
"index",
")",
"{",
"media",
"source",
"removed",
"media",
"source",
"=",
"get",
"media",
"source",
"(",
"index",
")",
";",
"remove",
"public",
"media",
"sources",
"(",
"index",
",",
"index",
"+",
"1",
",",
"/",
"*",
"handler",
"=",
"*",
"/",
"null",
",",
"/",
"*",
"on",
"completion",
"action",
"=",
"*",
"/",
"null",
")",
";",
"return",
"removed",
"media",
"source",
";",
"}"
] |
[
"sets",
"the",
"given",
"comma",
"separated",
"paths",
"as",
"the",
"list",
"of",
"inputs",
"for",
"the",
"map",
"-",
"reduce",
"job"
] |
[
"public",
"static",
"void",
"set",
"input",
"paths",
"(",
"job",
"conf",
"conf",
",",
"string",
"comma",
"separated",
"paths",
")",
"{",
"set",
"input",
"paths",
"(",
"conf",
",",
"string",
"utils",
"string",
"to",
"path",
"(",
"get",
"path",
"strings",
"(",
"comma",
"separated",
"paths",
")",
")",
")",
";",
"}"
] |
[
"returns",
"the",
"job",
"'",
"s",
"checkpointing",
"configuration",
"which",
"is",
"derived",
"from",
"the",
"checkpoint",
"config"
] |
[
"public",
"checkpoint",
"coordinator",
"configuration",
"get",
"job",
"checkpointing",
"configuration",
"(",
")",
"{",
"return",
"job",
"checkpointing",
"configuration",
";",
"}"
] |
[
"updated",
"user",
"(",
"asynchronously",
")",
"this",
"can",
"only",
"be",
"done",
"by",
"the",
"logged",
"in",
"user"
] |
[
"public",
"okhttp",
"3",
"call",
"update",
"user",
"async",
"(",
"string",
"username",
",",
"user",
"body",
",",
"final",
"api",
"callback",
"<",
"void",
">",
"callback",
")",
"throws",
"api",
"exception",
"{",
"okhttp",
"3",
"call",
"local",
"var",
"call",
"=",
"update",
"user",
"validate",
"before",
"call",
"(",
"username",
",",
"body",
",",
"callback",
")",
";",
"local",
"var",
"api",
"client",
"execute",
"async",
"(",
"local",
"var",
"call",
",",
"callback",
")",
";",
"return",
"local",
"var",
"call",
";",
"}"
] |
[
"convert",
"the",
"given",
"object",
"to",
"string",
"with",
"each",
"line",
"indented",
"by",
"4",
"spaces",
"(",
"except",
"the",
"first",
"line",
")"
] |
[
"private",
"string",
"to",
"indented",
"string",
"(",
"object",
"o",
")",
"{",
"if",
"(",
"o",
"=",
"=",
"null",
")",
"{",
"return",
"\"",
"null",
"\"",
";",
"}",
"return",
"o",
"to",
"string",
"(",
")",
"replace",
"(",
"\"",
"\\",
"n",
"\"",
",",
"\"",
"\\",
"n",
"\"",
")",
";",
"}"
] |
[
"run",
"the",
"pending",
"task",
"in",
"background",
"thread"
] |
[
"void",
"execute",
"(",
")",
"{",
"if",
"(",
"pending",
"task",
"!",
"=",
"null",
")",
"{",
"new",
"thread",
"(",
"pending",
"task",
")",
"start",
"(",
")",
";",
"}",
"}"
] |
[
"tests",
"the",
"consumption",
"of",
"multiple",
"subpartitions",
"via",
"local",
"input",
"channels",
"multiple",
"producer",
"tasks",
"produce",
"pipelined",
"partitions",
",",
"which",
"are",
"consumed",
"by",
"multiple",
"tasks",
"via",
"local",
"input",
"channels"
] |
[
"public",
"void",
"test",
"concurrent",
"consume",
"multiple",
"partitions",
"(",
")",
"throws",
"exception",
"{",
"/",
"/",
"config",
"final",
"int",
"parallelism",
"=",
"32",
";",
"final",
"int",
"producer",
"buffer",
"pool",
"size",
"=",
"parallelism",
"+",
"1",
";",
"final",
"int",
"number",
"of",
"buffers",
"per",
"channel",
"=",
"1024",
";",
"check",
"argument",
"(",
"parallelism",
">",
"=",
"1",
")",
";",
"check",
"argument",
"(",
"producer",
"buffer",
"pool",
"size",
">",
"=",
"parallelism",
")",
";",
"check",
"argument",
"(",
"number",
"of",
"buffers",
"per",
"channel",
">",
"=",
"1",
")",
";",
"/",
"/",
"setup",
"/",
"/",
"one",
"thread",
"per",
"produced",
"partition",
"and",
"one",
"per",
"consumer",
"final",
"executor",
"service",
"executor",
"=",
"executors",
"new",
"fixed",
"thread",
"pool",
"(",
"2",
"*",
"parallelism",
")",
";",
"final",
"network",
"buffer",
"pool",
"network",
"buffers",
"=",
"new",
"network",
"buffer",
"pool",
"(",
"(",
"parallelism",
"*",
"producer",
"buffer",
"pool",
"size",
")",
"+",
"(",
"parallelism",
"*",
"parallelism",
")",
",",
"test",
"buffer",
"factory",
"buffer",
"size",
")",
";",
"final",
"result",
"partition",
"manager",
"partition",
"manager",
"=",
"new",
"result",
"partition",
"manager",
"(",
")",
";",
"final",
"result",
"partition",
"i",
"d",
"[",
"]",
"partition",
"ids",
"=",
"new",
"result",
"partition",
"i",
"d",
"[",
"parallelism",
"]",
";",
"final",
"test",
"partition",
"producer",
"[",
"]",
"partition",
"producers",
"=",
"new",
"test",
"partition",
"producer",
"[",
"parallelism",
"]",
";",
"/",
"/",
"create",
"all",
"partitions",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"parallelism",
";",
"i",
"+",
"+",
")",
"{",
"partition",
"ids",
"[",
"i",
"]",
"=",
"new",
"result",
"partition",
"i",
"d",
"(",
")",
";",
"final",
"result",
"partition",
"partition",
"=",
"new",
"result",
"partition",
"builder",
"(",
")",
"set",
"result",
"partition",
"id",
"(",
"partition",
"ids",
"[",
"i",
"]",
")",
"set",
"number",
"of",
"subpartitions",
"(",
"parallelism",
")",
"set",
"num",
"target",
"key",
"groups",
"(",
"parallelism",
")",
"set",
"result",
"partition",
"manager",
"(",
"partition",
"manager",
")",
"set",
"buffer",
"pool",
"factory",
"(",
"(",
")",
"-",
">",
"network",
"buffers",
"create",
"buffer",
"pool",
"(",
"producer",
"buffer",
"pool",
"size",
",",
"producer",
"buffer",
"pool",
"size",
",",
"parallelism",
",",
"integer",
"max",
"value",
")",
")",
"build",
"(",
")",
";",
"/",
"/",
"create",
"a",
"buffer",
"pool",
"for",
"this",
"partition",
"partition",
"setup",
"(",
")",
";",
"/",
"/",
"create",
"the",
"producer",
"partition",
"producers",
"[",
"i",
"]",
"=",
"new",
"test",
"partition",
"producer",
"(",
"(",
"buffer",
"writing",
"result",
"partition",
")",
"partition",
",",
"false",
",",
"new",
"test",
"partition",
"producer",
"buffer",
"source",
"(",
"parallelism",
",",
"test",
"buffer",
"factory",
"buffer",
"size",
",",
"number",
"of",
"buffers",
"per",
"channel",
")",
")",
";",
"}",
"/",
"/",
"test",
"try",
"{",
"/",
"/",
"submit",
"producer",
"tasks",
"list",
"<",
"completable",
"future",
"<",
"?",
">",
">",
"results",
"=",
"lists",
"new",
"array",
"list",
"with",
"capacity",
"(",
"parallelism",
"+",
"1",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"parallelism",
";",
"i",
"+",
"+",
")",
"{",
"results",
"add",
"(",
"completable",
"future",
"supply",
"async",
"(",
"checked",
"supplier",
"unchecked",
"(",
"partition",
"producers",
"[",
"i",
"]",
":",
":",
"call",
")",
",",
"executor",
")",
")",
";",
"}",
"/",
"/",
"submit",
"consumer",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"parallelism",
";",
"i",
"+",
"+",
")",
"{",
"final",
"test",
"local",
"input",
"channel",
"consumer",
"consumer",
"=",
"new",
"test",
"local",
"input",
"channel",
"consumer",
"(",
"i",
",",
"parallelism",
",",
"number",
"of",
"buffers",
"per",
"channel",
",",
"network",
"buffers",
"create",
"buffer",
"pool",
"(",
"parallelism",
",",
"parallelism",
")",
",",
"partition",
"manager",
",",
"new",
"task",
"event",
"dispatcher",
"(",
")",
",",
"partition",
"ids",
")",
";",
"results",
"add",
"(",
"completable",
"future",
"supply",
"async",
"(",
"checked",
"supplier",
"unchecked",
"(",
"consumer",
":",
":",
"call",
")",
",",
"executor",
")",
")",
";",
"}",
"future",
"utils",
"wait",
"for",
"all",
"(",
"results",
")",
"get",
"(",
")",
";",
"}",
"finally",
"{",
"network",
"buffers",
"destroy",
"all",
"buffer",
"pools",
"(",
")",
";",
"network",
"buffers",
"destroy",
"(",
")",
";",
"executor",
"shutdown",
"(",
")",
";",
"}",
"}"
] |
[
"subtract",
"the",
"x",
",",
"y",
",",
"z",
",",
"w",
"components",
"of",
"the",
"passed",
"in",
"quaternion",
"to",
"the",
"ones",
"of",
"this",
"quaternion"
] |
[
"public",
"quaternion",
"sub",
"(",
"float",
"qx",
",",
"float",
"qy",
",",
"float",
"qz",
",",
"float",
"qw",
")",
"{",
"this",
"x",
"-",
"=",
"qx",
";",
"this",
"y",
"-",
"=",
"qy",
";",
"this",
"z",
"-",
"=",
"qz",
";",
"this",
"w",
"-",
"=",
"qw",
";",
"return",
"this",
";",
"}"
] |
[
"returns",
"a",
"{",
"@",
"link",
"traverser",
"}",
"instance",
"for",
"the",
"file",
"and",
"directory",
"tree",
"the",
"returned",
"traverser",
"starts",
"from",
"a",
"{",
"@",
"link",
"file",
"}",
"and",
"will",
"return",
"all",
"files",
"and",
"directories",
"it",
"encounters",
"<",
"b",
">",
"warning",
":",
"<",
"b",
">",
"{",
"@",
"code",
"file",
"}",
"provides",
"no",
"support",
"for",
"symbolic",
"links",
",",
"and",
"as",
"such",
"there",
"is",
"no",
"way",
"to",
"ensure",
"that",
"a",
"symbolic",
"link",
"to",
"a",
"directory",
"is",
"not",
"followed",
"when",
"traversing",
"the",
"tree",
"in",
"this",
"case",
",",
"iterables",
"created",
"by",
"this",
"traverser",
"could",
"contain",
"files",
"that",
"are",
"outside",
"of",
"the",
"given",
"directory",
"or",
"even",
"be",
"infinite",
"if",
"there",
"is",
"a",
"symbolic",
"link",
"loop",
"if",
"available",
",",
"consider",
"using",
"{",
"@",
"link",
"more",
"files",
"#",
"file",
"traverser",
"(",
")",
"}",
"instead",
"it",
"behaves",
"the",
"same",
"except",
"that",
"it",
"doesn",
"'",
"t",
"follow",
"symbolic",
"links",
"and",
"returns",
"{",
"@",
"code",
"path",
"}",
"instances",
"if",
"the",
"{",
"@",
"link",
"file",
"}",
"passed",
"to",
"one",
"of",
"the",
"{",
"@",
"link",
"traverser",
"}",
"methods",
"does",
"not",
"exist",
"or",
"is",
"not",
"a",
"directory",
",",
"no",
"exception",
"will",
"be",
"thrown",
"and",
"the",
"returned",
"{",
"@",
"link",
"iterable",
"}",
"will",
"contain",
"a",
"single",
"element",
":",
"that",
"file",
"example",
":",
"{",
"@",
"code",
"files",
"file",
"traverser",
"(",
")",
"depth",
"first",
"pre",
"order",
"(",
"new",
"file",
"(",
"\"",
"\"",
")",
")",
"}",
"may",
"return",
"files",
"with",
"the",
"following",
"paths",
":",
"{",
"@",
"code",
"[",
"\"",
"\"",
",",
"\"",
"etc",
"\"",
",",
"\"",
"etcconfig",
"txt",
"\"",
",",
"\"",
"etcfonts",
"\"",
",",
"\"",
"home",
"\"",
",",
"\"",
"homealice",
"\"",
",",
"]",
"}"
] |
[
"public",
"static",
"traverser",
"<",
"file",
">",
"file",
"traverser",
"(",
")",
"{",
"return",
"traverser",
"for",
"tree",
"(",
"file",
"tree",
")",
";",
"}"
] |
[
"a",
"bitmask",
"of",
"types",
"that",
"this",
"xml",
"attribute",
"accepts",
"corresponds",
"to",
"the",
"flags",
"in",
"the",
"enum",
"format",
"flags",
"<",
"code",
">",
"optional",
"uint",
"3",
"2",
"format",
"flags",
"=",
"1",
";",
"<",
"code",
">"
] |
[
"public",
"builder",
"clear",
"format",
"flags",
"(",
")",
"{",
"copy",
"on",
"write",
"(",
")",
";",
"instance",
"clear",
"format",
"flags",
"(",
")",
";",
"return",
"this",
";",
"}"
] |
[
"get",
"catalog",
"partition",
"spec",
"of",
"all",
"partitions",
"that",
"is",
"under",
"the",
"given",
"catalog",
"partition",
"spec",
"in",
"the",
"table"
] |
[
"list",
"<",
"catalog",
"partition",
"spec",
">",
"list",
"partitions",
"(",
"object",
"path",
"table",
"path",
",",
"catalog",
"partition",
"spec",
"partition",
"spec",
")",
"throws",
"table",
"not",
"exist",
"exception",
",",
"table",
"not",
"partitioned",
"exception",
",",
"partition",
"spec",
"invalid",
"exception",
",",
"catalog",
"exception",
";"
] |
[
"update",
"status",
"of",
"a",
"task"
] |
[
"public",
"final",
"void",
"set",
"run",
"state",
"(",
"final",
"state",
"localrun",
"state",
")",
"{",
"this",
"run",
"state",
"=",
"localrun",
"state",
";",
"}"
] |
[
"spawn",
"a",
"thread",
"to",
"do",
"periodic",
"renewals",
"of",
"kerberos",
"credentials",
"from",
"a",
"keytab",
"file",
"never",
"directly",
"call",
"this",
"method"
] |
[
"private",
"void",
"execute",
"auto",
"renewal",
"task",
"(",
"final",
"string",
"user",
"name",
",",
"auto",
"renewal",
"for",
"user",
"creds",
"runnable",
"task",
")",
"{",
"kerberos",
"login",
"renewal",
"executor",
"=",
"optional",
"of",
"(",
"executors",
"new",
"single",
"thread",
"executor",
"(",
"new",
"thread",
"factory",
"(",
")",
"{",
"@",
"override",
"public",
"thread",
"new",
"thread",
"(",
"runnable",
"r",
")",
"{",
"thread",
"t",
"=",
"new",
"thread",
"(",
"r",
")",
";",
"t",
"set",
"daemon",
"(",
"true",
")",
";",
"t",
"set",
"name",
"(",
"\"",
"tgt",
"renewer",
"for",
"\"",
"+",
"user",
"name",
")",
";",
"return",
"t",
";",
"}",
"}",
")",
")",
";",
"kerberos",
"login",
"renewal",
"executor",
"get",
"(",
")",
"submit",
"(",
"task",
")",
";",
"}"
] |
[
"save",
"the",
"contents",
"of",
"the",
"fs",
"image",
"to",
"a",
"new",
"image",
"file",
"in",
"each",
"of",
"the",
"current",
"storage",
"directories"
] |
[
"public",
"synchronized",
"void",
"save",
"namespace",
"(",
"f",
"s",
"namesystem",
"source",
",",
"name",
"node",
"file",
"nnf",
",",
"canceler",
"canceler",
")",
"throws",
"i",
"o",
"exception",
"{",
"assert",
"edit",
"log",
"!",
"=",
"null",
":",
"\"",
"edit",
"log",
"must",
"be",
"initialized",
"\"",
";",
"log",
"info",
"(",
"\"",
"save",
"namespace",
"\"",
")",
";",
"storage",
"attempt",
"restore",
"removed",
"storage",
"(",
")",
";",
"boolean",
"edit",
"log",
"was",
"open",
"=",
"edit",
"log",
"is",
"segment",
"open",
"(",
")",
";",
"if",
"(",
"edit",
"log",
"was",
"open",
")",
"{",
"edit",
"log",
"end",
"current",
"log",
"segment",
"(",
"true",
")",
";",
"}",
"long",
"image",
"tx",
"id",
"=",
"get",
"correct",
"last",
"applied",
"or",
"written",
"tx",
"id",
"(",
")",
";",
"if",
"(",
"!",
"add",
"to",
"checkpointing",
"(",
"image",
"tx",
"id",
")",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"\"",
"fs",
"image",
"is",
"being",
"downloaded",
"from",
"another",
"nn",
"at",
"txid",
"\"",
"+",
"image",
"tx",
"id",
")",
";",
"}",
"try",
"{",
"try",
"{",
"save",
"f",
"s",
"image",
"in",
"all",
"dirs",
"(",
"source",
",",
"nnf",
",",
"image",
"tx",
"id",
",",
"canceler",
")",
";",
"if",
"(",
"!",
"source",
"is",
"rolling",
"upgrade",
"(",
")",
")",
"{",
"update",
"storage",
"version",
"(",
")",
";",
"}",
"}",
"finally",
"{",
"if",
"(",
"edit",
"log",
"was",
"open",
")",
"{",
"edit",
"log",
"start",
"log",
"segment",
"and",
"write",
"header",
"txn",
"(",
"image",
"tx",
"id",
"+",
"1",
",",
"source",
"get",
"effective",
"layout",
"version",
"(",
")",
")",
";",
"/",
"/",
"take",
"this",
"opportunity",
"to",
"note",
"the",
"current",
"transaction",
"/",
"/",
"even",
"if",
"the",
"namespace",
"save",
"was",
"cancelled",
",",
"this",
"marker",
"/",
"/",
"is",
"only",
"used",
"to",
"determine",
"what",
"transaction",
"id",
"is",
"required",
"/",
"/",
"for",
"startup",
"so",
",",
"it",
"doesn",
"'",
"t",
"hurt",
"to",
"update",
"it",
"unnecessarily",
"storage",
"write",
"transaction",
"id",
"file",
"to",
"storage",
"(",
"image",
"tx",
"id",
"+",
"1",
")",
";",
"}",
"}",
"}",
"finally",
"{",
"remove",
"from",
"checkpointing",
"(",
"image",
"tx",
"id",
")",
";",
"}",
"/",
"/",
"update",
"name",
"dir",
"size",
"metric",
"get",
"storage",
"(",
")",
"update",
"name",
"dir",
"size",
"(",
")",
";",
"if",
"(",
"exit",
"after",
"save",
"get",
"(",
")",
")",
"{",
"log",
"error",
"(",
"\"",
"name",
"node",
"process",
"will",
"exit",
"now",
"the",
"saved",
"fs",
"image",
"\"",
"+",
"nnf",
"+",
"\"",
"is",
"potentially",
"corrupted",
"\"",
")",
";",
"exit",
"util",
"terminate",
"(",
"-",
"1",
")",
";",
"}",
"}"
] |
[
"transform",
"each",
"record",
"of",
"the",
"input",
"stream",
"into",
"zero",
"or",
"more",
"records",
"in",
"the",
"output",
"stream",
"(",
"both",
"key",
"and",
"value",
"type",
"can",
"be",
"altered",
"arbitrarily",
")",
"the",
"provided",
"{",
"@",
"link",
"key",
"value",
"mapper",
"}",
"is",
"applied",
"to",
"each",
"input",
"record",
"and",
"computes",
"zero",
"or",
"more",
"output",
"records",
"thus",
",",
"an",
"input",
"record",
"{",
"@",
"code",
"<",
"k",
",",
"v",
">",
"}",
"can",
"be",
"transformed",
"into",
"output",
"records",
"{",
"@",
"code",
"<",
"k",
"'",
":",
"v",
"'",
">",
",",
"<",
"k",
"'",
"'",
":",
"v",
"'",
"'",
">",
",",
"}",
"this",
"is",
"a",
"stateless",
"record",
"-",
"by",
"-",
"record",
"operation",
"(",
"cf",
"{",
"@",
"link",
"#",
"transform",
"(",
"transformer",
"supplier",
",",
"string",
")",
"}",
"for",
"stateful",
"record",
"transformation",
")",
"the",
"example",
"below",
"splits",
"input",
"records",
"{",
"@",
"code",
"<",
"null",
":",
"string",
">",
"}",
"containing",
"sentences",
"as",
"values",
"into",
"their",
"words",
"and",
"emit",
"a",
"record",
"{",
"@",
"code",
"<",
"word",
":",
"1",
">",
"}",
"for",
"each",
"word",
"{",
"@",
"code",
"k",
"stream",
"<",
"byte",
"[",
"]",
",",
"string",
">",
"input",
"stream",
"=",
"builder",
"stream",
"(",
"\"",
"topic",
"\"",
")",
";",
"k",
"stream",
"<",
"string",
",",
"integer",
">",
"output",
"stream",
"=",
"input",
"stream",
"flat",
"map",
"(",
"new",
"key",
"value",
"mapper",
"<",
"byte",
"[",
"]",
",",
"string",
",",
"iterable",
"<",
"key",
"value",
"<",
"string",
",",
"integer",
">",
">",
">",
"{",
"iterable",
"<",
"key",
"value",
"<",
"string",
",",
"integer",
">",
">",
"apply",
"(",
"byte",
"[",
"]",
"key",
",",
"string",
"value",
")",
"{",
"string",
"[",
"]",
"tokens",
"=",
"value",
"split",
"(",
"\"",
"\"",
")",
";",
"list",
"<",
"key",
"value",
"<",
"string",
",",
"integer",
">",
">",
"result",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"tokens",
"length",
")",
";",
"for",
"(",
"string",
"token",
":",
"tokens",
")",
"{",
"result",
"add",
"(",
"new",
"key",
"value",
"<",
">",
"(",
"token",
",",
"1",
")",
")",
";",
"}",
"return",
"result",
";",
"}",
"}",
")",
";",
"}",
"the",
"provided",
"{",
"@",
"link",
"key",
"value",
"mapper",
"}",
"must",
"return",
"an",
"{",
"@",
"link",
"iterable",
"}",
"(",
"e",
"g",
",",
"any",
"{",
"@",
"link",
"java",
"util",
"collection",
"}",
"type",
")",
"and",
"the",
"return",
"value",
"must",
"not",
"be",
"{",
"@",
"code",
"null",
"}",
"flat",
"-",
"mapping",
"records",
"might",
"result",
"in",
"an",
"internal",
"data",
"redistribution",
"if",
"a",
"key",
"based",
"operator",
"(",
"like",
"an",
"aggregation",
"or",
"join",
")",
"is",
"applied",
"to",
"the",
"result",
"{",
"@",
"code",
"k",
"stream",
"}",
"(",
"cf",
"{",
"@",
"link",
"#",
"flat",
"map",
"values",
"(",
"value",
"mapper",
")",
"}",
")"
] |
[
"<",
"kr",
",",
"vr",
">",
"k",
"stream",
"<",
"kr",
",",
"vr",
">",
"flat",
"map",
"(",
"final",
"key",
"value",
"mapper",
"<",
"?",
"super",
"k",
",",
"?",
"super",
"v",
",",
"?",
"extends",
"iterable",
"<",
"?",
"extends",
"key",
"value",
"<",
"?",
"extends",
"kr",
",",
"?",
"extends",
"vr",
">",
">",
">",
"mapper",
")",
";"
] |
[
"gets",
"the",
"type",
"information",
"of",
"the",
"data",
"type",
"of",
"the",
"input",
"data",
"set",
"this",
"method",
"returns",
"equivalent",
"information",
"as",
"{",
"@",
"code",
"get",
"input",
"(",
")",
"get",
"type",
"(",
")",
"}"
] |
[
"public",
"type",
"information",
"<",
"in",
">",
"get",
"input",
"type",
"(",
")",
"{",
"return",
"this",
"input",
"get",
"type",
"(",
")",
";",
"}"
] |
[
"convert",
"oas",
"property",
"object",
"to",
"codegen",
"property",
"object",
"the",
"return",
"value",
"is",
"cached",
"an",
"internal",
"cache",
"is",
"looked",
"up",
"to",
"determine",
"if",
"the",
"codegen",
"property",
"return",
"value",
"has",
"already",
"been",
"instantiated",
"for",
"the",
"(",
"string",
"name",
",",
"schema",
"p",
")",
"arguments",
"any",
"subsequent",
"processing",
"of",
"the",
"codegen",
"model",
"return",
"value",
"must",
"be",
"idempotent",
"for",
"a",
"given",
"(",
"string",
"name",
",",
"schema",
"schema",
")"
] |
[
"public",
"codegen",
"property",
"from",
"property",
"(",
"string",
"name",
",",
"schema",
"p",
")",
"{",
"if",
"(",
"p",
"=",
"=",
"null",
")",
"{",
"logger",
"error",
"(",
"\"",
"undefined",
"property",
"/",
"schema",
"for",
"`",
"{",
"}",
"`",
"default",
"to",
"type",
":",
"string",
"\"",
",",
"name",
")",
";",
"return",
"null",
";",
"}",
"logger",
"debug",
"(",
"\"",
"debugging",
"from",
"property",
"for",
"\"",
"+",
"name",
"+",
"\"",
":",
"\"",
"+",
"p",
")",
";",
"named",
"schema",
"ns",
"=",
"new",
"named",
"schema",
"(",
"name",
",",
"p",
")",
";",
"codegen",
"property",
"cpc",
"=",
"schema",
"codegen",
"property",
"cache",
"get",
"(",
"ns",
")",
";",
"if",
"(",
"cpc",
"!",
"=",
"null",
")",
"{",
"logger",
"debug",
"(",
"\"",
"cached",
"from",
"property",
"for",
"\"",
"+",
"name",
"+",
"\"",
":",
"\"",
"+",
"p",
"get",
"name",
"(",
")",
")",
";",
"return",
"cpc",
";",
"}",
"/",
"/",
"unalias",
"schema",
"p",
"=",
"unalias",
"schema",
"(",
"p",
",",
"import",
"mapping",
")",
";",
"codegen",
"property",
"property",
"=",
"codegen",
"model",
"factory",
"new",
"instance",
"(",
"codegen",
"model",
"type",
"property",
")",
";",
"model",
"utils",
"sync",
"validation",
"properties",
"(",
"p",
",",
"property",
")",
";",
"property",
"name",
"=",
"to",
"var",
"name",
"(",
"name",
")",
";",
"property",
"base",
"name",
"=",
"name",
";",
"if",
"(",
"p",
"get",
"type",
"(",
")",
"=",
"=",
"null",
")",
"{",
"property",
"open",
"api",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"}",
"else",
"{",
"property",
"open",
"api",
"type",
"=",
"p",
"get",
"type",
"(",
")",
";",
"}",
"property",
"name",
"in",
"camel",
"case",
"=",
"camelize",
"(",
"property",
"name",
",",
"false",
")",
";",
"property",
"name",
"in",
"snake",
"case",
"=",
"case",
"format",
"upper",
"camel",
"to",
"(",
"case",
"format",
"upper",
"underscore",
",",
"property",
"name",
"in",
"camel",
"case",
")",
";",
"property",
"description",
"=",
"escape",
"text",
"(",
"p",
"get",
"description",
"(",
")",
")",
";",
"property",
"unescaped",
"description",
"=",
"p",
"get",
"description",
"(",
")",
";",
"property",
"title",
"=",
"p",
"get",
"title",
"(",
")",
";",
"property",
"getter",
"=",
"to",
"getter",
"(",
"name",
")",
";",
"property",
"setter",
"=",
"to",
"setter",
"(",
"name",
")",
";",
"property",
"example",
"=",
"to",
"example",
"value",
"(",
"p",
")",
";",
"property",
"default",
"value",
"=",
"to",
"default",
"value",
"(",
"p",
")",
";",
"property",
"default",
"value",
"with",
"param",
"=",
"to",
"default",
"value",
"with",
"param",
"(",
"name",
",",
"p",
")",
";",
"property",
"json",
"schema",
"=",
"json",
"pretty",
"(",
"p",
")",
";",
"if",
"(",
"p",
"get",
"deprecated",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"deprecated",
"=",
"p",
"get",
"deprecated",
"(",
")",
";",
"}",
"else",
"if",
"(",
"p",
"get",
"$",
"ref",
"(",
")",
"!",
"=",
"null",
")",
"{",
"/",
"/",
"since",
"$",
"ref",
"should",
"be",
"replaced",
"with",
"the",
"model",
"it",
"refers",
"/",
"/",
"to",
",",
"$",
"ref",
"'",
"ing",
"a",
"model",
"with",
"'",
"deprecated",
"'",
"set",
"should",
"cause",
"/",
"/",
"the",
"property",
"to",
"reflect",
"the",
"model",
"'",
"s",
"'",
"deprecated",
"'",
"value",
"string",
"ref",
"=",
"model",
"utils",
"get",
"simple",
"ref",
"(",
"p",
"get",
"$",
"ref",
"(",
")",
")",
";",
"if",
"(",
"ref",
"!",
"=",
"null",
")",
"{",
"schema",
"referenced",
"schema",
"=",
"model",
"utils",
"get",
"schemas",
"(",
"this",
"open",
"a",
"p",
"i",
")",
"get",
"(",
"ref",
")",
";",
"if",
"(",
"referenced",
"schema",
"!",
"=",
"null",
"&",
"&",
"referenced",
"schema",
"get",
"deprecated",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"deprecated",
"=",
"referenced",
"schema",
"get",
"deprecated",
"(",
")",
";",
"}",
"}",
"}",
"if",
"(",
"p",
"get",
"read",
"only",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"read",
"only",
"=",
"p",
"get",
"read",
"only",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"write",
"only",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"write",
"only",
"=",
"p",
"get",
"write",
"only",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"nullable",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"nullable",
"=",
"p",
"get",
"nullable",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"xml",
"(",
")",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"p",
"get",
"xml",
"(",
")",
"get",
"attribute",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"xml",
"attribute",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"attribute",
"(",
")",
";",
"}",
"property",
"xml",
"prefix",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"prefix",
"(",
")",
";",
"property",
"xml",
"name",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"name",
"(",
")",
";",
"property",
"xml",
"namespace",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"namespace",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"extensions",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"!",
"p",
"get",
"extensions",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"property",
"get",
"vendor",
"extensions",
"(",
")",
"put",
"all",
"(",
"p",
"get",
"extensions",
"(",
")",
")",
";",
"}",
"string",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"if",
"(",
"model",
"utils",
"is",
"integer",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"integer",
"type",
"property",
"is",
"numeric",
"=",
"boolean",
"true",
";",
"if",
"(",
"model",
"utils",
"is",
"long",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"int",
"6",
"4",
"/",
"long",
"format",
"property",
"is",
"long",
"=",
"boolean",
"true",
";",
"}",
"else",
"{",
"/",
"/",
"int",
"3",
"2",
"format",
"property",
"is",
"integer",
"=",
"boolean",
"true",
";",
"}",
"if",
"(",
"p",
"get",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"minimum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"minimum",
"(",
")",
"long",
"value",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"maximum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"maximum",
"(",
")",
"long",
"value",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"minimum",
"=",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"maximum",
"=",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"multiple",
"of",
"=",
"p",
"get",
"multiple",
"of",
"(",
")",
";",
"}",
"/",
"/",
"check",
"if",
"any",
"validation",
"rule",
"defined",
"/",
"/",
"exclusive",
"*",
"are",
"noop",
"without",
"corresponding",
"min",
"/",
"max",
"if",
"(",
"property",
"minimum",
"!",
"=",
"null",
"|",
"|",
"property",
"maximum",
"!",
"=",
"null",
"|",
"|",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"property",
"has",
"validation",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"boolean",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"boolean",
"type",
"property",
"is",
"boolean",
"=",
"true",
";",
"property",
"getter",
"=",
"to",
"boolean",
"getter",
"(",
"name",
")",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"date",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"date",
"format",
"property",
"is",
"string",
"=",
"false",
";",
"/",
"/",
"for",
"backward",
"compatibility",
"with",
"2",
"x",
"property",
"is",
"date",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"date",
"time",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"date",
"-",
"time",
"format",
"property",
"is",
"string",
"=",
"false",
";",
"/",
"/",
"for",
"backward",
"compatibility",
"with",
"2",
"x",
"property",
"is",
"date",
"time",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"decimal",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"type",
":",
"string",
",",
"format",
":",
"number",
"property",
"is",
"decimal",
"=",
"true",
";",
"if",
"(",
"p",
"get",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"minimum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"minimum",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"maximum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"maximum",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"minimum",
"=",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"maximum",
"=",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"multiple",
"of",
"=",
"p",
"get",
"multiple",
"of",
"(",
")",
";",
"}",
"/",
"/",
"check",
"if",
"any",
"validation",
"rule",
"defined",
"/",
"/",
"exclusive",
"*",
"are",
"noop",
"without",
"corresponding",
"min",
"/",
"max",
"if",
"(",
"property",
"minimum",
"!",
"=",
"null",
"|",
"|",
"property",
"maximum",
"!",
"=",
"null",
"|",
"|",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"has",
"validation",
"=",
"true",
";",
"}",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"string",
"schema",
"(",
"p",
")",
")",
"{",
"if",
"(",
"model",
"utils",
"is",
"byte",
"array",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"byte",
"array",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"binary",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"binary",
"=",
"true",
";",
"property",
"is",
"file",
"=",
"true",
";",
"/",
"/",
"file",
"=",
"binary",
"in",
"oas3",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"file",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"file",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"u",
"u",
"i",
"d",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"keep",
"is",
"string",
"to",
"true",
"to",
"make",
"it",
"backward",
"compatible",
"property",
"is",
"string",
"=",
"true",
";",
"property",
"is",
"uuid",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"u",
"r",
"i",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"string",
"=",
"true",
";",
"/",
"/",
"for",
"backward",
"compatibility",
"property",
"is",
"uri",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"email",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"string",
"=",
"true",
";",
"property",
"is",
"email",
"=",
"true",
";",
"}",
"else",
"{",
"property",
"is",
"string",
"=",
"true",
";",
"}",
"property",
"max",
"length",
"=",
"p",
"get",
"max",
"length",
"(",
")",
";",
"property",
"min",
"length",
"=",
"p",
"get",
"min",
"length",
"(",
")",
";",
"property",
"pattern",
"=",
"to",
"regular",
"expression",
"(",
"p",
"get",
"pattern",
"(",
")",
")",
";",
"/",
"/",
"check",
"if",
"any",
"validation",
"rule",
"defined",
"if",
"(",
"property",
"pattern",
"!",
"=",
"null",
"|",
"|",
"property",
"min",
"length",
"!",
"=",
"null",
"|",
"|",
"property",
"max",
"length",
"!",
"=",
"null",
")",
"property",
"has",
"validation",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"number",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"numeric",
"=",
"boolean",
"true",
";",
"if",
"(",
"model",
"utils",
"is",
"float",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"float",
"property",
"is",
"float",
"=",
"boolean",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"double",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"double",
"property",
"is",
"double",
"=",
"boolean",
"true",
";",
"}",
"else",
"{",
"/",
"/",
"type",
"is",
"number",
"and",
"without",
"format",
"property",
"is",
"number",
"=",
"boolean",
"true",
";",
"}",
"if",
"(",
"p",
"get",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"minimum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"minimum",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"maximum",
"=",
"string",
"value",
"of",
"(",
"p",
"get",
"maximum",
"(",
")",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"minimum",
"=",
"p",
"get",
"exclusive",
"minimum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"exclusive",
"maximum",
"=",
"p",
"get",
"exclusive",
"maximum",
"(",
")",
";",
"}",
"if",
"(",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"multiple",
"of",
"=",
"p",
"get",
"multiple",
"of",
"(",
")",
";",
"}",
"/",
"/",
"check",
"if",
"any",
"validation",
"rule",
"defined",
"/",
"/",
"exclusive",
"*",
"are",
"noop",
"without",
"corresponding",
"min",
"/",
"max",
"if",
"(",
"property",
"minimum",
"!",
"=",
"null",
"|",
"|",
"property",
"maximum",
"!",
"=",
"null",
"|",
"|",
"p",
"get",
"multiple",
"of",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"has",
"validation",
"=",
"true",
";",
"}",
"}",
"else",
"if",
"(",
"is",
"free",
"form",
"object",
"(",
"p",
")",
")",
"{",
"property",
"is",
"free",
"form",
"object",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"is",
"any",
"type",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"the",
"'",
"null",
"'",
"value",
"is",
"allowed",
"when",
"the",
"oas",
"schema",
"is",
"'",
"any",
"type",
"'",
"/",
"/",
"see",
"https",
":",
"/",
"/",
"github",
"com",
"/",
"oai",
"/",
"open",
"a",
"p",
"i",
"-",
"specification",
"/",
"issues",
"/",
"1389",
"if",
"(",
"boolean",
"false",
"equals",
"(",
"p",
"get",
"nullable",
"(",
")",
")",
")",
"{",
"logger",
"warn",
"(",
"\"",
"schema",
"'",
"{",
"}",
"'",
"is",
"any",
"type",
",",
"which",
"includes",
"the",
"'",
"null",
"'",
"value",
"'",
"nullable",
"'",
"cannot",
"be",
"set",
"to",
"'",
"false",
"'",
"\"",
",",
"p",
"get",
"name",
"(",
")",
")",
";",
"}",
"property",
"is",
"nullable",
"=",
"true",
";",
"property",
"is",
"any",
"type",
"=",
"true",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"array",
"schema",
"(",
"p",
")",
")",
"{",
"/",
"/",
"default",
"to",
"string",
"if",
"inner",
"item",
"is",
"undefined",
"array",
"schema",
"array",
"schema",
"=",
"(",
"array",
"schema",
")",
"p",
";",
"schema",
"inner",
"schema",
"=",
"unalias",
"schema",
"(",
"get",
"schema",
"items",
"(",
"array",
"schema",
")",
",",
"import",
"mapping",
")",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"map",
"schema",
"(",
"p",
")",
")",
"{",
"schema",
"inner",
"schema",
"=",
"unalias",
"schema",
"(",
"get",
"additional",
"properties",
"(",
"p",
")",
",",
"import",
"mapping",
")",
";",
"if",
"(",
"inner",
"schema",
"=",
"=",
"null",
")",
"{",
"logger",
"error",
"(",
"\"",
"undefined",
"map",
"inner",
"type",
"for",
"`",
"{",
"}",
"`",
"default",
"to",
"string",
"\"",
",",
"p",
"get",
"name",
"(",
")",
")",
";",
"inner",
"schema",
"=",
"new",
"string",
"schema",
"(",
")",
"description",
"(",
"\"",
"/",
"/",
"todo",
"automatically",
"added",
"by",
"openapi",
"-",
"generator",
"due",
"to",
"undefined",
"type",
"\"",
")",
";",
"p",
"set",
"additional",
"properties",
"(",
"inner",
"schema",
")",
";",
"}",
"}",
"/",
"/",
"inline",
"enum",
"case",
":",
"if",
"(",
"p",
"get",
"enum",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"!",
"p",
"get",
"enum",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"list",
"<",
"object",
">",
"enum",
"=",
"p",
"get",
"enum",
"(",
")",
";",
"property",
"enum",
"=",
"new",
"array",
"list",
"<",
"string",
">",
"(",
")",
";",
"for",
"(",
"object",
"i",
":",
"enum",
")",
"{",
"property",
"enum",
"add",
"(",
"string",
"value",
"of",
"(",
"i",
")",
")",
";",
"}",
"property",
"is",
"enum",
"=",
"true",
";",
"map",
"<",
"string",
",",
"object",
">",
"allowable",
"values",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"object",
">",
"(",
")",
";",
"allowable",
"values",
"put",
"(",
"\"",
"values",
"\"",
",",
"enum",
")",
";",
"if",
"(",
"allowable",
"values",
"size",
"(",
")",
">",
"0",
")",
"{",
"property",
"allowable",
"values",
"=",
"allowable",
"values",
";",
"}",
"}",
"schema",
"referenced",
"schema",
"=",
"model",
"utils",
"get",
"referenced",
"schema",
"(",
"this",
"open",
"a",
"p",
"i",
",",
"p",
")",
";",
"/",
"/",
"referenced",
"enum",
"case",
":",
"if",
"(",
"referenced",
"schema",
"get",
"enum",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"!",
"referenced",
"schema",
"get",
"enum",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"list",
"<",
"object",
">",
"enum",
"=",
"referenced",
"schema",
"get",
"enum",
"(",
")",
";",
"map",
"<",
"string",
",",
"object",
">",
"allowable",
"values",
"=",
"new",
"hash",
"map",
"<",
"string",
",",
"object",
">",
"(",
")",
";",
"allowable",
"values",
"put",
"(",
"\"",
"values",
"\"",
",",
"enum",
")",
";",
"if",
"(",
"allowable",
"values",
"size",
"(",
")",
">",
"0",
")",
"{",
"property",
"allowable",
"values",
"=",
"allowable",
"values",
";",
"}",
"}",
"if",
"(",
"referenced",
"schema",
"get",
"nullable",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"nullable",
"=",
"referenced",
"schema",
"get",
"nullable",
"(",
")",
";",
"}",
"property",
"data",
"type",
"=",
"get",
"type",
"declaration",
"(",
"p",
")",
";",
"property",
"data",
"format",
"=",
"p",
"get",
"format",
"(",
")",
";",
"property",
"base",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"/",
"/",
"this",
"can",
"cause",
"issues",
"for",
"clients",
"which",
"don",
"'",
"t",
"support",
"enums",
"if",
"(",
"property",
"is",
"enum",
")",
"{",
"property",
"datatype",
"with",
"enum",
"=",
"to",
"enum",
"name",
"(",
"property",
")",
";",
"property",
"enum",
"name",
"=",
"to",
"enum",
"name",
"(",
"property",
")",
";",
"}",
"else",
"{",
"property",
"datatype",
"with",
"enum",
"=",
"property",
"data",
"type",
";",
"}",
"if",
"(",
"model",
"utils",
"is",
"array",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"container",
"=",
"true",
";",
"property",
"is",
"array",
"=",
"true",
";",
"if",
"(",
"model",
"utils",
"is",
"set",
"(",
"p",
")",
")",
"{",
"property",
"container",
"type",
"=",
"\"",
"set",
"\"",
";",
"}",
"else",
"{",
"property",
"container",
"type",
"=",
"\"",
"array",
"\"",
";",
"}",
"property",
"base",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"if",
"(",
"p",
"get",
"xml",
"(",
")",
"!",
"=",
"null",
")",
"{",
"property",
"is",
"xml",
"wrapped",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"wrapped",
"(",
")",
"=",
"=",
"null",
"?",
"false",
":",
"p",
"get",
"xml",
"(",
")",
"get",
"wrapped",
"(",
")",
";",
"property",
"xml",
"prefix",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"prefix",
"(",
")",
";",
"property",
"xml",
"namespace",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"namespace",
"(",
")",
";",
"property",
"xml",
"name",
"=",
"p",
"get",
"xml",
"(",
")",
"get",
"name",
"(",
")",
";",
"}",
"/",
"/",
"handle",
"inner",
"property",
"property",
"max",
"items",
"=",
"p",
"get",
"max",
"items",
"(",
")",
";",
"property",
"min",
"items",
"=",
"p",
"get",
"min",
"items",
"(",
")",
";",
"string",
"item",
"name",
"=",
"null",
";",
"if",
"(",
"p",
"get",
"extensions",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"p",
"get",
"extensions",
"(",
")",
"get",
"(",
"\"",
"x",
"-",
"item",
"-",
"name",
"\"",
")",
"!",
"=",
"null",
")",
"{",
"item",
"name",
"=",
"p",
"get",
"extensions",
"(",
")",
"get",
"(",
"\"",
"x",
"-",
"item",
"-",
"name",
"\"",
")",
"to",
"string",
"(",
")",
";",
"}",
"if",
"(",
"item",
"name",
"=",
"=",
"null",
")",
"{",
"item",
"name",
"=",
"property",
"name",
";",
"}",
"array",
"schema",
"array",
"schema",
"=",
"(",
"array",
"schema",
")",
"p",
";",
"schema",
"inner",
"schema",
"=",
"unalias",
"schema",
"(",
"get",
"schema",
"items",
"(",
"array",
"schema",
")",
",",
"import",
"mapping",
")",
";",
"codegen",
"property",
"cp",
"=",
"from",
"property",
"(",
"item",
"name",
",",
"inner",
"schema",
")",
";",
"update",
"property",
"for",
"array",
"(",
"property",
",",
"cp",
")",
";",
"}",
"else",
"if",
"(",
"model",
"utils",
"is",
"map",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"container",
"=",
"true",
";",
"property",
"is",
"map",
"=",
"true",
";",
"property",
"container",
"type",
"=",
"\"",
"map",
"\"",
";",
"property",
"base",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"property",
"min",
"items",
"=",
"p",
"get",
"min",
"properties",
"(",
")",
";",
"property",
"max",
"items",
"=",
"p",
"get",
"max",
"properties",
"(",
")",
";",
"/",
"/",
"handle",
"inner",
"property",
"schema",
"inner",
"schema",
"=",
"unalias",
"schema",
"(",
"get",
"additional",
"properties",
"(",
"p",
")",
",",
"import",
"mapping",
")",
";",
"if",
"(",
"inner",
"schema",
"=",
"=",
"null",
")",
"{",
"logger",
"error",
"(",
"\"",
"undefined",
"map",
"inner",
"type",
"for",
"`",
"{",
"}",
"`",
"default",
"to",
"string",
"\"",
",",
"p",
"get",
"name",
"(",
")",
")",
";",
"inner",
"schema",
"=",
"new",
"string",
"schema",
"(",
")",
"description",
"(",
"\"",
"/",
"/",
"todo",
"automatically",
"added",
"by",
"openapi",
"-",
"generator",
"due",
"to",
"undefined",
"type",
"\"",
")",
";",
"p",
"set",
"additional",
"properties",
"(",
"inner",
"schema",
")",
";",
"}",
"codegen",
"property",
"cp",
"=",
"from",
"property",
"(",
"\"",
"inner",
"\"",
",",
"inner",
"schema",
")",
";",
"update",
"property",
"for",
"map",
"(",
"property",
",",
"cp",
")",
";",
"}",
"else",
"if",
"(",
"is",
"free",
"form",
"object",
"(",
"p",
")",
")",
"{",
"property",
"is",
"free",
"form",
"object",
"=",
"true",
";",
"property",
"base",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"if",
"(",
"language",
"specific",
"primitives",
"contains",
"(",
"property",
"data",
"type",
")",
")",
"{",
"property",
"is",
"primitive",
"type",
"=",
"true",
";",
"}",
"}",
"else",
"if",
"(",
"is",
"any",
"type",
"schema",
"(",
"p",
")",
")",
"{",
"property",
"is",
"any",
"type",
"=",
"true",
";",
"property",
"base",
"type",
"=",
"get",
"schema",
"type",
"(",
"p",
")",
";",
"if",
"(",
"language",
"specific",
"primitives",
"contains",
"(",
"property",
"data",
"type",
")",
")",
"{",
"property",
"is",
"primitive",
"type",
"=",
"true",
";",
"}",
"}",
"else",
"{",
"/",
"/",
"model",
"set",
"non",
"array",
"map",
"property",
"(",
"property",
",",
"type",
")",
";",
"schema",
"ref",
"or",
"current",
"=",
"model",
"utils",
"get",
"referenced",
"schema",
"(",
"this",
"open",
"a",
"p",
"i",
",",
"p",
")",
";",
"property",
"is",
"model",
"=",
"(",
"model",
"utils",
"is",
"composed",
"schema",
"(",
"ref",
"or",
"current",
")",
"|",
"|",
"model",
"utils",
"is",
"object",
"schema",
"(",
"ref",
"or",
"current",
")",
")",
"&",
"&",
"model",
"utils",
"is",
"model",
"(",
"ref",
"or",
"current",
")",
";",
"}",
"add",
"vars",
"required",
"vars",
"additiona",
"props",
"(",
"p",
",",
"property",
")",
";",
"logger",
"debug",
"(",
"\"",
"debugging",
"from",
"property",
"return",
":",
"\"",
"+",
"property",
")",
";",
"schema",
"codegen",
"property",
"cache",
"put",
"(",
"ns",
",",
"property",
")",
";",
"return",
"property",
";",
"}"
] |
[
"only",
"the",
"mandatory",
"dependent",
"plugins",
"are",
"disabled",
"using",
"-",
"strategy",
"mandatory"
] |
[
"public",
"void",
"disable",
"plugins",
"strategy",
"mandatory",
"(",
")",
"{",
"assert",
"that",
"(",
"disable",
"plugins",
"c",
"li",
"command",
"(",
"\"",
"-",
"strategy",
"\"",
",",
"\"",
"mandatory",
"\"",
",",
"\"",
"variant",
"\"",
",",
"\"",
"dependee",
"\"",
",",
"\"",
"plugin",
"-",
"first",
"\"",
")",
",",
"succeeded",
"(",
")",
")",
";",
"assert",
"plugin",
"disabled",
"(",
"\"",
"variant",
"\"",
")",
";",
"assert",
"plugin",
"disabled",
"(",
"\"",
"dependee",
"\"",
")",
";",
"assert",
"plugin",
"enabled",
"(",
"\"",
"depender",
"\"",
")",
";",
"assert",
"plugin",
"disabled",
"(",
"\"",
"plugin",
"-",
"first",
"\"",
")",
";",
"assert",
"plugin",
"disabled",
"(",
"\"",
"mandatory",
"-",
"depender",
"\"",
")",
";",
"}"
] |
[
"finds",
"the",
"xyzm",
"mode",
"of",
"a",
"geometry"
] |
[
"public",
"static",
"xyzm",
"mode",
"find",
"xyzm",
"mode",
"(",
"geometry",
"g",
")",
"{",
"h",
"a",
"n",
"a",
"xyzm",
"mode",
"finder",
"instance",
"=",
"new",
"h",
"a",
"n",
"a",
"xyzm",
"mode",
"finder",
"(",
")",
";",
"return",
"instance",
"inspect",
"(",
"g",
")",
";",
"}"
] |
[
"initializes",
"the",
"data",
"structures",
"for",
"the",
"variables",
",",
"stack",
",",
"etc"
] |
[
"private",
"void",
"initialize",
"arrays",
"(",
"code",
"attribute",
"code",
"attribute",
")",
"{",
"int",
"new",
"code",
"length",
"=",
"code",
"attribute",
"u",
"4code",
"length",
";",
"/",
"/",
"create",
"new",
"arrays",
"for",
"storing",
"information",
"at",
"each",
"instruction",
"offset",
"if",
"(",
"branch",
"origin",
"values",
"length",
"<",
"new",
"code",
"length",
")",
"{",
"/",
"/",
"create",
"new",
"arrays",
"branch",
"origin",
"values",
"=",
"new",
"instruction",
"offset",
"value",
"[",
"new",
"code",
"length",
"]",
";",
"branch",
"target",
"values",
"=",
"new",
"instruction",
"offset",
"value",
"[",
"new",
"code",
"length",
"]",
";",
"variables",
"before",
"=",
"new",
"traced",
"variables",
"[",
"new",
"code",
"length",
"]",
";",
"stacks",
"before",
"=",
"new",
"traced",
"stack",
"[",
"new",
"code",
"length",
"]",
";",
"variables",
"after",
"=",
"new",
"traced",
"variables",
"[",
"new",
"code",
"length",
"]",
";",
"stacks",
"after",
"=",
"new",
"traced",
"stack",
"[",
"new",
"code",
"length",
"]",
";",
"generalized",
"contexts",
"=",
"new",
"boolean",
"[",
"new",
"code",
"length",
"]",
";",
"evaluation",
"counts",
"=",
"new",
"int",
"[",
"new",
"code",
"length",
"]",
";",
"}",
"else",
"{",
"/",
"/",
"reset",
"the",
"old",
"arrays",
"arrays",
"fill",
"(",
"branch",
"origin",
"values",
",",
"0",
",",
"code",
"length",
",",
"null",
")",
";",
"arrays",
"fill",
"(",
"branch",
"target",
"values",
",",
"0",
",",
"code",
"length",
",",
"null",
")",
";",
"arrays",
"fill",
"(",
"generalized",
"contexts",
",",
"0",
",",
"code",
"length",
",",
"false",
")",
";",
"arrays",
"fill",
"(",
"evaluation",
"counts",
",",
"0",
",",
"code",
"length",
",",
"0",
")",
";",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"new",
"code",
"length",
";",
"index",
"+",
"+",
")",
"{",
"if",
"(",
"variables",
"before",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"variables",
"before",
"[",
"index",
"]",
"reset",
"(",
"code",
"attribute",
"u",
"2max",
"locals",
")",
";",
"}",
"if",
"(",
"stacks",
"before",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"stacks",
"before",
"[",
"index",
"]",
"reset",
"(",
"code",
"attribute",
"u",
"2max",
"stack",
")",
";",
"}",
"if",
"(",
"variables",
"after",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"variables",
"after",
"[",
"index",
"]",
"reset",
"(",
"code",
"attribute",
"u",
"2max",
"locals",
")",
";",
"}",
"if",
"(",
"stacks",
"after",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"stacks",
"after",
"[",
"index",
"]",
"reset",
"(",
"code",
"attribute",
"u",
"2max",
"stack",
")",
";",
"}",
"}",
"for",
"(",
"int",
"index",
"=",
"new",
"code",
"length",
";",
"index",
"<",
"code",
"length",
";",
"index",
"+",
"+",
")",
"{",
"if",
"(",
"variables",
"before",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"variables",
"before",
"[",
"index",
"]",
"reset",
"(",
"0",
")",
";",
"}",
"if",
"(",
"stacks",
"before",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"stacks",
"before",
"[",
"index",
"]",
"reset",
"(",
"0",
")",
";",
"}",
"if",
"(",
"variables",
"after",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"variables",
"after",
"[",
"index",
"]",
"reset",
"(",
"0",
")",
";",
"}",
"if",
"(",
"stacks",
"after",
"[",
"index",
"]",
"!",
"=",
"null",
")",
"{",
"stacks",
"after",
"[",
"index",
"]",
"reset",
"(",
"0",
")",
";",
"}",
"}",
"}",
"code",
"length",
"=",
"new",
"code",
"length",
";",
"}"
] |
[
"get",
"the",
"current",
"list",
"-",
"any",
"diffing",
"to",
"present",
"this",
"list",
"has",
"already",
"been",
"computed",
"and",
"dispatched",
"via",
"the",
"list",
"update",
"callback",
"if",
"a",
"<",
"code",
">",
"null",
"<",
"code",
">",
"list",
",",
"or",
"no",
"list",
"has",
"been",
"submitted",
",",
"an",
"empty",
"list",
"will",
"be",
"returned",
"the",
"returned",
"list",
"may",
"not",
"be",
"mutated",
"-",
"mutations",
"to",
"content",
"must",
"be",
"done",
"through",
"{",
"@",
"link",
"#",
"submit",
"list",
"(",
"list",
")",
"}"
] |
[
"public",
"list",
"<",
"?",
"extends",
"epoxy",
"model",
"<",
"?",
">",
">",
"get",
"current",
"list",
"(",
")",
"{",
"return",
"read",
"only",
"list",
";",
"}"
] |
[
"creates",
"a",
"string",
"representation",
"of",
"the",
"tuple",
"in",
"the",
"form",
"(",
"f",
"0",
")",
",",
"where",
"the",
"individual",
"fields",
"are",
"the",
"value",
"returned",
"by",
"calling",
"{",
"@",
"link",
"object",
"#",
"to",
"string",
"}",
"on",
"that",
"field"
] |
[
"public",
"string",
"to",
"string",
"(",
")",
"{",
"return",
"\"",
"(",
"\"",
"+",
"string",
"utils",
"array",
"aware",
"to",
"string",
"(",
"this",
"f",
"0",
")",
"+",
"\"",
")",
"\"",
";",
"}"
] |
[
"set",
"a",
"click",
"listener",
"that",
"will",
"provide",
"the",
"parent",
"view",
",",
"model",
",",
"and",
"adapter",
"position",
"of",
"the",
"clicked",
"view",
"this",
"will",
"clear",
"the",
"normal",
"view",
"on",
"click",
"listener",
"if",
"one",
"has",
"been",
"set"
] |
[
"public",
"callback",
"prop",
"model",
"view",
"model",
"on",
"click",
"listener",
"(",
"@",
"nullable",
"final",
"on",
"model",
"click",
"listener",
"<",
"callback",
"prop",
"model",
"view",
"model",
",",
"callback",
"prop",
"model",
"view",
">",
"on",
"click",
"listener",
")",
"{",
"on",
"mutation",
"(",
")",
";",
"if",
"(",
"on",
"click",
"listener",
"=",
"=",
"null",
")",
"{",
"this",
"on",
"click",
"listener",
"on",
"click",
"listener",
"=",
"null",
";",
"}",
"else",
"{",
"this",
"on",
"click",
"listener",
"on",
"click",
"listener",
"=",
"new",
"wrapped",
"epoxy",
"model",
"click",
"listener",
"(",
"on",
"click",
"listener",
")",
";",
"}",
"return",
"this",
";",
"}"
] |
[
"indicates",
"whether",
"some",
"other",
"object",
"is",
"\"",
"equal",
"to",
"\"",
"this",
"one"
] |
[
"public",
"boolean",
"equals",
"(",
"object",
"obj",
")",
"{",
"if",
"(",
"obj",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"obj",
"=",
"=",
"this",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"get",
"class",
"(",
")",
"!",
"=",
"obj",
"get",
"class",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"tool",
"connection",
"impl",
"tc",
"=",
"(",
"tool",
"connection",
"impl",
")",
"obj",
";",
"return",
"producer",
"tool",
"get",
"name",
"(",
")",
"equals",
"(",
"tc",
"producer",
"tool",
"get",
"name",
"(",
")",
")",
"&",
"&",
"consumer",
"tool",
"get",
"name",
"(",
")",
"equals",
"(",
"tc",
"consumer",
"tool",
"get",
"name",
"(",
")",
")",
";",
"}"
] |
[
"gets",
"a",
"key",
"for",
"an",
"injection",
"type",
"and",
"an",
"annotation",
"type"
] |
[
"public",
"static",
"<",
"t",
">",
"key",
"<",
"t",
">",
"get",
"(",
"type",
"literal",
"<",
"t",
">",
"type",
"literal",
",",
"class",
"<",
"?",
"extends",
"annotation",
">",
"annotation",
"type",
")",
"{",
"return",
"new",
"key",
"<",
">",
"(",
"type",
"literal",
",",
"strategy",
"for",
"(",
"annotation",
"type",
")",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.