docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"xxh64",
"64",
"}"
] | [
"public",
"static",
"native",
"long",
"n",
"x",
"x",
"h",
"6",
"4",
"(",
"long",
"input",
",",
"long",
"length",
",",
"long",
"seed",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"long",
"n",
"x",
"x",
"h",
"6",
"4",
"create",
"state",
"(",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"int",
"n",
"x",
"x",
"h",
"6",
"4",
"free",
"state",
"(",
"long",
"state",
"ptr",
")",
";"
] |
[
"-",
"-",
"-",
"[",
"xxh64",
"copy",
"state",
"]",
"-",
"-",
"-"
] | [
"public",
"static",
"native",
"void",
"n",
"x",
"x",
"h",
"6",
"4",
"copy",
"state",
"(",
"long",
"dst",
"state",
",",
"long",
"src",
"state",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"int",
"n",
"x",
"x",
"h",
"6",
"4",
"reset",
"(",
"long",
"state",
"ptr",
",",
"long",
"seed",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"xxh64",
"update",
"64",
"update",
"}"
] | [
"public",
"static",
"native",
"int",
"n",
"x",
"x",
"h",
"6",
"4",
"update",
"(",
"long",
"state",
"ptr",
",",
"long",
"input",
",",
"long",
"length",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"long",
"n",
"x",
"x",
"h",
"6",
"4",
"digest",
"(",
"long",
"state",
"ptr",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"n",
"x",
"x",
"h",
"6",
"4",
"canonical",
"from",
"hash",
"(",
"long",
"dst",
",",
"long",
"hash",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"long",
"n",
"x",
"x",
"h",
"6",
"4",
"hash",
"from",
"canonical",
"(",
"long",
"src",
")",
";"
] |
[
"the",
"input",
"table",
"as",
"defined",
"in",
"{",
"@",
"link",
"org",
"jooq",
"table",
"#",
"get",
"name",
"(",
")",
"}",
"either",
"&",
"lt",
";",
"input",
"/",
">",
"or",
"&",
"lt",
";",
"input",
"expression",
"/",
">",
"must",
"be",
"provided"
] | [
"return",
"input",
";"
] |
[
"sets",
"the",
"value",
"of",
"the",
"username",
"property"
] | [
"this",
"username",
"=",
"value",
";"
] |
[
"used",
"to",
"get",
"a",
"searcher"
] | [
"if",
"(",
"req",
"!",
"=",
"null",
")",
"req",
"close",
"(",
")",
";",
"req",
"=",
"null",
";"
] |
[
"the",
"scheduler",
"that",
"was",
"given",
"to",
"this",
"job",
"manager",
"when",
"it",
"was",
"initialized",
"<",
"p",
">",
"the",
"scheduler",
"is",
"used",
"by",
"the",
"job",
"service",
"to",
"communicate",
"with",
"the",
"job",
"manager"
] | [
"return",
"scheduler",
";"
] |
[
"when",
"job",
"manager",
"runs",
"out",
"of",
"ready",
"jobs",
"it",
"will",
"keep",
"consumers",
"alive",
"for",
"this",
"duration",
"it",
"defaults",
"to",
"{"
] | [
"configuration",
"consumer",
"keep",
"alive",
"=",
"keep",
"alive",
";",
"return",
"this",
";"
] |
[
"job",
"manager",
"1",
"x",
"versions",
"used",
"to",
"clear",
"delay",
"for",
"existing",
"jobs",
"when",
"the",
"application",
"is",
"restarted",
"because",
"there",
"is",
"no",
"reliable",
"way",
"to",
"measure",
"time",
"difference",
"between",
"device",
"reboots",
"(",
"and",
"from",
"the",
"app",
"s",
"perspective",
"device",
"reboot",
"is",
"no",
"different",
"than",
"app",
"restart",
")",
"<",
"p",
">",
"this",
"may",
"cause",
"unexpected",
"behaviors",
"as",
"delayed",
"persistent",
"jobs",
"instantly",
"become",
"available",
"when",
"application",
"restarts",
"<",
"p",
">",
"job",
"manager",
"2",
"x",
"versions",
"change",
"this",
"behavior",
"and",
"does",
"not",
"reset",
"the",
"delay",
"of",
"persistent",
"jobs",
"on",
"restart",
"this",
"may",
"create",
"a",
"problem",
"if",
"jobs",
"were",
"added",
"when",
"the",
"device",
"s",
"clock",
"is",
"set",
"to",
"some",
"unreasonable",
"time",
"but",
"for",
"common",
"cases",
"it",
"is",
"more",
"desirable",
"<",
"p",
">",
"you",
"can",
"get",
"the",
"v",
"1",
"behavior",
"by",
"calling",
"this",
"method",
"note",
"that",
"it",
"will",
"also",
"effect",
"jobs",
"which",
"require",
"network",
"with",
"a",
"timeout",
"their",
"timeouts",
"will",
"be",
"triggered",
"on",
"restart",
"if",
"you",
"call",
"this",
"method"
] | [
"configuration",
"reset",
"delays",
"on",
"restart",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"convenient",
"configuration",
"to",
"replace",
"job",
"serializer",
"while",
"using",
"{",
"@",
"link",
"sqlite",
"job",
"queue",
"}",
"queue",
"for",
"persistence",
"by",
"default",
"it",
"uses",
"a",
"{",
"@",
"link",
"com",
"birbit",
"android",
"jobqueue",
"persistent",
"queue",
"sqlite",
"sqlite",
"job",
"queue",
"java",
"serializer",
"}",
"which",
"will",
"use",
"default",
"java",
"serialization",
"@",
"param",
"job",
"serializer",
"the",
"serializer",
"to",
"be",
"used",
"to",
"persist",
"jobs"
] | [
"configuration",
"queue",
"factory",
"=",
"new",
"default",
"queue",
"factory",
"(",
"job",
"serializer",
")",
";",
"return",
"this",
";"
] |
[
"by",
"default",
"job",
"manager",
"comes",
"with",
"a",
"simple",
"{",
"@",
"link",
"network",
"util",
"impl",
"}",
"that",
"queries",
"{",
"@",
"link",
"connectivity",
"manager",
"}",
"to",
"check",
"if",
"network",
"connection",
"exists",
"you",
"can",
"provide",
"your",
"own",
"if",
"you",
"need",
"a",
"custom",
"logic",
"(",
"e",
"g",
"check",
"your",
"server",
"health",
"etc",
")"
] | [
"configuration",
"network",
"util",
"=",
"network",
"util",
";",
"return",
"this",
";"
] |
[
"job",
"manager",
"is",
"suitable",
"for",
"dependency",
"injection",
"just",
"provide",
"your",
"dependency",
"injector",
"and",
"it",
"will",
"call",
"it",
"before",
"{",
"job",
"#",
"on",
"added",
"}",
"method",
"is",
"called",
"if",
"job",
"is",
"persistent",
"it",
"will",
"also",
"be",
"called",
"before",
"run",
"method"
] | [
"configuration",
"dependency",
"injector",
"=",
"injector",
";",
"return",
"this",
";"
] |
[
"#",
"of",
"max",
"consumers",
"to",
"run",
"concurrently",
"defaults",
"to",
"{",
"@",
"link",
"#",
"max",
"consumer",
"count",
"}",
"@",
"param",
"count",
"the",
"max",
"number",
"of",
"threads",
"that",
"job",
"manager",
"can",
"create",
"to",
"run",
"jobs"
] | [
"configuration",
"max",
"consumer",
"count",
"=",
"count",
";",
"return",
"this",
";"
] |
[
"you",
"can",
"specify",
"to",
"keep",
"min",
"consumers",
"alive",
"even",
"if",
"there",
"are",
"no",
"ready",
"jobs",
"defaults",
"to",
"{",
"@",
"link",
"#",
"min",
"consumer",
"count",
"}"
] | [
"configuration",
"min",
"consumer",
"count",
"=",
"count",
";",
"return",
"this",
";"
] |
[
"you",
"can",
"specify",
"a",
"custom",
"timer",
"to",
"control",
"task",
"execution",
"useful",
"for",
"testing"
] | [
"configuration",
"timer",
"=",
"timer",
";",
"return",
"this",
";"
] |
[
"you",
"can",
"provide",
"a",
"custom",
"logger",
"to",
"get",
"logs",
"from",
"job",
"manager",
"by",
"default",
"job",
"manager",
"only",
"logs",
"error",
"via",
"android",
"s",
"<",
"code",
">",
"log",
"e",
"<",
"/",
"code",
">"
] | [
"configuration",
"custom",
"logger",
"=",
"logger",
";",
"return",
"this",
";"
] |
[
"calculated",
"by",
"#",
"of",
"jobs",
"(",
"running",
"+",
"waiting",
")",
"per",
"thread",
"for",
"instance",
"at",
"a",
"given",
"time",
"if",
"you",
"have",
"two",
"consumers",
"and",
"10",
"jobs",
"in",
"waiting",
"queue",
"(",
"or",
"running",
"right",
"now",
")",
"load",
"is",
"(",
"10",
"/",
"2",
")",
"=",
"5",
"defaults",
"to",
"{",
"@",
"link",
"#",
"default",
"load",
"factor",
"per",
"consumer",
"}"
] | [
"configuration",
"load",
"factor",
"=",
"load",
"factor",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"job",
"manager",
"in",
"test",
"mode",
"this",
"information",
"is",
"passed",
"to",
"job",
"queue",
"s",
"if",
"you",
"are",
"using",
"default",
"job",
"queues",
"calling",
"this",
"method",
"will",
"cause",
"{",
"@",
"link",
"sqlite",
"job",
"queue",
"}",
"to",
"use",
"an",
"in",
"-",
"memory",
"database"
] | [
"configuration",
"in",
"test",
"mode",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"assigns",
"a",
"scheduler",
"that",
"can",
"be",
"used",
"to",
"wake",
"up",
"the",
"application",
"when",
"job",
"manager",
"has",
"jobs",
"to",
"execute",
"this",
"is",
"the",
"integration",
"point",
"with",
"the",
"system",
"{",
"@",
"link",
"android",
"app",
"job",
"job",
"scheduler",
"}",
"<",
"p",
">",
"<",
"b",
">",
"batching",
"<",
"/",
"b",
">",
"<",
"p",
">",
"by",
"default",
"job",
"manager",
"batches",
"scheduling",
"requests",
"so",
"that",
"it",
"will",
"not",
"call",
"job",
"scheduler",
"too",
"many",
"times",
"for",
"instance",
"if",
"a",
"persistent",
"job",
"that",
"requires",
"network",
"is",
"added",
"when",
"batching",
"is",
"enabled",
"job",
"manager",
"creates",
"the",
"job",
"scheduler",
"request",
"with",
"{",
"@",
"link",
"com",
"birbit",
"android",
"jobqueue",
"batching",
"scheduler",
"#",
"default",
"batching",
"period",
"in",
"ms",
"}",
"delay",
"any",
"subsequent",
"job",
"request",
"that",
"has",
"the",
"same",
"criteria",
"will",
"use",
"the",
"previous",
"batching",
"request",
"this",
"way",
"job",
"manager",
"can",
"avoid",
"making",
"a",
"job",
"scheduler",
"request",
"for",
"every",
"job",
"it",
"will",
"still",
"execute",
"the",
"job",
"if",
"it",
"becomes",
"available",
"without",
"waiting",
"for",
"the",
"delay",
"but",
"if",
"the",
"application",
"is",
"killed",
"the",
"job",
"scheduler",
"will",
"wait",
"until",
"the",
"delay",
"passes",
"before",
"waking",
"up",
"the",
"application",
"to",
"consume",
"the",
"jobs"
] | [
"configuration",
"scheduler",
"=",
"scheduler",
";",
"configuration",
"batch",
"scheduler",
"requests",
"=",
"batch",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"priority",
"for",
"the",
"threads",
"of",
"this",
"manager",
"by",
"default",
"it",
"is",
"{",
"@",
"link",
"#",
"default",
"thread",
"priority",
"}",
"<",
"p",
">",
"if",
"a",
"{",
"@",
"link",
"thread",
"factory",
"}",
"is",
"provided",
"this",
"value",
"is",
"ignored"
] | [
"configuration",
"thread",
"priority",
"=",
"thread",
"priority",
";",
"return",
"this",
";"
] |
[
"assigns",
"a",
"scheduler",
"that",
"can",
"be",
"used",
"to",
"wake",
"up",
"the",
"application",
"when",
"job",
"manager",
"has",
"jobs",
"to",
"execute",
"this",
"is",
"the",
"integration",
"point",
"with",
"the",
"system",
"{",
"@",
"link",
"android",
"app",
"job",
"job",
"scheduler",
"}",
"<",
"p",
">",
"<",
"b",
">",
"batching",
"<",
"/",
"b",
">",
"<",
"p",
">",
"by",
"default",
"job",
"manager",
"batches",
"scheduling",
"requests",
"so",
"that",
"it",
"will",
"not",
"call",
"job",
"scheduler",
"too",
"many",
"times",
"for",
"instance",
"if",
"a",
"persistent",
"job",
"that",
"requires",
"network",
"is",
"added",
"when",
"batching",
"is",
"enabled",
"job",
"manager",
"creates",
"the",
"job",
"scheduler",
"request",
"with",
"{",
"@",
"link",
"com",
"birbit",
"android",
"jobqueue",
"batching",
"scheduler",
"#",
"default",
"batching",
"period",
"in",
"ms",
"}",
"delay",
"any",
"subsequent",
"job",
"request",
"that",
"has",
"the",
"same",
"criteria",
"will",
"use",
"the",
"previous",
"batching",
"request",
"this",
"way",
"job",
"manager",
"can",
"avoid",
"making",
"a",
"job",
"scheduler",
"request",
"for",
"every",
"job",
"it",
"will",
"still",
"execute",
"the",
"job",
"if",
"it",
"becomes",
"available",
"without",
"waiting",
"for",
"the",
"delay",
"but",
"if",
"the",
"application",
"is",
"killed",
"the",
"job",
"scheduler",
"will",
"wait",
"until",
"the",
"delay",
"passes",
"before",
"waking",
"up",
"the",
"application",
"to",
"consume",
"the",
"jobs"
] | [
"return",
"scheduler",
"(",
"scheduler",
",",
"true",
")",
";"
] |
[
"provide",
"a",
"factory",
"class",
"to",
"create",
"new",
"worker",
"instances",
"when",
"job",
"manager",
"needs",
"them",
"<",
"p",
">",
"when",
"a",
"factory",
"is",
"installed",
"it",
"becomes",
"its",
"responsibility",
"to",
"configure",
"the",
"{",
"@",
"link",
"thread",
"}",
"with",
"proper",
"group",
"and",
"priority",
"job",
"manager",
"will",
"use",
"the",
"{",
"@",
"link",
"thread",
"}",
"as",
"is"
] | [
"configuration",
"thread",
"factory",
"=",
"thread",
"factory",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"super",
"get",
"name",
"(",
")",
";"
] |
[
"sets",
"the",
"index",
"where",
"the",
"document",
"is",
"located"
] | [
"request",
"index",
"(",
"index",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"type",
"of",
"the",
"document"
] | [
"request",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"id",
"of",
"the",
"document"
] | [
"request",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"artificial",
"document",
"from",
"which",
"to",
"generate",
"term",
"vectors"
] | [
"request",
"doc",
"(",
"x",
"content",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"routing",
"required",
"if",
"routing",
"isn",
"t",
"id",
"based"
] | [
"request",
"routing",
"(",
"routing",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"preference",
"to",
"execute",
"the",
"search",
"defaults",
"to",
"randomize",
"across",
"shards",
"can",
"be",
"set",
"to",
"{"
] | [
"request",
"preference",
"(",
"preference",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"the",
"start",
"and",
"stop",
"offsets",
"for",
"each",
"term",
"if",
"they",
"were",
"stored",
"or",
"skip",
"offsets"
] | [
"request",
"offsets",
"(",
"offsets",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"the",
"positions",
"for",
"each",
"term",
"if",
"stored",
"or",
"skip"
] | [
"request",
"positions",
"(",
"positions",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"the",
"payloads",
"for",
"each",
"term",
"or",
"skip"
] | [
"request",
"payloads",
"(",
"payloads",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"the",
"term",
"statistics",
"for",
"each",
"term",
"in",
"the",
"shard",
"or",
"skip"
] | [
"request",
"term",
"statistics",
"(",
"term",
"statistics",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"the",
"field",
"statistics",
"for",
"each",
"term",
"in",
"the",
"shard",
"or",
"skip"
] | [
"request",
"field",
"statistics",
"(",
"field",
"statistics",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"to",
"return",
"only",
"term",
"vectors",
"for",
"special",
"selected",
"fields",
"returns",
"the",
"term",
"vectors",
"for",
"all",
"fields",
"if",
"selected",
"fields",
"=",
"=",
"null"
] | [
"request",
"selected",
"fields",
"(",
"fields",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"term",
"vectors",
"are",
"generated",
"real",
"-",
"time"
] | [
"request",
"realtime",
"(",
"realtime",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"sets",
"the",
"version",
"which",
"will",
"cause",
"the",
"get",
"operation",
"to",
"only",
"be",
"performed",
"if",
"a",
"matching",
"version",
"exists",
"and",
"no",
"changes",
"happened",
"on",
"the",
"doc",
"since",
"then"
] | [
"request",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"sets",
"the",
"versioning",
"type",
"defaults",
"to",
"{"
] | [
"request",
"version",
"type",
"(",
"version",
"type",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"analyzer",
"used",
"at",
"each",
"field",
"when",
"generating",
"term",
"vectors"
] | [
"request",
"per",
"field",
"analyzer",
"(",
"per",
"field",
"analyzer",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"settings",
"for",
"filtering",
"out",
"terms"
] | [
"request",
"filter",
"settings",
"(",
"filter",
"settings",
")",
";",
"return",
"this",
";"
] |
[
"intercept",
"sending",
"to",
"the",
"uri",
"or",
"uri",
"pattern"
] | [
"this",
"uri",
"=",
"uri",
";"
] |
[
"version",
"comment"
] | [
"int",
"length",
"=",
"offset",
"+",
"version",
"comment",
"length",
";",
"if",
"(",
"stmt",
"length",
"(",
")",
">",
"=",
"length",
")",
"{",
"if",
"(",
"parse",
"util",
"compare",
"(",
"stmt",
",",
"offset",
",",
"version",
"comment",
")",
")",
"{",
"if",
"(",
"stmt",
"length",
"(",
")",
">",
"length",
"&",
"&",
"stmt",
"char",
"at",
"(",
"length",
")",
"!",
"=",
"'",
"'",
")",
"{",
"return",
"other",
";",
"}",
"return",
"version",
"comment",
";",
"}",
"}",
"return",
"other",
";"
] |
[
"session",
"auto",
"increment",
"increment"
] | [
"int",
"length",
"=",
"offset",
"+",
"session",
"auto",
"increment",
"length",
";",
"if",
"(",
"stmt",
"length",
"(",
")",
">",
"=",
"length",
")",
"{",
"if",
"(",
"parse",
"util",
"compare",
"(",
"stmt",
",",
"offset",
",",
"session",
"auto",
"increment",
")",
")",
"{",
"if",
"(",
"stmt",
"length",
"(",
")",
">",
"length",
"&",
"&",
"stmt",
"char",
"at",
"(",
"length",
")",
"!",
"=",
"'",
"'",
")",
"{",
"return",
"other",
";",
"}",
"return",
"session",
"auto",
"increment",
";",
"}",
"}",
"return",
"other",
";"
] |
[
"todo",
"speed",
"this",
"up"
] | [
"int",
"idx",
"=",
"0",
";",
"for",
"(",
"time",
"zone",
"info",
"tzi",
":",
"m",
"time",
"zones",
")",
"{",
"if",
"(",
"time",
"zone",
"id",
"equals",
"(",
"tzi",
"m",
"tz",
"id",
")",
")",
"{",
"return",
"idx",
";",
"}",
"idx",
"+",
"+",
";",
"}",
"return",
"-",
"1",
";"
] |
[
"returns",
"the",
"number",
"of",
"restored",
"checkpoints"
] | [
"return",
"num",
"restored",
"checkpoints",
";"
] |
[
"returns",
"the",
"total",
"number",
"of",
"checkpoints",
"(",
"in",
"progress",
"completed",
"failed",
")"
] | [
"return",
"num",
"total",
"checkpoints",
";"
] |
[
"returns",
"the",
"number",
"of",
"in",
"progress",
"checkpoints"
] | [
"return",
"num",
"in",
"progress",
"checkpoints",
";"
] |
[
"returns",
"the",
"number",
"of",
"completed",
"checkpoints"
] | [
"return",
"num",
"completed",
"checkpoints",
";"
] |
[
"returns",
"the",
"number",
"of",
"failed",
"checkpoints"
] | [
"return",
"num",
"failed",
"checkpoints",
";"
] |
[
"increments",
"the",
"number",
"of",
"restored",
"checkpoints"
] | [
"num",
"restored",
"checkpoints",
"+",
"+",
";"
] |
[
"increments",
"the",
"number",
"of",
"total",
"and",
"in",
"progress",
"checkpoints"
] | [
"num",
"in",
"progress",
"checkpoints",
"+",
"+",
";",
"num",
"total",
"checkpoints",
"+",
"+",
";"
] |
[
"creates",
"a",
"snapshot",
"of",
"the",
"current",
"state"
] | [
"return",
"new",
"checkpoint",
"stats",
"counts",
"(",
"num",
"restored",
"checkpoints",
",",
"num",
"total",
"checkpoints",
",",
"num",
"in",
"progress",
"checkpoints",
",",
"num",
"completed",
"checkpoints",
",",
"num",
"failed",
"checkpoints",
")",
";"
] |
[
"sets",
"the",
"text",
"size",
"in",
"pixels"
] | [
"if",
"(",
"m",
"text",
"paint",
"get",
"text",
"size",
"(",
")",
"!",
"=",
"size",
")",
"{",
"m",
"text",
"paint",
"set",
"text",
"size",
"(",
"size",
")",
";",
"m",
"inner",
"padding",
"x",
"=",
"(",
"int",
")",
"(",
"size",
"*",
"inner",
"padding",
"ratio",
"+",
"0",
"5f",
")",
";",
"m",
"has",
"measurements",
"=",
"false",
";",
"request",
"layout",
"(",
")",
";",
"invalidate",
"(",
")",
";",
"}"
] |
[
"return",
":",
"description",
"of",
"return"
] | [
"if",
"(",
"nums",
"=",
"=",
"null",
"|",
"|",
"nums",
"size",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"0",
";",
"}",
"return",
"helper",
"(",
"nums",
",",
"0",
",",
"nums",
"size",
"(",
")",
"-",
"1",
",",
"nums",
"size",
"(",
")",
"-",
"k",
")",
";"
] |
[
"convert",
"from",
"void",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"return",
"null",
";"
] |
[
"convert",
"from",
"boolean",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"i",
"get",
"(",
")",
"?",
"(",
"short",
")",
"1",
":",
"(",
"short",
")",
"0",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"convert",
"from",
"byte",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"i",
"get",
"(",
")",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"convert",
"from",
"integer",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"(",
"short",
")",
"i",
"get",
"(",
")",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"convert",
"from",
"long",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"(",
"short",
")",
"i",
"get",
"(",
")",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"convert",
"from",
"float",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"(",
"short",
")",
"i",
"get",
"(",
")",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"convert",
"from",
"double",
"to",
"a",
"short",
"this",
"is",
"called",
"for",
"cast",
"(",
"as",
"smallint",
")"
] | [
"if",
"(",
"i",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"short",
"writable",
"set",
"(",
"(",
"short",
")",
"i",
"get",
"(",
")",
")",
";",
"return",
"short",
"writable",
";",
"}"
] |
[
"{"
] | [
"final",
"string",
"item",
"name",
"2",
"=",
"item",
"name",
";",
"final",
"command",
"command",
"2",
"=",
"command",
";",
"this",
"run",
"on",
"refresh",
"thread",
"async",
"(",
"new",
"lcn",
"binding",
"notification",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"execute",
"(",
")",
"{",
"for",
"(",
"lcn",
"generic",
"binding",
"provider",
"provider",
":",
"lcn",
"binding",
"this",
"providers",
")",
"{",
"lcn",
"binding",
"config",
"item",
"config",
"=",
"provider",
"get",
"lcn",
"item",
"config",
"(",
"item",
"name",
"2",
")",
";",
"if",
"(",
"item",
"config",
"!",
"=",
"null",
")",
"{",
"item",
"config",
"send",
"(",
"lcn",
"binding",
"this",
"connections",
",",
"command",
"2",
")",
";",
"}",
"}",
"}",
"}",
")",
";"
] |
[
"tells",
"the",
"connections",
"the",
"binding",
"is",
"activated",
"{"
] | [
"this",
"connections",
"activate",
"(",
")",
";"
] |
[
"tells",
"the",
"connections",
"the",
"binding",
"is",
"deactivated",
"{"
] | [
"this",
"connections",
"deactivate",
"(",
")",
";"
] |
[
"{"
] | [
"synchronized",
"(",
"this",
"notifications",
")",
"{",
"this",
"notifications",
"add",
"(",
"n",
")",
";",
"this",
"notifications",
"sem",
"release",
"(",
")",
";",
"}"
] |
[
"{"
] | [
"for",
"(",
"lcn",
"generic",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"for",
"(",
"string",
"item",
"name",
":",
"provider",
"get",
"item",
"names",
"(",
")",
")",
"{",
"lcn",
"binding",
"config",
"item",
"config",
"=",
"provider",
"get",
"lcn",
"item",
"config",
"(",
"item",
"name",
")",
";",
"item",
"config",
"update",
"(",
"conn",
")",
";",
"}",
"}"
] |
[
"{"
] | [
"return",
"this",
"connection",
"settings",
";"
] |
[
"{"
] | [
"return",
"this",
"bindings",
"exist",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"binding",
"changed",
"(",
"provider",
",",
"item",
"name",
")",
";",
"if",
"(",
"this",
"bindings",
"exist",
"(",
")",
")",
"{",
"this",
"active",
"service",
"start",
"(",
")",
";",
"}",
"else",
"{",
"this",
"active",
"service",
"stop",
"(",
")",
";",
"}"
] |
[
"{"
] | [
"super",
"all",
"bindings",
"changed",
"(",
"provider",
")",
";",
"if",
"(",
"bindings",
"exist",
"(",
")",
")",
"{",
"this",
"active",
"service",
"start",
"(",
")",
";",
"}",
"else",
"{",
"this",
"active",
"service",
"stop",
"(",
")",
";",
"}"
] |
[
"setup",
"method"
] | [
"super",
"set",
"up",
"(",
"cfg",
")",
";",
"id",
"gen",
"=",
"new",
"disjoint",
"range",
"generator",
"(",
"cfg",
"threads",
"(",
")",
",",
"args",
"range",
"(",
")",
",",
"args",
"sql",
"range",
"(",
")",
")",
";"
] |
[
"selects",
"method",
"of",
"inserting",
"sdt",
"information",
"into",
"output",
"stream",
"the",
"sdt",
"follow",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"the",
"sdt",
"follow",
"if",
"present",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"if",
"sdt",
"information",
"is",
"present",
"in",
"the",
"input",
"otherwise",
"it",
"will",
"fall",
"back",
"on",
"the",
"user",
"-",
"defined",
"values",
"the",
"sdt",
"manual",
"setting",
"means",
"user",
"will",
"enter",
"the",
"sdt",
"information",
"the",
"sdt",
"none",
"setting",
"means",
"output",
"stream",
"will",
"not",
"contain",
"sdt",
"information"
] | [
"this",
"output",
"sdt",
"=",
"output",
"sdt",
";"
] |
[
"selects",
"method",
"of",
"inserting",
"sdt",
"information",
"into",
"output",
"stream",
"the",
"sdt",
"follow",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"the",
"sdt",
"follow",
"if",
"present",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"if",
"sdt",
"information",
"is",
"present",
"in",
"the",
"input",
"otherwise",
"it",
"will",
"fall",
"back",
"on",
"the",
"user",
"-",
"defined",
"values",
"the",
"sdt",
"manual",
"setting",
"means",
"user",
"will",
"enter",
"the",
"sdt",
"information",
"the",
"sdt",
"none",
"setting",
"means",
"output",
"stream",
"will",
"not",
"contain",
"sdt",
"information"
] | [
"return",
"this",
"output",
"sdt",
";"
] |
[
"selects",
"method",
"of",
"inserting",
"sdt",
"information",
"into",
"output",
"stream",
"the",
"sdt",
"follow",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"the",
"sdt",
"follow",
"if",
"present",
"setting",
"copies",
"sdt",
"information",
"from",
"input",
"stream",
"to",
"output",
"stream",
"if",
"sdt",
"information",
"is",
"present",
"in",
"the",
"input",
"otherwise",
"it",
"will",
"fall",
"back",
"on",
"the",
"user",
"-",
"defined",
"values",
"the",
"sdt",
"manual",
"setting",
"means",
"user",
"will",
"enter",
"the",
"sdt",
"information",
"the",
"sdt",
"none",
"setting",
"means",
"output",
"stream",
"will",
"not",
"contain",
"sdt",
"information"
] | [
"set",
"output",
"sdt",
"(",
"output",
"sdt",
")",
";",
"return",
"this",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"this",
"sdt",
"interval",
"=",
"sdt",
"interval",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"return",
"this",
"sdt",
"interval",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"set",
"sdt",
"interval",
"(",
"sdt",
"interval",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"matches",
"the",
"<",
"code",
">",
"name",
"<",
"/",
"code",
">",
"that",
"the",
"service",
"uses",
"to",
"identify",
"itself",
"in",
"segments",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"service",
"name",
";"
] |
[
"the",
"service",
"name",
"placed",
"in",
"the",
"service",
"descriptor",
"in",
"the",
"service",
"description",
"table",
"maximum",
"length",
"is",
"256",
"characters"
] | [
"set",
"service",
"name",
"(",
"service",
"name",
")",
";",
"return",
"this",
";"
] |
[
"the",
"service",
"provider",
"name",
"placed",
"in",
"the",
"service",
"descriptor",
"in",
"the",
"service",
"description",
"table",
"maximum",
"length",
"is",
"256",
"characters"
] | [
"this",
"service",
"provider",
"name",
"=",
"service",
"provider",
"name",
";"
] |
[
"the",
"service",
"provider",
"name",
"placed",
"in",
"the",
"service",
"descriptor",
"in",
"the",
"service",
"description",
"table",
"maximum",
"length",
"is",
"256",
"characters"
] | [
"return",
"this",
"service",
"provider",
"name",
";"
] |
[
"the",
"service",
"provider",
"name",
"placed",
"in",
"the",
"service",
"descriptor",
"in",
"the",
"service",
"description",
"table",
"maximum",
"length",
"is",
"256",
"characters"
] | [
"set",
"service",
"provider",
"name",
"(",
"service",
"provider",
"name",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"provided",
"validation",
"error",
"to",
"error",
"container"
] | [
"errors",
"add",
"(",
"validation",
"error",
")",
";"
] |
[
"checks",
"if",
"result",
"of",
"the",
"validation",
"is",
"successful",
"based",
"on",
"the",
"size",
"of",
"error",
"container"
] | [
"return",
"errors",
"is",
"empty",
"(",
")",
";"
] |
[
"gets",
"list",
"of",
"errors",
"for",
"container"
] | [
"return",
"new",
"array",
"list",
"<",
">",
"(",
"errors",
")",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"endpoints",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"vpc",
"endpoints",
"=",
"=",
"null",
")",
"{",
"vpc",
"endpoints",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"vpc",
"endpoint",
">",
"(",
")",
";",
"}",
"return",
"vpc",
"endpoints",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"endpoints",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"vpc",
"endpoints",
"=",
"=",
"null",
")",
"{",
"this",
"vpc",
"endpoints",
"=",
"null",
";",
"return",
";",
"}",
"this",
"vpc",
"endpoints",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"vpc",
"endpoint",
">",
"(",
"vpc",
"endpoints",
")",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"endpoints",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"vpc",
"endpoints",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"vpc",
"endpoints",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"vpc",
"endpoints",
"=",
"=",
"null",
")",
"{",
"set",
"vpc",
"endpoints",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"vpc",
"endpoint",
">",
"(",
"vpc",
"endpoints",
"length",
")",
")",
";",
"}",
"for",
"(",
"vpc",
"endpoint",
"ele",
":",
"vpc",
"endpoints",
")",
"{",
"this",
"vpc",
"endpoints",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"information",
"about",
"the",
"endpoints",
"<",
"/",
"p",
">"
] | [
"set",
"vpc",
"endpoints",
"(",
"vpc",
"endpoints",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"to",
"use",
"when",
"requesting",
"the",
"next",
"set",
"of",
"items",
"if",
"there",
"are",
"no",
"additional",
"items",
"to",
"return",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"populate",
"this",
"version",
"s",
"major",
"minor",
"patch",
"from",
"given",
"string"
] | [
"string",
"[",
"]",
"tokens",
"=",
"string",
"util",
"tokenize",
"version",
"string",
"(",
"version",
")",
";",
"this",
"major",
"=",
"byte",
"value",
"of",
"(",
"tokens",
"[",
"0",
"]",
")",
";",
"this",
"minor",
"=",
"byte",
"value",
"of",
"(",
"tokens",
"[",
"1",
"]",
")",
";",
"if",
"(",
"tokens",
"length",
">",
"3",
"&",
"&",
"tokens",
"[",
"3",
"]",
"!",
"=",
"null",
")",
"{",
"this",
"patch",
"=",
"byte",
"value",
"of",
"(",
"tokens",
"[",
"3",
"]",
")",
";",
"}"
] |
[
"gets",
"concurrency",
"level"
] | [
"return",
"locks",
"length",
";"
] |
[
"returns",
"{"
] | [
"return",
"locks",
"[",
"u",
"safe",
"abs",
"(",
"key",
")",
"%",
"locks",
"length",
"]",
";"
] |
[
"returns",
"{"
] | [
"return",
"locks",
"[",
"u",
"safe",
"abs",
"(",
"(",
"int",
")",
"(",
"key",
"%",
"locks",
"length",
")",
")",
"]",
";"
] |
Subsets and Splits