docstring_tokens list | code_tokens list |
|---|---|
[
"appends",
"{"
] | [
"ensure",
"room",
"for",
"(",
"values",
"size",
"(",
")",
")",
";",
"for",
"(",
"double",
"value",
":",
"values",
")",
"{",
"array",
"[",
"count",
"+",
"+",
"]",
"=",
"value",
";",
"}",
"return",
"this",
";"
] |
[
"appends",
"{"
] | [
"ensure",
"room",
"for",
"(",
"values",
"length",
"(",
")",
")",
";",
"system",
"arraycopy",
"(",
"values",
"array",
",",
"values",
"start",
",",
"array",
",",
"count",
",",
"values",
"length",
"(",
")",
")",
";",
"count",
"+",
"=",
"values",
"length... |
[
"returns",
"a",
"new",
"immutable",
"array",
"the",
"builder",
"can",
"continue",
"to",
"be",
"used",
"after",
"this",
"call",
"to",
"append",
"more",
"values",
"and",
"build",
"again"
] | [
"return",
"count",
"=",
"=",
"0",
"?",
"empty",
":",
"new",
"immutable",
"double",
"array",
"(",
"array",
",",
"0",
",",
"count",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"values",
"in",
"this",
"array"
] | [
"return",
"end",
"-",
"start",
";"
] |
[
"returns",
"{"
] | [
"return",
"end",
"=",
"=",
"start",
";"
] |
[
"returns",
"the",
"{",
"@",
"code",
"double",
"}",
"value",
"present",
"at",
"the",
"given",
"index"
] | [
"preconditions",
"check",
"element",
"index",
"(",
"index",
",",
"length",
"(",
")",
")",
";",
"return",
"array",
"[",
"start",
"+",
"index",
"]",
";"
] |
[
"returns",
"the",
"smallest",
"index",
"for",
"which",
"{"
] | [
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"are",
"equal",
"(",
"array",
"[",
"i",
"]",
",",
"target",
")",
")",
"{",
"return",
"i",
"-",
"start",
";",
"}",
"}",
"return",
"-",
"1"... |
[
"returns",
"the",
"largest",
"index",
"for",
"which",
"{"
] | [
"for",
"(",
"int",
"i",
"=",
"end",
"-",
"1",
";",
"i",
">",
"=",
"start",
";",
"i",
"-",
"-",
")",
"{",
"if",
"(",
"are",
"equal",
"(",
"array",
"[",
"i",
"]",
",",
"target",
")",
")",
"{",
"return",
"i",
"-",
"start",
";",
"}",
"}",
"... |
[
"returns",
"{"
] | [
"return",
"index",
"of",
"(",
"target",
")",
">",
"=",
"0",
";"
] |
[
"returns",
"a",
"new",
"mutable",
"copy",
"of",
"this",
"array",
"s",
"values",
"as",
"a",
"primitive",
"{"
] | [
"return",
"arrays",
"copy",
"of",
"range",
"(",
"array",
",",
"start",
",",
"end",
")",
";"
] |
[
"returns",
"a",
"new",
"immutable",
"array",
"containing",
"the",
"values",
"in",
"the",
"specified",
"range"
] | [
"preconditions",
"check",
"position",
"indexes",
"(",
"start",
"index",
",",
"end",
"index",
",",
"length",
"(",
")",
")",
";",
"return",
"start",
"index",
"=",
"=",
"end",
"index",
"?",
"empty",
":",
"new",
"immutable",
"double",
"array",
"(",
"array",
... |
[
"inherit",
":",
"is",
"empty",
"contains",
"all",
"to",
"array",
"x",
"2",
"iterator",
"list",
"iterator",
"stream",
"for",
"each",
"mutations"
] | [
"return",
"parent",
"length",
"(",
")",
";"
] |
[
"because",
"we",
"happen",
"to",
"use",
"the",
"same",
"formula",
"if",
"that",
"changes",
"just",
"don",
"t",
"override",
"this"
] | [
"return",
"parent",
"hash",
"code",
"(",
")",
";"
] |
[
"returns",
"{"
] | [
"if",
"(",
"object",
"=",
"=",
"this",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"!",
"(",
"object",
"instanceof",
"immutable",
"double",
"array",
")",
")",
"{",
"return",
"false",
";",
"}",
"immutable",
"double",
"array",
"that",
"=",
"(",
... |
[
"match",
"the",
"behavior",
"of",
"double",
"equals",
"(",
")"
] | [
"return",
"double",
"double",
"to",
"long",
"bits",
"(",
"a",
")",
"=",
"=",
"double",
"double",
"to",
"long",
"bits",
"(",
"b",
")",
";"
] |
[
"returns",
"an",
"unspecified",
"hash",
"code",
"for",
"the",
"contents",
"of",
"this",
"immutable",
"array"
] | [
"int",
"hash",
"=",
"1",
";",
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"end",
";",
"i",
"+",
"+",
")",
"{",
"hash",
"*",
"=",
"31",
";",
"hash",
"+",
"=",
"doubles",
"hash",
"code",
"(",
"array",
"[",
"i",
"]",
")",
";",
"}",
... |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"same",
"values",
"as",
"{"
] | [
"return",
"is",
"partial",
"view",
"(",
")",
"?",
"new",
"immutable",
"double",
"array",
"(",
"to",
"array",
"(",
")",
")",
":",
"this",
";"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"request",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"strin... |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"request",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"... |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"request",
"message",
";",
"if",
"(",
"!",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"=",
"(",
"com",
"google",
"protobuf",
"byte",
"str... |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"request",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"(",
... |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"request",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"request",
"message",
"=",
"get",
"default",
"instance",
"(",
")",
"get",
"request",
"message",
"(",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"check",
"byte",
"string",
"is",
"utf",
"8",
"(",
"value",
")",
";",
"request",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
... |
[
"returns",
"the",
"maximum",
"age",
"of",
"the",
"cookie",
"specified",
"in",
"seconds",
"by",
"default",
"<",
"code",
">",
"-",
"1",
"<",
"/",
"code",
">",
"indicating",
"the",
"cookie",
"will",
"persist",
"until",
"browser",
"shutdown"
] | [
"return",
"max",
"age",
";"
] |
[
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"the",
"browser",
"is",
"sending",
"cookies",
"only",
"over",
"a",
"secure",
"protocol",
"or",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"if",
"the",
"browser",
"can",
"send",
... | [
"return",
"secure",
";"
] |
[
"sets",
"the",
"currently",
"selected",
"year",
"jumps",
"immediately",
"to",
"the",
"new",
"year"
] | [
"m",
"adapter",
"set",
"selection",
"(",
"year",
")",
";",
"post",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"final",
"int",
"position",
"=",
"m",
"adapter",
"get",
"position",
"for",
"year",
"(",... |
[
"initialize",
"the",
"cache",
"this",
"will",
"include",
"reading",
"the",
"journal",
"files",
"from",
"the",
"storage",
"and",
"building",
"up",
"the",
"necessary",
"in",
"-",
"memory",
"cache",
"information"
] | [
"cache",
"initialize",
"(",
")",
";"
] |
[
"closes",
"the",
"cache",
"and",
"deletes",
"all",
"of",
"its",
"stored",
"values",
"this",
"will",
"delete",
"all",
"files",
"in",
"the",
"cache",
"directory",
"including",
"files",
"that",
"weren",
"t",
"created",
"by",
"the",
"cache"
] | [
"cache",
"delete",
"(",
")",
";"
] |
[
"deletes",
"all",
"values",
"stored",
"in",
"the",
"cache",
"in",
"-",
"flight",
"writes",
"to",
"the",
"cache",
"will",
"complete",
"normally",
"but",
"the",
"corresponding",
"responses",
"will",
"not",
"be",
"stored"
] | [
"cache",
"evict",
"all",
"(",
")",
";"
] |
[
"test",
"if",
"field",
"name",
"is",
"one",
"of",
"the",
"reserved",
"names",
"or",
"if",
"it",
"contains",
"dots",
"then",
"that",
"the",
"segment",
"before",
"the",
"first",
"dot",
"is",
"not",
"a",
"reserved",
"name",
"a",
"field",
"name",
"containing... | [
"string",
"[",
"]",
"segments",
"=",
"dot",
"pattern",
"split",
"(",
"field",
"name",
")",
";",
"return",
"!",
"reserved",
"field",
"names",
"contains",
"(",
"segments",
"[",
"0",
"]",
")",
";"
] |
[
"get",
"the",
"item",
"type",
"from",
"specific",
"entity"
] | [
"protected",
"abstract",
"int",
"get",
"item",
"type",
"(",
"t",
"t",
")",
";"
] |
[
"auto",
"increase",
"type",
"vale",
"start",
"from",
"0"
] | [
"auto",
"mode",
"=",
"true",
";",
"check",
"mode",
"(",
"self",
"mode",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"layout",
"res",
"ids",
"length",
";",
"i",
"+",
"+",
")",
"{",
"add",
"item",
"type",
"(",
"i",
",",
"layout",... |
[
"set",
"your",
"own",
"type",
"one",
"by",
"one"
] | [
"self",
"mode",
"=",
"true",
";",
"check",
"mode",
"(",
"auto",
"mode",
")",
";",
"add",
"item",
"type",
"(",
"type",
",",
"layout",
"res",
"id",
")",
";",
"return",
"this",
";"
] |
[
"for",
"testing",
"allows",
"access",
"to",
"underlying",
"dynamo",
"d",
"b",
"client"
] | [
"return",
"db",
";"
] |
[
"set",
"how",
"a",
"drag",
"is",
"initiated",
"needs",
"to",
"be",
"one",
"of",
"{",
"@",
"link",
"on",
"down",
"}",
"{",
"@",
"link",
"on",
"drag",
"}",
"or",
"{",
"@",
"link",
"on",
"long",
"press",
"}"
] | [
"m",
"drag",
"init",
"mode",
"=",
"mode",
";"
] |
[
"enable",
"/",
"disable",
"list",
"item",
"sorting",
"disabling",
"is",
"useful",
"if",
"only",
"item",
"removal",
"is",
"desired",
"prevents",
"drags",
"in",
"the",
"vertical",
"direction"
] | [
"m",
"sort",
"enabled",
"=",
"enabled",
";"
] |
[
"one",
"of",
"{"
] | [
"m",
"remove",
"mode",
"=",
"mode",
";"
] |
[
"enable",
"/",
"disable",
"item",
"removal",
"without",
"affecting",
"remove",
"mode"
] | [
"m",
"remove",
"enabled",
"=",
"enabled",
";"
] |
[
"set",
"the",
"resource",
"id",
"for",
"the",
"view",
"that",
"represents",
"the",
"drag",
"handle",
"in",
"a",
"list",
"item"
] | [
"m",
"drag",
"handle",
"id",
"=",
"id",
";"
] |
[
"set",
"the",
"resource",
"id",
"for",
"the",
"view",
"that",
"represents",
"the",
"fling",
"handle",
"in",
"a",
"list",
"item"
] | [
"m",
"fling",
"handle",
"id",
"=",
"id",
";"
] |
[
"set",
"the",
"resource",
"id",
"for",
"the",
"view",
"that",
"represents",
"click",
"removal",
"button"
] | [
"m",
"click",
"remove",
"id",
"=",
"id",
";"
] |
[
"sets",
"flags",
"to",
"restrict",
"certain",
"motions",
"of",
"the",
"floating",
"view",
"based",
"on",
"drag",
"sort",
"controller",
"settings",
"(",
"such",
"as",
"remove",
"mode",
")",
"starts",
"the",
"drag",
"on",
"the",
"drag",
"sort",
"list",
"view... | [
"int",
"drag",
"flags",
"=",
"0",
";",
"if",
"(",
"m",
"sort",
"enabled",
"&",
"&",
"!",
"m",
"is",
"removing",
")",
"{",
"drag",
"flags",
"|",
"=",
"drag",
"sort",
"list",
"view",
"drag",
"pos",
"y",
"|",
"drag",
"sort",
"list",
"view",
"drag",
... |
[
"overrides",
"to",
"provide",
"fading",
"when",
"slide",
"removal",
"is",
"enabled"
] | [
"if",
"(",
"m",
"remove",
"enabled",
"&",
"&",
"m",
"is",
"removing",
")",
"{",
"m",
"position",
"x",
"=",
"position",
"x",
";",
"}"
] |
[
"get",
"the",
"position",
"to",
"start",
"dragging",
"based",
"on",
"the",
"action",
"down",
"motion",
"event",
"this",
"function",
"simply",
"calls",
"{",
"@",
"link",
"#",
"drag",
"handle",
"hit",
"position",
"(",
"motion",
"event",
")",
"}",
"override",... | [
"return",
"drag",
"handle",
"hit",
"position",
"(",
"ev",
")",
";"
] |
[
"checks",
"for",
"the",
"touch",
"of",
"an",
"item",
"s",
"drag",
"handle",
"(",
"specified",
"by",
"{",
"@",
"link",
"#",
"set",
"drag",
"handle",
"id",
"(",
"int",
")",
"}",
")",
"and",
"returns",
"that",
"item",
"s",
"position",
"if",
"a",
"drag... | [
"return",
"view",
"id",
"hit",
"position",
"(",
"ev",
",",
"m",
"drag",
"handle",
"id",
")",
";"
] |
[
"complete",
"the",
"on",
"gesture",
"listener",
"interface"
] | [
"return",
"false",
";"
] |
[
"complete",
"the",
"on",
"gesture",
"listener",
"interface"
] | [
"if",
"(",
"m",
"remove",
"enabled",
"&",
"&",
"m",
"remove",
"mode",
"=",
"=",
"click",
"remove",
")",
"{",
"if",
"(",
"m",
"click",
"remove",
"hit",
"pos",
"!",
"=",
"miss",
")",
"{",
"m",
"dslv",
"remove",
"item",
"(",
"m",
"click",
"remove",
... |
[
"this",
"should",
"be",
"called",
"in",
"the",
"beginning",
"of",
"the",
"analysis",
"to",
"fail",
"fast"
] | [
"metadata",
"file",
"path",
"(",
")",
";"
] |
[
"accept",
"the",
"visitor",
"*"
] | [
"return",
"visitor",
"visit",
"(",
"this",
",",
"data",
")",
";"
] |
[
"sets",
"fsimage",
"for",
"use",
"by",
"servlets"
] | [
"http",
"server",
"set",
"attribute",
"(",
"fsimage",
"attribute",
"key",
",",
"fs",
"image",
")",
";"
] |
[
"sets",
"address",
"of",
"namenode",
"for",
"use",
"by",
"servlets"
] | [
"http",
"server",
"set",
"attribute",
"(",
"namenode",
"address",
"attribute",
"key",
",",
"net",
"utils",
"get",
"connect",
"address",
"(",
"name",
"node",
"address",
")",
")",
";"
] |
[
"sets",
"startup",
"progress",
"of",
"namenode",
"for",
"use",
"by",
"servlets"
] | [
"http",
"server",
"set",
"attribute",
"(",
"startup",
"progress",
"attribute",
"key",
",",
"prog",
")",
";"
] |
[
"returns",
"startup",
"progress",
"associated",
"with",
"servlet",
"context"
] | [
"return",
"(",
"startup",
"progress",
")",
"context",
"get",
"attribute",
"(",
"startup",
"progress",
"attribute",
"key",
")",
";"
] |
[
"gets",
"the",
"{"
] | [
"synchronized",
"(",
"action",
"send",
"multiple",
"consumer",
"activity",
"class",
")",
"{",
"if",
"(",
"s",
"listener",
"=",
"=",
"null",
")",
"{",
"s",
"listener",
"=",
"new",
"custom",
"action",
"send",
"multiple",
"listener",
"(",
"context",
")",
";... |
[
"<",
"p",
">",
"if",
"specified",
"the",
"deployment",
"configuration",
"name",
"can",
"be",
"either",
"one",
"of",
"the",
"predefined",
"configurations",
"provided",
"with",
"aws",
"code",
"deploy",
"or",
"a",
"custom",
"deployment",
"configuration",
"that",
... | [
"this",
"deployment",
"config",
"name",
"=",
"deployment",
"config",
"name",
";"
] |
[
"<",
"p",
">",
"if",
"specified",
"the",
"deployment",
"configuration",
"name",
"can",
"be",
"either",
"one",
"of",
"the",
"predefined",
"configurations",
"provided",
"with",
"aws",
"code",
"deploy",
"or",
"a",
"custom",
"deployment",
"configuration",
"that",
... | [
"return",
"this",
"deployment",
"config",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"deployment",
"configuration",
"associated",
"with",
"the",
"applicable",
"iam",
"user",
"or",
"aws",
"account",
"<",
"/",
"p",
">"
] | [
"set",
"deployment",
"config",
"name",
"(",
"deployment",
"config",
"name",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"the",
"given",
"updater",
"is",
"async",
"or",
"synchronous",
"updates"
] | [
"return",
"true",
";"
] |
[
"returns",
"a",
"mapping",
"of",
"symlink",
"name",
"to",
"its",
"target",
"path"
] | [
"return",
"entries",
";"
] |
[
"returns",
"a",
"mapping",
"of",
"target",
"path",
"to",
"{",
"@",
"link",
"file",
"artifact",
"value",
"}"
] | [
"return",
"artifact",
"values",
";"
] |
[
"returns",
"the",
"twitter",
"exception",
"associated",
"with",
"the",
"event"
] | [
"return",
"twitter",
"exception",
";"
] |
[
"get",
"the",
"current",
"state",
"of",
"the",
"indexer"
] | [
"return",
"state",
"get",
"(",
")",
";"
] |
[
"get",
"the",
"current",
"position",
"of",
"the",
"indexer"
] | [
"return",
"position",
"get",
"(",
")",
";"
] |
[
"get",
"the",
"stats",
"of",
"this",
"indexer"
] | [
"return",
"stats",
";"
] |
[
"sets",
"the",
"internal",
"state",
"to",
"{",
"@",
"link",
"indexer",
"state",
"#",
"started",
"}",
"if",
"the",
"previous",
"state",
"was",
"{",
"@",
"link",
"indexer",
"state",
"#",
"stopped",
"}",
"setting",
"the",
"state",
"to",
"started",
"allows",... | [
"state",
"compare",
"and",
"set",
"(",
"indexer",
"state",
"stopped",
",",
"indexer",
"state",
"started",
")",
";",
"return",
"state",
"get",
"(",
")",
";"
] |
[
"sets",
"the",
"internal",
"state",
"to",
"{",
"@",
"link",
"indexer",
"state",
"#",
"stopping",
"}",
"if",
"an",
"async",
"job",
"is",
"running",
"in",
"the",
"background",
"and",
"in",
"such",
"case",
"{",
"@",
"link",
"#",
"on",
"finish",
"(",
")"... | [
"indexer",
"state",
"current",
"state",
"=",
"state",
"update",
"and",
"get",
"(",
"previous",
"state",
"-",
">",
"{",
"if",
"(",
"previous",
"state",
"=",
"=",
"indexer",
"state",
"indexing",
")",
"{",
"return",
"indexer",
"state",
"stopping",
";",
"}",... |
[
"sets",
"the",
"internal",
"state",
"to",
"{",
"@",
"link",
"indexer",
"state",
"#",
"aborting",
"}",
"it",
"returns",
"false",
"if",
"an",
"async",
"job",
"is",
"running",
"in",
"the",
"background",
"and",
"in",
"such",
"case",
"{",
"@",
"link",
"#",
... | [
"indexer",
"state",
"prev",
"state",
"=",
"state",
"get",
"and",
"update",
"(",
"(",
"prev",
")",
"-",
">",
"indexer",
"state",
"aborting",
")",
";",
"return",
"prev",
"state",
"=",
"=",
"indexer",
"state",
"stopped",
"|",
"|",
"prev",
"state",
"=",
... |
[
"called",
"to",
"process",
"a",
"response",
"from",
"the",
"1",
"search",
"request",
"in",
"order",
"to",
"turn",
"it",
"into",
"a",
"{",
"@",
"link",
"iteration",
"result",
"}"
] | [
"protected",
"abstract",
"iteration",
"result",
"<",
"job",
"position",
">",
"do",
"process",
"(",
"search",
"response",
"search",
"response",
")",
";"
] |
[
"called",
"to",
"build",
"the",
"next",
"search",
"request"
] | [
"protected",
"abstract",
"search",
"request",
"build",
"search",
"request",
"(",
")",
";"
] |
[
"called",
"at",
"startup",
"after",
"job",
"has",
"been",
"triggered",
"using",
"{",
"@",
"link",
"#",
"maybe",
"trigger",
"async",
"job",
"(",
"long",
")",
"}",
"and",
"the",
"internal",
"state",
"is",
"{",
"@",
"link",
"indexer",
"state",
"#",
"start... | [
"protected",
"abstract",
"void",
"on",
"start",
"job",
"(",
"long",
"now",
")",
";"
] |
[
"executes",
"the",
"{",
"@",
"link",
"search",
"request",
"}",
"and",
"calls",
"<",
"code",
">",
"next",
"phase",
"<",
"/",
"code",
">",
"with",
"the",
"response",
"or",
"the",
"exception",
"if",
"an",
"error",
"occurs"
] | [
"protected",
"abstract",
"void",
"do",
"next",
"search",
"(",
"search",
"request",
"request",
",",
"action",
"listener",
"<",
"search",
"response",
">",
"next",
"phase",
")",
";"
] |
[
"executes",
"the",
"{",
"@",
"link",
"bulk",
"request",
"}",
"and",
"calls",
"<",
"code",
">",
"next",
"phase",
"<",
"/",
"code",
">",
"with",
"the",
"response",
"or",
"the",
"exception",
"if",
"an",
"error",
"occurs"
] | [
"protected",
"abstract",
"void",
"do",
"next",
"bulk",
"(",
"bulk",
"request",
"request",
",",
"action",
"listener",
"<",
"bulk",
"response",
">",
"next",
"phase",
")",
";"
] |
[
"called",
"periodically",
"during",
"the",
"execution",
"of",
"a",
"background",
"job",
"implementation",
"should",
"persists",
"the",
"state",
"somewhere",
"and",
"continue",
"the",
"execution",
"asynchronously",
"using",
"<",
"code",
">",
"next",
"<",
"/",
"co... | [
"protected",
"abstract",
"void",
"do",
"save",
"state",
"(",
"indexer",
"state",
"state",
",",
"job",
"position",
"position",
",",
"runnable",
"next",
")",
";"
] |
[
"called",
"when",
"a",
"failure",
"occurs",
"in",
"an",
"async",
"job",
"causing",
"the",
"execution",
"to",
"stop"
] | [
"protected",
"abstract",
"void",
"on",
"failure",
"(",
"exception",
"exc",
")",
";"
] |
[
"called",
"when",
"a",
"background",
"job",
"finishes"
] | [
"protected",
"abstract",
"void",
"on",
"finish",
"(",
")",
";"
] |
[
"called",
"when",
"a",
"background",
"job",
"detects",
"that",
"the",
"indexer",
"is",
"aborted",
"causing",
"the",
"async",
"execution",
"to",
"stop"
] | [
"protected",
"abstract",
"void",
"on",
"abort",
"(",
")",
";"
] |
[
"check",
"if",
"the",
"debug",
"level",
"is",
"loggable"
] | [
"return",
"logger",
"is",
"loggable",
"(",
"debug",
"level",
")",
";"
] |
[
"get",
"the",
"configured",
"debug",
"level"
] | [
"return",
"debug",
"level",
";"
] |
[
"log",
"a",
"debug",
"message",
"using",
"the",
"configured",
"debug",
"level"
] | [
"debug",
"log",
"(",
"message",
",",
"(",
"object",
"[",
"]",
")",
"null",
")",
";"
] |
[
"set",
"the",
"default",
"value",
"used",
"if",
"no",
"value",
"is",
"set",
"by",
"the",
"command",
"-",
"line",
"configuration"
] | [
"this",
"has",
"default",
"value",
"=",
"true",
";",
"this",
"default",
"value",
"=",
"default",
"value",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"is",
"called",
"before",
"the",
"flush",
"is",
"executed"
] | [
"if",
"(",
"composite",
"snapshot",
")",
"{",
"return",
"h",
"constants",
"no",
"seqnum",
";",
"}",
"segment",
"segment",
"=",
"get",
"last",
"segment",
"(",
")",
";",
"if",
"(",
"segment",
"=",
"=",
"null",
")",
"{",
"return",
"h",
"constants",
"no"... |
[
"this",
"message",
"intends",
"to",
"inform",
"the",
"mem",
"store",
"that",
"next",
"coming",
"updates",
"are",
"going",
"to",
"be",
"part",
"of",
"the",
"replaying",
"edits",
"from",
"wal"
] | [
"in",
"wal",
"replay",
"=",
"true",
";"
] |
[
"this",
"message",
"intends",
"to",
"inform",
"the",
"mem",
"store",
"that",
"the",
"replaying",
"edits",
"from",
"wal",
"are",
"done"
] | [
"in",
"wal",
"replay",
"=",
"false",
";"
] |
[
"issue",
"any",
"synchronization",
"and",
"test",
"needed",
"before",
"applying",
"the",
"update",
"for",
"compacting",
"memstore",
"this",
"means",
"checking",
"the",
"update",
"can",
"increase",
"the",
"size",
"without",
"overflow"
] | [
"if",
"(",
"current",
"active",
"shared",
"lock",
"(",
")",
")",
"{",
"if",
"(",
"check",
"and",
"add",
"to",
"active",
"size",
"(",
"current",
"active",
",",
"cell",
",",
"memstore",
"sizing",
")",
")",
"{",
"return",
"true",
";",
"}",
"current",
... |
[
"the",
"get",
"segments",
"(",
")",
"method",
"is",
"used",
"for",
"tests",
"only"
] | [
"list",
"<",
"?",
"extends",
"segment",
">",
"pipeline",
"list",
"=",
"pipeline",
"get",
"segments",
"(",
")",
";",
"list",
"<",
"segment",
">",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"pipeline",
"list",
"size",
"(",
")",
"+",
"2",
")"... |
[
"the",
"following",
"three",
"methods",
"allow",
"to",
"manipulate",
"the",
"settings",
"of",
"composite",
"snapshot"
] | [
"this",
"composite",
"snapshot",
"=",
"use",
"composite",
"snapshot",
";"
] |
[
"otherwise",
"there",
"is",
"a",
"deadlock"
] | [
"mutable",
"segment",
"curr",
"active",
"=",
"get",
"active",
"(",
")",
";",
"if",
"(",
"curr",
"active",
"set",
"in",
"memory",
"flushed",
"(",
")",
")",
"{",
"flush",
"in",
"memory",
"(",
"curr",
"active",
")",
";",
"}",
"in",
"memory",
"compaction... |
[
"the",
"request",
"to",
"cancel",
"the",
"compaction",
"asynchronous",
"task",
"(",
"caused",
"by",
"in",
"-",
"memory",
"flush",
")",
"the",
"compaction",
"may",
"still",
"happen",
"if",
"the",
"request",
"was",
"sent",
"too",
"late",
"non",
"-",
"blockin... | [
"if",
"(",
"in",
"memory",
"compaction",
"in",
"progress",
"get",
"(",
")",
")",
"{",
"compactor",
"stop",
"(",
")",
";",
"}"
] |
[
"don",
"t",
"change",
"card",
"s",
"m",
"cells",
"in",
"binding",
"process",
"!",
"<",
"p",
"/",
">"
] | [
"if",
"(",
"!",
"m",
"is",
"exposed",
"&",
"&",
"service",
"manager",
"!",
"=",
"null",
")",
"{",
"exposure",
"support",
"exposure",
"support",
"=",
"service",
"manager",
"get",
"service",
"(",
"exposure",
"support",
"class",
")",
";",
"if",
"(",
"expo... |
[
"/",
"*",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"manage"... | [
"for",
"(",
"base",
"cell",
"cell",
":",
"m",
"cells",
")",
"{",
"cell",
"added",
"(",
")",
";",
"}"
] |
[
"interprets",
"escaped",
"characters",
"in",
"the",
"given",
"replace",
"pattern"
] | [
"return",
"new",
"replace",
"string",
"constructor",
"(",
"line",
"delim",
")",
"interpret",
"replace",
"escapes",
"(",
"replace",
"text",
",",
"found",
"text",
")",
";"
] |
[
"interprets",
"current",
"retain",
"case",
"mode",
"(",
"all",
"upper",
"-",
"case",
"all",
"lower",
"-",
"case",
"capitalized",
"or",
"mixed",
")",
"and",
"appends",
"the",
"character",
"<",
"code",
">",
"ch",
"<",
"/",
"code",
">",
"to",
"<",
"code",... | [
"if",
"(",
"f",
"retain",
"case",
"mode",
"=",
"=",
"rc",
"upper",
")",
"buf",
"append",
"(",
"string",
"value",
"of",
"(",
"ch",
")",
"to",
"upper",
"case",
"(",
")",
")",
";",
"else",
"if",
"(",
"f",
"retain",
"case",
"mode",
"=",
"=",
"rc",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"an",
"aws",
"code",
"deploy",
"application",
"about",
"which",
"to",
"get",
"revision",
"information",
"<",
"/",
"p",
">"
] | [
"set",
"application",
"name",
"(",
"application",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"locations",
"that",
"contain",
"the",
"matching",
"revisions",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"revisions",
"=",
"=",
"null",
")",
"{",
"revisions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"revision",
"location",
">",
"(",
")",
";",
"}",
"return",
"revisions",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"locations",
"that",
"contain",
"the",
"matching",
"revisions",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"revisions",
"=",
"=",
"null",
")",
"{",
"this",
"revisions",
"=",
"null",
";",
"return",
";",
"}",
"this",
"revisions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"revision",
"location",
">",
"(",
"revisions",... |
[
"<",
"p",
">",
"information",
"to",
"get",
"about",
"the",
"application",
"revisions",
"including",
"type",
"and",
"location",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"v... | [
"if",
"(",
"this",
"revisions",
"=",
"=",
"null",
")",
"{",
"set",
"revisions",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"revision",
"location",
">",
"(",
"revisions",
"length",
")",
")",
";",
"}",
"for",
"(",
"revisi... |
[
"<",
"p",
">",
"information",
"to",
"get",
"about",
"the",
"application",
"revisions",
"including",
"type",
"and",
"location",
"<",
"/",
"p",
">"
] | [
"set",
"revisions",
"(",
"revisions",
")",
";",
"return",
"this",
";"
] |
[
"the",
"bundle",
"id",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"set",
"bundle",
"id",
"(",
"bundle",
"id",
")",
";",
"return",
"this",
";"
] |
[
"the",
"distribution",
"certificate",
"from",
"apple"
] | [
"set",
"certificate",
"(",
"certificate",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.