docstring_tokens list | code_tokens list |
|---|---|
[
"message",
"body",
"writer"
] | [
"return",
"-",
"1",
";"
] |
[
"get",
"set",
"of",
"classes",
"that",
"we",
"never",
"try",
"to",
"serialize",
"or",
"deserialize",
"returned",
"set",
"is",
"mutable",
"and",
"new",
"classes",
"may",
"be",
"added",
"in",
"ignored",
"set"
] | [
"return",
"ignored",
"classes",
";"
] |
[
"validate",
"input",
"tag",
"(",
"header",
"value",
")",
"according",
"to",
"http",
"1",
"1",
"spec",
"+",
"allow",
"region",
"code",
"(",
"numeric",
")",
"instead",
"of",
"country",
"code"
] | [
"int",
"alphanum",
"count",
"=",
"0",
";",
"int",
"dash",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"tag",
"length",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"final",
"char",
"c",
"=",
"tag",
"char",
"at",
"(",
"i",
"... |
[
"get",
"the",
"tag",
"for",
"this",
"chunk"
] | [
"return",
"tag",
";"
] |
[
"<",
"code",
">",
"show",
"dialog",
"<",
"/",
"code",
">",
"sets",
"this",
"dialog",
"as",
"visble",
"and",
"brings",
"it",
"to",
"the",
"front"
] | [
"set",
"location",
"relative",
"to",
"(",
"null",
")",
";",
"set",
"visible",
"(",
"true",
")",
";",
"to",
"front",
"(",
")",
";"
] |
[
"<",
"code",
">",
"set",
"up",
"chooser",
"<",
"/",
"code",
">",
"retrieves",
"all",
"available",
"display",
"modes",
"and",
"places",
"them",
"in",
"a",
"<",
"code",
">",
"j",
"combo",
"box",
"<",
"/",
"code",
">",
"the",
"resolution",
"specified",
... | [
"j",
"combo",
"box",
"resolution",
"box",
"=",
"new",
"j",
"combo",
"box",
"(",
")",
";",
"resolution",
"box",
"add",
"action",
"listener",
"(",
"new",
"action",
"listener",
"(",
")",
"{",
"public",
"void",
"action",
"performed",
"(",
"action",
"event",
... |
[
"returns",
"every",
"unique",
"resolution",
"from",
"an",
"array",
"of",
"<",
"code",
">",
"display",
"mode",
"<",
"/",
"code",
">",
"s",
"where",
"the",
"resolution",
"is",
"greater",
"than",
"the",
"configured",
"minimums",
"and",
"the",
"height",
"is",
... | [
"int",
"max",
"height",
"=",
"0",
";",
"int",
"max",
"width",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"modes",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"max",
"height",
"<",
"modes",
"[",
"i",
"]",
"get",
... |
[
"get",
"the",
"exception",
"mapper",
"statistics",
"builder"
] | [
"return",
"exception",
"mapper",
"statistics",
"builder",
";"
] |
[
"add",
"global",
"request",
"execution"
] | [
"if",
"(",
"execution",
"statistics",
"builder",
"=",
"=",
"null",
")",
"{",
"execution",
"statistics",
"builder",
"=",
"new",
"execution",
"statistics",
"impl",
"builder",
"(",
")",
";",
"}",
"execution",
"statistics",
"builder",
"add",
"execution",
"(",
"s... |
[
"add",
"a",
"response",
"status",
"code",
"produces",
"by",
"jersey"
] | [
"response",
"statistics",
"builder",
"add",
"response",
"code",
"(",
"response",
"code",
")",
";"
] |
[
"build",
"a",
"new",
"instance",
"of",
"monitoring",
"statistics"
] | [
"final",
"map",
"<",
"string",
",",
"resource",
"statistics",
">",
"uri",
"stats",
"=",
"collections",
"unmodifiable",
"map",
"(",
"views",
"map",
"view",
"(",
"uri",
"statistics",
",",
"building",
"function",
")",
")",
";",
"final",
"map",
"<",
"class",
... |
[
"refreshed",
"(",
"re",
"-",
"built",
")",
"on",
"every",
"access"
] | [
"return",
"uri",
"statistics",
";"
] |
[
"refreshed",
"(",
"re",
"-",
"built",
")",
"on",
"every",
"access"
] | [
"return",
"resource",
"class",
"statistics",
";"
] |
[
"implementations",
"for",
"class",
"visitor"
] | [
"if",
"(",
"static",
"initializer",
"containing",
"class",
"marker",
"contains",
"static",
"initializer",
"(",
"program",
"class",
")",
")",
"{",
"class",
"visitor",
"visit",
"program",
"class",
"(",
"program",
"class",
")",
";",
"}"
] |
[
"number",
"of",
"function",
"s",
"arguments",
"+",
"1",
"thus",
"a",
"binary",
"operator",
"like",
"+",
"should",
"be",
"declared",
"with",
"3",
"nargs",
":",
"[",
"+",
"lhs",
"rhs",
"]",
"for",
"variable",
"-",
"argument",
"functions",
"this",
"method",... | [
"public",
"abstract",
"int",
"nargs",
"(",
")",
";"
] |
[
"list",
"of",
"argument",
"names",
"the",
"length",
"of",
"the",
"returned",
"array",
"should",
"be",
"equal",
"to",
"nargs",
"(",
")",
"-",
"1",
"(",
"unless",
"nargs",
"(",
")",
"returns",
"-",
"1",
"in",
"which",
"case",
"this",
"function",
"may",
... | [
"public",
"abstract",
"string",
"[",
"]",
"args",
"(",
")",
";"
] |
[
"<",
"p",
">",
"primary",
"method",
"to",
"invoke",
"this",
"function",
"passing",
"all",
"the",
"parameters",
"as",
"the",
"asts",
"list",
"<",
"/",
"p",
">"
] | [
"public",
"abstract",
"val",
"apply",
"(",
"env",
"env",
",",
"env",
"stack",
"help",
"stk",
",",
"ast",
"root",
"[",
"]",
"asts",
")",
";"
] |
[
"sanitizes",
"the",
"type",
"parameter",
"if",
"it",
"s",
"a",
"type",
"variable",
"or",
"wildcard",
"type",
"this",
"will",
"get",
"the",
"erasure"
] | [
"if",
"(",
"marshallers",
"is",
"variable",
"or",
"wildcard",
"type",
"(",
"type",
")",
")",
"{",
"return",
"env",
"get",
"type",
"utils",
"(",
")",
"erasure",
"(",
"type",
")",
";",
"}",
"if",
"(",
"!",
"(",
"type",
"instanceof",
"declared",
"type",... |
[
"true",
"when",
"{"
] | [
"return",
"env",
"get",
"type",
"utils",
"(",
")",
"is",
"same",
"type",
"(",
"type",
",",
"env",
"get",
"element",
"utils",
"(",
")",
"get",
"type",
"element",
"(",
"(",
"clazz",
"get",
"canonical",
"name",
"(",
")",
")",
")",
"as",
"type",
"(",
... |
[
"emits",
"a",
"note",
"to",
"build",
"log",
"during",
"annotation",
"processing",
"for",
"debugging"
] | [
"env",
"get",
"messager",
"(",
")",
"print",
"message",
"(",
"diagnostic",
"kind",
"note",
",",
"note",
")",
";"
] |
[
"<",
"p",
">",
"arn",
"of",
"the",
"destination",
"amazon",
"kinesis",
"stream",
"to",
"write",
"to",
"<",
"/",
"p",
">"
] | [
"this",
"resource",
"a",
"r",
"n",
"=",
"resource",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"arn",
"of",
"the",
"destination",
"amazon",
"kinesis",
"stream",
"to",
"write",
"to",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"resource",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"arn",
"of",
"the",
"input",
"amazon",
"kinesis",
"stream",
"to",
"read",
"<",
"/",
"p",
">"
] | [
"set",
"resource",
"a",
"r",
"n",
"(",
"resource",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"arn",
"of",
"the",
"iam",
"role",
"that",
"amazon",
"kinesis",
"analytics",
"can",
"assume",
"to",
"access",
"the",
"stream",
"on",
"your",
"behalf",
"you",
"need",
"to",
"grant",
"the",
"necessary",
"permissions",
"to",
"this",
"role",
"... | [
"set",
"role",
"a",
"r",
"n",
"(",
"role",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"mem",
"address",
"(",
"container",
")",
"... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to"... | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all"... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"b... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"int",
"buffer",
"(",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"presentmask",
",",
"vk",
"max",
"device",
"group",
"size",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"presentmask",
"+",
"check",
"(",
"index",
",",
"vk",
"max",
"device",
"group",
"size",
")",
"*",
"4",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"modes",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"device",
"group",
"present",
"capabilities",
"k",
"h",
"r",
"pnext",
",",
"value",
")",
";"
] |
[
"<",
"p",
">",
"an",
"aws",
"account",
"id",
"or",
"*",
"to",
"make",
"the",
"application",
"public",
"<",
"/",
"p",
">"
] | [
"return",
"principals",
";"
] |
[
"<",
"p",
">",
"an",
"aws",
"account",
"id",
"or",
"*",
"to",
"make",
"the",
"application",
"public",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"principals",
"=",
"=",
"null",
")",
"{",
"this",
"principals",
"=",
"null",
";",
"return",
";",
"}",
"this",
"principals",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"principals",
")",
";"
] |
[
"<",
"p",
">",
"the",
"principals",
"associated",
"with",
"the",
"thing",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",... | [
"if",
"(",
"this",
"principals",
"=",
"=",
"null",
")",
"{",
"set",
"principals",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"principals",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"principals",
")",
... |
[
"<",
"p",
">",
"the",
"principals",
"associated",
"with",
"the",
"thing",
"<",
"/",
"p",
">"
] | [
"set",
"principals",
"(",
"principals",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"matcher",
"that",
"includes",
"all",
"{"
] | [
"return",
"new",
"endpoint",
"request",
"matcher",
"(",
"true",
")",
";"
] |
[
"returns",
"a",
"matcher",
"that",
"includes",
"the",
"specified",
"{"
] | [
"return",
"new",
"endpoint",
"request",
"matcher",
"(",
"endpoints",
",",
"false",
")",
";"
] |
[
"returns",
"a",
"matcher",
"that",
"includes",
"the",
"specified",
"{"
] | [
"return",
"new",
"endpoint",
"request",
"matcher",
"(",
"endpoints",
",",
"false",
")",
";"
] |
[
"returns",
"a",
"matcher",
"that",
"matches",
"only",
"on",
"the",
"links",
"endpoint",
"it",
"can",
"be",
"used",
"when",
"security",
"configuration",
"for",
"the",
"links",
"endpoint",
"is",
"different",
"from",
"the",
"other",
"{"
] | [
"return",
"new",
"links",
"request",
"matcher",
"(",
")",
";"
] |
[
"deletes",
"the",
"specified",
"table"
] | [
"new",
"delete",
"(",
")",
"from",
"(",
"table",
")",
"where",
"(",
"conditions",
")",
"execute",
"update",
"delete",
"(",
")",
";"
] |
[
"deletes",
"the",
"list",
"of",
"tables",
"specified",
"warning",
":",
"this",
"will",
"completely",
"clear",
"all",
"rows",
"from",
"each",
"table"
] | [
"for",
"(",
"class",
"model",
"class",
":",
"tables",
")",
"{",
"table",
"(",
"model",
"class",
")",
";",
"}"
] |
[
"passes",
"this",
"statement",
"to",
"the",
"{",
"@",
"link",
"from",
"}"
] | [
"return",
"new",
"from",
"<",
">",
"(",
"this",
",",
"table",
")",
";"
] |
[
"dead",
"at",
"opcode",
"end"
] | [
"return",
"new",
"stack",
"help",
"(",
")",
";"
] |
[
"used",
"to",
"track",
"frames",
"with",
"lifetimes",
"spanning",
"other",
"ast",
"root",
"executions"
] | [
"if",
"(",
"v",
"instanceof",
"val",
"frame",
")",
"track",
"(",
"v",
"get",
"frame",
"(",
")",
")",
";",
"return",
"v",
";"
] |
[
"shared",
"in",
"the",
"returning",
"output",
"frame"
] | [
"if",
"(",
"val",
"instanceof",
"val",
"frame",
")",
"ses",
"add",
"ref",
"cnt",
"(",
"val",
"get",
"frame",
"(",
")",
",",
"1",
")",
";",
"return",
"val",
";"
] |
[
"frame",
"-",
"so",
"we",
"can",
"hack",
"it",
"without",
"changing",
"the",
"global",
"frame",
"view"
] | [
"ses",
"add",
"globals",
"(",
"fr",
")",
";",
"return",
"new",
"val",
"frame",
"(",
"new",
"frame",
"(",
"fr",
"names",
"clone",
"(",
")",
",",
"fr",
"vecs",
"(",
")",
"clone",
"(",
")",
")",
")",
";"
] |
[
"<",
"p",
">",
"time",
"in",
"milliseconds",
"from",
"the",
"start",
"of",
"the",
"video",
"that",
"the",
"label",
"was",
"detected",
"<",
"/",
"p",
">"
] | [
"set",
"timestamp",
"(",
"timestamp",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"the",
"detected",
"label",
"<",
"/",
"p",
">"
] | [
"this",
"label",
"=",
"label",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"the",
"detected",
"label",
"<",
"/",
"p",
">"
] | [
"set",
"label",
"(",
"label",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"new",
"long",
"running",
"process",
"(",
"spec",
"get",
"node",
"id",
"(",
")",
",",
"new",
"native",
"process",
"start",
"task",
"(",
"spec",
")",
")",
";"
] |
[
"sets",
"the",
"name",
"for",
"the",
"{",
"@",
"link",
"com",
"hazelcast",
"nio",
"socket",
"interceptor",
"}",
"implementation",
"class"
] | [
"this",
"class",
"name",
"=",
"class",
"name",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"{",
"@",
"link",
"com",
"hazelcast",
"nio",
"socket",
"interceptor",
"}",
"implementation",
"object"
] | [
"this",
"implementation",
"=",
"implementation",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"implementation",
"of",
"the",
"wan",
"replication",
"endpoint",
"note",
":",
"os",
"and",
"ee",
"have",
"different",
"interfaces",
"that",
"this",
"object",
"should",
"implement",
"for",
"os",
"see",
"{"
] | [
"return",
"implementation",
";"
] |
[
"enables",
"and",
"disables",
"this",
"configuration"
] | [
"this",
"enabled",
"=",
"enabled",
";",
"return",
"this",
";"
] |
[
"sets",
"a",
"property"
] | [
"properties",
"put",
"(",
"name",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"a",
"property"
] | [
"return",
"properties",
"get",
"property",
"(",
"name",
")",
";"
] |
[
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"serialization",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#",
"#"
] | [
"int",
"length",
"=",
"get",
"length",
"(",
"buffer",
")",
";",
"if",
"(",
"length",
"<",
"0",
")",
"return",
"null",
";",
"return",
"buffer",
"get",
"shorts",
"(",
"length",
")",
";"
] |
[
"set",
"the",
"default",
"maximum",
"response",
"size",
"<",
"p",
">",
"by",
"default",
"this",
"is",
"set",
"to",
"{"
] | [
"this",
"max",
"response",
"size",
"=",
"max",
"response",
"size",
";"
] |
[
"set",
"the",
"ssl",
"context",
"when",
"configured",
"it",
"is",
"used",
"to",
"create",
"and",
"insert",
"an",
"{"
] | [
"this",
"ssl",
"context",
"=",
"ssl",
"context",
";"
] |
[
"the",
"client",
"will",
"give",
"up",
"connection",
"if",
"the",
"connection",
"is",
"timeout",
"0",
"for",
"unlimited",
"wait"
] | [
"this",
"connect",
"timeout",
"=",
"connect",
"timeout",
";"
] |
[
"set",
"the",
"underlying",
"u",
"r",
"l",
"connection",
"s",
"read",
"timeout",
"(",
"in",
"milliseconds",
")",
"a",
"timeout",
"value",
"of",
"0",
"specifies",
"an",
"infinite",
"timeout",
"<",
"p",
">",
"default",
"is",
"the",
"system",
"s",
"default"... | [
"this",
"read",
"timeout",
"=",
"read",
"timeout",
";"
] |
[
"template",
"method",
"for",
"changing",
"properties",
"on",
"the",
"given",
"{"
] | [
"if",
"(",
"this",
"connect",
"timeout",
">",
"=",
"0",
")",
"{",
"config",
"set",
"connect",
"timeout",
"millis",
"(",
"this",
"connect",
"timeout",
")",
";",
"}"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"date",
"midnight",
"test",
"=",
"new",
"date",
"midnight",
"(",
"2004",
",",
"6",
",",
"9",
")",
";",
"interval",
"test",
"interval",
"=",
"test",
"year",
"of",
"era",
"(",
")",
"to",
"interval",
"(",
")",
";",
"assert",
"equals",
"(",
"new",
"dat... |
[
"displays",
"the",
"contents",
"of",
"the",
"specified",
"input",
"stream",
"as",
"text"
] | [
"buffered",
"reader",
"reader",
"=",
"new",
"buffered",
"reader",
"(",
"new",
"input",
"stream",
"reader",
"(",
"input",
")",
")",
";",
"while",
"(",
"true",
")",
"{",
"string",
"line",
"=",
"reader",
"read",
"line",
"(",
")",
";",
"if",
"(",
"line",... |
[
"set",
"the",
"script",
"source",
"and",
"the",
"content",
"type",
"of",
"the",
"bytes"
] | [
"this",
"content",
"=",
"content",
";",
"this",
"x",
"content",
"type",
"=",
"objects",
"require",
"non",
"null",
"(",
"x",
"content",
"type",
")",
";",
"this",
"source",
"=",
"stored",
"script",
"source",
"parse",
"(",
"content",
",",
"x",
"content",
... |
[
"starts",
"matching",
"from",
"the",
"first",
"instruction",
"again",
"next",
"time"
] | [
"pattern",
"instruction",
"index",
"=",
"0",
";",
"matched",
"argument",
"flags",
"=",
"0",
";",
"arrays",
"fill",
"(",
"matched",
"constant",
"flags",
",",
"0l",
")",
";",
"previous",
"constant",
"flags",
"=",
"constant",
"flags",
";",
"constant",
"flags"... |
[
"returns",
"whether",
"the",
"complete",
"pattern",
"sequence",
"has",
"been",
"matched"
] | [
"return",
"matching",
";"
] |
[
"returns",
"the",
"number",
"of",
"instructions",
"in",
"the",
"pattern",
"sequence"
] | [
"return",
"pattern",
"instructions",
"length",
";"
] |
[
"returns",
"the",
"matched",
"instruction",
"offset",
"of",
"the",
"specified",
"pattern",
"instruction"
] | [
"return",
"matched",
"instruction",
"offsets",
"[",
"index",
"]",
";"
] |
[
"returns",
"whether",
"the",
"specified",
"wildcard",
"argument",
"was",
"a",
"constant",
"from",
"the",
"constant",
"pool",
"in",
"the",
"most",
"recent",
"match"
] | [
"return",
"(",
"previous",
"constant",
"flags",
"&",
"(",
"1",
"<",
"<",
"(",
"argument",
"-",
"x",
")",
")",
")",
"!",
"=",
"0",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"specified",
"matched",
"argument",
"(",
"wildcard",
"or",
"not",
")"
] | [
"int",
"argument",
"index",
"=",
"argument",
"-",
"x",
";",
"return",
"argument",
"index",
"<",
"0",
"?",
"argument",
":",
"matched",
"arguments",
"[",
"argument",
"index",
"]",
";"
] |
[
"returns",
"the",
"values",
"of",
"the",
"specified",
"matched",
"arguments",
"(",
"wildcard",
"or",
"not",
")"
] | [
"int",
"[",
"]",
"matched",
"arguments",
"=",
"new",
"int",
"[",
"arguments",
"length",
"]",
";",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"arguments",
"length",
";",
"index",
"+",
"+",
")",
"{",
"matched",
"arguments",
"[",
"index",
... |
[
"returns",
"the",
"index",
"of",
"the",
"specified",
"matched",
"constant",
"(",
"wildcard",
"or",
"not",
")"
] | [
"int",
"argument",
"index",
"=",
"constant",
"index",
"-",
"x",
";",
"return",
"argument",
"index",
"<",
"0",
"?",
"matched",
"constant",
"indices",
"[",
"constant",
"index",
"]",
":",
"matched",
"arguments",
"[",
"argument",
"index",
"]",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"specified",
"matched",
"branch",
"offset",
"(",
"wildcard",
"or",
"not",
")"
] | [
"int",
"argument",
"index",
"=",
"branch",
"offset",
"-",
"x",
";",
"return",
"argument",
"index",
"<",
"0",
"?",
"branch",
"offset",
":",
"matched",
"arguments",
"[",
"argument",
"index",
"]",
"-",
"offset",
";"
] |
[
"returns",
"the",
"values",
"of",
"the",
"specified",
"matched",
"jump",
"offsets",
"(",
"wildcard",
"or",
"not",
")"
] | [
"int",
"[",
"]",
"matched",
"jump",
"offsets",
"=",
"new",
"int",
"[",
"jump",
"offsets",
"length",
"]",
";",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"jump",
"offsets",
"length",
";",
"index",
"+",
"+",
")",
"{",
"matched",
"jump",... |
[
"marks",
"the",
"specified",
"argument",
"(",
"by",
"index",
")",
"as",
"matching",
"the",
"specified",
"argument",
"value"
] | [
"matched",
"arguments",
"[",
"argument",
"index",
"]",
"=",
"argument",
";",
"matched",
"argument",
"flags",
"|",
"=",
"1",
"<",
"<",
"argument",
"index",
";"
] |
[
"returns",
"whether",
"the",
"specified",
"wildcard",
"argument",
"(",
"by",
"index",
")",
"has",
"been",
"matched"
] | [
"return",
"(",
"matched",
"argument",
"flags",
"&",
"(",
"1",
"<",
"<",
"argument",
"index",
")",
")",
"!",
"=",
"0",
";"
] |
[
"marks",
"the",
"specified",
"constant",
"(",
"by",
"index",
")",
"as",
"matching",
"the",
"specified",
"constant",
"index",
"value"
] | [
"matched",
"constant",
"indices",
"[",
"constant",
"index",
"]",
"=",
"constant",
"index",
"1",
";",
"matched",
"constant",
"flags",
"[",
"constant",
"index",
"/",
"64",
"]",
"|",
"=",
"1l",
"<",
"<",
"constant",
"index",
";"
] |
[
"returns",
"whether",
"the",
"specified",
"wildcard",
"constant",
"has",
"been",
"matched"
] | [
"return",
"(",
"matched",
"constant",
"flags",
"[",
"constant",
"index",
"/",
"64",
"]",
"&",
"(",
"1l",
"<",
"<",
"constant",
"index",
")",
")",
"!",
"=",
"0",
";"
] |
[
"build",
"a",
"lob",
"creator",
"using",
"the",
"given",
"context"
] | [
"return",
"use",
"contextual",
"lob",
"creation",
"?",
"new",
"contextual",
"lob",
"creator",
"(",
"lob",
"creation",
"context",
")",
":",
"non",
"contextual",
"lob",
"creator",
"instance",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.