docstring_tokens list | code_tokens list |
|---|---|
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [] |
[
"{"
] | [
"super",
"test",
"put",
"one",
"entry",
"in",
"tx",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"put",
"two",
"entries",
"in",
"tx",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"put",
"one",
"entry",
"in",
"tx",
"multi",
"threaded",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"put",
"two",
"entry",
"in",
"tx",
"multi",
"threaded",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"remove",
"in",
"tx",
"queried",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"remove",
"in",
"tx",
"simple",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"test",
"remove",
"in",
"tx",
"queried",
"multi",
"threaded",
"(",
")",
";"
] |
[
"returns",
"{"
] | [
"return",
"position",
";"
] |
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"this",
"chunk",
"is",
"the",
"last",
"chunk",
"in",
"the",
"stream"
] | [
"return",
"last",
"chunk",
";"
] |
[
"send",
"the",
"proxied",
"message",
"to",
"this",
"endpoint"
] | [
"this",
"endpoint",
"=",
"camel",
"context",
"get",
"endpoint",
"(",
"url",
")",
";",
"return",
"this",
";"
] |
[
"send",
"the",
"proxied",
"message",
"to",
"this",
"endpoint"
] | [
"this",
"endpoint",
"=",
"endpoint",
";",
"return",
"this",
";"
] |
[
"whether",
"to",
"use",
"binding",
"or",
"not",
"<",
"p",
"/",
">",
"binding",
"is",
"enabled",
"by",
"default",
"set",
"this",
"to",
"<",
"tt",
">",
"false",
"<",
"/",
"tt",
">",
"to",
"use",
"old",
"behavior",
"without",
"binding",
"<",
"p",
"/",... | [
"this",
"binding",
"=",
"binding",
";",
"return",
"this",
";"
] |
[
"return",
"the",
"underlying",
"source",
"stream",
"(",
"never",
"{"
] | [
"return",
"this",
"source",
"stream",
";"
] |
[
"implementations",
"for",
"program",
"member"
] | [
"member",
"visitor",
"visit",
"program",
"field",
"(",
"program",
"class",
",",
"this",
")",
";"
] |
[
"implementations",
"for",
"member"
] | [
"if",
"(",
"referenced",
"class",
"!",
"=",
"null",
")",
"{",
"referenced",
"class",
"accept",
"(",
"class",
"visitor",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"source",
"region",
"from",
"where",
"the",
"data",
"is",
"aggregated",
"<",
"/",
"p",
">"
] | [
"this",
"aws",
"region",
"=",
"aws",
"region",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"region",
"from",
"where",
"the",
"data",
"is",
"aggregated",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"aws",
"region",
";"
] |
[
"<",
"p",
">",
"the",
"source",
"region",
"where",
"the",
"data",
"is",
"aggregated",
"<",
"/",
"p",
">"
] | [
"set",
"aws",
"region",
"(",
"aws",
"region",
")",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [] |
[
"helper"
] | [
"int",
"stream",
"range",
"(",
"0",
",",
"count",
")",
"parallel",
"(",
")",
"for",
"each",
"(",
"consumer",
")",
";"
] |
[
"does",
"nothing",
"this",
"is",
"a",
"method",
"declared",
"in",
"javassist",
"translator"
] | [] |
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"specified",
"class",
"is",
"a",
"proxy",
"class",
"recorded",
"by",
"<",
"code",
">",
"make",
"proxy",
"class",
"(",
")",
"<",
"/",
"code",
">"
] | [
"return",
"proxy",
"classes",
"get",
"(",
"name",
")",
"!",
"=",
"null",
";"
] |
[
"makes",
"a",
"proxy",
"class",
"the",
"produced",
"class",
"is",
"substituted",
"for",
"the",
"original",
"class"
] | [
"string",
"classname",
"=",
"clazz",
"get",
"name",
"(",
")",
";",
"if",
"(",
"proxy",
"classes",
"get",
"(",
"classname",
")",
"!",
"=",
"null",
")",
"return",
"false",
";",
"ct",
"class",
"ctclazz",
"=",
"produce",
"proxy",
"class",
"(",
"class",
"... |
[
"method",
"called",
"by",
"tomcat",
"<",
"8",
"5",
"5"
] | [
"return",
"authenticate",
"internal",
"(",
"request",
",",
"response",
",",
"request",
"get",
"context",
"(",
")",
"get",
"login",
"config",
"(",
")",
")",
";"
] |
[
"method",
"called",
"by",
"tomcat",
">",
"=",
"8",
"5",
"5"
] | [
"return",
"this",
"authenticate",
"(",
"request",
",",
"response",
")",
";"
] |
[
"returns",
"a",
"{",
"@",
"link",
"codec",
"descriptor",
"}",
"for",
"the",
"given",
"type",
"or",
"null",
"if",
"none",
"found"
] | [
"for",
"(",
"class",
"<",
"?",
">",
"next",
"type",
"=",
"type",
";",
"next",
"type",
"!",
"=",
"null",
";",
"next",
"type",
"=",
"next",
"type",
"get",
"superclass",
"(",
")",
")",
"{",
"codec",
"descriptor",
"result",
"=",
"class",
"mapped",
"cod... |
[
"creates",
"a",
"builder",
"using",
"the",
"current",
"contents",
"of",
"this",
"registry"
] | [
"builder",
"builder",
"=",
"new",
"builder",
"(",
")",
";",
"builder",
"set",
"allow",
"default",
"codec",
"(",
"allow",
"default",
"codec",
")",
";",
"for",
"(",
"map",
"entry",
"<",
"class",
"<",
"?",
">",
",",
"codec",
"descriptor",
">",
"entry",
... |
[
"adds",
"the",
"given",
"codec",
"if",
"a",
"codec",
"for",
"this",
"codec",
"s",
"encoded",
"class",
"already",
"exists",
"in",
"the",
"registry",
"it",
"is",
"overwritten"
] | [
"codecs",
"put",
"(",
"codec",
"get",
"encoded",
"class",
"(",
")",
",",
"codec",
")",
";",
"return",
"this",
";"
] |
[
"set",
"whether",
"or",
"not",
"we",
"allow",
"fallback",
"to",
"java",
"serialization",
"when",
"no",
"matching",
"codec",
"is",
"found"
] | [
"this",
"allow",
"default",
"codec",
"=",
"allow",
"default",
"codec",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"constant",
"value",
"by",
"reference",
"any",
"value",
"encountered",
"during",
"serialization",
"which",
"{",
"@",
"code",
"=",
"=",
"object",
"}",
"will",
"be",
"replaced",
"by",
"{",
"@",
"code",
"object",
"}",
"upon",
"deserialization",
"... | [
"reference",
"constants",
"builder",
"add",
"(",
"object",
")",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"search"
] | [
"this",
"action",
"=",
"action",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"api",
"/",
"issues"
] | [
"this",
"controller",
"=",
"controller",
";",
"return",
"this",
";"
] |
[
"write",
"out",
"the",
"contents",
"of",
"data",
"into",
"the",
"output",
"stream"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"data",
"length",
";",
"i",
"+",
"+",
")",
"{",
"os",
"write",
"(",
"data",
",",
"i",
",",
"1",
")",
";",
"}",
"return",
"os",
"to",
"byte",
"buffer",
"(",
")",
";"
] |
[
"assert",
"that",
"the",
"first",
"length",
"bytes",
"of",
"expected",
"are",
"the",
"same",
"as",
"those",
"in",
"actual"
] | [
"assert",
"assert",
"true",
"(",
"expected",
"length",
">",
"=",
"length",
")",
";",
"assert",
"assert",
"true",
"(",
"actual",
"length",
">",
"=",
"length",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",... |
[
"resolves",
"table",
"name",
"from",
"a",
"type",
"if",
"type",
"is",
"annotated",
"table",
"name",
"will",
"be",
"read",
"from",
"annotation",
"value",
"if",
"this",
"value",
"is",
"empty",
"or",
"if",
"type",
"is",
"not",
"annotated",
"table",
"name",
... | [
"string",
"table",
"name",
"=",
"null",
";",
"final",
"db",
"table",
"db",
"table",
"=",
"type",
"get",
"annotation",
"(",
"db",
"table",
"class",
")",
";",
"if",
"(",
"db",
"table",
"!",
"=",
"null",
")",
"{",
"table",
"name",
"=",
"db",
"table",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.