docstring_tokens
list | code_tokens
list |
---|---|
[
"test",
"the",
"property",
"'",
"prefix",
"ns",
"string",
"'"
] |
[
"public",
"void",
"prefix",
"ns",
"string",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"prefix",
"ns",
"string",
"}"
] |
[
"exit",
"a",
"parse",
"tree",
"produced",
"by",
"{",
"@",
"link",
"eql",
"base",
"parser",
"#",
"time",
"unit",
"}"
] |
[
"void",
"exit",
"time",
"unit",
"(",
"eql",
"base",
"parser",
"time",
"unit",
"context",
"ctx",
")",
";"
] |
[
"this",
"implementation",
"returns",
"a",
"description",
"that",
"includes",
"the",
"servlet",
"context",
"resource",
"location"
] |
[
"public",
"string",
"get",
"description",
"(",
")",
"{",
"return",
"\"",
"servlet",
"context",
"resource",
"[",
"\"",
"+",
"this",
"path",
"+",
"\"",
"]",
"\"",
";",
"}"
] |
[
"get",
"a",
"new",
"fragment",
"instance",
"each",
"fragments",
"are",
"automatically",
"cached",
"in",
"this",
"method",
",",
"so",
"you",
"don",
"'",
"t",
"have",
"to",
"do",
"it",
"by",
"yourself",
"if",
"you",
"want",
"to",
"implement",
"instantiation",
"of",
"fragments",
",",
"you",
"should",
"override",
"{",
"@",
"link",
"#",
"create",
"item",
"(",
"int",
")",
"}",
"instead",
"{",
"@",
"inherit",
"doc",
"}"
] |
[
"public",
"fragment",
"get",
"item",
"(",
"int",
"position",
")",
"{",
"fragment",
"f",
"=",
"create",
"item",
"(",
"position",
")",
";",
"/",
"/",
"we",
"should",
"cache",
"fragments",
"manually",
"to",
"access",
"to",
"them",
"later",
"m",
"pages",
"put",
"(",
"position",
",",
"f",
")",
";",
"return",
"f",
";",
"}"
] |
[
"release",
"the",
"{",
"@",
"link",
"iov",
"array",
"}",
"once",
"release",
"further",
"using",
"of",
"it",
"may",
"crash",
"the",
"jvm",
"!"
] |
[
"public",
"void",
"release",
"(",
")",
"{",
"memory",
"release",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"char",
"at",
"the",
"specified",
"index",
"the",
"2",
"bytes",
"starting",
"from",
"the",
"specified",
"index",
"are",
"composed",
"into",
"a",
"char",
"according",
"to",
"the",
"current",
"byte",
"order",
"and",
"returned",
"the",
"position",
"is",
"not",
"changed"
] |
[
"public",
"abstract",
"char",
"get",
"char",
"(",
"int",
"index",
")",
";"
] |
[
"general",
"stressfuzz",
"test",
"of",
"the",
"evaluator",
"with",
"failure",
"construct",
"a",
"large",
"graph",
",",
"and",
"then",
"throw",
"exceptions",
"during",
"building",
"at",
"various",
"points"
] |
[
"public",
"void",
"two",
"rail",
"left",
"right",
"dependencies",
"with",
"failure",
"(",
")",
"throws",
"exception",
"{",
"initialize",
"tester",
"(",
")",
";",
"sky",
"key",
"[",
"]",
"left",
"values",
"=",
"new",
"sky",
"key",
"[",
"test",
"node",
"count",
"]",
";",
"sky",
"key",
"[",
"]",
"right",
"values",
"=",
"new",
"sky",
"key",
"[",
"test",
"node",
"count",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"test",
"node",
"count",
";",
"i",
"+",
"+",
")",
"{",
"left",
"values",
"[",
"i",
"]",
"=",
"graph",
"tester",
"non",
"hermetic",
"key",
"(",
"\"",
"left",
"-",
"\"",
"+",
"i",
")",
";",
"right",
"values",
"[",
"i",
"]",
"=",
"graph",
"tester",
"to",
"sky",
"key",
"(",
"\"",
"right",
"-",
"\"",
"+",
"i",
")",
";",
"if",
"(",
"i",
"=",
"=",
"0",
")",
"{",
"tester",
"get",
"or",
"create",
"(",
"left",
"values",
"[",
"i",
"]",
")",
"add",
"dependency",
"(",
"\"",
"leaf",
"\"",
")",
"set",
"computed",
"value",
"(",
"copy",
")",
";",
"tester",
"get",
"or",
"create",
"(",
"right",
"values",
"[",
"i",
"]",
")",
"add",
"dependency",
"(",
"\"",
"leaf",
"\"",
")",
"set",
"computed",
"value",
"(",
"copy",
")",
";",
"}",
"else",
"{",
"tester",
"get",
"or",
"create",
"(",
"left",
"values",
"[",
"i",
"]",
")",
"add",
"dependency",
"(",
"left",
"values",
"[",
"i",
"-",
"1",
"]",
")",
"add",
"dependency",
"(",
"right",
"values",
"[",
"i",
"-",
"1",
"]",
")",
"set",
"computed",
"value",
"(",
"new",
"pass",
"through",
"selected",
"(",
"left",
"values",
"[",
"i",
"-",
"1",
"]",
")",
")",
";",
"tester",
"get",
"or",
"create",
"(",
"right",
"values",
"[",
"i",
"]",
")",
"add",
"dependency",
"(",
"left",
"values",
"[",
"i",
"-",
"1",
"]",
")",
"add",
"dependency",
"(",
"right",
"values",
"[",
"i",
"-",
"1",
"]",
")",
"set",
"computed",
"value",
"(",
"new",
"pass",
"through",
"selected",
"(",
"right",
"values",
"[",
"i",
"-",
"1",
"]",
")",
")",
";",
"}",
"}",
"tester",
"set",
"(",
"\"",
"leaf",
"\"",
",",
"new",
"string",
"value",
"(",
"\"",
"leaf",
"\"",
")",
")",
";",
"sky",
"key",
"last",
"left",
"=",
"graph",
"tester",
"non",
"hermetic",
"key",
"(",
"\"",
"left",
"-",
"\"",
"+",
"(",
"test",
"node",
"count",
"-",
"1",
")",
")",
";",
"sky",
"key",
"last",
"right",
"=",
"graph",
"tester",
"sky",
"key",
"(",
"\"",
"right",
"-",
"\"",
"+",
"(",
"test",
"node",
"count",
"-",
"1",
")",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"tested",
"nodes",
";",
"i",
"+",
"+",
")",
"{",
"try",
"{",
"tester",
"get",
"or",
"create",
"(",
"left",
"values",
"[",
"i",
"]",
",",
"/",
"*",
"mark",
"as",
"modified",
"=",
"*",
"/",
"true",
")",
"set",
"has",
"error",
"(",
"true",
")",
";",
"tester",
"invalidate",
"(",
")",
";",
"evaluation",
"result",
"<",
"string",
"value",
">",
"result",
"=",
"tester",
"eval",
"(",
"/",
"*",
"keep",
"going",
"=",
"*",
"/",
"false",
",",
"last",
"left",
",",
"last",
"right",
")",
";",
"assert",
"that",
"(",
"result",
"has",
"error",
"(",
")",
")",
"is",
"true",
"(",
")",
";",
"tester",
"differencer",
"invalidate",
"(",
"immutable",
"list",
"of",
"(",
"left",
"values",
"[",
"i",
"]",
")",
")",
";",
"tester",
"invalidate",
"(",
")",
";",
"result",
"=",
"tester",
"eval",
"(",
"/",
"*",
"keep",
"going",
"=",
"*",
"/",
"false",
",",
"last",
"left",
",",
"last",
"right",
")",
";",
"assert",
"that",
"(",
"result",
"has",
"error",
"(",
")",
")",
"is",
"true",
"(",
")",
";",
"tester",
"get",
"or",
"create",
"(",
"left",
"values",
"[",
"i",
"]",
",",
"/",
"*",
"mark",
"as",
"modified",
"=",
"*",
"/",
"true",
")",
"set",
"has",
"error",
"(",
"false",
")",
";",
"tester",
"invalidate",
"(",
")",
";",
"result",
"=",
"tester",
"eval",
"(",
"/",
"*",
"keep",
"going",
"=",
"*",
"/",
"false",
",",
"last",
"left",
",",
"last",
"right",
")",
";",
"assert",
"that",
"(",
"result",
"get",
"(",
"last",
"left",
")",
")",
"is",
"equal",
"to",
"(",
"new",
"string",
"value",
"(",
"\"",
"leaf",
"\"",
")",
")",
";",
"assert",
"that",
"(",
"result",
"get",
"(",
"last",
"right",
")",
")",
"is",
"equal",
"to",
"(",
"new",
"string",
"value",
"(",
"\"",
"leaf",
"\"",
")",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"system",
"err",
"println",
"(",
"\"",
"two",
"rail",
"left",
"right",
"dependencies",
"with",
"failure",
"exception",
"on",
"run",
"\"",
"+",
"i",
")",
";",
"throw",
"e",
";",
"}",
"}",
"}"
] |
[
"complete",
"handler",
"which",
"is",
"executed",
"when",
"async",
"task",
"is",
"completed",
"or",
"fails",
"execution"
] |
[
"void",
"on",
"complete",
"(",
"t",
"value",
",",
"optional",
"<",
"exception",
">",
"ex",
")",
";"
] |
[
"gets",
"the",
"average",
"width",
"of",
"a",
"record",
",",
"in",
"bytes"
] |
[
"public",
"float",
"get",
"average",
"record",
"width",
"(",
")",
";"
] |
[
"test",
"the",
"property",
"'",
"array",
"array",
"of",
"model",
"'"
] |
[
"public",
"void",
"array",
"array",
"of",
"model",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"array",
"array",
"of",
"model",
"}"
] |
[
"specify",
"whether",
"{",
"@",
"link",
"#",
"to",
"message",
"(",
"object",
",",
"session",
")",
"}",
"should",
"marshal",
"to",
"a",
"{",
"@",
"link",
"bytes",
"message",
"}",
"or",
"a",
"{",
"@",
"link",
"text",
"message",
"}",
"the",
"default",
"is",
"{",
"@",
"link",
"message",
"type",
"#",
"bytes",
"}",
",",
"i",
"e",
"this",
"converter",
"marshals",
"to",
"a",
"{",
"@",
"link",
"bytes",
"message",
"}",
"note",
"that",
"the",
"default",
"version",
"of",
"this",
"converter",
"supports",
"{",
"@",
"link",
"message",
"type",
"#",
"bytes",
"}",
"and",
"{",
"@",
"link",
"message",
"type",
"#",
"text",
"}",
"only"
] |
[
"public",
"void",
"set",
"target",
"type",
"(",
"message",
"type",
"target",
"type",
")",
"{",
"assert",
"not",
"null",
"(",
"target",
"type",
",",
"\"",
"message",
"type",
"must",
"not",
"be",
"null",
"\"",
")",
";",
"this",
"target",
"type",
"=",
"target",
"type",
";",
"}"
] |
[
"removes",
"the",
"active",
"workspace"
] |
[
"void",
"remove",
"workspace",
"(",
")",
"{",
"if",
"(",
"active",
"workspace",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"string",
"workspace",
"name",
"=",
"active",
"workspace",
"get",
"name",
"(",
")",
";",
"if",
"(",
"!",
"plugin",
"confirm",
"delete",
"(",
"\"",
"workspace",
":",
"\"",
"+",
"workspace",
"name",
")",
")",
"{",
"return",
";",
"/",
"/",
"user",
"canceled",
"}",
"/",
"/",
"remove",
"the",
"workspace",
"from",
"the",
"framework",
"model",
"tool",
"manager",
"tm",
"=",
"active",
"project",
"get",
"tool",
"manager",
"(",
")",
";",
"tm",
"remove",
"workspace",
"(",
"active",
"workspace",
")",
";",
"}"
] |
[
"update",
"any",
"parameters",
"for",
"this",
"function",
"from",
"parameters",
"defined",
"in",
"this",
"map",
"originally",
"from",
"local",
"symbol",
"map",
",",
"but",
"being",
"modified"
] |
[
"public",
"void",
"store",
"parameters",
"to",
"database",
"(",
"boolean",
"store",
"data",
"types",
",",
"source",
"type",
"srctype",
")",
"{",
"pcode",
"data",
"type",
"manager",
"dt",
"manage",
"=",
"get",
"data",
"type",
"manager",
"(",
")",
";",
"try",
"{",
"list",
"<",
"variable",
">",
"params",
"=",
"new",
"array",
"list",
"<",
"variable",
">",
"(",
")",
";",
"for",
"(",
"param",
"measure",
"pm",
":",
"inputlist",
")",
"{",
"varnode",
"vn",
"=",
"pm",
"get",
"varnode",
"(",
")",
";",
"data",
"type",
"data",
"type",
";",
"/",
"/",
"msg",
"debug",
"(",
"this",
",",
"\"",
"function",
"(",
"\"",
"+",
"func",
"get",
"name",
"(",
")",
"+",
"\"",
")",
"-",
"-",
"param",
"size",
":",
"\"",
"+",
"vn",
"get",
"size",
"(",
")",
"+",
"/",
"/",
"\"",
"-",
"-",
"type",
"before",
"store",
":",
"\"",
"+",
"pm",
"get",
"data",
"type",
"(",
")",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"store",
"data",
"types",
")",
"{",
"data",
"type",
"=",
"pm",
"get",
"data",
"type",
"(",
")",
";",
"}",
"else",
"{",
"data",
"type",
"=",
"dt",
"manage",
"find",
"undefined",
"(",
"vn",
"get",
"size",
"(",
")",
")",
";",
"}",
"variable",
"v",
"=",
"new",
"parameter",
"impl",
"(",
"null",
",",
"data",
"type",
",",
"build",
"storage",
"(",
"vn",
")",
",",
"func",
"get",
"program",
"(",
")",
")",
";",
"/",
"/",
"msg",
"debug",
"(",
"this",
",",
"\"",
"function",
"(",
"\"",
"+",
"func",
"get",
"name",
"(",
")",
"+",
"\"",
")",
"-",
"-",
"param",
":",
"\"",
"+",
"v",
"to",
"string",
"(",
")",
"+",
"/",
"/",
"\"",
"-",
"-",
"type",
":",
"\"",
"+",
"data",
"type",
"get",
"name",
"(",
")",
")",
";",
"params",
"add",
"(",
"v",
")",
";",
"}",
"func",
"update",
"function",
"(",
"modelname",
",",
"null",
",",
"params",
",",
"function",
"update",
"type",
"dynamic",
"storage",
"all",
"params",
",",
"true",
",",
"srctype",
")",
";",
"if",
"(",
"!",
"param",
"storage",
"matches",
"(",
"func",
",",
"params",
")",
")",
"{",
"/",
"/",
"try",
"again",
"if",
"dynamic",
"storage",
"assignment",
"does",
"not",
"match",
"decompiler",
"'",
"s",
"/",
"/",
"force",
"into",
"custom",
"storage",
"mode",
"func",
"update",
"function",
"(",
"modelname",
",",
"null",
",",
"params",
",",
"function",
"update",
"type",
"custom",
"storage",
",",
"true",
",",
"srctype",
")",
";",
"}",
"}",
"catch",
"(",
"invalid",
"input",
"exception",
"e",
")",
"{",
"msg",
"error",
"(",
"this",
",",
"e",
"get",
"message",
"(",
")",
")",
";",
"}",
"catch",
"(",
"duplicate",
"name",
"exception",
"e",
")",
"{",
"msg",
"error",
"(",
"this",
",",
"e",
"get",
"message",
"(",
")",
")",
";",
"}",
"}"
] |
[
"returns",
"an",
"array",
"containing",
"the",
"same",
"values",
"as",
"{",
"@",
"code",
"array",
"}",
",",
"but",
"guaranteed",
"to",
"be",
"of",
"a",
"specified",
"minimum",
"length",
"if",
"{",
"@",
"code",
"array",
"}",
"already",
"has",
"a",
"length",
"of",
"at",
"least",
"{",
"@",
"code",
"min",
"length",
"}",
",",
"it",
"is",
"returned",
"directly",
"otherwise",
",",
"a",
"new",
"array",
"of",
"size",
"{",
"@",
"code",
"min",
"length",
"+",
"padding",
"}",
"is",
"returned",
",",
"containing",
"the",
"values",
"of",
"{",
"@",
"code",
"array",
"}",
",",
"and",
"zeroes",
"in",
"the",
"remaining",
"places"
] |
[
"public",
"static",
"short",
"[",
"]",
"ensure",
"capacity",
"(",
"short",
"[",
"]",
"array",
",",
"int",
"min",
"length",
",",
"int",
"padding",
")",
"{",
"check",
"argument",
"(",
"min",
"length",
">",
"=",
"0",
",",
"\"",
"invalid",
"min",
"length",
":",
"%",
"s",
"\"",
",",
"min",
"length",
")",
";",
"check",
"argument",
"(",
"padding",
">",
"=",
"0",
",",
"\"",
"invalid",
"padding",
":",
"%",
"s",
"\"",
",",
"padding",
")",
";",
"return",
"(",
"array",
"length",
"<",
"min",
"length",
")",
"?",
"arrays",
"copy",
"of",
"(",
"array",
",",
"min",
"length",
"+",
"padding",
")",
":",
"array",
";",
"}"
] |
[
"remove",
"an",
"inode",
"from",
"parent",
"'",
"s",
"children",
"list",
"the",
"caller",
"of",
"this",
"method",
"needs",
"to",
"make",
"sure",
"that",
"parent",
"is",
"in",
"the",
"given",
"snapshot",
"\"",
"latest",
"\""
] |
[
"public",
"boolean",
"remove",
"child",
"(",
"i",
"node",
"directory",
"parent",
",",
"i",
"node",
"child",
",",
"int",
"latest",
"snapshot",
"id",
")",
"{",
"/",
"/",
"for",
"a",
"directory",
"that",
"is",
"not",
"a",
"renamed",
"node",
",",
"if",
"is",
"in",
"latest",
"snapshot",
"returns",
"/",
"/",
"false",
",",
"the",
"directory",
"is",
"not",
"in",
"the",
"latest",
"snapshot",
",",
"thus",
"we",
"do",
"not",
"need",
"/",
"/",
"to",
"record",
"the",
"removed",
"child",
"in",
"any",
"snapshot",
"/",
"/",
"for",
"a",
"directory",
"that",
"was",
"moved",
"/",
"renamed",
",",
"note",
"that",
"if",
"the",
"directory",
"is",
"in",
"/",
"/",
"any",
"of",
"the",
"previous",
"snapshots",
",",
"we",
"will",
"create",
"a",
"reference",
"node",
"for",
"the",
"/",
"/",
"directory",
"while",
"rename",
",",
"and",
"is",
"in",
"latest",
"snapshot",
"will",
"return",
"true",
"in",
"that",
"/",
"/",
"scenario",
"(",
"if",
"all",
"previous",
"snapshots",
"have",
"been",
"deleted",
",",
"is",
"in",
"latest",
"snapshot",
"/",
"/",
"still",
"returns",
"false",
")",
"thus",
"if",
"is",
"in",
"latest",
"snapshot",
"returns",
"false",
",",
"the",
"/",
"/",
"directory",
"node",
"cannot",
"be",
"in",
"any",
"snapshot",
"(",
"not",
"in",
"current",
"tree",
",",
"nor",
"in",
"/",
"/",
"previous",
"src",
"tree",
")",
"thus",
"we",
"do",
"not",
"need",
"to",
"record",
"the",
"removed",
"child",
"in",
"/",
"/",
"any",
"snapshot",
"children",
"diff",
"diff",
"=",
"diffs",
"check",
"and",
"add",
"latest",
"snapshot",
"diff",
"(",
"latest",
"snapshot",
"id",
",",
"parent",
")",
"diff",
";",
"final",
"undo",
"info",
"<",
"i",
"node",
">",
"undo",
"info",
"=",
"diff",
"delete",
"(",
"child",
")",
";",
"boolean",
"removed",
"=",
"false",
";",
"try",
"{",
"removed",
"=",
"parent",
"remove",
"child",
"(",
"child",
")",
";",
"}",
"finally",
"{",
"if",
"(",
"!",
"removed",
")",
"{",
"diff",
"undo",
"delete",
"(",
"child",
",",
"undo",
"info",
")",
";",
"}",
"}",
"return",
"removed",
";",
"}"
] |
[
"returns",
"the",
"start",
"time",
"of",
"the",
"first",
"loaded",
"primary",
"playlist",
",",
"or",
"{",
"@",
"link",
"c",
"#",
"time",
"unset",
"}",
"if",
"no",
"media",
"playlist",
"has",
"been",
"loaded"
] |
[
"long",
"get",
"initial",
"start",
"time",
"us",
"(",
")",
";"
] |
[
"test",
"the",
"property",
"'",
"id",
"'"
] |
[
"public",
"void",
"id",
"test",
"(",
")",
"{",
"/",
"/",
"todo",
":",
"test",
"id",
"}"
] |
[
"get",
"the",
"thread",
"count",
"for",
"this",
"job",
"'",
"s",
"commit",
"operations"
] |
[
"private",
"int",
"get",
"thread",
"count",
"(",
"final",
"job",
"context",
"context",
")",
"{",
"return",
"context",
"get",
"configuration",
"(",
")",
"get",
"int",
"(",
"fs",
"s3a",
"committer",
"threads",
",",
"default",
"committer",
"threads",
")",
";",
"}"
] |
[
"queues",
"the",
"change",
"of",
"operations",
"request",
"of",
"a",
"channel",
",",
"which",
"will",
"change",
"the",
"interested",
"operations",
"of",
"the",
"channel",
"sometime",
"in",
"future",
"this",
"is",
"a",
"non",
"-",
"blocking",
"method",
"and",
"does",
"not",
"guarantee",
"that",
"the",
"operations",
"have",
"changed",
"when",
"this",
"method",
"returns"
] |
[
"public",
"void",
"change",
"ops",
"(",
"selection",
"key",
"key",
",",
"int",
"interested",
"ops",
")",
"{",
"pending",
"commands",
"add",
"(",
"new",
"change",
"key",
"ops",
"command",
"(",
"key",
",",
"interested",
"ops",
")",
")",
";",
"selector",
"wakeup",
"(",
")",
";",
"}"
] |
[
"resume",
"the",
"resources",
"of",
"the",
"current",
"transaction",
"transaction",
"synchronization",
"will",
"be",
"resumed",
"afterwards",
"the",
"default",
"implementation",
"throws",
"a",
"transaction",
"suspension",
"not",
"supported",
"exception",
",",
"assuming",
"that",
"transaction",
"suspension",
"is",
"generally",
"not",
"supported"
] |
[
"protected",
"mono",
"<",
"void",
">",
"do",
"resume",
"(",
"transaction",
"synchronization",
"manager",
"synchronization",
"manager",
",",
"@",
"nullable",
"object",
"transaction",
",",
"object",
"suspended",
"resources",
")",
"throws",
"transaction",
"exception",
"{",
"throw",
"new",
"transaction",
"suspension",
"not",
"supported",
"exception",
"(",
"\"",
"transaction",
"manager",
"[",
"\"",
"+",
"get",
"class",
"(",
")",
"get",
"name",
"(",
")",
"+",
"\"",
"]",
"does",
"not",
"support",
"transaction",
"suspension",
"\"",
")",
";",
"}"
] |
[
"get",
"prefix",
"ns",
"array"
] |
[
"public",
"list",
"<",
"integer",
">",
"get",
"prefix",
"ns",
"array",
"(",
")",
"{",
"return",
"prefix",
"ns",
"array",
";",
"}"
] |
[
"the",
"output",
"zip",
"for",
"resource",
"-",
"processed",
"data",
"binding",
"expressions",
"(",
"i",
"e",
"a",
"zip",
"of",
"xml",
"files",
")",
"if",
"null",
",",
"data",
"binding",
"processing",
"is",
"skipped",
"(",
"and",
"data",
"binding",
"expressions",
"aren",
"'",
"t",
"allowed",
"in",
"layout",
"resources",
")"
] |
[
"public",
"android",
"resource",
"merging",
"action",
"builder",
"set",
"data",
"binding",
"info",
"zip",
"(",
"artifact",
"zip",
")",
"{",
"this",
"data",
"binding",
"info",
"zip",
"=",
"zip",
";",
"return",
"this",
";",
"}"
] |
[
"gets",
"a",
"{",
"@",
"link",
"store",
"metadata",
"snapshot",
"}",
"for",
"the",
"current",
"directory",
"this",
"method",
"is",
"safe",
"to",
"call",
"in",
"all",
"lifecycle",
"of",
"the",
"index",
"shard",
",",
"without",
"having",
"to",
"worry",
"about",
"the",
"current",
"state",
"of",
"the",
"engine",
"and",
"concurrent",
"flushes"
] |
[
"public",
"store",
"metadata",
"snapshot",
"snapshot",
"store",
"metadata",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"assert",
"thread",
"holds",
"lock",
"(",
"mutex",
")",
"=",
"=",
"false",
":",
"\"",
"snapshotting",
"store",
"metadata",
"under",
"mutex",
"\"",
";",
"engine",
"index",
"commit",
"ref",
"index",
"commit",
"=",
"null",
";",
"store",
"inc",
"ref",
"(",
")",
";",
"try",
"{",
"synchronized",
"(",
"engine",
"mutex",
")",
"{",
"/",
"/",
"if",
"the",
"engine",
"is",
"not",
"running",
",",
"we",
"can",
"access",
"the",
"store",
"directly",
",",
"but",
"we",
"need",
"to",
"make",
"sure",
"no",
"one",
"starts",
"/",
"/",
"the",
"engine",
"on",
"us",
"if",
"the",
"engine",
"is",
"running",
",",
"we",
"can",
"get",
"a",
"snapshot",
"via",
"the",
"deletion",
"policy",
"of",
"the",
"engine",
"final",
"engine",
"engine",
"=",
"get",
"engine",
"or",
"null",
"(",
")",
";",
"if",
"(",
"engine",
"!",
"=",
"null",
")",
"{",
"index",
"commit",
"=",
"engine",
"acquire",
"last",
"index",
"commit",
"(",
"false",
")",
";",
"}",
"if",
"(",
"index",
"commit",
"=",
"=",
"null",
")",
"{",
"return",
"store",
"get",
"metadata",
"(",
"null",
",",
"true",
")",
";",
"}",
"}",
"return",
"store",
"get",
"metadata",
"(",
"index",
"commit",
"get",
"index",
"commit",
"(",
")",
")",
";",
"}",
"finally",
"{",
"store",
"dec",
"ref",
"(",
")",
";",
"i",
"o",
"utils",
"close",
"(",
"index",
"commit",
")",
";",
"}",
"}"
] |
[
"put",
"pet",
":",
"update",
"an",
"existing",
"pet"
] |
[
"default",
"response",
"entity",
"<",
"void",
">",
"update",
"pet",
"(",
"@",
"api",
"param",
"(",
"value",
"=",
"\"",
"pet",
"object",
"that",
"needs",
"to",
"be",
"added",
"to",
"the",
"store",
"\"",
",",
"required",
"=",
"true",
")",
"@",
"valid",
"@",
"request",
"body",
"pet",
"body",
")",
"{",
"return",
"new",
"response",
"entity",
"<",
">",
"(",
"http",
"status",
"not",
"implemented",
")",
";",
"}"
] |
[
"call",
"this",
"method",
"to",
"signal",
"that",
"key",
"bindings",
"for",
"one",
"or",
"more",
"actions",
"have",
"changed"
] |
[
"public",
"void",
"key",
"bindings",
"changed",
"(",
")",
"{",
"window",
"manager",
"schedule",
"update",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"given",
"class",
"name",
",",
"unchanged",
"if",
"mixed",
"-",
"case",
"class",
"names",
"are",
"allowed",
",",
"or",
"the",
"lower",
"-",
"case",
"version",
"otherwise"
] |
[
"private",
"string",
"mixed",
"case",
"class",
"name",
"(",
"string",
"class",
"name",
")",
"{",
"return",
"use",
"mixed",
"case",
"class",
"names",
"?",
"class",
"name",
":",
"class",
"name",
"to",
"lower",
"case",
"(",
")",
";",
"}"
] |
[
"handle",
"a",
"requests",
"with",
"no",
"candidate",
"handlers",
"(",
"return",
"a",
"400",
"bad",
"request",
"error",
")"
] |
[
"private",
"void",
"handle",
"bad",
"request",
"(",
"string",
"uri",
",",
"rest",
"request",
"method",
"method",
",",
"rest",
"channel",
"channel",
")",
"throws",
"i",
"o",
"exception",
"{",
"try",
"(",
"x",
"content",
"builder",
"builder",
"=",
"channel",
"new",
"error",
"builder",
"(",
")",
")",
"{",
"builder",
"start",
"object",
"(",
")",
";",
"{",
"builder",
"field",
"(",
"\"",
"error",
"\"",
",",
"\"",
"no",
"handler",
"found",
"for",
"uri",
"[",
"\"",
"+",
"uri",
"+",
"\"",
"]",
"and",
"method",
"[",
"\"",
"+",
"method",
"+",
"\"",
"]",
"\"",
")",
";",
"}",
"builder",
"end",
"object",
"(",
")",
";",
"channel",
"send",
"response",
"(",
"new",
"bytes",
"rest",
"response",
"(",
"bad",
"request",
",",
"builder",
")",
")",
";",
"}",
"}"
] |
[
"allows",
"implementations",
"to",
"request",
"that",
"this",
"link",
"show",
"a",
"confirmation",
"dialog",
",",
"and",
"use",
"post",
"if",
"confirmed",
"suitable",
"for",
"links",
"which",
"perform",
"an",
"action",
"rather",
"than",
"simply",
"displaying",
"a",
"page"
] |
[
"public",
"boolean",
"get",
"requires",
"confirmation",
"(",
")",
"{",
"return",
"false",
";",
"}"
] |
[
"return",
"the",
"object",
"where",
"the",
"render",
"function",
"belongs",
"(",
"optional",
")"
] |
[
"string",
"get",
"render",
"object",
"(",
")",
";"
] |
[
"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",
"\"",
")",
";",
"}"
] |
[
"get",
"the",
"list",
"of",
"locations",
"found",
"in",
"the",
"mount",
"table",
"the",
"first",
"result",
"is",
"the",
"highest",
"priority",
"path"
] |
[
"public",
"list",
"<",
"remote",
"location",
">",
"get",
"destinations",
"(",
")",
"{",
"return",
"collections",
"unmodifiable",
"list",
"(",
"this",
"destinations",
")",
";",
"}"
] |
[
"returns",
"the",
"top",
"-",
"down",
"action",
"cache",
"to",
"use",
",",
"or",
"null"
] |
[
"public",
"top",
"down",
"action",
"cache",
"get",
"top",
"down",
"action",
"cache",
"(",
")",
"{",
"return",
"top",
"down",
"action",
"cache",
";",
"}"
] |
[
"helper",
"for",
"evaluating",
"the",
"build",
"language",
"expression",
"\"",
"glob",
"(",
"includes",
",",
"excludes",
")",
"\"",
"in",
"the",
"context",
"of",
"this",
"package",
"called",
"by",
"package",
"factory",
"via",
"package"
] |
[
"public",
"list",
"<",
"string",
">",
"glob",
"unsorted",
"(",
"list",
"<",
"string",
">",
"includes",
",",
"list",
"<",
"string",
">",
"excludes",
",",
"boolean",
"exclude",
"dirs",
",",
"boolean",
"allow",
"empty",
")",
"throws",
"i",
"o",
"exception",
",",
"bad",
"glob",
"exception",
",",
"interrupted",
"exception",
"{",
"/",
"/",
"start",
"globbing",
"all",
"patterns",
"in",
"parallel",
"the",
"get",
"glob",
"(",
")",
"calls",
"below",
"will",
"/",
"/",
"block",
"on",
"an",
"individual",
"pattern",
"'",
"s",
"results",
",",
"but",
"the",
"other",
"globs",
"can",
"/",
"/",
"continue",
"in",
"the",
"background",
"for",
"(",
"string",
"pattern",
":",
"includes",
")",
"{",
"@",
"suppress",
"warnings",
"(",
"\"",
"unused",
"\"",
")",
"future",
"<",
"?",
">",
"possibly",
"ignored",
"error",
"=",
"get",
"glob",
"unsorted",
"async",
"(",
"pattern",
",",
"exclude",
"dirs",
")",
";",
"}",
"hash",
"set",
"<",
"string",
">",
"results",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
")",
";",
"for",
"(",
"string",
"pattern",
":",
"includes",
")",
"{",
"list",
"<",
"string",
">",
"items",
"=",
"get",
"glob",
"unsorted",
"(",
"pattern",
",",
"exclude",
"dirs",
")",
";",
"if",
"(",
"!",
"allow",
"empty",
"&",
"&",
"items",
"is",
"empty",
"(",
")",
")",
"{",
"throw",
"new",
"bad",
"glob",
"exception",
"(",
"\"",
"glob",
"pattern",
"'",
"\"",
"+",
"pattern",
"+",
"\"",
"'",
"didn",
"'",
"t",
"match",
"anything",
",",
"but",
"allow",
"empty",
"is",
"set",
"to",
"false",
"\"",
"+",
"\"",
"(",
"the",
"default",
"value",
"of",
"allow",
"empty",
"can",
"be",
"set",
"with",
"\"",
"+",
"\"",
"-",
"-",
"incompatible",
"disallow",
"empty",
"glob",
")",
"\"",
")",
";",
"}",
"results",
"add",
"all",
"(",
"items",
")",
";",
"}",
"try",
"{",
"unix",
"glob",
"remove",
"excludes",
"(",
"results",
",",
"excludes",
")",
";",
"}",
"catch",
"(",
"unix",
"glob",
"bad",
"pattern",
"ex",
")",
"{",
"throw",
"new",
"bad",
"glob",
"exception",
"(",
"ex",
"get",
"message",
"(",
")",
")",
";",
"}",
"if",
"(",
"!",
"allow",
"empty",
"&",
"&",
"results",
"is",
"empty",
"(",
")",
")",
"{",
"throw",
"new",
"bad",
"glob",
"exception",
"(",
"\"",
"all",
"files",
"in",
"the",
"glob",
"have",
"been",
"excluded",
",",
"but",
"allow",
"empty",
"is",
"set",
"to",
"false",
"\"",
"+",
"\"",
"(",
"the",
"default",
"value",
"of",
"allow",
"empty",
"can",
"be",
"set",
"with",
"\"",
"+",
"\"",
"-",
"-",
"incompatible",
"disallow",
"empty",
"glob",
")",
"\"",
")",
";",
"}",
"return",
"new",
"array",
"list",
"<",
">",
"(",
"results",
")",
";",
"}"
] |
[
"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",
"\"",
")",
";",
"}"
] |
[
"test",
"the",
"wrapper",
"parameter",
"for",
"the",
"apixml",
"urls",
"to",
"avoid",
"xss"
] |
[
"public",
"void",
"wrapper",
"xss",
"(",
")",
"throws",
"exception",
"{",
"string",
"wrapper",
"=",
"\"",
"html",
"%",
"2",
"0xmlns",
"=",
"\\",
"\"",
"http",
":",
"/",
"/",
"www",
"w",
"3",
"org",
"/",
"1999",
"/",
"xhtml",
"\\",
"\"",
">",
"<",
"script",
">",
"alert",
"(",
"%",
"27xss",
"%",
"2",
"0",
"detected",
"%",
"27",
")",
"<",
"/",
"script",
">",
"<",
"/",
"html",
">",
"<",
"!",
"-",
"-",
"\"",
";",
"check",
"wrapper",
"param",
"(",
"wrapper",
",",
"http",
"servlet",
"response",
"sc",
"bad",
"request",
",",
"messages",
"api",
"wrapper",
"param",
"invalid",
"(",
")",
")",
";",
"}"
] |
[
"create",
"the",
"action",
"for",
"to",
"pop",
"up",
"the",
"search",
"dialog"
] |
[
"private",
"void",
"create",
"actions",
"(",
")",
"{",
"string",
"sub",
"group",
"=",
"get",
"class",
"(",
")",
"get",
"name",
"(",
")",
";",
"new",
"action",
"builder",
"(",
"\"",
"search",
"text",
"\"",
",",
"get",
"name",
"(",
")",
")",
"menu",
"path",
"(",
"\"",
"&",
"search",
"\"",
",",
"\"",
"program",
"&",
"text",
"\"",
")",
"menu",
"group",
"(",
"\"",
"search",
"\"",
",",
"sub",
"group",
")",
"key",
"binding",
"(",
"\"",
"ctrl",
"shift",
"e",
"\"",
")",
"description",
"(",
"description",
")",
"help",
"location",
"(",
"new",
"help",
"location",
"(",
"help",
"topics",
"search",
",",
"\"",
"search",
"text",
"\"",
")",
")",
"with",
"context",
"(",
"navigatable",
"action",
"context",
"class",
")",
"supports",
"default",
"tool",
"context",
"(",
"true",
")",
"on",
"action",
"(",
"c",
"-",
">",
"{",
"set",
"navigatable",
"(",
"c",
"get",
"navigatable",
"(",
")",
")",
";",
"display",
"dialog",
"(",
"c",
")",
";",
"}",
")",
"build",
"and",
"install",
"(",
"tool",
")",
";",
"new",
"action",
"builder",
"(",
"\"",
"repeat",
"text",
"search",
"\"",
",",
"get",
"name",
"(",
")",
")",
"menu",
"path",
"(",
"\"",
"&",
"search",
"\"",
",",
"\"",
"repeat",
"text",
"search",
"\"",
")",
"menu",
"group",
"(",
"\"",
"search",
"\"",
",",
"sub",
"group",
")",
"key",
"binding",
"(",
"\"",
"ctrl",
"shift",
"f3",
"\"",
")",
"description",
"(",
"description",
")",
"supports",
"default",
"tool",
"context",
"(",
"true",
")",
"help",
"location",
"(",
"new",
"help",
"location",
"(",
"help",
"topics",
"search",
",",
"\"",
"repeat",
"text",
"search",
"\"",
")",
")",
"with",
"context",
"(",
"navigatable",
"action",
"context",
"class",
")",
"enabled",
"when",
"(",
"c",
"-",
">",
"searched",
"once",
")",
"on",
"action",
"(",
"c",
"-",
">",
"{",
"set",
"navigatable",
"(",
"c",
"get",
"navigatable",
"(",
")",
")",
";",
"search",
"dialog",
"repeat",
"search",
"(",
")",
";",
"}",
")",
"build",
"and",
"install",
"(",
"tool",
")",
";",
"}"
] |
[
"invokes",
"{",
"@",
"link",
"#",
"build",
"feed",
"items",
"(",
"map",
",",
"http",
"servlet",
"request",
",",
"http",
"servlet",
"response",
")",
"}",
"to",
"get",
"a",
"list",
"of",
"feed",
"items"
] |
[
"protected",
"final",
"void",
"build",
"feed",
"entries",
"(",
"map",
"<",
"string",
",",
"object",
">",
"model",
",",
"channel",
"channel",
",",
"http",
"servlet",
"request",
"request",
",",
"http",
"servlet",
"response",
"response",
")",
"throws",
"exception",
"{",
"list",
"<",
"item",
">",
"items",
"=",
"build",
"feed",
"items",
"(",
"model",
",",
"request",
",",
"response",
")",
";",
"channel",
"set",
"items",
"(",
"items",
")",
";",
"}"
] |
[
"constructs",
"a",
"named",
"{",
"@",
"link",
"code",
"point",
"char",
"stream",
"}",
"which",
"provides",
"access",
"to",
"the",
"unicode",
"code",
"points",
"stored",
"in",
"{",
"@",
"code",
"code",
"point",
"buffer",
"}"
] |
[
"public",
"static",
"code",
"point",
"char",
"stream",
"from",
"buffer",
"(",
"code",
"point",
"buffer",
"code",
"point",
"buffer",
",",
"string",
"name",
")",
"{",
"/",
"/",
"java",
"lacks",
"generics",
"on",
"primitive",
"types",
"/",
"/",
"/",
"/",
"to",
"avoid",
"lots",
"of",
"calls",
"to",
"virtual",
"methods",
"in",
"the",
"/",
"/",
"very",
"hot",
"codepath",
"of",
"la",
"(",
")",
"below",
",",
"we",
"construct",
"one",
"/",
"/",
"of",
"three",
"concrete",
"subclasses",
"/",
"/",
"/",
"/",
"the",
"concrete",
"subclasses",
"directly",
"access",
"the",
"code",
"/",
"/",
"points",
"stored",
"in",
"the",
"underlying",
"array",
"(",
"byte",
"[",
"]",
",",
"/",
"/",
"char",
"[",
"]",
",",
"or",
"int",
"[",
"]",
")",
",",
"so",
"we",
"can",
"avoid",
"lots",
"of",
"virtual",
"/",
"/",
"method",
"calls",
"to",
"byte",
"buffer",
"get",
"(",
"offset",
")",
"switch",
"(",
"code",
"point",
"buffer",
"get",
"type",
"(",
")",
")",
"{",
"case",
"byte",
":",
"return",
"new",
"code",
"point",
"8",
"bit",
"char",
"stream",
"(",
"code",
"point",
"buffer",
"position",
"(",
")",
",",
"code",
"point",
"buffer",
"remaining",
"(",
")",
",",
"name",
",",
"code",
"point",
"buffer",
"byte",
"array",
"(",
")",
",",
"code",
"point",
"buffer",
"array",
"offset",
"(",
")",
")",
";",
"case",
"char",
":",
"return",
"new",
"code",
"point",
"1",
"6",
"bit",
"char",
"stream",
"(",
"code",
"point",
"buffer",
"position",
"(",
")",
",",
"code",
"point",
"buffer",
"remaining",
"(",
")",
",",
"name",
",",
"code",
"point",
"buffer",
"char",
"array",
"(",
")",
",",
"code",
"point",
"buffer",
"array",
"offset",
"(",
")",
")",
";",
"case",
"int",
":",
"return",
"new",
"code",
"point",
"3",
"2",
"bit",
"char",
"stream",
"(",
"code",
"point",
"buffer",
"position",
"(",
")",
",",
"code",
"point",
"buffer",
"remaining",
"(",
")",
",",
"name",
",",
"code",
"point",
"buffer",
"int",
"array",
"(",
")",
",",
"code",
"point",
"buffer",
"array",
"offset",
"(",
")",
")",
";",
"}",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"\"",
"not",
"reached",
"\"",
")",
";",
"}"
] |
[
"create",
"a",
"file",
"input",
"stream",
"using",
"{",
"@",
"link",
"file",
"input",
"stream",
"#",
"file",
"input",
"stream",
"(",
"file",
")",
"}",
"wraps",
"the",
"created",
"input",
"stream",
"to",
"intercept",
"read",
"calls",
"before",
"delegating",
"to",
"the",
"wrapped",
"stream"
] |
[
"public",
"file",
"input",
"stream",
"get",
"file",
"input",
"stream",
"(",
"@",
"nullable",
"fs",
"volume",
"spi",
"volume",
",",
"file",
"f",
")",
"throws",
"file",
"not",
"found",
"exception",
"{",
"final",
"long",
"begin",
"=",
"profiling",
"event",
"hook",
"before",
"metadata",
"op",
"(",
"volume",
",",
"open",
")",
";",
"file",
"input",
"stream",
"fis",
"=",
"null",
";",
"try",
"{",
"fault",
"injector",
"event",
"hook",
"before",
"metadata",
"op",
"(",
"volume",
",",
"open",
")",
";",
"fis",
"=",
"new",
"wrapped",
"file",
"input",
"stream",
"(",
"volume",
",",
"f",
")",
";",
"profiling",
"event",
"hook",
"after",
"metadata",
"op",
"(",
"volume",
",",
"open",
",",
"begin",
")",
";",
"return",
"fis",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"org",
"apache",
"commons",
"io",
"i",
"o",
"utils",
"close",
"quietly",
"(",
"fis",
")",
";",
"on",
"failure",
"(",
"volume",
",",
"begin",
")",
";",
"throw",
"e",
";",
"}",
"}"
] |
[
"creates",
"a",
"graph",
"token",
"stream",
"with",
"{",
"@",
"link",
"boolean",
"query",
"#",
"get",
"max",
"clause",
"count",
"(",
")",
"}",
"expansions",
"at",
"the",
"last",
"position"
] |
[
"private",
"static",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"[",
"]",
"create",
"giant",
"graph",
"multi",
"terms",
"(",
")",
"{",
"list",
"<",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
">",
"tokens",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"bytes",
"ref",
"term",
"1",
"=",
"new",
"bytes",
"ref",
"(",
"\"",
"foo",
"\"",
")",
";",
"bytes",
"ref",
"term",
"2",
"=",
"new",
"bytes",
"ref",
"(",
"\"",
"bar",
"\"",
")",
";",
"tokens",
"add",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"(",
"term",
"2",
",",
"1",
",",
"1",
")",
")",
";",
"tokens",
"add",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"(",
"term",
"1",
",",
"0",
",",
"2",
")",
")",
";",
"tokens",
"add",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"(",
"term",
"2",
",",
"1",
",",
"1",
")",
")",
";",
"tokens",
"add",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"(",
"term",
"2",
",",
"1",
",",
"1",
")",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"boolean",
"query",
"get",
"max",
"clause",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"tokens",
"add",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"(",
"term",
"1",
",",
"0",
",",
"1",
")",
")",
";",
"}",
"return",
"tokens",
"to",
"array",
"(",
"new",
"canned",
"binary",
"token",
"stream",
"binary",
"token",
"[",
"0",
"]",
")",
";",
"}"
] |
[
"reads",
"an",
"int",
"of",
"{",
"@",
"code",
"length",
"}",
"bits",
"from",
"{",
"@",
"code",
"src",
"}",
"starting",
"at",
"{",
"@",
"code",
"least",
"significant",
"bit",
"index",
"}"
] |
[
"/",
"*",
"package",
"*",
"/",
"static",
"int",
"read",
"bits",
"(",
"byte",
"src",
",",
"int",
"length",
",",
"int",
"least",
"significant",
"bit",
"index",
")",
"{",
"return",
"(",
"src",
">",
">",
"least",
"significant",
"bit",
"index",
")",
"&",
"(",
"255",
">",
">",
">",
"(",
"8",
"-",
"length",
")",
")",
";",
"}"
] |
[
"puts",
"elements",
"in",
"the",
"next",
"available",
"index",
"in",
"the",
"array",
"if",
"the",
"array",
"is",
"full",
"the",
"oldest",
"element",
"is",
"replaced",
"with",
"the",
"new",
"value"
] |
[
"public",
"synchronized",
"void",
"write",
"(",
"t",
"element",
")",
"{",
"int",
"new",
"size",
"=",
"number",
"of",
"elements",
"increment",
"and",
"get",
"(",
")",
";",
"if",
"(",
"new",
"size",
">",
"capacity",
")",
"{",
"buffer",
"[",
"oldest",
"]",
"=",
"element",
";",
"oldest",
"=",
"+",
"+",
"oldest",
"%",
"capacity",
";",
"number",
"of",
"elements",
"decrement",
"and",
"get",
"(",
")",
";",
"}",
"else",
"{",
"int",
"index",
"=",
"(",
"oldest",
"+",
"number",
"of",
"elements",
"get",
"(",
")",
"-",
"1",
")",
"%",
"capacity",
";",
"buffer",
"[",
"index",
"]",
"=",
"element",
";",
"}",
"}"
] |
[
"deactivates",
"the",
"configured",
"message",
"endpoint"
] |
[
"public",
"void",
"stop",
"(",
")",
"{",
"synchronized",
"(",
"this",
"lifecycle",
"monitor",
")",
"{",
"if",
"(",
"this",
"running",
")",
"{",
"resource",
"adapter",
"resource",
"adapter",
"=",
"get",
"resource",
"adapter",
"(",
")",
";",
"assert",
"state",
"(",
"resource",
"adapter",
"!",
"=",
"null",
",",
"\"",
"no",
"resource",
"adapter",
"set",
"\"",
")",
";",
"resource",
"adapter",
"endpoint",
"deactivation",
"(",
"get",
"message",
"endpoint",
"factory",
"(",
")",
",",
"get",
"activation",
"spec",
"(",
")",
")",
";",
"this",
"running",
"=",
"false",
";",
"}",
"}",
"}"
] |
[
"test",
"ordinals",
"of",
"{",
"@",
"link",
"order",
"}",
",",
"since",
"serialization",
"depends",
"on",
"it"
] |
[
"public",
"void",
"test",
"valid",
"order",
"ordinals",
"(",
")",
"{",
"assert",
"that",
"(",
"order",
"none",
"ordinal",
"(",
")",
",",
"equal",
"to",
"(",
"0",
")",
")",
";",
"assert",
"that",
"(",
"order",
"score",
"ordinal",
"(",
")",
",",
"equal",
"to",
"(",
"1",
")",
")",
";",
"}"
] |
[
"get",
"float",
"item"
] |
[
"public",
"float",
"get",
"float",
"item",
"(",
")",
"{",
"return",
"float",
"item",
";",
"}"
] |
[
"execute",
"the",
"given",
"{",
"@",
"code",
"task",
"}"
] |
[
"void",
"execute",
"(",
"runnable",
"task",
",",
"long",
"start",
"timeout",
")",
";"
] |
[
"sets",
"a",
"proxy",
"to",
"connect",
"through"
] |
[
"public",
"void",
"set",
"proxy",
"(",
"proxy",
"proxy",
")",
"{",
"this",
"proxy",
"=",
"proxy",
";",
"}"
] |
[
"this",
"is",
"the",
"log",
"output",
"debug",
"[",
"main",
"]",
"-",
"ooo",
"using",
"connection",
"[",
"org",
"hsqldb",
"jdbc",
"j",
"d",
"b",
"c",
"connection",
"@",
"5ae",
"1a",
"5c",
"7",
"]",
"debug",
"[",
"main",
"]",
"-",
"=",
"=",
">",
"preparing",
":",
"select",
"from",
"users",
"where",
"name",
"in",
"(",
"?",
")",
"and",
"id",
"=",
"?",
"debug",
"[",
"main",
"]",
"-",
"=",
"=",
">",
"parameters",
":",
"1",
"(",
"integer",
")",
",",
"1",
"(",
"integer",
")",
"there",
"are",
"two",
"parameter",
"mappings",
"but",
"defaul",
"parameter",
"handler",
"maps",
"them",
"both",
"to",
"input",
"paremeter",
"(",
"integer",
")"
] |
[
"void",
"should",
"get",
"a",
"user",
"static",
"(",
")",
"{",
"try",
"(",
"sql",
"session",
"sql",
"session",
"=",
"sql",
"session",
"factory",
"open",
"session",
"(",
")",
")",
"{",
"mapper",
"mapper",
"=",
"sql",
"session",
"get",
"mapper",
"(",
"mapper",
"class",
")",
";",
"user",
"user",
"=",
"mapper",
"get",
"user",
"static",
"(",
"1",
")",
";",
"assertions",
"assert",
"not",
"null",
"(",
"user",
")",
";",
"assertions",
"assert",
"equals",
"(",
"\"",
"user",
"1",
"\"",
",",
"user",
"get",
"name",
"(",
")",
")",
";",
"}",
"}"
] |
[
"order",
"not",
"found"
] |
[
"public",
"void",
"should",
"see",
"4",
"0",
"4",
"after",
"get",
"order",
"by",
"id",
"(",
")",
"{",
"long",
"order",
"id",
"=",
"null",
";",
"api",
"get",
"order",
"by",
"id",
"(",
")",
"order",
"id",
"path",
"(",
"order",
"id",
")",
"execute",
"(",
"r",
"-",
">",
"r",
"pretty",
"peek",
"(",
")",
")",
";",
"/",
"/",
"todo",
":",
"test",
"validations",
"}"
] |
[
"convert",
"flink",
"table",
"to",
"pandas",
"data",
"frame"
] |
[
"public",
"static",
"custom",
"iterator",
"<",
"byte",
"[",
"]",
">",
"collect",
"as",
"pandas",
"data",
"frame",
"(",
"table",
"table",
",",
"int",
"max",
"arrow",
"batch",
"size",
")",
"throws",
"exception",
"{",
"check",
"arrow",
"usable",
"(",
")",
";",
"buffer",
"allocator",
"allocator",
"=",
"get",
"root",
"allocator",
"(",
")",
"new",
"child",
"allocator",
"(",
"\"",
"collect",
"as",
"pandas",
"data",
"frame",
"\"",
",",
"0",
",",
"long",
"max",
"value",
")",
";",
"row",
"type",
"row",
"type",
"=",
"(",
"row",
"type",
")",
"table",
"get",
"schema",
"(",
")",
"to",
"row",
"data",
"type",
"(",
")",
"get",
"logical",
"type",
"(",
")",
";",
"vector",
"schema",
"root",
"root",
"=",
"vector",
"schema",
"root",
"create",
"(",
"arrow",
"utils",
"to",
"arrow",
"schema",
"(",
"row",
"type",
")",
",",
"allocator",
")",
";",
"byte",
"array",
"output",
"stream",
"baos",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
")",
";",
"arrow",
"stream",
"writer",
"arrow",
"stream",
"writer",
"=",
"new",
"arrow",
"stream",
"writer",
"(",
"root",
",",
"null",
",",
"baos",
")",
";",
"arrow",
"stream",
"writer",
"start",
"(",
")",
";",
"arrow",
"writer",
"arrow",
"writer",
";",
"iterator",
"<",
"row",
">",
"results",
"=",
"table",
"execute",
"(",
")",
"collect",
"(",
")",
";",
"iterator",
"<",
"row",
">",
"append",
"only",
"results",
";",
"if",
"(",
"is",
"append",
"only",
"table",
"(",
"table",
")",
")",
"{",
"append",
"only",
"results",
"=",
"results",
";",
"}",
"else",
"{",
"append",
"only",
"results",
"=",
"filter",
"out",
"retract",
"rows",
"(",
"results",
")",
";",
"}",
"iterator",
"converted",
"results",
";",
"if",
"(",
"is",
"blink",
"planner",
"(",
"table",
")",
")",
"{",
"arrow",
"writer",
"=",
"create",
"row",
"data",
"arrow",
"writer",
"(",
"root",
",",
"row",
"type",
")",
";",
"converted",
"results",
"=",
"new",
"iterator",
"<",
"row",
"data",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"has",
"next",
"(",
")",
"{",
"return",
"append",
"only",
"results",
"has",
"next",
"(",
")",
";",
"}",
"@",
"override",
"public",
"row",
"data",
"next",
"(",
")",
"{",
"/",
"/",
"the",
"select",
"table",
"sink",
"of",
"blink",
"planner",
"will",
"convert",
"the",
"table",
"schema",
"/",
"/",
"and",
"we",
"/",
"/",
"need",
"to",
"keep",
"the",
"table",
"schema",
"used",
"here",
"be",
"consistent",
"with",
"the",
"/",
"/",
"converted",
"table",
"schema",
"table",
"schema",
"converted",
"table",
"schema",
"=",
"select",
"table",
"sink",
"schema",
"converter",
"convert",
"time",
"attribute",
"to",
"regular",
"timestamp",
"(",
"select",
"table",
"sink",
"schema",
"converter",
"change",
"default",
"conversion",
"class",
"(",
"table",
"get",
"schema",
"(",
")",
")",
")",
";",
"data",
"format",
"converters",
"data",
"format",
"converter",
"converter",
"=",
"data",
"format",
"converters",
"get",
"converter",
"for",
"data",
"type",
"(",
"converted",
"table",
"schema",
"to",
"row",
"data",
"type",
"(",
")",
")",
";",
"return",
"(",
"row",
"data",
")",
"converter",
"to",
"internal",
"(",
"append",
"only",
"results",
"next",
"(",
")",
")",
";",
"}",
"}",
";",
"}",
"else",
"{",
"arrow",
"writer",
"=",
"create",
"row",
"arrow",
"writer",
"(",
"root",
",",
"row",
"type",
")",
";",
"converted",
"results",
"=",
"append",
"only",
"results",
";",
"}",
"return",
"new",
"custom",
"iterator",
"<",
"byte",
"[",
"]",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"has",
"next",
"(",
")",
"{",
"return",
"converted",
"results",
"has",
"next",
"(",
")",
";",
"}",
"@",
"override",
"public",
"byte",
"[",
"]",
"next",
"(",
")",
"{",
"try",
"{",
"int",
"i",
"=",
"0",
";",
"while",
"(",
"converted",
"results",
"has",
"next",
"(",
")",
"&",
"&",
"i",
"<",
"max",
"arrow",
"batch",
"size",
")",
"{",
"i",
"+",
"+",
";",
"arrow",
"writer",
"write",
"(",
"converted",
"results",
"next",
"(",
")",
")",
";",
"}",
"arrow",
"writer",
"finish",
"(",
")",
";",
"arrow",
"stream",
"writer",
"write",
"batch",
"(",
")",
";",
"return",
"baos",
"to",
"byte",
"array",
"(",
")",
";",
"}",
"catch",
"(",
"throwable",
"t",
")",
"{",
"string",
"msg",
"=",
"\"",
"failed",
"to",
"serialize",
"the",
"data",
"of",
"the",
"table",
"\"",
";",
"log",
"error",
"(",
"msg",
",",
"t",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"msg",
",",
"t",
")",
";",
"}",
"finally",
"{",
"arrow",
"writer",
"reset",
"(",
")",
";",
"baos",
"reset",
"(",
")",
";",
"if",
"(",
"!",
"has",
"next",
"(",
")",
")",
"{",
"root",
"close",
"(",
")",
";",
"allocator",
"close",
"(",
")",
";",
"}",
"}",
"}",
"}",
";",
"}"
] |
[
"finish",
"up",
"processing",
"of",
"the",
"method"
] |
[
"private",
"void",
"finish",
"processing",
"if",
"necessary",
"(",
")",
"{",
"if",
"(",
"insns",
"!",
"=",
"null",
")",
"{",
"return",
";",
"}",
"insns",
"=",
"unprocessed",
"insns",
"finish",
"processing",
"and",
"get",
"list",
"(",
")",
";",
"positions",
"=",
"position",
"list",
"make",
"(",
"insns",
",",
"position",
"info",
")",
";",
"locals",
"=",
"local",
"list",
"make",
"(",
"insns",
")",
";",
"catches",
"=",
"unprocessed",
"catches",
"build",
"(",
")",
";",
"/",
"/",
"let",
"them",
"be",
"gc",
"'",
"ed",
"unprocessed",
"insns",
"=",
"null",
";",
"unprocessed",
"catches",
"=",
"null",
";",
"}"
] |
[
"returns",
"an",
"{",
"@",
"code",
"unsigned",
"integer",
"}",
"corresponding",
"to",
"a",
"given",
"bit",
"representation",
"the",
"argument",
"is",
"interpreted",
"as",
"an",
"unsigned",
"32",
"-",
"bit",
"value",
"specifically",
",",
"the",
"sign",
"bit",
"of",
"{",
"@",
"code",
"bits",
"}",
"is",
"interpreted",
"as",
"a",
"normal",
"bit",
",",
"and",
"all",
"other",
"bits",
"are",
"treated",
"as",
"usual",
"if",
"the",
"argument",
"is",
"nonnegative",
",",
"the",
"returned",
"result",
"will",
"be",
"equal",
"to",
"{",
"@",
"code",
"bits",
"}",
",",
"otherwise",
",",
"the",
"result",
"will",
"be",
"equal",
"to",
"{",
"@",
"code",
"2",
"^",
"32",
"+",
"bits",
"}",
"to",
"represent",
"unsigned",
"decimal",
"constants",
",",
"consider",
"{",
"@",
"link",
"#",
"value",
"of",
"(",
"long",
")",
"}",
"instead"
] |
[
"public",
"static",
"unsigned",
"integer",
"from",
"int",
"bits",
"(",
"int",
"bits",
")",
"{",
"return",
"new",
"unsigned",
"integer",
"(",
"bits",
")",
";",
"}"
] |
[
"returns",
"the",
"corresponding",
"configured",
"target",
",",
"if",
"it",
"exists",
"note",
"that",
"this",
"will",
"only",
"return",
"anything",
"useful",
"after",
"a",
"call",
"to",
"update",
"(",
")",
"with",
"the",
"same",
"label"
] |
[
"protected",
"configured",
"target",
"get",
"configured",
"target",
"(",
"string",
"label",
")",
"throws",
"interrupted",
"exception",
"{",
"return",
"get",
"configured",
"target",
"(",
"label",
",",
"get",
"target",
"configuration",
"(",
")",
")",
";",
"}"
] |
[
"draws",
"all",
"children",
"{",
"@",
"link",
"#",
"apply",
"transform",
"(",
"batch",
",",
"matrix",
"4",
")",
"}",
"should",
"be",
"called",
"before",
"and",
"{",
"@",
"link",
"#",
"reset",
"transform",
"(",
"batch",
")",
"}",
"after",
"this",
"method",
"if",
"{",
"@",
"link",
"#",
"set",
"transform",
"(",
"boolean",
")",
"transform",
"}",
"is",
"true",
"if",
"{",
"@",
"link",
"#",
"set",
"transform",
"(",
"boolean",
")",
"transform",
"}",
"is",
"false",
"these",
"methods",
"don",
"'",
"t",
"need",
"to",
"be",
"called",
",",
"children",
"positions",
"are",
"temporarily",
"offset",
"by",
"the",
"group",
"position",
"when",
"drawn",
"this",
"method",
"avoids",
"drawing",
"children",
"completely",
"outside",
"the",
"{",
"@",
"link",
"#",
"set",
"culling",
"area",
"(",
"rectangle",
")",
"culling",
"area",
"}",
",",
"if",
"set"
] |
[
"protected",
"void",
"draw",
"children",
"(",
"batch",
"batch",
",",
"float",
"parent",
"alpha",
")",
"{",
"parent",
"alpha",
"*",
"=",
"this",
"color",
"a",
";",
"snapshot",
"array",
"<",
"actor",
">",
"children",
"=",
"this",
"children",
";",
"actor",
"[",
"]",
"actors",
"=",
"children",
"begin",
"(",
")",
";",
"rectangle",
"culling",
"area",
"=",
"this",
"culling",
"area",
";",
"if",
"(",
"culling",
"area",
"!",
"=",
"null",
")",
"{",
"/",
"/",
"draw",
"children",
"only",
"if",
"inside",
"culling",
"area",
"float",
"cull",
"left",
"=",
"culling",
"area",
"x",
";",
"float",
"cull",
"right",
"=",
"cull",
"left",
"+",
"culling",
"area",
"width",
";",
"float",
"cull",
"bottom",
"=",
"culling",
"area",
"y",
";",
"float",
"cull",
"top",
"=",
"cull",
"bottom",
"+",
"culling",
"area",
"height",
";",
"if",
"(",
"transform",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"children",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"actor",
"child",
"=",
"actors",
"[",
"i",
"]",
";",
"if",
"(",
"!",
"child",
"is",
"visible",
"(",
")",
")",
"continue",
";",
"float",
"cx",
"=",
"child",
"x",
",",
"cy",
"=",
"child",
"y",
";",
"if",
"(",
"cx",
"<",
"=",
"cull",
"right",
"&",
"&",
"cy",
"<",
"=",
"cull",
"top",
"&",
"&",
"cx",
"+",
"child",
"width",
">",
"=",
"cull",
"left",
"&",
"&",
"cy",
"+",
"child",
"height",
">",
"=",
"cull",
"bottom",
")",
"child",
"draw",
"(",
"batch",
",",
"parent",
"alpha",
")",
";",
"}",
"}",
"else",
"{",
"/",
"/",
"no",
"transform",
"for",
"this",
"group",
",",
"offset",
"each",
"child",
"float",
"offset",
"x",
"=",
"x",
",",
"offset",
"y",
"=",
"y",
";",
"x",
"=",
"0",
";",
"y",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"children",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"actor",
"child",
"=",
"actors",
"[",
"i",
"]",
";",
"if",
"(",
"!",
"child",
"is",
"visible",
"(",
")",
")",
"continue",
";",
"float",
"cx",
"=",
"child",
"x",
",",
"cy",
"=",
"child",
"y",
";",
"if",
"(",
"cx",
"<",
"=",
"cull",
"right",
"&",
"&",
"cy",
"<",
"=",
"cull",
"top",
"&",
"&",
"cx",
"+",
"child",
"width",
">",
"=",
"cull",
"left",
"&",
"&",
"cy",
"+",
"child",
"height",
">",
"=",
"cull",
"bottom",
")",
"{",
"child",
"x",
"=",
"cx",
"+",
"offset",
"x",
";",
"child",
"y",
"=",
"cy",
"+",
"offset",
"y",
";",
"child",
"draw",
"(",
"batch",
",",
"parent",
"alpha",
")",
";",
"child",
"x",
"=",
"cx",
";",
"child",
"y",
"=",
"cy",
";",
"}",
"}",
"x",
"=",
"offset",
"x",
";",
"y",
"=",
"offset",
"y",
";",
"}",
"}",
"else",
"{",
"/",
"/",
"no",
"culling",
",",
"draw",
"all",
"children",
"if",
"(",
"transform",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"children",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"actor",
"child",
"=",
"actors",
"[",
"i",
"]",
";",
"if",
"(",
"!",
"child",
"is",
"visible",
"(",
")",
")",
"continue",
";",
"child",
"draw",
"(",
"batch",
",",
"parent",
"alpha",
")",
";",
"}",
"}",
"else",
"{",
"/",
"/",
"no",
"transform",
"for",
"this",
"group",
",",
"offset",
"each",
"child",
"float",
"offset",
"x",
"=",
"x",
",",
"offset",
"y",
"=",
"y",
";",
"x",
"=",
"0",
";",
"y",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"children",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"actor",
"child",
"=",
"actors",
"[",
"i",
"]",
";",
"if",
"(",
"!",
"child",
"is",
"visible",
"(",
")",
")",
"continue",
";",
"float",
"cx",
"=",
"child",
"x",
",",
"cy",
"=",
"child",
"y",
";",
"child",
"x",
"=",
"cx",
"+",
"offset",
"x",
";",
"child",
"y",
"=",
"cy",
"+",
"offset",
"y",
";",
"child",
"draw",
"(",
"batch",
",",
"parent",
"alpha",
")",
";",
"child",
"x",
"=",
"cx",
";",
"child",
"y",
"=",
"cy",
";",
"}",
"x",
"=",
"offset",
"x",
";",
"y",
"=",
"offset",
"y",
";",
"}",
"}",
"children",
"end",
"(",
")",
";",
"}"
] |
[
"a",
"retry",
"policy",
"for",
"remote",
"exception",
"set",
"a",
"default",
"policy",
"with",
"some",
"explicit",
"handlers",
"for",
"specific",
"exceptions"
] |
[
"public",
"static",
"final",
"retry",
"policy",
"retry",
"by",
"remote",
"exception",
"(",
"retry",
"policy",
"default",
"policy",
",",
"map",
"<",
"class",
"<",
"?",
"extends",
"exception",
">",
",",
"retry",
"policy",
">",
"exception",
"to",
"policy",
"map",
")",
"{",
"return",
"new",
"remote",
"exception",
"dependent",
"retry",
"(",
"default",
"policy",
",",
"exception",
"to",
"policy",
"map",
")",
";",
"}"
] |
[
"transform",
"the",
"extracted",
"the",
"body",
"with",
"a",
"function",
",",
"e",
"g",
"extracting",
"a",
"property",
",",
"and",
"assert",
"the",
"mapped",
"value",
"with",
"a",
"{",
"@",
"link",
"matcher",
"}"
] |
[
"<",
"t",
"extends",
"s",
",",
"r",
">",
"t",
"value",
"(",
"function",
"<",
"b",
",",
"r",
">",
"body",
"mapper",
",",
"matcher",
"<",
"?",
"super",
"r",
">",
"matcher",
")",
";"
] |
[
"set",
"the",
"value",
"of",
"the",
"{",
"@",
"code",
"if",
"-",
"modified",
"-",
"since",
"}",
"header",
"the",
"date",
"should",
"be",
"specified",
"as",
"the",
"number",
"of",
"milliseconds",
"since",
"january",
"1",
",",
"1970",
"gmt"
] |
[
"s",
"if",
"modified",
"since",
"(",
"zoned",
"date",
"time",
"if",
"modified",
"since",
")",
";"
] |
[
"get",
"user",
"{",
"username",
"}",
":",
"get",
"user",
"by",
"user",
"name"
] |
[
"response",
"entity",
"<",
"user",
">",
"get",
"user",
"by",
"name",
"(",
"@",
"api",
"param",
"(",
"value",
"=",
"\"",
"the",
"name",
"that",
"needs",
"to",
"be",
"fetched",
"use",
"user",
"1",
"for",
"testing",
"\"",
",",
"required",
"=",
"true",
")",
"@",
"path",
"variable",
"(",
"\"",
"username",
"\"",
")",
"string",
"username",
")",
";"
] |
[
"creates",
"a",
"nodes",
"stats",
"request",
"against",
"one",
"or",
"more",
"nodes",
"pass",
"{",
"@",
"code",
"null",
"}",
"or",
"an",
"empty",
"array",
"for",
"all",
"nodes"
] |
[
"public",
"static",
"nodes",
"stats",
"request",
"nodes",
"stats",
"request",
"(",
"string",
"nodes",
"ids",
")",
"{",
"return",
"new",
"nodes",
"stats",
"request",
"(",
"nodes",
"ids",
")",
";",
"}"
] |
[
"enables",
"or",
"disables",
"counters",
"for",
"the",
"named",
"outputs",
"by",
"default",
"these",
"counters",
"are",
"disabled",
"multiple",
"outputs",
"supports",
"counters",
",",
"by",
"default",
"the",
"are",
"disabled",
"the",
"counters",
"group",
"is",
"the",
"{",
"@",
"link",
"multiple",
"outputs",
"}",
"class",
"name",
"the",
"names",
"of",
"the",
"counters",
"are",
"the",
"same",
"as",
"the",
"named",
"outputs",
"for",
"multi",
"named",
"outputs",
"the",
"name",
"of",
"the",
"counter",
"is",
"the",
"concatenation",
"of",
"the",
"named",
"output",
",",
"and",
"underscore",
"'",
"'",
"and",
"the",
"multiname"
] |
[
"public",
"static",
"void",
"set",
"counters",
"enabled",
"(",
"job",
"conf",
"conf",
",",
"boolean",
"enabled",
")",
"{",
"conf",
"set",
"boolean",
"(",
"counters",
"enabled",
",",
"enabled",
")",
";",
"}"
] |
[
"sets",
"the",
"y",
"pos",
"relative",
"to",
"the",
"overall",
"layout"
] |
[
"public",
"void",
"set",
"y",
"pos",
"(",
"int",
"y",
"pos",
",",
"int",
"height",
"above",
",",
"int",
"height",
"below",
")",
"{",
"this",
"start",
"y",
"=",
"y",
"pos",
";",
"this",
"height",
"above",
"=",
"height",
"above",
";",
"this",
"height",
"below",
"=",
"height",
"below",
";",
"}"
] |
[
"finds",
"the",
"last",
"record",
"of",
"a",
"single",
"table",
"person",
"p",
"=",
"lite",
"pal",
"find",
"last",
"(",
"person",
"class",
")",
";",
"note",
"that",
"the",
"associated",
"models",
"won",
"'",
"t",
"be",
"loaded",
"by",
"default",
"considering",
"the",
"efficiency",
",",
"but",
"you",
"can",
"do",
"that",
"by",
"using",
"{",
"@",
"link",
"lite",
"pal",
"#",
"find",
"last",
"(",
"class",
",",
"boolean",
")",
"}"
] |
[
"public",
"static",
"<",
"t",
">",
"t",
"find",
"last",
"(",
"class",
"<",
"t",
">",
"model",
"class",
")",
"{",
"return",
"operator",
"find",
"last",
"(",
"model",
"class",
")",
";",
"}"
] |
[
"bind",
"listener",
"by",
"closing",
"and",
"opening",
"the",
"listener"
] |
[
"private",
"static",
"void",
"bind",
"listener",
"(",
"server",
"connector",
"listener",
")",
"throws",
"exception",
"{",
"/",
"/",
"jetty",
"has",
"a",
"bug",
"where",
"you",
"can",
"'",
"t",
"reopen",
"a",
"listener",
"that",
"previously",
"/",
"/",
"failed",
"to",
"open",
"w",
"/",
"o",
"issuing",
"a",
"close",
"first",
",",
"even",
"if",
"the",
"port",
"is",
"changed",
"listener",
"close",
"(",
")",
";",
"listener",
"open",
"(",
")",
";",
"log",
"info",
"(",
"\"",
"jetty",
"bound",
"to",
"port",
"\"",
"+",
"listener",
"get",
"local",
"port",
"(",
")",
")",
";",
"}"
] |
[
"writes",
"the",
"object",
"value",
"into",
"the",
"{",
"@",
"code",
"block",
"builder",
"}"
] |
[
"void",
"write",
"object",
"(",
"block",
"builder",
"block",
"builder",
",",
"object",
"value",
")",
";"
] |
[
"get",
"wrapped",
"array"
] |
[
"public",
"list",
"<",
"integer",
">",
"get",
"wrapped",
"array",
"(",
")",
"{",
"return",
"wrapped",
"array",
";",
"}"
] |
[
"find",
"the",
"fields",
"constant",
"that",
"matches",
"field",
"id",
",",
"or",
"null",
"if",
"its",
"not",
"found"
] |
[
"public",
"static",
"fields",
"find",
"by",
"thrift",
"id",
"(",
"int",
"field",
"id",
")",
"{",
"switch",
"(",
"field",
"id",
")",
"{",
"case",
"1",
":",
"/",
"/",
"e",
"return",
"e",
";",
"case",
"2",
":",
"/",
"/",
"ite",
"return",
"ite",
";",
"default",
":",
"return",
"null",
";",
"}",
"}"
] |
[
"gets",
"is",
"autoincrement"
] |
[
"public",
"string",
"get",
"is",
"autoincrement",
"(",
")",
"{",
"return",
"is",
"autoincrement",
";",
"}"
] |
[
"close",
"the",
"event",
"reader"
] |
[
"public",
"void",
"close",
"(",
")",
"throws",
"i",
"o",
"exception",
"{",
"if",
"(",
"in",
"!",
"=",
"null",
")",
"{",
"in",
"close",
"(",
")",
";",
"}",
"in",
"=",
"null",
";",
"}"
] |
[
"adds",
"an",
"executable",
"and",
"its",
"runfiles",
",",
"which",
"is",
"necessary",
"for",
"executing",
"the",
"spawn",
"itself",
"(",
"e",
"g",
"a",
"compiler",
")",
",",
"in",
"contrast",
"to",
"artifacts",
"that",
"are",
"necessary",
"for",
"the",
"spawn",
"to",
"do",
"its",
"work",
"(",
"e",
"g",
"source",
"code",
")"
] |
[
"public",
"builder",
"add",
"tool",
"(",
"files",
"to",
"run",
"provider",
"tool",
")",
"{",
"add",
"transitive",
"tools",
"(",
"tool",
"get",
"files",
"to",
"run",
"(",
")",
")",
";",
"add",
"runfiles",
"supplier",
"(",
"tool",
"get",
"runfiles",
"supplier",
"(",
")",
")",
";",
"return",
"this",
";",
"}"
] |
[
"reconfigure",
"this",
"connector",
"most",
"implementations",
"will",
"not",
"override",
"this",
",",
"using",
"the",
"default",
"implementation",
"that",
"calls",
"{",
"@",
"link",
"#",
"stop",
"(",
")",
"}",
"followed",
"by",
"{",
"@",
"link",
"#",
"start",
"(",
"map",
")",
"}",
"implementations",
"only",
"need",
"to",
"override",
"this",
"if",
"they",
"want",
"to",
"handle",
"this",
"process",
"more",
"efficiently",
",",
"e",
"g",
"without",
"shutting",
"down",
"network",
"connections",
"to",
"the",
"external",
"system"
] |
[
"public",
"void",
"reconfigure",
"(",
"map",
"<",
"string",
",",
"string",
">",
"props",
")",
"{",
"stop",
"(",
")",
";",
"start",
"(",
"props",
")",
";",
"}"
] |
[
"see",
"the",
"edsl",
"examples",
"at",
"{",
"@",
"link",
"org",
"elasticsearch",
"common",
"inject",
"binder",
"}"
] |
[
"void",
"annotated",
"with",
"(",
"class",
"<",
"?",
"extends",
"annotation",
">",
"annotation",
"type",
")",
";"
] |
[
"marshals",
"the",
"object",
"graph",
"with",
"the",
"given",
"root",
"into",
"the",
"provided",
"{",
"@",
"link",
"result",
"}",
",",
"writing",
"binary",
"data",
"to",
"a",
"{",
"@",
"link",
"mime",
"container",
"}"
] |
[
"void",
"marshal",
"(",
"object",
"graph",
",",
"result",
"result",
",",
"@",
"nullable",
"mime",
"container",
"mime",
"container",
")",
"throws",
"xml",
"mapping",
"exception",
",",
"i",
"o",
"exception",
";"
] |
[
"put",
"remember",
"me",
"authentication",
"enabled"
] |
[
"public",
"static",
"void",
"put",
"remember",
"me",
"authentication",
"enabled",
"(",
"final",
"request",
"context",
"context",
",",
"final",
"boolean",
"enabled",
")",
"{",
"context",
"get",
"flow",
"scope",
"(",
")",
"put",
"(",
"\"",
"remember",
"me",
"authentication",
"enabled",
"\"",
",",
"enabled",
")",
";",
"}"
] |
[
"builds",
"{",
"@",
"link",
"join",
"graph",
"}",
"containing",
"{",
"@",
"code",
"plan",
"}",
"node"
] |
[
"public",
"static",
"join",
"graph",
"build",
"shallow",
"from",
"(",
"plan",
"node",
"plan",
",",
"lookup",
"lookup",
")",
"{",
"join",
"graph",
"graph",
"=",
"plan",
"accept",
"(",
"new",
"builder",
"(",
"true",
",",
"lookup",
")",
",",
"new",
"context",
"(",
")",
")",
";",
"return",
"graph",
";",
"}"
] |
[
"returns",
"the",
"least",
"value",
"present",
"in",
"{",
"@",
"code",
"array",
"}",
",",
"using",
"the",
"same",
"rules",
"of",
"comparison",
"as",
"{",
"@",
"link",
"math",
"#",
"min",
"(",
"double",
",",
"double",
")",
"}"
] |
[
"public",
"static",
"double",
"min",
"(",
"double",
"array",
")",
"{",
"check",
"argument",
"(",
"array",
"length",
">",
"0",
")",
";",
"double",
"min",
"=",
"array",
"[",
"0",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"1",
";",
"i",
"<",
"array",
"length",
";",
"i",
"+",
"+",
")",
"{",
"min",
"=",
"math",
"min",
"(",
"min",
",",
"array",
"[",
"i",
"]",
")",
";",
"}",
"return",
"min",
";",
"}"
] |
[
"called",
"when",
"a",
"download",
"is",
"removed"
] |
[
"default",
"void",
"on",
"download",
"removed",
"(",
"download",
"manager",
"download",
"manager",
",",
"download",
"download",
")",
"{",
"}"
] |
[
"set",
"the",
"sql",
"string",
"that",
"will",
"be",
"executed",
"on",
"all",
"new",
"connections",
"when",
"they",
"are",
"created",
",",
"before",
"they",
"are",
"added",
"to",
"the",
"pool",
"if",
"this",
"query",
"fails",
",",
"it",
"will",
"be",
"treated",
"as",
"a",
"failed",
"connection",
"attempt"
] |
[
"public",
"void",
"set",
"connection",
"init",
"sql",
"(",
"string",
"connection",
"init",
"sql",
")",
"{",
"check",
"if",
"sealed",
"(",
")",
";",
"this",
"connection",
"init",
"sql",
"=",
"connection",
"init",
"sql",
";",
"}"
] |
[
"parser",
"the",
"raw",
"error",
"log"
] |
[
"default",
"browser",
"error",
"log",
"parser",
"data",
"binary",
"(",
"string",
"data",
"binary",
"base",
"6",
"4",
")",
"{",
"try",
"{",
"browser",
"error",
"log",
"log",
"=",
"new",
"browser",
"error",
"log",
"(",
")",
";",
"org",
"apache",
"skywalking",
"apm",
"network",
"language",
"agent",
"v",
"3",
"browser",
"error",
"log",
"browser",
"error",
"log",
"=",
"org",
"apache",
"skywalking",
"apm",
"network",
"language",
"agent",
"v",
"3",
"browser",
"error",
"log",
"parse",
"from",
"(",
"base",
"6",
"4",
"get",
"decoder",
"(",
")",
"decode",
"(",
"data",
"binary",
"base",
"6",
"4",
")",
")",
";",
"log",
"set",
"service",
"(",
"browser",
"error",
"log",
"get",
"service",
"(",
")",
")",
";",
"log",
"set",
"service",
"version",
"(",
"browser",
"error",
"log",
"get",
"service",
"version",
"(",
")",
")",
";",
"log",
"set",
"time",
"(",
"browser",
"error",
"log",
"get",
"time",
"(",
")",
")",
";",
"log",
"set",
"page",
"path",
"(",
"browser",
"error",
"log",
"get",
"page",
"path",
"(",
")",
")",
";",
"log",
"set",
"category",
"(",
"error",
"category",
"value",
"of",
"(",
"browser",
"error",
"log",
"get",
"category",
"(",
")",
"name",
"(",
")",
"to",
"upper",
"case",
"(",
")",
")",
")",
";",
"log",
"set",
"grade",
"(",
"browser",
"error",
"log",
"get",
"grade",
"(",
")",
")",
";",
"log",
"set",
"message",
"(",
"browser",
"error",
"log",
"get",
"message",
"(",
")",
")",
";",
"log",
"set",
"line",
"(",
"browser",
"error",
"log",
"get",
"line",
"(",
")",
")",
";",
"log",
"set",
"col",
"(",
"browser",
"error",
"log",
"get",
"col",
"(",
")",
")",
";",
"log",
"set",
"stack",
"(",
"browser",
"error",
"log",
"get",
"stack",
"(",
")",
")",
";",
"log",
"set",
"error",
"url",
"(",
"browser",
"error",
"log",
"get",
"error",
"url",
"(",
")",
")",
";",
"log",
"set",
"first",
"reported",
"error",
"(",
"browser",
"error",
"log",
"get",
"first",
"reported",
"error",
"(",
")",
")",
";",
"return",
"log",
";",
"}",
"catch",
"(",
"invalid",
"protocol",
"buffer",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"}"
] |
[
"calls",
"{",
"@",
"link",
"org",
"apache",
"flink",
"streaming",
"api",
"operators",
"stream",
"operator",
"#",
"initialize",
"state",
"(",
")",
"}",
"calls",
"{",
"@",
"link",
"org",
"apache",
"flink",
"streaming",
"api",
"operators",
"setupable",
"stream",
"operator",
"#",
"setup",
"(",
"stream",
"task",
",",
"stream",
"config",
",",
"output",
")",
"}",
"if",
"it",
"was",
"not",
"called",
"before"
] |
[
"public",
"void",
"initialize",
"state",
"(",
"operator",
"subtask",
"state",
"jm",
"operator",
"state",
"handles",
",",
"operator",
"subtask",
"state",
"tm",
"operator",
"state",
"handles",
")",
"throws",
"exception",
"{",
"check",
"state",
"(",
"!",
"initialize",
"called",
",",
"\"",
"test",
"harness",
"has",
"already",
"been",
"initialized",
"have",
"you",
"\"",
"+",
"\"",
"opened",
"this",
"harness",
"before",
"initializing",
"it",
"?",
"\"",
")",
";",
"if",
"(",
"!",
"setup",
"called",
")",
"{",
"setup",
"(",
")",
";",
"}",
"if",
"(",
"jm",
"operator",
"state",
"handles",
"!",
"=",
"null",
")",
"{",
"task",
"state",
"snapshot",
"jm",
"task",
"state",
"snapshot",
"=",
"new",
"task",
"state",
"snapshot",
"(",
")",
";",
"jm",
"task",
"state",
"snapshot",
"put",
"subtask",
"state",
"by",
"operator",
"i",
"d",
"(",
"operator",
"get",
"operator",
"i",
"d",
"(",
")",
",",
"jm",
"operator",
"state",
"handles",
")",
";",
"task",
"state",
"manager",
"set",
"reported",
"checkpoint",
"id",
"(",
"0",
")",
";",
"task",
"state",
"manager",
"set",
"job",
"manager",
"task",
"state",
"snapshots",
"by",
"checkpoint",
"id",
"(",
"collections",
"singleton",
"map",
"(",
"0l",
",",
"jm",
"task",
"state",
"snapshot",
")",
")",
";",
"if",
"(",
"tm",
"operator",
"state",
"handles",
"!",
"=",
"null",
")",
"{",
"task",
"state",
"snapshot",
"tm",
"task",
"state",
"snapshot",
"=",
"new",
"task",
"state",
"snapshot",
"(",
")",
";",
"tm",
"task",
"state",
"snapshot",
"put",
"subtask",
"state",
"by",
"operator",
"i",
"d",
"(",
"operator",
"get",
"operator",
"i",
"d",
"(",
")",
",",
"tm",
"operator",
"state",
"handles",
")",
";",
"task",
"state",
"manager",
"set",
"task",
"manager",
"task",
"state",
"snapshots",
"by",
"checkpoint",
"id",
"(",
"collections",
"singleton",
"map",
"(",
"0l",
",",
"tm",
"task",
"state",
"snapshot",
")",
")",
";",
"}",
"}",
"operator",
"initialize",
"state",
"(",
"mock",
"task",
"create",
"stream",
"task",
"state",
"initializer",
"(",
")",
")",
";",
"initialize",
"called",
"=",
"true",
";",
"}"
] |
[
"get",
"current",
"domain",
"file",
"path",
"or",
"null"
] |
[
"public",
"string",
"get",
"domain",
"file",
"path",
"(",
")",
"{",
"return",
"domain",
"file",
"path",
";",
"}"
] |
[
"export",
"the",
"test",
"integration"
] |
[
"void",
"export",
"test",
"integration",
"(",
"test",
"integration",
"test",
"integration",
")",
";"
] |
[
"post",
"usercreate",
"with",
"array"
] |
[
"public",
"<",
"t",
">",
"t",
"execute",
"(",
"function",
"<",
"response",
",",
"t",
">",
"handler",
")",
"{",
"return",
"handler",
"apply",
"(",
"rest",
"assured",
"given",
"(",
")",
"spec",
"(",
"req",
"spec",
"build",
"(",
")",
")",
"expect",
"(",
")",
"spec",
"(",
"resp",
"spec",
"build",
"(",
")",
")",
"when",
"(",
")",
"request",
"(",
"req",
"method",
",",
"req",
"uri",
")",
")",
";",
"}"
] |
[
"return",
"the",
"type",
"of",
"the",
"html",
"input",
"element",
"to",
"generate",
":",
"\"",
"checkbox",
"\"",
"or",
"\"",
"radio",
"\""
] |
[
"protected",
"abstract",
"string",
"get",
"input",
"type",
"(",
")",
";"
] |
[
"returns",
"the",
"field",
"model",
"that",
"contains",
"the",
"field",
"factory",
"that",
"generated",
"this",
"field"
] |
[
"public",
"field",
"format",
"model",
"get",
"field",
"model",
"(",
")",
"{",
"return",
"factory",
"get",
"field",
"model",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"quotient",
"of",
"the",
"given",
"unknown",
"integer",
"value",
"and",
"this",
"integer",
"value"
] |
[
"public",
"integer",
"value",
"divide",
"of",
"(",
"unknown",
"integer",
"value",
"other",
")",
"{",
"return",
"divide",
"of",
"(",
"(",
"integer",
"value",
")",
"other",
")",
";",
"}"
] |
[
"compares",
"two",
"{",
"@",
"code",
"double",
"}",
"values",
"as",
"specified",
"by",
"{",
"@",
"link",
"double",
"#",
"compare",
"}",
",",
"if",
"the",
"result",
"of",
"this",
"comparison",
"chain",
"has",
"not",
"already",
"been",
"determined"
] |
[
"public",
"abstract",
"comparison",
"chain",
"compare",
"(",
"double",
"left",
",",
"double",
"right",
")",
";"
] |
[
"validates",
"the",
"retry",
"count",
"regex"
] |
[
"public",
"form",
"validation",
"do",
"check",
"retry",
"count",
"(",
"@",
"query",
"parameter",
"string",
"value",
")",
"throws",
"i",
"o",
"exception",
",",
"servlet",
"exception",
"{",
"/",
"/",
"retry",
"count",
"is",
"optional",
"so",
"this",
"is",
"ok",
"if",
"(",
"value",
"=",
"=",
"null",
"|",
"|",
"value",
"trim",
"(",
")",
"equals",
"(",
"\"",
"\"",
")",
")",
"return",
"form",
"validation",
"ok",
"(",
")",
";",
"if",
"(",
"!",
"value",
"matches",
"(",
"\"",
"[",
"0",
"-",
"9",
"]",
"*",
"\"",
")",
")",
"{",
"return",
"form",
"validation",
"error",
"(",
"\"",
"invalid",
"retry",
"count",
"\"",
")",
";",
"}",
"return",
"form",
"validation",
"ok",
"(",
")",
";",
"}"
] |
[
"sets",
"null",
"able"
] |
[
"public",
"void",
"set",
"null",
"able",
"(",
"int",
"null",
"able",
")",
"{",
"this",
"null",
"able",
"=",
"null",
"able",
";",
"}"
] |
[
"find",
"the",
"specific",
"ancestor",
",",
"or",
"throw",
"an",
"exception",
"useful",
"for",
"an",
"ancestor",
"we",
"know",
"is",
"inside",
"the",
"url",
"to",
"ease",
"readability"
] |
[
"public",
"static",
"@",
"non",
"null",
"<",
"t",
">",
"t",
"get",
"nearest",
"ancestor",
"of",
"type",
"or",
"throw",
"(",
"@",
"non",
"null",
"stapler",
"request",
"request",
",",
"@",
"non",
"null",
"class",
"<",
"t",
">",
"clazz",
")",
"{",
"t",
"t",
"=",
"request",
"find",
"ancestor",
"object",
"(",
"clazz",
")",
";",
"if",
"(",
"t",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"\"",
"no",
"ancestor",
"of",
"type",
"\"",
"+",
"clazz",
"get",
"name",
"(",
")",
"+",
"\"",
"in",
"the",
"request",
"\"",
")",
";",
"}",
"return",
"t",
";",
"}"
] |
[
"displays",
"the",
"manage",
"plugins",
"dialog"
] |
[
"public",
"void",
"show",
"config",
"(",
"boolean",
"add",
"save",
"actions",
",",
"boolean",
"is",
"new",
"tool",
")",
"{",
"if",
"(",
"manage",
"dialog",
"!",
"=",
"null",
")",
"{",
"manage",
"dialog",
"close",
"(",
")",
";",
"}",
"manage",
"dialog",
"=",
"new",
"manage",
"plugins",
"dialog",
"(",
"this",
",",
"add",
"save",
"actions",
",",
"is",
"new",
"tool",
")",
";",
"show",
"dialog",
"(",
"manage",
"dialog",
")",
";",
"}"
] |
[
"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",
"\"",
")",
";",
"}"
] |
[
"determine",
"if",
"this",
"instance",
"has",
"0",
"length"
] |
[
"public",
"boolean",
"is",
"empty",
"(",
")",
"{",
"return",
"length",
"=",
"=",
"0",
";",
"}"
] |
[
"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",
"\"",
")",
";",
"}"
] |
[
"called",
"when",
"this",
"content",
"is",
"unlocked",
"use",
"this",
"to",
"unlock",
"other",
"related",
"content"
] |
[
"public",
"void",
"on",
"unlock",
"(",
")",
"{",
"}"
] |
[
"gets",
"localized",
"display",
"name"
] |
[
"public",
"string",
"get",
"display",
"name",
"(",
"final",
"string",
"locale",
")",
"{",
"if",
"(",
"this",
"ui",
"info",
"!",
"=",
"null",
")",
"{",
"val",
"display",
"name",
"=",
"get",
"localized",
"values",
"(",
"locale",
",",
"this",
"ui",
"info",
"get",
"display",
"names",
"(",
")",
")",
";",
"return",
"optional",
"of",
"nullable",
"(",
"display",
"name",
")",
"or",
"else",
"get",
"(",
"super",
":",
":",
"get",
"display",
"name",
")",
";",
"}",
"return",
"super",
"get",
"display",
"name",
"(",
")",
";",
"}"
] |
[
"remove",
"all",
"checkpoints",
"from",
"the",
"store",
"that",
"match",
"the",
"given",
"predicate"
] |
[
"void",
"prune",
"matching",
"checkpoints",
"(",
"long",
"predicate",
"matcher",
")",
";"
] |
[
"registers",
"subscribers",
"who",
"wish",
"to",
"know",
"of",
"provider",
"activation",
"status"
] |
[
"public",
"void",
"add",
"provider",
"listener",
"(",
"component",
"provider",
"activation",
"listener",
"listener",
")",
"{",
"listeners",
"add",
"(",
"listener",
")",
";",
"}"
] |
[
"returns",
"the",
"key",
"of",
"this",
"edge"
] |
[
"public",
"long",
"key",
"(",
")",
"{",
"return",
"this",
"key",
";",
"}"
] |
[
"get",
"prefix",
"ns",
"number"
] |
[
"public",
"big",
"decimal",
"get",
"prefix",
"ns",
"number",
"(",
")",
"{",
"return",
"prefix",
"ns",
"number",
";",
"}"
] |
[
"add",
"a",
"duration"
] |
[
"public",
"void",
"add",
"(",
"duration",
"duration",
")",
"{",
"add",
"(",
"duration",
"value",
"(",
")",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.