docstring_tokens list | code_tokens list |
|---|---|
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"sparse",
"image",
"format",
"properties",
"create",
"(",
"struct",
"+",
"vk",
"sparse",
"image",
"memory",
"requirements",
"formatproperties",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sparse",
"image",
"memory",
"requirements",
"imagemiptailfirstlod",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"sparse",
"image",
"memory",
"requirements",
"imagemiptailsize",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"sparse",
"image",
"memory",
"requirements",
"imagemiptailoffset",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"sparse",
"image",
"memory",
"requirements",
"imagemiptailstride",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"sparse",
"image",
"memory",
"requirements",
"nformat",
"properties",
"(",
"address",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"hadoop",
"kerberos",
"secure",
"connection",
"(",
"not",
"an",
"ssl",
"connection",
")"
] | [
"authenticated",
"u",
"r",
"l",
"token",
"token",
"=",
"new",
"authenticated",
"u",
"r",
"l",
"token",
"(",
")",
";",
"try",
"{",
"return",
"new",
"authenticated",
"u",
"r",
"l",
"(",
")",
"open",
"connection",
"(",
"url",
",",
"token",
")",
";",
"... |
[
"notify",
"the",
"controller",
"of",
"the",
"change",
"in",
"a",
"parent",
"s",
"children",
"<",
"p",
">",
"if",
"the",
"controller",
"hasn",
"t",
"subscribed",
"to",
"the",
"parent",
"the",
"api",
"will",
"do",
"nothing",
"<",
"p",
">",
"controllers",
... | [
"m",
"provider",
"notify",
"children",
"changed",
"impl",
"(",
"controller",
",",
"parent",
"id",
",",
"item",
"count",
",",
"extras",
")",
";"
] |
[
"this",
"is",
"for",
"the",
"backward",
"compatibility"
] | [
"m",
"provider",
"notify",
"children",
"changed",
"impl",
"(",
"parent",
"id",
",",
"item",
"count",
",",
"extras",
")",
";"
] |
[
"notify",
"controller",
"about",
"change",
"in",
"the",
"search",
"result"
] | [
"m",
"provider",
"notify",
"search",
"result",
"changed",
"impl",
"(",
"controller",
",",
"query",
",",
"item",
"count",
",",
"extras",
")",
";"
] |
[
"called",
"when",
"another",
"app",
"requested",
"to",
"start",
"this",
"service",
"<",
"p",
">",
"library",
"service",
"will",
"accept",
"or",
"reject",
"the",
"connection",
"with",
"the",
"{",
"@",
"link",
"media",
"library",
"session",
"callback",
"}",
... | [
"@",
"override",
"public",
"@",
"non",
"null",
"abstract",
"media",
"library",
"session",
"on",
"create",
"session",
"(",
"string",
"session",
"id",
")",
";"
] |
[
"gets",
"the",
"root",
"id",
"for",
"browsing"
] | [
"return",
"m",
"provider",
"get",
"root",
"id",
"impl",
"(",
")",
";"
] |
[
"gets",
"any",
"extras",
"about",
"the",
"library",
"service"
] | [
"return",
"m",
"provider",
"get",
"extras",
"impl",
"(",
")",
";"
] |
[
"a",
"short",
"text",
"description",
"of",
"the",
"origin",
"endpoint"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"the",
"id",
"of",
"the",
"origin",
"endpoint",
"to",
"update"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"an",
"optional",
"short",
"string",
"appended",
"to",
"the",
"end",
"of",
"the",
"origin",
"endpoint",
"url",
"if",
"not",
"specified",
"defaults",
"to",
"the",
"manifest",
"name",
"for",
"the",
"origin",
"endpoint"
] | [
"this",
"manifest",
"name",
"=",
"manifest",
"name",
";"
] |
[
"an",
"optional",
"short",
"string",
"appended",
"to",
"the",
"end",
"of",
"the",
"origin",
"endpoint",
"url",
"if",
"not",
"specified",
"defaults",
"to",
"the",
"manifest",
"name",
"for",
"the",
"origin",
"endpoint"
] | [
"return",
"this",
"manifest",
"name",
";"
] |
[
"a",
"short",
"string",
"that",
"will",
"be",
"appended",
"to",
"the",
"end",
"of",
"the",
"endpoint",
"url"
] | [
"set",
"manifest",
"name",
"(",
"manifest",
"name",
")",
";",
"return",
"this",
";"
] |
[
"maximum",
"duration",
"(",
"seconds",
")",
"of",
"content",
"to",
"retain",
"for",
"startover",
"playback",
"if",
"not",
"specified",
"startover",
"playback",
"will",
"be",
"disabled",
"for",
"the",
"origin",
"endpoint"
] | [
"this",
"startover",
"window",
"seconds",
"=",
"startover",
"window",
"seconds",
";"
] |
[
"maximum",
"duration",
"(",
"seconds",
")",
"of",
"content",
"to",
"retain",
"for",
"startover",
"playback",
"if",
"not",
"specified",
"startover",
"playback",
"will",
"be",
"disabled",
"for",
"the",
"origin",
"endpoint"
] | [
"return",
"this",
"startover",
"window",
"seconds",
";"
] |
[
"maximum",
"duration",
"(",
"in",
"seconds",
")",
"of",
"content",
"to",
"retain",
"for",
"startover",
"playback",
"if",
"not",
"specified",
"startover",
"playback",
"will",
"be",
"disabled",
"for",
"the",
"origin",
"endpoint"
] | [
"set",
"startover",
"window",
"seconds",
"(",
"startover",
"window",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"amount",
"of",
"delay",
"(",
"seconds",
")",
"to",
"enforce",
"on",
"the",
"playback",
"of",
"live",
"content",
"if",
"not",
"specified",
"there",
"will",
"be",
"no",
"time",
"delay",
"in",
"effect",
"for",
"the",
"origin",
"endpoint"
] | [
"this",
"time",
"delay",
"seconds",
"=",
"time",
"delay",
"seconds",
";"
] |
[
"amount",
"of",
"delay",
"(",
"seconds",
")",
"to",
"enforce",
"on",
"the",
"playback",
"of",
"live",
"content",
"if",
"not",
"specified",
"there",
"will",
"be",
"no",
"time",
"delay",
"in",
"effect",
"for",
"the",
"origin",
"endpoint"
] | [
"return",
"this",
"time",
"delay",
"seconds",
";"
] |
[
"amount",
"of",
"delay",
"(",
"in",
"seconds",
")",
"to",
"enforce",
"on",
"the",
"playback",
"of",
"live",
"content",
"if",
"not",
"specified",
"there",
"will",
"be",
"no",
"time",
"delay",
"in",
"effect",
"for",
"the",
"origin",
"endpoint"
] | [
"set",
"time",
"delay",
"seconds",
"(",
"time",
"delay",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"a",
"list",
"of",
"source",
"ip",
"cidr",
"blocks",
"that",
"will",
"be",
"allowed",
"to",
"access",
"the",
"origin",
"endpoint"
] | [
"return",
"whitelist",
";"
] |
[
"a",
"list",
"of",
"source",
"ip",
"cidr",
"blocks",
"that",
"will",
"be",
"allowed",
"to",
"access",
"the",
"origin",
"endpoint"
] | [
"if",
"(",
"whitelist",
"=",
"=",
"null",
")",
"{",
"this",
"whitelist",
"=",
"null",
";",
"return",
";",
"}",
"this",
"whitelist",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"whitelist",
")",
";"
] |
[
"a",
"list",
"of",
"source",
"ip",
"cidr",
"blocks",
"that",
"will",
"be",
"allowed",
"to",
"access",
"the",
"origin",
"endpoint",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"t... | [
"if",
"(",
"this",
"whitelist",
"=",
"=",
"null",
")",
"{",
"set",
"whitelist",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"whitelist",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"whitelist",
")",
"{"... |
[
"a",
"list",
"of",
"source",
"ip",
"cidr",
"blocks",
"that",
"will",
"be",
"allowed",
"to",
"access",
"the",
"origin",
"endpoint"
] | [
"set",
"whitelist",
"(",
"whitelist",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"audit",
"whose",
"information",
"you",
"want",
"to",
"get",
"<",
"/",
"p",
">"
] | [
"set",
"task",
"id",
"(",
"task",
"id",
")",
";",
"return",
"this",
";"
] |
[
"concatenates",
"the",
"qualifier",
"and",
"value",
"for",
"appending",
"to",
"a",
"column",
"in",
"the",
"backing",
"data",
"store"
] | [
"final",
"byte",
"[",
"]",
"bytes",
"=",
"new",
"byte",
"[",
"qualifier",
"length",
"+",
"value",
"length",
"]",
";",
"system",
"arraycopy",
"(",
"this",
"qualifier",
",",
"0",
",",
"bytes",
",",
"0",
",",
"qualifier",
"length",
")",
";",
"system",
"... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"precise",
"date",
"time",
"field",
"(",
"date",
"time",
"field",
"type",
"second",
"of",
"minute",
"(",
")",
",",
"i",
"s",
"o",
"chronology",
"get",
"instance",
"u",
"t",
"c",
"(",
")",
"millis"... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"mock",
"counting",
"duration",
"field",
"add",
"int",
"=",
"0",
";",
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"61",
",",
"field",
"add",
"(",
"1l",
",",... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"29",
"*",
"60l",
",",
"field",
"add",
"wrap",
"field",
"(",
"60l",
"*",
"29",
",",
"0",
")",
")",
";",
"ass... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"mock",
"counting",
"duration",
"field",
"difference",
"long",
"=",
"0",
";",
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"30",
",",
"field",
"get",
"difference... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"0",
",",
"field",
"set",
"(",
"120l",
",",
"0",
")",
")",
";",
"assert",
"equals",
"(",
"29",
"*",
"60",
",... |
[
"public",
"abstract",
"duration",
"field",
"get",
"range",
"duration",
"field",
"(",
")",
";"
] | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"false",
",",
"field",
"is",
"leap",
"(",
"0l",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"0",
",",
"field",
"get",
"minimum",
"value",
"(",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"2",
",",
"field",
"get",
"maximum",
"text",
"length",
"(",
"locale",
"english",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"base",
"date",
"time",
"field",
"field",
"=",
"new",
"mock",
"precise",
"date",
"time",
"field",
"(",
")",
";",
"assert",
"equals",
"(",
"-",
"120l",
",",
"field",
"round",
"floor",
"(",
"-",
"61l",
")",
")",
";",
"assert",
"equals",
"(",
"-",
"60... |
[
"this",
"field",
"is",
"precise"
] | [
"return",
"true",
";"
] |
[
"always",
"returns",
"zero"
] | [
"return",
"0",
";"
] |
[
"java",
"bean",
"stuff",
"uses",
"this"
] | [
"add",
"missing",
"(",
"accumulator",
",",
"get",
"desc",
"(",
"ref",
"type",
")",
",",
"path",
",",
"origin",
")",
";"
] |
[
"path",
"is",
"null",
"if",
"we",
"re",
"at",
"the",
"root"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"config",
"value",
">",
"entry",
":",
"reference",
"entry",
"set",
"(",
")",
")",
"{",
"string",
"key",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"path",
"child",
"path",
";",
"if",
"(",
"path",
"!... |
[
"serialization",
"all",
"goes",
"through",
"serialized",
"config",
"value"
] | [
"return",
"new",
"serialized",
"config",
"value",
"(",
"this",
")",
";"
] |
[
"sets",
"the",
"splitting",
"rule"
] | [
"this",
"rule",
"=",
"rule",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"out",
"-",
"of",
"-",
"bag",
"estimation",
"of",
"rmse",
"the",
"oob",
"estimate",
"is",
"quite",
"accurate",
"given",
"that",
"enough",
"trees",
"have",
"been",
"grown",
"otherwise",
"the",
"oob",
"estimate",
"can",
"bias",
"upward"
] | [
"return",
"error",
";"
] |
[
"returns",
"the",
"variable",
"importance",
"every",
"time",
"a",
"split",
"of",
"a",
"node",
"is",
"made",
"on",
"variable",
"the",
"impurity",
"criterion",
"for",
"the",
"two",
"descendent",
"nodes",
"is",
"less",
"than",
"the",
"parent",
"node",
"adding",... | [
"return",
"importance",
";"
] |
[
"returns",
"the",
"number",
"of",
"trees",
"in",
"the",
"model"
] | [
"return",
"trees",
"size",
"(",
")",
";"
] |
[
"test",
"the",
"model",
"on",
"a",
"validation",
"dataset"
] | [
"int",
"t",
"=",
"trees",
"size",
"(",
")",
";",
"double",
"[",
"]",
"accuracy",
"=",
"new",
"double",
"[",
"t",
"]",
";",
"int",
"n",
"=",
"x",
"length",
";",
"int",
"[",
"]",
"label",
"=",
"new",
"int",
"[",
"n",
"]",
";",
"int",
"[",
"]"... |
[
"test",
"the",
"model",
"on",
"a",
"validation",
"dataset"
] | [
"int",
"t",
"=",
"trees",
"size",
"(",
")",
";",
"int",
"m",
"=",
"measures",
"length",
";",
"double",
"[",
"]",
"[",
"]",
"results",
"=",
"new",
"double",
"[",
"t",
"]",
"[",
"m",
"]",
";",
"int",
"n",
"=",
"x",
"length",
";",
"int",
"[",
... |
[
"returns",
"the",
"decision",
"trees"
] | [
"decision",
"tree",
"[",
"]",
"forest",
"=",
"new",
"decision",
"tree",
"[",
"trees",
"size",
"(",
")",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"forest",
"length",
";",
"i",
"+",
"+",
")",
"forest",
"[",
"i",
"]",
"=",
"tre... |
[
"gets",
"the",
"value",
"of",
"the",
"arg",
"0",
"property"
] | [
"return",
"arg",
"0",
";"
] |
[
"sets",
"the",
"value",
"of",
"the",
"arg",
"0",
"property"
] | [
"this",
"arg",
"0",
"=",
"value",
";"
] |
[
"test",
"default",
"value",
"handling",
"for",
"max",
"file",
"size"
] | [
"table",
"descriptor",
"desc",
"=",
"table",
"descriptor",
"builder",
"new",
"builder",
"(",
"table",
"name",
"value",
"of",
"(",
"name",
"get",
"method",
"name",
"(",
")",
")",
")",
"build",
"(",
")",
";",
"assert",
"equals",
"(",
"-",
"1",
",",
"de... |
[
"test",
"default",
"value",
"handling",
"for",
"mem",
"store",
"flush",
"size"
] | [
"table",
"descriptor",
"desc",
"=",
"table",
"descriptor",
"builder",
"new",
"builder",
"(",
"table",
"name",
"value",
"of",
"(",
"name",
"get",
"method",
"name",
"(",
")",
")",
")",
"build",
"(",
")",
";",
"assert",
"equals",
"(",
"-",
"1",
",",
"de... |
[
"true",
"if",
"we",
"opened",
"a",
"tcp",
"channel",
"or",
"will",
"open",
"one",
"to",
"close",
"-",
"and",
"-",
"send"
] | [
"assert",
"!",
"is",
"closed",
"(",
")",
";",
"return",
"chan",
"instanceof",
"socket",
"channel",
"|",
"|",
"(",
"h",
"2o",
"!",
"=",
"null",
"&",
"&",
"bb",
"position",
"(",
")",
">",
"=",
"mtu",
")",
";"
] |
[
"true",
"if",
"we",
"are",
"in",
"read",
"-",
"mode"
] | [
"return",
"read",
";"
] |
[
"int",
"zeros",
"(",
")",
"{",
"return",
"zeros",
";",
"}"
] | [
"return",
"bb",
"position",
"(",
")",
";"
] |
[
"return",
"byte",
"[",
"]",
"from",
"a",
"writable",
"auto",
"buffer"
] | [
"assert",
"h",
"2o",
"=",
"=",
"null",
"&",
"&",
"chan",
"=",
"=",
"null",
"&",
"&",
"!",
"read",
"&",
"&",
"!",
"bb",
"is",
"direct",
"(",
")",
";",
"return",
"memory",
"manager",
"array",
"copy",
"of",
"range",
"(",
"bb",
"array",
"(",
")",
... |
[
"over",
"with"
] | [
"if",
"(",
"old",
"prior",
"=",
"=",
"-",
"1",
")",
"{",
"assert",
"chan",
"instanceof",
"socket",
"channel",
";",
"old",
"prior",
"=",
"thread",
"current",
"thread",
"(",
")",
"get",
"priority",
"(",
")",
";",
"thread",
"current",
"thread",
"(",
")"... |
[
"flip",
"to",
"write",
"-",
"mode"
] | [
"assert",
"read",
";",
"read",
"=",
"false",
";",
"bb",
"clear",
"(",
")",
";",
"first",
"page",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"flip",
"to",
"read",
"-",
"mode"
] | [
"assert",
"!",
"read",
";",
"read",
"=",
"true",
";",
"bb",
"flip",
"(",
")",
";",
"first",
"page",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"ensure",
"the",
"buffer",
"has",
"space",
"for",
"sz",
"more",
"bytes"
] | [
"return",
"sz",
">",
"bb",
"remaining",
"(",
")",
"?",
"get",
"impl",
"(",
"sz",
")",
":",
"bb",
";"
] |
[
"put",
"as",
"needed",
"to",
"keep",
"from",
"overflowing",
"the",
"byte",
"buffer"
] | [
"assert",
"!",
"read",
";",
"if",
"(",
"sz",
"<",
"=",
"bb",
"remaining",
"(",
")",
")",
"return",
"bb",
";",
"return",
"send",
"partial",
"(",
")",
";"
] |
[
"utility",
"functions",
"to",
"get",
"various",
"java",
"primitives"
] | [
"return",
"get",
"1",
"(",
")",
"!",
"=",
"0",
";"
] |
[
"is",
"null",
"flag",
"when",
"passing",
"the",
"array",
"length",
")"
] | [
"if",
"(",
"0",
"<",
"=",
"(",
"x",
"+",
"1",
")",
"&",
"&",
"(",
"x",
"+",
"1",
")",
"<",
"=",
"253",
")",
"return",
"put",
"1",
"(",
"x",
"+",
"1",
")",
";",
"if",
"(",
"short",
"min",
"value",
"<",
"=",
"x",
"&",
"&",
"x",
"<",
"... |
[
"get",
"a",
"(",
"compressed",
")",
"integer",
"see",
"above",
"for",
"the",
"compression",
"strategy",
"and",
"reasoning"
] | [
"int",
"x",
"=",
"get",
"1",
"(",
")",
";",
"if",
"(",
"x",
"<",
"=",
"253",
")",
"return",
"x",
"-",
"1",
";",
"if",
"(",
"x",
"=",
"=",
"255",
")",
"return",
"(",
"short",
")",
"get",
"2",
"(",
")",
";",
"assert",
"x",
"=",
"=",
"254"... |
[
"return",
"bytes",
"read",
"which",
"could",
"be",
"zero"
] | [
"int",
"sz",
"=",
"math",
"min",
"(",
"bb",
"remaining",
"(",
")",
",",
"len",
")",
";",
"bb",
"get",
"(",
"buf",
",",
"off",
",",
"sz",
")",
";",
"return",
"sz",
";"
] |
[
"get",
"the",
"1st",
"control",
"byte"
] | [
"return",
"get",
"sz",
"(",
"1",
")",
"get",
"(",
"0",
")",
"&",
"0x",
"f",
"f",
";"
] |
[
"get",
"the",
"port",
"in",
"next",
"2",
"bytes"
] | [
"return",
"get",
"sz",
"(",
"1",
"+",
"2",
")",
"get",
"char",
"(",
"1",
")",
";"
] |
[
"get",
"the",
"task",
"#",
"in",
"the",
"next",
"4",
"bytes"
] | [
"return",
"get",
"sz",
"(",
"1",
"+",
"2",
"+",
"4",
")",
"get",
"int",
"(",
"1",
"+",
"2",
")",
";"
] |
[
"get",
"the",
"flag",
"in",
"the",
"next",
"1",
"byte"
] | [
"return",
"get",
"sz",
"(",
"1",
"+",
"2",
"+",
"4",
"+",
"1",
")",
"get",
"(",
"1",
"+",
"2",
"+",
"4",
")",
";"
] |
[
"utility",
"functions",
"to",
"read",
"&",
"write",
"arrays"
] | [
"arys",
"+",
"+",
";",
"int",
"len",
"=",
"get",
"int",
"(",
")",
";",
"return",
"len",
"=",
"=",
"-",
"1",
"?",
"null",
":",
"get",
"a",
"1",
"(",
"len",
")",
";"
] |
[
"returns",
"the",
"delegate",
"members",
"injector",
"or",
"{"
] | [
"return",
"delegate",
";"
] |
[
"additional",
"metadata",
"about",
"this",
"s",
"object",
"there",
"are",
"no",
"guarantees",
"that",
"all",
"of",
"the",
"fields",
"of",
"{",
"@",
"link",
"s",
"object",
"description",
"}",
"will",
"be",
"set"
] | [
"public",
"abstract",
"s",
"object",
"description",
"description",
"(",
")",
";"
] |
[
"converts",
"the",
"given",
"categories",
"to",
"an",
"array",
"of",
"bytes"
] | [
"byte",
"[",
"]",
"result",
"=",
"new",
"byte",
"[",
"2",
"]",
";",
"for",
"(",
"supported",
"new",
"alert",
"category",
"category",
":",
"categories",
")",
"{",
"result",
"[",
"category",
"byte",
"number",
"(",
")",
"]",
"|",
"=",
"category",
"as",
... |
[
"casts",
"the",
"specified",
"value",
"to",
"short",
"and",
"adds",
"it"
] | [
"short",
"[",
"]",
"items",
"=",
"this",
"items",
";",
"if",
"(",
"size",
"=",
"=",
"items",
"length",
")",
"items",
"=",
"resize",
"(",
"math",
"max",
"(",
"8",
",",
"(",
"int",
")",
"(",
"size",
"*",
"1",
"7",
"5f",
")",
")",
")",
";",
"i... |
[
"removes",
"from",
"this",
"array",
"all",
"of",
"elements",
"contained",
"in",
"the",
"specified",
"array"
] | [
"int",
"size",
"=",
"this",
"size",
";",
"int",
"start",
"size",
"=",
"size",
";",
"short",
"[",
"]",
"items",
"=",
"this",
"items",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"array",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"... |
[
"removes",
"and",
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"-",
"-",
"size",
"]",
";"
] |
[
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"size",
"-",
"1",
"]",
";"
] |
[
"reduces",
"the",
"size",
"of",
"the",
"backing",
"array",
"to",
"the",
"size",
"of",
"the",
"actual",
"items",
"this",
"is",
"useful",
"to",
"release",
"memory",
"when",
"many",
"items",
"have",
"been",
"removed",
"or",
"if",
"it",
"is",
"known",
"that"... | [
"if",
"(",
"items",
"length",
"!",
"=",
"size",
")",
"resize",
"(",
"size",
")",
";",
"return",
"items",
";"
] |
[
"returns",
"a",
"random",
"item",
"from",
"the",
"array",
"or",
"zero",
"if",
"the",
"array",
"is",
"empty"
] | [
"if",
"(",
"size",
"=",
"=",
"0",
")",
"return",
"0",
";",
"return",
"items",
"[",
"math",
"utils",
"random",
"(",
"0",
",",
"size",
"-",
"1",
")",
"]",
";"
] |
[
"returns",
"email",
"store"
] | [
"final",
"simple",
"authenticator",
"simple",
"authenticator",
"=",
"(",
"simple",
"authenticator",
")",
"authenticator",
";",
"final",
"u",
"r",
"l",
"name",
"url",
";",
"if",
"(",
"simple",
"authenticator",
"=",
"=",
"null",
")",
"{",
"url",
"=",
"new",
... |
[
"/",
"*",
"override",
"byte",
"buffer",
"put",
"(",
"byte",
"[",
"]",
"int",
"int",
")",
"to",
"improve",
"performance"
] | [
"if",
"(",
"off",
"<",
"0",
"|",
"|",
"len",
"<",
"0",
"|",
"|",
"(",
"long",
")",
"off",
"+",
"(",
"long",
")",
"len",
">",
"src",
"length",
")",
"{",
"throw",
"new",
"index",
"out",
"of",
"bounds",
"exception",
"(",
")",
";",
"}",
"if",
"... |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"if",
"(",
"input",
"get",
"dbf",
"file",
"name",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"filename",
"set",
"text",
"(",
"input",
"get",
"dbf",
"file",
"name",
"(",
")",
")",
";",
"w",
"filename",
"set",
"tool",
"tip",
"text",
"(",
"trans",
... |
[
"check",
"the",
"origin",
"and",
"determine",
"the",
"origin",
"for",
"the",
"response",
"the",
"default",
"implementation",
"simply",
"delegates",
"to",
"{"
] | [
"return",
"config",
"check",
"origin",
"(",
"request",
"origin",
")",
";"
] |
[
"check",
"the",
"http",
"method",
"and",
"determine",
"the",
"methods",
"for",
"the",
"response",
"of",
"a",
"pre",
"-",
"flight",
"request",
"the",
"default",
"implementation",
"simply",
"delegates",
"to",
"{"
] | [
"return",
"config",
"check",
"http",
"method",
"(",
"request",
"method",
")",
";"
] |
[
"check",
"the",
"headers",
"and",
"determine",
"the",
"headers",
"for",
"the",
"response",
"of",
"a",
"pre",
"-",
"flight",
"request",
"the",
"default",
"implementation",
"simply",
"delegates",
"to",
"{"
] | [
"return",
"config",
"check",
"headers",
"(",
"request",
"headers",
")",
";"
] |
[
"add",
"a",
"value",
"to",
"the",
"aggregator"
] | [
"this",
"sum",
"+",
"=",
"long",
"parse",
"long",
"(",
"val",
"to",
"string",
"(",
")",
")",
";"
] |
[
"add",
"a",
"value",
"to",
"the",
"aggregator"
] | [
"this",
"sum",
"+",
"=",
"val",
";"
] |
[
"reset",
"the",
"aggregator"
] | [
"sum",
"=",
"0",
";"
] |
[
"calculates",
"the",
"total",
"number",
"of",
"breakpoints",
"shown",
"in",
"the",
"table"
] | [
"int",
"breakpoints",
"=",
"0",
";",
"for",
"(",
"final",
"i",
"debugger",
"debugger",
":",
"m",
"debugger",
"provider",
"get",
"debuggers",
"(",
")",
")",
"{",
"breakpoints",
"+",
"=",
"debugger",
"get",
"breakpoint",
"manager",
"(",
")",
"get",
"number... |
[
"determines",
"the",
"address",
"of",
"the",
"breakpoint",
"shown",
"in",
"a",
"given",
"row"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"returns",
"the",
"breakpoint",
"condition",
"for",
"the",
"breakpoint",
"in",
"the",
"given",
"row"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"determines",
"the",
"description",
"of",
"the",
"breakpoint",
"shown",
"in",
"a",
"given",
"row"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"determines",
"the",
"name",
"of",
"the",
"module",
"where",
"the",
"breakpoint",
"resides"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"determines",
"the",
"breakpoint",
"status",
"of",
"the",
"breakpoint",
"shown",
"in",
"a",
"given",
"row"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"determines",
"the",
"debugger",
"of",
"the",
"breakpoint",
"shown",
"in",
"a",
"given",
"row"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"for",
"(",
"final",
"i",
"debugger",
"debugger",
":",
"m"... |
[
"determines",
"the",
"relocated",
"address",
"of",
"the",
"breakpoint"
] | [
"final",
"pair",
"<",
"i",
"debugger",
",",
"integer",
">",
"breakpoint",
"=",
"c",
"breakpoint",
"table",
"helpers",
"find",
"breakpoint",
"(",
"m",
"debugger",
"provider",
",",
"row",
")",
";",
"final",
"breakpoint",
"manager",
"manager",
"=",
"breakpoint"... |
[
"updates",
"a",
"breakpoint",
"condition"
] | [
"manager",
"set",
"breakpoint",
"condition",
"(",
"breakpoint",
"index",
",",
"formula",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.