docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"code",
">",
"optional",
"string",
"title",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"title",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
... |
[
"<",
"pre",
">",
"timestamp",
";",
"when",
"payment",
"request",
"created",
"<",
"/",
"pre",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"6",
"4",
"id",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"required",
"int",
"3",
"2",
"id",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"id",
";"
] |
[
"<",
"code",
">",
"repeated",
"string",
"field",
"name",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"field",
"name",
";"
] |
[
"<",
"code",
">",
"repeated",
"string",
"field",
"name",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"field",
"name",
"size",
"(",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"string",
"field",
"name",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"field",
"name",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"string",
"field",
"name",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"field",
"name",
"get",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"field",
"ids",
"=",
"4",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"field",
"ids",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"field",
"ids",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"module",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"module",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"module",
"id",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
... |
[
"<",
"code",
">",
"optional",
"string",
"module",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"module",
"id",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
... |
[
"<",
"code",
">",
"optional",
"string",
"module",
"version",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"module",
"version",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"module",
"version",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string... |
[
"<",
"code",
">",
"optional",
"string",
"module",
"version",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"module",
"version",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"u... |
[
"<",
"code",
">",
"optional",
"int",
"6",
"4",
"size",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"6",
"4",
"size",
"=",
"5",
";",
"<",
"/",
"code",
">"
] | [
"return",
"size",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"error",
"=",
"15",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"error",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"... |
[
"<",
"code",
">",
"optional",
"string",
"error",
"=",
"15",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"error",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
... |
[
"<",
"code",
">",
"optional",
"bytes",
"module",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"module",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"module",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"message",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"message",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
... |
[
"<",
"code",
">",
"optional",
"string",
"message",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
... |
[
"<",
"code",
">",
"optional",
"packed",
"entity",
"entity",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"packed",
"entity",
"entity",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"entity",
";"
] |
[
"<",
"code",
">",
"optional",
"packed",
"entity",
"entity",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"entity",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"block",
"pos",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"block",
"pos",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"block",
"pos",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"block",
"pos",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"block",
"pos",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"3",
"2",
"net",
"id",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"3",
"2",
"net",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"net",
"id",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"3",
"2",
"net",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"3",
"2",
"target",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"int",
"3",
"2",
"target",
"id",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"target",
"id",
";"
] |
[
"<",
"code",
">",
"optional",
"event",
"event",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"event",
"event",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"event",
";"
] |
[
"<",
"code",
">",
"optional",
"event",
"event",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"event",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"target",
"block",
"pos",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"target",
"block",
"pos",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"target",
"block",
"pos",
";"
] |
[
"<",
"code",
">",
"optional",
"vector",
"3i",
"data",
"target",
"block",
"pos",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"target",
"block",
"pos",
";"
] |
[
"open",
"value",
"getter"
] | [
"return",
"open",
"value",
";"
] |
[
"closed",
"value",
"getter"
] | [
"return",
"closed",
"value",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"agents",
"or",
"the",
"connector",
"that",
"were",
"instructed",
"to",
"start",
"collecting",
"data",
"information",
"includes",
"the",
"agent",
"/",
"connector",
"id",
"a",
"description",
"of",
"the",
"operation",
"perf... | [
"return",
"agents",
"configuration",
"status",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"agents",
"or",
"the",
"connector",
"that",
"were",
"instructed",
"to",
"start",
"collecting",
"data",
"information",
"includes",
"the",
"agent",
"/",
"connector",
"id",
"a",
"description",
"of",
"the",
"operation",
"perf... | [
"if",
"(",
"agents",
"configuration",
"status",
"=",
"=",
"null",
")",
"{",
"this",
"agents",
"configuration",
"status",
"=",
"null",
";",
"return",
";",
"}",
"this",
"agents",
"configuration",
"status",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
... |
[
"<",
"p",
">",
"information",
"about",
"the",
"agents",
"or",
"connector",
"that",
"were",
"instructed",
"to",
"stop",
"collecting",
"data",
"information",
"includes",
"the",
"agent",
"/",
"connector",
"id",
"a",
"description",
"of",
"the",
"operation",
"perfo... | [
"if",
"(",
"this",
"agents",
"configuration",
"status",
"=",
"=",
"null",
")",
"{",
"set",
"agents",
"configuration",
"status",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"agent",
"configuration",
"status",
">",
"(",
"agents",
"configuration",
"status... |
[
"<",
"p",
">",
"information",
"about",
"the",
"agents",
"or",
"connector",
"that",
"were",
"instructed",
"to",
"stop",
"collecting",
"data",
"information",
"includes",
"the",
"agent",
"/",
"connector",
"id",
"a",
"description",
"of",
"the",
"operation",
"perfo... | [
"set",
"agents",
"configuration",
"status",
"(",
"agents",
"configuration",
"status",
")",
";",
"return",
"this",
";"
] |
[
"assimilate",
"a",
"new",
"value",
"from",
"the",
"stream"
] | [
"sorted",
"=",
"false",
";",
"if",
"(",
"n",
"<",
"k",
")",
"{",
"heap",
"[",
"n",
"+",
"+",
"]",
"=",
"datum",
";",
"if",
"(",
"n",
"=",
"=",
"k",
")",
"{",
"heapify",
"(",
"heap",
")",
";",
"}",
"}",
"else",
"{",
"n",
"+",
"+",
";",
... |
[
"returns",
"the",
"k",
"-",
"<",
"i",
">",
"th",
"<",
"/",
"i",
">",
"smallest",
"value",
"seen",
"so",
"far"
] | [
"return",
"heap",
"[",
"0",
"]",
";"
] |
[
"sort",
"the",
"smallest",
"values"
] | [
"if",
"(",
"!",
"sorted",
")",
"{",
"sort",
"(",
"heap",
",",
"math",
"min",
"(",
"k",
",",
"n",
")",
")",
";",
"sorted",
"=",
"true",
";",
"}"
] |
[
"place",
"the",
"array",
"in",
"max",
"-",
"heap",
"order",
"note",
"that",
"the",
"array",
"is",
"not",
"fully",
"sorted"
] | [
"int",
"n",
"=",
"arr",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"n",
"/",
"2",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"sort",
"utils",
"sift",
"down",
"(",
"arr",
",",
"i",
",",
"n",
"-",
"1",
")",
";"
] |
[
"sorts",
"the",
"specified",
"array",
"into",
"descending",
"order",
"it",
"is",
"based",
"on",
"shell",
"sort",
"which",
"is",
"very",
"efficient",
"because",
"the",
"array",
"is",
"almost",
"sorted",
"by",
"heapifying"
] | [
"int",
"inc",
"=",
"1",
";",
"do",
"{",
"inc",
"*",
"=",
"3",
";",
"inc",
"+",
"+",
";",
"}",
"while",
"(",
"inc",
"<",
"=",
"n",
")",
";",
"do",
"{",
"inc",
"/",
"=",
"3",
";",
"for",
"(",
"int",
"i",
"=",
"inc",
";",
"i",
"<",
"n",
... |
[
"adds",
"a",
"request",
"handler",
"to",
"this",
"queue"
] | [
"lock",
"write",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"try",
"{",
"new",
"session",
"requests",
"add",
"(",
"request",
")",
";",
"}",
"finally",
"{",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"clear",
"the",
"entire",
"list",
"of",
"requests"
] | [
"lock",
"write",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"try",
"{",
"new",
"session",
"requests",
"clear",
"(",
")",
";",
"}",
"finally",
"{",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"remove",
"a",
"specific",
"request"
] | [
"lock",
"write",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"try",
"{",
"return",
"new",
"session",
"requests",
"remove",
"(",
"request",
")",
";",
"}",
"finally",
"{",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"provides",
"the",
"desired",
"capabilities",
"of",
"all",
"the",
"items",
"in",
"this",
"queue"
] | [
"lock",
"read",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"try",
"{",
"return",
"new",
"session",
"requests",
"stream",
"(",
")",
"map",
"(",
"req",
"-",
">",
"new",
"desired",
"capabilities",
"(",
"req",
"get",
"request",
"(",
")",
"get",
"desired",
... |
[
"returns",
"the",
"number",
"of",
"unprocessed",
"items",
"in",
"this",
"request",
"queue"
] | [
"lock",
"read",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"try",
"{",
"return",
"new",
"session",
"requests",
"size",
"(",
")",
";",
"}",
"finally",
"{",
"lock",
"read",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"this",
"method",
"will",
"return",
"relative",
"path",
"from",
"the",
"first",
"available",
"vacant",
"directory"
] | [
"if",
"(",
"non",
"full",
"directories",
"is",
"empty",
"(",
")",
")",
"{",
"total",
"sub",
"directories",
"+",
"+",
";",
"directory",
"new",
"dir",
"=",
"new",
"directory",
"(",
"total",
"sub",
"directories",
")",
";",
"non",
"full",
"directories",
"a... |
[
"this",
"method",
"will",
"reduce",
"the",
"file",
"count",
"for",
"the",
"directory",
"represented",
"by",
"path",
"the",
"root",
"directory",
"of",
"this",
"local",
"cache",
"directory",
"manager",
"is",
"represented",
"by",
"an",
"empty",
"string"
] | [
"rel",
"path",
"=",
"rel",
"path",
"=",
"=",
"null",
"?",
"\"",
"\"",
":",
"rel",
"path",
"trim",
"(",
")",
";",
"directory",
"sub",
"dir",
"=",
"known",
"directories",
"get",
"(",
"rel",
"path",
")",
";",
"int",
"old",
"count",
"=",
"sub",
"dir"... |
[
"increment",
"the",
"file",
"count",
"for",
"a",
"relative",
"directory",
"within",
"the",
"cache"
] | [
"rel",
"path",
"=",
"rel",
"path",
"=",
"=",
"null",
"?",
"\"",
"\"",
":",
"rel",
"path",
"trim",
"(",
")",
";",
"directory",
"sub",
"dir",
"=",
"known",
"directories",
"get",
"(",
"rel",
"path",
")",
";",
"if",
"(",
"sub",
"dir",
"=",
"=",
"nu... |
[
"given",
"a",
"path",
"to",
"a",
"directory",
"within",
"a",
"local",
"cache",
"tree",
"return",
"the",
"root",
"of",
"the",
"cache",
"directory"
] | [
"while",
"(",
"path",
"!",
"=",
"null",
")",
"{",
"string",
"name",
"=",
"path",
"get",
"name",
"(",
")",
";",
"if",
"(",
"name",
"length",
"(",
")",
"!",
"=",
"1",
")",
"{",
"return",
"path",
";",
"}",
"int",
"dirnum",
"=",
"directories",
"per... |
[
"promotes",
"the",
"key",
"with",
"{"
] | [
"tinkey",
"util",
"manipulate",
"key",
"(",
"tinkey",
"util",
"command",
"type",
"promote",
"key",
",",
"output",
"stream",
",",
"out",
"format",
",",
"input",
"stream",
",",
"in",
"format",
",",
"master",
"key",
"uri",
",",
"credential",
"path",
",",
"k... |
[
"singleton"
] | [
"return",
"instance",
";"
] |
[
"initialize"
] | [
"init",
"(",
"context",
",",
"crash",
"file",
"path",
",",
"\"",
"\"",
")",
";"
] |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"w",
"name",
"set",
"text",
"(",
"const",
"nvl",
"(",
"job",
"entry",
"get",
"name",
"(",
")",
",",
"\"",
"\"",
")",
")",
";",
"w",
"name",
"get",
"text",
"widget",
"(",
")",
"select",
"all",
"(",
")",
";",
"w",
"server",
"set",
"text",
"(",
... |
[
"/",
"*",
"non",
"java",
"-",
"doc"
] | [
"try",
"{",
"change",
"undo",
"=",
"do",
"delete",
"(",
"pm",
")",
";",
"return",
"undo",
";",
"}",
"finally",
"{",
"pm",
"done",
"(",
")",
";",
"}"
] |
[
"this",
"adapter",
"handles",
"using",
"the",
"continuation",
"token",
"to",
"provide",
"iteration",
"over",
"all",
"the",
"chunks",
"returned",
"by",
"the",
"beam",
"fn",
"state",
"api",
"using",
"the",
"supplied",
"state",
"client",
"and",
"state",
"request"... | [
"return",
"new",
"lazy",
"blocking",
"state",
"fetching",
"iterator",
"(",
"beam",
"fn",
"state",
"client",
",",
"state",
"request",
"for",
"first",
"chunk",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"... | [
"return",
"method",
"invocation",
"class",
";"
] |
[
"this",
"method",
"should",
"be",
"used",
"to",
"enforce",
"security",
"on",
"a",
"<",
"code",
">",
"method",
"invocation",
"<",
"/",
"code",
">"
] | [
"interceptor",
"status",
"token",
"token",
"=",
"super",
"before",
"invocation",
"(",
"mi",
")",
";",
"object",
"result",
";",
"try",
"{",
"result",
"=",
"mi",
"proceed",
"(",
")",
";",
"}",
"finally",
"{",
"super",
"finally",
"invocation",
"(",
"token",... |
[
"tests",
"that",
"all",
"preferred",
"locations",
"are",
"calculated"
] | [
"final",
"task",
"manager",
"location",
"task",
"manager",
"location",
"1",
"=",
"new",
"local",
"task",
"manager",
"location",
"(",
")",
";",
"final",
"task",
"manager",
"location",
"task",
"manager",
"location",
"2",
"=",
"new",
"local",
"task",
"manager",... |
[
"tests",
"that",
"any",
"preferred",
"locations",
"are",
"calculated"
] | [
"final",
"task",
"manager",
"location",
"task",
"manager",
"location",
"1",
"=",
"new",
"local",
"task",
"manager",
"location",
"(",
")",
";",
"final",
"task",
"manager",
"location",
"task",
"manager",
"location",
"3",
"=",
"new",
"local",
"task",
"manager",... |
[
"the",
"unique",
"id",
"of",
"the",
"detector",
"of",
"the",
"guard",
"duty",
"member",
"account"
] | [
"set",
"detector",
"id",
"(",
"detector",
"id",
")",
";",
"return",
"this",
";"
] |
[
"introduced",
"to",
"investigate",
"claims",
"made",
"in",
"a",
"discussion",
"on",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"stackoverflow",
"com",
"/",
"questions",
"/",
"24725438",
"/",
"what",
"-",
"could",
"-",
"cause",
"-",
"a",
"-",
"class"... | [
"class",
"<",
"?",
">",
"web",
"test",
"class",
"=",
"web",
"classes",
"foo",
"class",
";",
"class",
"<",
"?",
">",
"standard",
"test",
"class",
"=",
"classes",
"foo",
"class",
";",
"web",
"merged",
"context",
"configuration",
"web",
"merged",
"config",
... |
[
"releases",
"resources",
"<",
"p",
">",
"this",
"must",
"be",
"called",
"with",
"the",
"appropriate",
"egl",
"context",
"current",
"(",
"i",
"e",
"the",
"one",
"that",
"was",
"current",
"when",
"the",
"constructor",
"was",
"called",
")",
"if",
"we",
"re"... | [
"if",
"(",
"m",
"program",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"do",
"egl",
"cleanup",
")",
"{",
"m",
"program",
"release",
"(",
")",
";",
"}",
"m",
"program",
"=",
"null",
";",
"}"
] |
[
"returns",
"the",
"program",
"currently",
"in",
"use"
] | [
"return",
"m",
"program",
";"
] |
[
"changes",
"the",
"program",
"the",
"previous",
"program",
"will",
"be",
"released",
"<",
"p",
">",
"the",
"appropriate",
"egl",
"context",
"must",
"be",
"current"
] | [
"m",
"program",
"release",
"(",
")",
";",
"m",
"program",
"=",
"program",
";"
] |
[
"creates",
"a",
"texture",
"object",
"suitable",
"for",
"use",
"with",
"draw",
"frame",
"(",
")"
] | [
"return",
"m",
"program",
"create",
"texture",
"object",
"(",
")",
";"
] |
[
"return",
"true",
"when",
"h",
"base",
"storage",
"handler",
"should",
"generate",
"hfiles",
"instead",
"of",
"operate",
"against",
"the",
"online",
"table",
"this",
"mode",
"is",
"implicitly",
"applied",
"when",
"hive",
"hbase",
"generatehfiles",
"is",
"true"
] | [
"return",
"hive",
"conf",
"get",
"bool",
"var",
"(",
"conf",
",",
"hive",
"conf",
"conf",
"vars",
"hive",
"hbase",
"generate",
"hfiles",
")",
";"
] |
[
"utility",
"method",
"to",
"add",
"hbase",
"-",
"default",
"xml",
"and",
"hbase",
"-",
"site",
"xml",
"properties",
"to",
"a",
"new",
"map",
"if",
"they",
"are",
"not",
"already",
"present",
"in",
"the",
"job",
"conf"
] | [
"configuration",
"conf",
"=",
"new",
"configuration",
"(",
"false",
")",
";",
"h",
"base",
"configuration",
"add",
"hbase",
"resources",
"(",
"conf",
")",
";",
"for",
"(",
"entry",
"<",
"string",
",",
"string",
">",
"entry",
":",
"conf",
")",
"{",
"if"... |
[
"destroy",
"the",
"watch",
"service",
"thread"
] | [
"if",
"(",
"this",
"service",
"registry",
"config",
"watcher",
"!",
"=",
"null",
")",
"{",
"this",
"service",
"registry",
"config",
"watcher",
"close",
"(",
")",
";",
"}"
] |
[
"remove",
"registered",
"service"
] | [
"this",
"service",
"map",
"remove",
"(",
"service",
"get",
"id",
"(",
")",
")",
";"
] |
[
"gets",
"extension",
"associated",
"with",
"files",
"in",
"the",
"given",
"resource",
"directory"
] | [
"protected",
"abstract",
"string",
"[",
"]",
"get",
"extensions",
"(",
")",
";"
] |
[
"returns",
"the",
"step",
"wide",
"for",
"this",
"value"
] | [
"return",
"step",
";"
] |
[
"adds",
"an",
"object",
"that",
"is",
"notified",
"about",
"changes",
"in",
"the",
"trace"
] | [
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
] |
[
"returns",
"the",
"description",
"of",
"the",
"trace"
] | [
"return",
"trace",
"get",
"description",
"(",
")",
";"
] |
[
"returns",
"the",
"debug",
"events",
"that",
"were",
"recorded",
"during",
"the",
"trace"
] | [
"return",
"new",
"array",
"list",
"<",
"trace",
"event",
">",
"(",
"events",
")",
";"
] |
[
"returns",
"the",
"name",
"of",
"the",
"trace"
] | [
"return",
"trace",
"get",
"name",
"(",
")",
";"
] |
[
"removes",
"a",
"listener",
"object",
"from",
"the",
"trace"
] | [
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
] |
[
"saves",
"the",
"trace",
"to",
"the",
"database"
] | [
"try",
"{",
"trace",
"save",
"(",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"e",
")",
"{",
"throw",
"new",
"couldnt",
"save",
"data",
"excepti... |
[
"changes",
"the",
"description",
"of",
"the",
"trace"
] | [
"try",
"{",
"trace",
"set",
"description",
"(",
"description",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"e",
")",
"{",
"throw",
"new",
"couldnt... |
[
"changes",
"the",
"name",
"of",
"the",
"trace"
] | [
"try",
"{",
"trace",
"set",
"name",
"(",
"name",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"e",
")",
"{",
"throw",
"new",
"couldnt",
"save",
... |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"true",
";"
] |
[
"{"
] | [
"return",
"long",
"compare",
"(",
"idx",
",",
"o",
"idx",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"!",
"(",
"o",
"instanceof",
"file",
"descriptor",
")",
")",
"return",
"false",
";",
"file",
"descriptor",
"that",
"=",
"(",
"file",
"descriptor",
")",
"o",
";",
"return",
"id... |
[
"{"
] | [
"return",
"(",
"int",
")",
"(",
"idx",
"^",
"(",
"idx",
">",
">",
">",
"32",
")",
")",
";"
] |
[
"{"
] | [
"return",
"file",
"get",
"name",
"(",
")",
"ends",
"with",
"(",
"file",
"page",
"store",
"manager",
"zip",
"suffix",
")",
";"
] |
[
"{"
] | [
"return",
"file",
";"
] |
[
"{"
] | [
"return",
"idx",
";"
] |
[
"{"
] | [
"file",
"i",
"o",
"file",
"i",
"o",
"=",
"is",
"compressed",
"(",
")",
"?",
"new",
"unzip",
"file",
"i",
"o",
"(",
"file",
"(",
")",
")",
":",
"file",
"i",
"o",
"factory",
"create",
"(",
"file",
"(",
")",
")",
";",
"return",
"new",
"segment",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.