docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"the",
"fully",
"qualified",
"metric",
"name",
"for",
"example",
"{",
"@",
"code",
"host",
"-",
"7",
"taskmanager",
"-",
"2",
"window",
"word",
"count",
"my",
"-",
"mapper",
"metric",
"name",
"}"
] | [
"return",
"get",
"metric",
"identifier",
"(",
"metric",
"name",
",",
"null",
")",
";"
] |
[
"returns",
"the",
"fully",
"qualified",
"metric",
"name",
"for",
"example",
"{",
"@",
"code",
"host",
"-",
"7",
"taskmanager",
"-",
"2",
"window",
"word",
"count",
"my",
"-",
"mapper",
"metric",
"name",
"}"
] | [
"return",
"get",
"metric",
"identifier",
"(",
"metric",
"name",
",",
"filter",
",",
"-",
"1",
")",
";"
] |
[
"returns",
"the",
"fully",
"qualified",
"metric",
"name",
"using",
"the",
"configured",
"delimiter",
"for",
"the",
"reporter",
"with",
"the",
"given",
"index",
"for",
"example",
"{",
"@",
"code",
"host",
"-",
"7",
"taskmanager",
"-",
"2",
"window",
"word",
... | [
"if",
"(",
"scope",
"strings",
"length",
"=",
"=",
"0",
"|",
"|",
"(",
"reporter",
"index",
"<",
"0",
"|",
"|",
"reporter",
"index",
">",
"=",
"scope",
"strings",
"length",
")",
")",
"{",
"char",
"delimiter",
"=",
"registry",
"get",
"delimiter",
"(",... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"counter",
"(",
"string",
"value",
"of",
"(",
"name",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"add",
"group",
"(",
"string",
"value",
"of",
"(",
"name",
")",
",",
"child",
"type",
"generic",
")",
";"
] |
[
"returns",
"the",
"highest",
"position",
"iterated",
"to",
"so",
"far",
"useful",
"for",
"ensuring",
"laziness"
] | [
"return",
"max",
"pos",
";"
] |
[
"returns",
"the",
"folder",
"that",
"the",
"plugin",
"data",
"s",
"files",
"are",
"located",
"in",
"the",
"folder",
"may",
"not",
"yet",
"exist"
] | [
"return",
"data",
"folder",
";"
] |
[
"gets",
"the",
"associated",
"plugin",
"loader",
"responsible",
"for",
"this",
"plugin"
] | [
"return",
"loader",
";"
] |
[
"returns",
"the",
"server",
"instance",
"currently",
"running",
"this",
"plugin"
] | [
"return",
"server",
";"
] |
[
"returns",
"a",
"value",
"indicating",
"whether",
"or",
"not",
"this",
"plugin",
"is",
"currently",
"enabled"
] | [
"return",
"is",
"enabled",
";"
] |
[
"returns",
"the",
"plugin",
"yaml",
"file",
"containing",
"the",
"details",
"for",
"this",
"plugin"
] | [
"return",
"description",
";"
] |
[
"returns",
"the",
"class",
"loader",
"which",
"holds",
"this",
"plugin"
] | [
"return",
"class",
"loader",
";"
] |
[
"sets",
"the",
"enabled",
"state",
"of",
"this",
"plugin"
] | [
"if",
"(",
"is",
"enabled",
"!",
"=",
"enabled",
")",
"{",
"is",
"enabled",
"=",
"enabled",
";",
"if",
"(",
"is",
"enabled",
")",
"{",
"on",
"enable",
"(",
")",
";",
"}",
"else",
"{",
"on",
"disable",
"(",
")",
";",
"}",
"}"
] |
[
"provides",
"a",
"list",
"of",
"all",
"classes",
"that",
"should",
"be",
"persisted",
"in",
"the",
"database"
] | [
"return",
"new",
"array",
"list",
"<",
"class",
"<",
"?",
">",
">",
"(",
")",
";"
] |
[
"gets",
"the",
"initialization",
"status",
"of",
"this",
"plugin"
] | [
"return",
"true",
";"
] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"bug",
"find",
"a",
"better",
"place",
"to",
"put",
"this"
] | [
"final",
"robo",
"injector",
"injector",
"=",
"robo",
"guice",
"get",
"injector",
"(",
"this",
")",
";",
"event",
"manager",
"=",
"injector",
"get",
"instance",
"(",
"event",
"manager",
"class",
")",
";",
"injector",
"inject",
"members",
"without",
"views",
... |
[
"find",
"the",
"first",
"non",
"whitespace"
] | [
"int",
"result",
";",
"for",
"(",
"result",
"=",
"offset",
";",
"result",
"<",
"sb",
"length",
"(",
")",
";",
"result",
"+",
"+",
")",
"{",
"if",
"(",
"!",
"character",
"is",
"whitespace",
"(",
"sb",
"char",
"at",
"(",
"result",
")",
")",
")",
... |
[
"find",
"the",
"first",
"whitespace"
] | [
"int",
"result",
";",
"for",
"(",
"result",
"=",
"offset",
";",
"result",
"<",
"sb",
"length",
"(",
")",
";",
"result",
"+",
"+",
")",
"{",
"if",
"(",
"character",
"is",
"whitespace",
"(",
"sb",
"char",
"at",
"(",
"result",
")",
")",
")",
"{",
... |
[
"find",
"the",
"end",
"of",
"string"
] | [
"int",
"result",
";",
"for",
"(",
"result",
"=",
"sb",
"length",
"(",
")",
";",
"result",
">",
"0",
";",
"result",
"-",
"-",
")",
"{",
"if",
"(",
"!",
"character",
"is",
"whitespace",
"(",
"sb",
"char",
"at",
"(",
"result",
"-",
"1",
")",
")",
... |
[
"checks",
"the",
"availability",
"of",
"the",
"secret",
"key",
"that",
"is",
"required",
"to",
"encrypt",
"and",
"decrypt"
] | [
"return",
"aes",
"cipher",
"has",
"secret",
"key",
"(",
")",
";"
] |
[
"uri",
"to",
"file"
] | [
"if",
"(",
"content",
"resolver",
"scheme",
"file",
"equals",
"(",
"uri",
"get",
"scheme",
"(",
")",
")",
")",
"{",
"return",
"new",
"file",
"(",
"uri",
"get",
"path",
"(",
")",
")",
";",
"}",
"cursor",
"loader",
"cl",
"=",
"new",
"cursor",
"loader... |
[
"@",
"param",
"versions",
"reader",
"audit",
"reader",
"@",
"param",
"referenced",
"entity",
"referenced",
"entity",
"descriptor",
"@",
"param",
"primary",
"key",
"referenced",
"entity",
"identifier",
"@",
"param",
"revision",
"revision",
"number"
] | [
"protected",
"abstract",
"object",
"query",
"for",
"referenced",
"entity",
"(",
"audit",
"reader",
"implementor",
"versions",
"reader",
",",
"entity",
"info",
"referenced",
"entity",
",",
"serializable",
"primary",
"key",
",",
"number",
"revision",
")",
";"
] |
[
"returns",
"the",
"largest",
"eigen",
"pair",
"of",
"matrix",
"with",
"the",
"power",
"iteration",
"under",
"the",
"assumptions",
"a",
"has",
"an",
"eigenvalue",
"that",
"is",
"strictly",
"greater",
"in",
"magnitude",
"than",
"its",
"other",
"eigenvalues",
"an... | [
"return",
"eigen",
"(",
"a",
",",
"v",
",",
"smile",
"math",
"math",
"max",
"(",
"1",
"0e",
"-",
"10",
",",
"a",
"nrows",
"(",
")",
"*",
"math",
"epsilon",
")",
")",
";"
] |
[
"returns",
"the",
"largest",
"eigen",
"pair",
"of",
"matrix",
"with",
"the",
"power",
"iteration",
"under",
"the",
"assumptions",
"a",
"has",
"an",
"eigenvalue",
"that",
"is",
"strictly",
"greater",
"in",
"magnitude",
"than",
"its",
"other",
"eigenvalues",
"an... | [
"return",
"eigen",
"(",
"a",
",",
"v",
",",
"0",
"0",
",",
"tol",
")",
";"
] |
[
"returns",
"the",
"largest",
"eigen",
"pair",
"of",
"matrix",
"with",
"the",
"power",
"iteration",
"under",
"the",
"assumptions",
"a",
"has",
"an",
"eigenvalue",
"that",
"is",
"strictly",
"greater",
"in",
"magnitude",
"than",
"its",
"other",
"eigenvalues",
"an... | [
"return",
"eigen",
"(",
"a",
",",
"v",
",",
"0",
"0",
",",
"tol",
",",
"max",
"iter",
")",
";"
] |
[
"returns",
"the",
"largest",
"eigen",
"pair",
"of",
"matrix",
"with",
"the",
"power",
"iteration",
"under",
"the",
"assumptions",
"a",
"has",
"an",
"eigenvalue",
"that",
"is",
"strictly",
"greater",
"in",
"magnitude",
"than",
"its",
"other",
"eigenvalues",
"an... | [
"return",
"eigen",
"(",
"a",
",",
"v",
",",
"p",
",",
"tol",
",",
"math",
"max",
"(",
"20",
",",
"2",
"*",
"a",
"nrows",
"(",
")",
")",
")",
";"
] |
[
"calculate",
"and",
"normalize",
"y",
"=",
"(",
"a",
"-",
"p",
"i",
")",
"x",
"returns",
"the",
"largest",
"element",
"of",
"y",
"in",
"magnitude"
] | [
"a",
"ax",
"(",
"x",
",",
"y",
")",
";",
"if",
"(",
"p",
"!",
"=",
"0",
"0",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"y",
"length",
";",
"i",
"+",
"+",
")",
"{",
"y",
"[",
"i",
"]",
"-",
"=",
"p",
"*",
"x",
"[",... |
[
"adds",
"a",
"listener",
"that",
"is",
"notified",
"about",
"changes",
"in",
"the",
"tutorial"
] | [
"m",
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
] |
[
"returns",
"the",
"currently",
"active",
"tutorial",
"step"
] | [
"return",
"m",
"steps",
"get",
"(",
"m",
"step",
"counter",
")",
";"
] |
[
"returns",
"the",
"description",
"of",
"the",
"tag"
] | [
"return",
"m",
"description",
";"
] |
[
"returns",
"the",
"total",
"number",
"of",
"steps",
"of",
"this",
"tutorial"
] | [
"return",
"m",
"steps",
"size",
"(",
")",
";"
] |
[
"returns",
"the",
"index",
"of",
"the",
"currently",
"active",
"step"
] | [
"return",
"m",
"step",
"counter",
";"
] |
[
"moves",
"the",
"tutorial",
"to",
"the",
"next",
"step"
] | [
"m",
"step",
"counter",
"+",
"+",
";",
"if",
"(",
"m",
"step",
"counter",
"=",
"=",
"m",
"steps",
"size",
"(",
")",
")",
"{",
"for",
"(",
"final",
"i",
"tutorial",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"finished",
"("... |
[
"removes",
"a",
"listener",
"from",
"the",
"tutorial"
] | [
"m",
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
] |
[
"starts",
"a",
"tutorial"
] | [
"m",
"step",
"counter",
"=",
"0",
";",
"for",
"(",
"final",
"i",
"tutorial",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"started",
"(",
"this",
")",
";",
"}"
] |
[
"return",
"the",
"unqualified",
"class",
"name"
] | [
"return",
"string",
"helper",
"unqualify",
"(",
"class",
"name",
")",
";"
] |
[
"return",
"the",
"unqualified",
"property",
"name"
] | [
"return",
"string",
"helper",
"unqualify",
"(",
"property",
"name",
")",
";"
] |
[
"return",
"the",
"argument"
] | [
"return",
"table",
"name",
";"
] |
[
"return",
"the",
"argument"
] | [
"return",
"column",
"name",
";"
] |
[
"return",
"the",
"argument"
] | [
"return",
"column",
"name",
"(",
"joined",
"column",
")",
";"
] |
[
"return",
"the",
"column",
"name",
"or",
"the",
"unqualified",
"property",
"name"
] | [
"return",
"string",
"helper",
"is",
"not",
"empty",
"(",
"column",
"name",
")",
"?",
"column",
"name",
":",
"string",
"helper",
"unqualify",
"(",
"property",
"name",
")",
";"
] |
[
"sets",
"the",
"index",
"versions",
"to",
"be",
"updated"
] | [
"this",
"versions",
"=",
"versions",
";",
"return",
"this",
";"
] |
[
"sets",
"mask",
"value"
] | [
"flags",
"=",
"mask",
"set",
"(",
"flags",
",",
"on",
")",
";"
] |
[
"sets",
"mapped",
"version",
"for",
"candidate",
"for",
"dht",
"local",
"candidates",
"{",
"@",
"code",
"other",
"ver",
"}",
"is",
"near",
"local",
"candidate",
"version",
"for",
"near",
"local",
"candidates",
"{",
"@",
"code",
"other",
"ver",
"}",
"is",
... | [
"assert",
"other",
"ver",
"!",
"=",
"null",
";",
"if",
"(",
"this",
"other",
"ver",
"=",
"=",
"null",
")",
"{",
"this",
"other",
"ver",
"=",
"other",
"ver",
";",
"return",
"true",
";",
"}",
"return",
"this",
"other",
"ver",
"equals",
"(",
"other",
... |
[
"sets",
"owned",
"version",
"for",
"proper",
"lock",
"ordering",
"when",
"remote",
"candidate",
"is",
"added"
] | [
"assert",
"owner",
"ver",
"!",
"=",
"null",
";",
"if",
"(",
"this",
"owner",
"ver",
"=",
"=",
"null",
")",
"{",
"this",
"owner",
"ver",
"=",
"owner",
"ver",
";",
"return",
"true",
";",
"}",
"return",
"this",
"owner",
"ver",
"equals",
"(",
"owner",
... |
[
"sets",
"reentry",
"flag"
] | [
"mask",
"(",
"reentry",
",",
"true",
")",
";"
] |
[
"sets",
"ready",
"flag"
] | [
"mask",
"(",
"ready",
",",
"true",
")",
";"
] |
[
"sets",
"used",
"flag"
] | [
"mask",
"(",
"used",
",",
"true",
")",
";"
] |
[
"sets",
"removed",
"flag"
] | [
"mask",
"(",
"removed",
",",
"true",
")",
";"
] |
[
"sets",
"owner",
"flag"
] | [
"mask",
"(",
"owner",
",",
"true",
")",
";"
] |
[
"{"
] | [
"assert",
"idx",
"=",
"=",
"0",
":",
"idx",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"this",
"ver",
"equals",
"(",
"ver",
")",
";"
] |
[
"{"
] | [
"ignite",
"utils",
"write",
"uuid",
"(",
"out",
",",
"node",
"id",
")",
";",
"out",
"write",
"boolean",
"(",
"ver",
"=",
"=",
"null",
")",
";",
"if",
"(",
"ver",
"!",
"=",
"null",
")",
"{",
"out",
"write",
"boolean",
"(",
"ver",
"instanceof",
"gr... |
[
"{"
] | [
"node",
"id",
"=",
"ignite",
"utils",
"read",
"uuid",
"(",
"in",
")",
";",
"if",
"(",
"!",
"in",
"read",
"boolean",
"(",
")",
")",
"{",
"ver",
"=",
"in",
"read",
"boolean",
"(",
")",
"?",
"new",
"grid",
"cache",
"version",
"ex",
"(",
")",
":",
... |
[
"{"
] | [
"return",
"ver",
"hash",
"code",
"(",
")",
";"
] |
[
"set",
"the",
"active",
"naming",
"store"
] | [
"if",
"(",
"wild",
"fly",
"security",
"manager",
"is",
"checking",
"(",
")",
")",
"{",
"system",
"get",
"security",
"manager",
"(",
")",
"check",
"permission",
"(",
"set",
"active",
"naming",
"store",
")",
";",
"}",
"active",
"naming",
"store",
"=",
"n... |
[
"{"
] | [
"return",
"lookup",
"(",
"name",
",",
"true",
")",
";"
] |
[
"{"
] | [
"return",
"lookup",
"(",
"name",
",",
"true",
")",
";"
] |
[
"{"
] | [
"bind",
"(",
"parse",
"name",
"(",
"name",
")",
",",
"obj",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"rebind",
")",
";",
"if",
"(",
"naming",
"store",
"instanceof",
"writable",
"naming",
"store",
")",
"{",
"final",
"name",
"absolute",
"name",
"=",
"get",
"absolute",
"name",
"(",
"name",
")",
";"... |
[
"{"
] | [
"rebind",
"(",
"parse",
"name",
"(",
"name",
")",
",",
"object",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"unbind",
")",
";",
"if",
"(",
"naming",
"store",
"instanceof",
"writable",
"naming",
"store",
")",
"{",
"final",
"name",
"absolute",
"name",
"=",
"get",
"absolute",
"name",
"(",
"name",
")",
";"... |
[
"{"
] | [
"unbind",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"rename",
"(",
"parse",
"name",
"(",
"old",
"name",
")",
",",
"parse",
"name",
"(",
"new",
"name",
")",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"list",
")",
";",
"try",
"{",
"return",
"naming",
"enumeration",
"(",
"naming",
"store",
"list",
"(",
"get",
"absolute",
"name",
"(",
"name",
")",
")",
")",
";",
"}",
"catch",
"(",
"cannot",
... |
[
"{"
] | [
"return",
"list",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"list",
"bindings",
")",
";",
"try",
"{",
"return",
"naming",
"enumeration",
"(",
"naming",
"store",
"list",
"bindings",
"(",
"get",
"absolute",
"name",
"(",
"name",
")",
")",
")",
";",
"}",
"c... |
[
"{"
] | [
"return",
"list",
"bindings",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"destroy",
"subcontext",
")",
";",
"if",
"(",
"!",
"(",
"naming",
"store",
"instanceof",
"writable",
"naming",
"store",
")",
")",
"{",
"throw",
"naming",
"logger",
"root",
"logger",
"read",
"only",... |
[
"{"
] | [
"destroy",
"subcontext",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"create",
"subcontext",
")",
";",
"if",
"(",
"naming",
"store",
"instanceof",
"writable",
"naming",
"store",
")",
"{",
"final",
"name",
"absolute",
"name",
"=",
"get",
"absolute",
"name",
"(",
"nam... |
[
"{"
] | [
"return",
"create",
"subcontext",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"name",
",",
"jndi",
"permission",
"action",
"lookup",
")",
";",
"if",
"(",
"name",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"lookup",
"(",
"name",
")",
";",
"}",
"try",
"{",
"final",
"name",
"absolute",
"name",
"=",
"get",
"absol... |
[
"{"
] | [
"return",
"lookup",
"link",
"(",
"parse",
"name",
"(",
"name",
")",
")",
";"
] |
[
"{"
] | [
"return",
"name",
"parser",
"instance",
";"
] |
[
"{"
] | [
"return",
"name",
"parser",
"instance",
";"
] |
[
"{"
] | [
"return",
"compose",
"name",
"(",
"parse",
"name",
"(",
"name",
")",
",",
"parse",
"name",
"(",
"prefix",
")",
")",
"to",
"string",
"(",
")",
";"
] |
[
"{"
] | [
"final",
"object",
"existing",
"=",
"environment",
"get",
"(",
"prop",
"name",
")",
";",
"environment",
"put",
"(",
"prop",
"name",
",",
"prop",
"val",
")",
";",
"return",
"existing",
";"
] |
[
"{"
] | [
"return",
"environment",
";"
] |
[
"{"
] | [
"return",
"prefix",
"to",
"string",
"(",
")",
";"
] |
[
"{"
] | [
"check",
"(",
"target",
",",
"jndi",
"permission",
"action",
"add",
"naming",
"listener",
")",
";",
"naming",
"store",
"add",
"naming",
"listener",
"(",
"target",
",",
"scope",
",",
"listener",
")",
";"
] |
[
"{"
] | [
"add",
"naming",
"listener",
"(",
"parse",
"name",
"(",
"target",
")",
",",
"scope",
",",
"listener",
")",
";"
] |
[
"{"
] | [
"naming",
"store",
"remove",
"naming",
"listener",
"(",
"listener",
")",
";"
] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"enables",
"the",
"internal",
"caching",
"of",
"type",
"variables"
] | [
"cache",
"enabled",
"=",
"true",
";"
] |
[
"disables",
"the",
"internal",
"caching",
"of",
"type",
"variables"
] | [
"type",
"variable",
"cache",
"clear",
"(",
")",
";",
"cache",
"enabled",
"=",
"false",
";"
] |
[
"returns",
"the",
"raw",
"class",
"representing",
"the",
"type",
"argument",
"for",
"the",
"{",
"@",
"code",
"target",
"type",
"}",
"resolved",
"upwards",
"from",
"the",
"{",
"@",
"code",
"initial",
"type",
"}",
"if",
"no",
"arguments",
"can",
"be",
"res... | [
"return",
"resolve",
"argument",
"(",
"resolve",
"generic",
"type",
"(",
"initial",
"type",
",",
"target",
"type",
")",
",",
"initial",
"type",
")",
";"
] |
[
"returns",
"an",
"array",
"of",
"raw",
"classes",
"representing",
"type",
"arguments",
"for",
"the",
"{",
"@",
"code",
"target",
"type",
"}",
"resolved",
"upwards",
"from",
"the",
"{",
"@",
"code",
"initial",
"type",
"}",
"arguments",
"for",
"{",
"@",
"c... | [
"return",
"resolve",
"arguments",
"(",
"resolve",
"generic",
"type",
"(",
"initial",
"type",
",",
"target",
"type",
")",
",",
"initial",
"type",
")",
";"
] |
[
"resolves",
"the",
"arguments",
"for",
"the",
"{"
] | [
"class",
"<",
"?",
">",
"[",
"]",
"result",
"=",
"null",
";",
"if",
"(",
"generic",
"type",
"instanceof",
"parameterized",
"type",
")",
"{",
"parameterized",
"type",
"param",
"type",
"=",
"(",
"parameterized",
"type",
")",
"generic",
"type",
";",
"type",... |
[
"resolves",
"the",
"generic",
"type",
"for",
"the",
"{"
] | [
"class",
"<",
"?",
">",
"raw",
"type",
";",
"if",
"(",
"initial",
"type",
"instanceof",
"parameterized",
"type",
")",
"raw",
"type",
"=",
"(",
"class",
"<",
"?",
">",
")",
"(",
"(",
"parameterized",
"type",
")",
"initial",
"type",
")",
"get",
"raw",
... |
[
"resolves",
"the",
"raw",
"class",
"for",
"the",
"given",
"{"
] | [
"if",
"(",
"generic",
"type",
"instanceof",
"class",
")",
"{",
"return",
"(",
"class",
"<",
"?",
">",
")",
"generic",
"type",
";",
"}",
"else",
"if",
"(",
"generic",
"type",
"instanceof",
"parameterized",
"type",
")",
"{",
"return",
"resolve",
"class",
... |
[
"populates",
"the",
"{"
] | [
"for",
"(",
"type",
"type",
":",
"types",
")",
"{",
"if",
"(",
"type",
"instanceof",
"parameterized",
"type",
")",
"{",
"parameterized",
"type",
"parameterized",
"type",
"=",
"(",
"parameterized",
"type",
")",
"type",
";",
"build",
"type",
"variable",
"map... |
[
"populates",
"the",
"{"
] | [
"if",
"(",
"type",
"get",
"raw",
"type",
"(",
")",
"instanceof",
"class",
")",
"{",
"type",
"variable",
"<",
"?",
">",
"[",
"]",
"type",
"variables",
"=",
"(",
"(",
"class",
"<",
"?",
">",
")",
"type",
"get",
"raw",
"type",
"(",
")",
")",
"get"... |
[
"resolves",
"the",
"first",
"bound",
"for",
"the",
"{"
] | [
"type",
"[",
"]",
"bounds",
"=",
"type",
"variable",
"get",
"bounds",
"(",
")",
";",
"if",
"(",
"bounds",
"length",
"=",
"=",
"0",
")",
"return",
"unknown",
"class",
";",
"type",
"bound",
"=",
"bounds",
"[",
"0",
"]",
";",
"if",
"(",
"bound",
"in... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"out",
"write",
"int",
"(",
"length",
")",
";",
"out",
"write",
"int",
"(",
"position",
")",
";",
"out",
"write",
"(",
"data",
",",
"0",
",",
"position",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"hash",
"value",
"get",
"max",
"normalized",
"key",
"len",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"int",
"hash",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"position",
";",
"i",
"+",
"+",
")",
"{",
"hash",
"=",
"31",
"*",
"hash",
"+",
"data",
"[",
"i",
"]",
";",
"}",
"return",
"hash",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"value",
"copy",
"to",
"(",
"this",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.