docstring_tokens list | code_tokens list |
|---|---|
[
"is",
"generic",
"boolean"
] | [
"return",
"generic",
";"
] |
[
"the",
"parameter",
"classes"
] | [
"return",
"parameter",
"classes",
";"
] |
[
"provides",
"live",
"items",
"to",
"observe",
"as",
"input",
"for",
"the",
"adapter"
] | [
"return",
"live",
"items",
";"
] |
[
"triggers",
"the",
"loading",
"of",
"the",
"{",
"@",
"code",
"source",
"}",
"only",
"if",
"the",
"value",
"is",
"<",
"u",
">",
"not",
"<",
"/",
"u",
">",
"equals",
"to",
"the",
"previous",
"value"
] | [
"if",
"(",
"!",
"identifier",
"equals",
"(",
"this",
"identifier",
"get",
"value",
"(",
")",
")",
")",
"{",
"this",
"identifier",
"set",
"value",
"(",
"identifier",
")",
";",
"}"
] |
[
"retrieves",
"the",
"live",
"data",
"coming",
"from",
"<",
"i",
">",
"local",
"<",
"/",
"i",
">",
"or",
"<",
"i",
">",
"remote",
"<",
"/",
"i",
">",
"repository"
] | [
"@",
"non",
"null",
"protected",
"abstract",
"live",
"data",
"<",
"source",
">",
"get",
"source",
"(",
"@",
"non",
"null",
"identifier",
"identifier",
")",
";"
] |
[
"checks",
"if",
"resource",
"is",
"valid",
"before",
"mapping",
"the",
"items",
"<",
"p",
">",
"should",
"be",
"implemented",
"by",
"checking",
"at",
"least",
"if",
"the",
"{",
"@",
"code",
"source",
"}",
"is",
"<",
"u",
">",
"not",
"<",
"/",
"u",
... | [
"protected",
"abstract",
"boolean",
"is",
"source",
"valid",
"(",
"@",
"nullable",
"source",
"source",
")",
";"
] |
[
"maps",
"the",
"{",
"@",
"code",
"source",
"}",
"containing",
"the",
"original",
"list",
"to",
"a",
"list",
"suitable",
"for",
"the",
"adapter",
"<",
"p",
">",
"<",
"b",
">",
"tip",
":",
"<",
"/",
"b",
">",
"user",
"can",
"use",
"a",
"custom",
"i... | [
"@",
"main",
"thread",
"protected",
"abstract",
"list",
"<",
"adapter",
"item",
">",
"map",
"(",
"@",
"non",
"null",
"source",
"source",
")",
";"
] |
[
"construct",
"an",
"asynchronous",
"implementation",
"of",
"amazon",
"dynamo",
"d",
"b",
"async",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"amazon",
"dynamo",
"d",
"b",
"async",
"client",
"(",
"params",
")",
";"
] |
[
"sets",
"the",
"size",
"of",
"the",
"memory",
"area",
"in",
"which",
"to",
"store",
"the",
"relro",
"section"
] | [
"system",
"properties",
"set",
"(",
"web",
"view",
"factory",
"chromium",
"webview",
"vmsize",
"size",
"property",
",",
"long",
"to",
"string",
"(",
"vm",
"size",
")",
")",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"to",
"insert",
"or",
"delete",
"a",
"<",
"a",
">",
"byte",
"match",
"tuple",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"action",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"pending",
"maintenance",
"action",
"that",
"is",
"available",
"for",
"the",
"resource",
"<",
"/",
"p",
">"
] | [
"set",
"action",
"(",
"action",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"providing",
"more",
"detail",
"about",
"the",
"maintenance",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"effective",
"date",
"when",
"the",
"pending",
"maintenance",
"action",
"is",
"applied",
"to",
"the",
"resource",
"this",
"date",
"takes",
"into",
"account",
"opt",
"-",
"in",
"requests",
"received",
"from",
"the",
"<",
"a",
">",
"a... | [
"this",
"current",
"apply",
"date",
"=",
"current",
"apply",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"effective",
"date",
"when",
"the",
"pending",
"maintenance",
"action",
"is",
"applied",
"to",
"the",
"resource",
"this",
"date",
"takes",
"into",
"account",
"opt",
"-",
"in",
"requests",
"received",
"from",
"the",
"<",
"a",
">",
"a... | [
"return",
"this",
"current",
"apply",
"date",
";"
] |
[
"<",
"p",
">",
"the",
"effective",
"date",
"when",
"the",
"pending",
"maintenance",
"action",
"is",
"applied",
"to",
"the",
"resource",
"this",
"date",
"takes",
"into",
"account",
"opt",
"-",
"in",
"requests",
"received",
"from",
"the",
"<",
"a",
">",
"a... | [
"set",
"current",
"apply",
"date",
"(",
"current",
"apply",
"date",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"a",
"new",
"rounded",
"bitmap",
"drawable",
"from",
"the",
"given",
"bitmap",
"drawable"
] | [
"return",
"new",
"rounded",
"bitmap",
"drawable",
"(",
"res",
",",
"bitmap",
"drawable",
"get",
"bitmap",
"(",
")",
",",
"bitmap",
"drawable",
"get",
"paint",
"(",
")",
")",
";"
] |
[
"if",
"both",
"the",
"radii",
"and",
"border",
"width",
"are",
"zero",
"or",
"bitmap",
"is",
"null",
"there",
"is",
"nothing",
"to",
"round"
] | [
"return",
"super",
"should",
"round",
"(",
")",
"&",
"&",
"m",
"bitmap",
"!",
"=",
"null",
";"
] |
[
"return",
"the",
"number",
"of",
"rows",
"that",
"should",
"have",
"been",
"affected"
] | [
"return",
"this",
"expected",
";"
] |
[
"return",
"the",
"number",
"of",
"rows",
"that",
"have",
"actually",
"been",
"affected"
] | [
"return",
"this",
"actual",
";"
] |
[
"this",
"flag",
"tells",
"the",
"server",
"how",
"to",
"react",
"if",
"the",
"message",
"cannot",
"be",
"routed",
"to",
"a",
"queue",
"if",
"this",
"flag",
"is",
"set",
"the",
"server",
"will",
"return",
"an",
"unroutable",
"message",
"with",
"a",
"retur... | [
"this",
"mandatory",
"=",
"mandatory",
";"
] |
[
"read",
"the",
"replica",
"group",
"partition",
"assignment",
"from",
"the",
"property",
"store"
] | [
"string",
"path",
"=",
"z",
"k",
"metadata",
"provider",
"construct",
"property",
"store",
"path",
"for",
"instance",
"partitions",
"(",
"table",
"name",
"with",
"type",
")",
";",
"z",
"n",
"record",
"replica",
"group",
"partition",
"assignment",
"=",
"prope... |
[
"write",
"the",
"replica",
"group",
"partition",
"assignment",
"to",
"property",
"store"
] | [
"string",
"table",
"name",
"with",
"type",
"=",
"partition",
"assignment",
"get",
"table",
"name",
"(",
")",
";",
"z",
"n",
"record",
"zn",
"record",
"=",
"new",
"z",
"n",
"record",
"(",
"table",
"name",
"with",
"type",
")",
";",
"zn",
"record",
"set... |
[
"gets",
"the",
"name",
"of",
"the",
"collection",
"to",
"output",
"the",
"results",
"to"
] | [
"return",
"collection",
"name",
";"
] |
[
"the",
"id",
"of",
"the",
"lambda",
"function",
"definition"
] | [
"this",
"function",
"definition",
"id",
"=",
"function",
"definition",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"lambda",
"function",
"definition"
] | [
"return",
"this",
"function",
"definition",
"id",
";"
] |
[
"the",
"id",
"of",
"the",
"lambda",
"function",
"definition"
] | [
"set",
"function",
"definition",
"id",
"(",
"function",
"definition",
"id",
")",
";",
"return",
"this",
";"
] |
[
"subclasses",
"need",
"to",
"be",
"able",
"to",
"create",
"their",
"own",
"version",
"of",
"the",
"keycloak",
"undertow",
"account"
] | [
"protected",
"abstract",
"keycloak",
"undertow",
"account",
"create",
"account",
"(",
"keycloak",
"principal",
"<",
"refreshable",
"keycloak",
"security",
"context",
">",
"principal",
")",
";"
] |
[
"creates",
"a",
"{",
"@",
"link",
"com",
"hazelcast",
"map",
"impl",
"listener",
"adapter",
"}",
"array",
"for",
"all",
"event",
"types",
"of",
"{",
"@",
"link",
"com",
"hazelcast",
"core",
"entry",
"event",
"type",
"}"
] | [
"entry",
"event",
"type",
"[",
"]",
"values",
"=",
"entry",
"event",
"type",
"values",
"(",
")",
";",
"listener",
"adapter",
"[",
"]",
"listener",
"adapters",
"=",
"new",
"listener",
"adapter",
"[",
"values",
"length",
"]",
";",
"for",
"(",
"entry",
"e... |
[
"wraps",
"a",
"user",
"defined",
"{",
"@",
"link",
"com",
"hazelcast",
"map",
"listener",
"map",
"listener",
"}",
"into",
"a",
"{",
"@",
"link",
"com",
"hazelcast",
"map",
"impl",
"listener",
"adapter",
"}"
] | [
"return",
"new",
"internal",
"map",
"listener",
"adapter",
"(",
"map",
"listener",
")",
";"
] |
[
"only",
"used",
"for",
"testing",
"purposes"
] | [
"return",
"constructors",
";"
] |
[
"/",
"*",
"park",
"vehicle",
"in",
"this",
"spot",
"(",
"among",
"others",
"potentially",
")"
] | [
"parking",
"spots",
"add",
"(",
"spot",
")",
";"
] |
[
"/",
"*",
"remove",
"car",
"from",
"spot",
"and",
"notify",
"spot",
"that",
"it",
"s",
"gone"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"parking",
"spots",
"size",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"parking",
"spots",
"get",
"(",
"i",
")",
"remove",
"vehicle",
"(",
")",
";",
"}",
"parking",
"spots",
"clear",
"(",
")",
";"... |
[
"print",
"debug",
"information"
] | [
"public",
"abstract",
"void",
"print",
"(",
")",
";"
] |
[
"loads",
"a",
"file",
"to",
"a",
"document"
] | [
"return",
"parse",
"input",
"stream",
"(",
"new",
"file",
"input",
"stream",
"(",
"in",
")",
",",
"charset",
"name",
",",
"base",
"uri",
",",
"parser",
"html",
"parser",
"(",
")",
")",
";"
] |
[
"parses",
"a",
"document",
"from",
"an",
"input",
"steam"
] | [
"return",
"parse",
"input",
"stream",
"(",
"in",
",",
"charset",
"name",
",",
"base",
"uri",
",",
"parser",
"html",
"parser",
"(",
")",
")",
";"
] |
[
"parses",
"a",
"document",
"from",
"an",
"input",
"steam",
"using",
"the",
"provided",
"parser"
] | [
"return",
"parse",
"input",
"stream",
"(",
"in",
",",
"charset",
"name",
",",
"base",
"uri",
",",
"parser",
")",
";"
] |
[
"writes",
"the",
"input",
"stream",
"to",
"the",
"output",
"stream",
"doesn",
"t",
"close",
"them"
] | [
"final",
"byte",
"[",
"]",
"buffer",
"=",
"new",
"byte",
"[",
"buffer",
"size",
"]",
";",
"int",
"len",
";",
"while",
"(",
"(",
"len",
"=",
"in",
"read",
"(",
"buffer",
")",
")",
"!",
"=",
"-",
"1",
")",
"{",
"out",
"write",
"(",
"buffer",
",... |
[
"creates",
"a",
"random",
"string",
"suitable",
"for",
"use",
"as",
"a",
"mime",
"boundary"
] | [
"final",
"string",
"builder",
"mime",
"=",
"string",
"util",
"borrow",
"builder",
"(",
")",
";",
"final",
"random",
"rand",
"=",
"new",
"random",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"boundary",
"length",
";",
"i",
"+",
... |
[
"converts",
"an",
"oracle",
"to",
"a",
"jts",
"geometry"
] | [
"if",
"(",
"struct",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"final",
"s",
"d",
"o",
"geometry",
"sdogeom",
"=",
"s",
"d",
"o",
"geometry",
"load",
"(",
"(",
"struct",
")",
"struct",
")",
";",
"return",
"to",
"geomerty",
"(",
"sdo... |
[
"checkpoint",
"signature",
"is",
"used",
"to",
"ensure",
"that",
"nodes",
"are",
"talking",
"about",
"the",
"same",
"checkpoint"
] | [
"return",
"c",
"sig",
";"
] |
[
"indicates",
"whether",
"the",
"new",
"checkpoint",
"image",
"needs",
"to",
"be",
"transfered",
"back",
"to",
"the",
"name",
"-",
"node",
"after",
"the",
"checkpoint",
"is",
"done"
] | [
"return",
"need",
"to",
"return",
"image",
";"
] |
[
"<",
"p",
">",
"the",
"request",
"omitted",
"one",
"or",
"more",
"required",
"parameters",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"... | [
"if",
"(",
"this",
"required",
"parameters",
"=",
"=",
"null",
")",
"{",
"set",
"required",
"parameters",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"required",
"parameters",
"length",
")",
")",
";",
"}",
"for",
"(",
"string"... |
[
"<",
"p",
">",
"the",
"request",
"omitted",
"one",
"or",
"more",
"required",
"parameters",
"<",
"/",
"p",
">"
] | [
"set",
"required",
"parameters",
"(",
"required",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"request",
"included",
"parameters",
"that",
"cannot",
"be",
"provided",
"together",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",... | [
"if",
"(",
"this",
"mutually",
"exclusive",
"parameters",
"=",
"=",
"null",
")",
"{",
"set",
"mutually",
"exclusive",
"parameters",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"mutually",
"exclusive",
"parameters",
"length",
")",
... |
[
"<",
"p",
">",
"the",
"request",
"included",
"parameters",
"that",
"cannot",
"be",
"provided",
"together",
"<",
"/",
"p",
">"
] | [
"set",
"mutually",
"exclusive",
"parameters",
"(",
"mutually",
"exclusive",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"super",
"before",
"tests",
"started",
"(",
")",
";",
"start",
"grid",
"(",
"0",
")",
";"
] |
[
"$",
"{",
"inherit",
"doc",
"}"
] | [
"iterator",
"<",
"i",
"connection",
"service",
"adapter",
">",
"it",
"=",
"m",
"adapters",
"iterator",
"(",
")",
";",
"while",
"(",
"it",
"has",
"next",
"(",
")",
")",
"{",
"i",
"connection",
"service",
"adapter",
"adapter",
"=",
"it",
"next",
"(",
"... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"active",
"(",
"e",
"g",
"an",
"ongoing",
"call",
"where",
"two",
"parties",
"can",
"actively",
"communicate",
")"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"active",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exc... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"ringing",
"(",
"e",
"g",
"an",
"inbound",
"ringing",
"call",
")"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"ringing",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"ex... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"dialing",
"(",
"e",
"g",
"dialing",
"an",
"outbound",
"call",
")"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"dialing",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"ex... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"pulling",
"(",
"e",
"g",
"a",
"call",
"with",
"{",
"@",
"link",
"connection",
"#",
"property",
"is",
"external",
"call",
"}",
"is",
"being",
"pulled",
"to",
"the",
"local",
"device"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"pulling",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"ex... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"disconnected"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"disconnected",
"(",
"call",
"id",
",",
"disconnect",
"cause",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"... |
[
"sets",
"a",
"call",
"s",
"state",
"to",
"be",
"on",
"hold"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"on",
"hold",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
... |
[
"asks",
"telecom",
"to",
"start",
"or",
"stop",
"a",
"ringback",
"tone",
"for",
"a",
"call"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"ringback",
"requested",
"(",
"call",
"id",
",",
"ringback",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}"... |
[
"resets",
"the",
"cdma",
"connection",
"time"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"reset",
"connection",
"time",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
... |
[
"indicates",
"that",
"the",
"call",
"no",
"longer",
"exists",
"can",
"be",
"used",
"with",
"either",
"a",
"call",
"or",
"a",
"conference",
"call"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"remove",
"call",
"(",
"call",
"id",
",",
"log",
"get",
"external",
"session",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"ex... |
[
"indicates",
"that",
"a",
"new",
"conference",
"call",
"has",
"been",
"created"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"add",
"conference",
"call",
"(",
"call",
"id",
",",
"parcelable",
"conference",
",",
"log",
"get",
"external",
"session",
"(",
")",
")... |
[
"sets",
"the",
"call",
"video",
"provider",
"for",
"a",
"call"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"video",
"provider",
"(",
"call",
"id",
",",
"video",
"provider",
"=",
"=",
"null",
"?",
"null",
":",
"video",
"provider",
"ge... |
[
"requests",
"that",
"the",
"framework",
"use",
"voip",
"audio",
"mode",
"for",
"this",
"connection"
] | [
"for",
"(",
"i",
"connection",
"service",
"adapter",
"adapter",
":",
"m",
"adapters",
")",
"{",
"try",
"{",
"adapter",
"set",
"is",
"voip",
"audio",
"mode",
"(",
"call",
"id",
",",
"is",
"voip",
",",
"log",
"get",
"external",
"session",
"(",
")",
")"... |
[
"removes",
"a",
"client"
] | [
"transaction",
"identifier",
"cid",
"=",
"tc",
"get",
"transaction",
"id",
"(",
")",
";",
"transaction",
"server",
"ts",
"=",
"(",
"transaction",
"server",
")",
"c",
"server",
"get",
"(",
"cid",
")",
";",
"if",
"(",
"ts",
"=",
"=",
"null",
")",
"retu... |
[
"removes",
"all",
"clients",
"bound",
"to",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"transaction",
"identifier",
"sid",
"=",
"ts",
"get",
"transaction",
"id",
"(",
")",
";",
"s",
"clients",
"remove",
"(",
"sid",
")",
";",
"s",
"clients",
"put",
"(",
"sid",
",",
"new",
"hash",
"set",
"(",
")",
")",
";"
] |
[
"whether",
"there",
"is",
"a",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"transaction",
"identifier",
"sid",
"=",
"ts",
"get",
"transaction",
"id",
"(",
")",
";",
"return",
"s",
"clients",
"contains",
"key",
"(",
"sid",
")",
";"
] |
[
"removes",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"transaction",
"identifier",
"sid",
"=",
"ts",
"get",
"transaction",
"id",
"(",
")",
";",
"s",
"clients",
"remove",
"(",
"sid",
")",
";",
"s",
"response",
"remove",
"(",
"sid",
")",
";"
] |
[
"gets",
"the",
"server",
"bound",
"to",
"client",
"<",
"i",
">",
"tc",
"<",
"/",
"i",
">"
] | [
"return",
"(",
"transaction",
"server",
")",
"c",
"server",
"get",
"(",
"tc",
"get",
"transaction",
"id",
"(",
")",
")",
";"
] |
[
"gets",
"all",
"clients",
"bound",
"to",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"return",
"(",
"hash",
"set",
")",
"s",
"clients",
"get",
"(",
"ts",
"get",
"transaction",
"id",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"final",
"response",
"for",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"transaction",
"identifier",
"sid",
"=",
"ts",
"get",
"transaction",
"id",
"(",
")",
";",
"s",
"response",
"remove",
"(",
"sid",
")",
";",
"s",
"response",
"put",
"(",
"sid",
",",
"resp",
")",
";"
] |
[
"gets",
"the",
"final",
"response",
"for",
"server",
"<",
"i",
">",
"ts",
"<",
"/",
"i",
">"
] | [
"return",
"(",
"message",
")",
"s",
"response",
"get",
"(",
"ts",
"get",
"transaction",
"id",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"number",
"of",
"active",
"servers"
] | [
"return",
"s",
"clients",
"size",
"(",
")",
";"
] |
[
"gets",
"the",
"number",
"of",
"active",
"clients"
] | [
"return",
"c",
"server",
"size",
"(",
")",
";"
] |
[
"returns",
"the",
"next",
"element",
"of",
"the",
"data",
"stream",
"(",
"blocks",
"if",
"it",
"is",
"not",
"available",
"yet",
")"
] | [
"if",
"(",
"has",
"next",
"(",
")",
")",
"{",
"t",
"current",
"=",
"next",
";",
"next",
"=",
"null",
";",
"return",
"current",
";",
"}",
"else",
"{",
"throw",
"new",
"no",
"such",
"element",
"exception",
"(",
")",
";",
"}"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"fs",
"instanceof",
"entropy",
"injecting",
"file",
"system",
")",
"{",
"return",
"(",
"entropy",
"injecting",
"file",
"system",
")",
"fs",
";",
"}",
"else",
"if",
"(",
"fs",
"instanceof",
"safety",
"net",
"wrapper",
"file",
"system",
")",
"{"... |
[
"submits",
"the",
"data",
"reservations",
"needed",
"for",
"this",
"data",
"collector"
] | [
"public",
"abstract",
"void",
"submit",
"reservations",
"(",
"consumer",
"<",
"reduction",
"data",
"reservation",
"<",
"?",
",",
"?",
">",
">",
"consumer",
")",
";"
] |
[
"a",
"clean",
"slate",
"to",
"start",
"a",
"new",
"reduction"
] | [
"public",
"abstract",
"t",
"new",
"data",
"(",
")",
";"
] |
[
"clear",
"the",
"lasting",
"collection",
"targets",
"after",
"this",
"is",
"called",
"the",
"current",
"lasting",
"targets",
"will",
"not",
"be",
"affected",
"by",
"future",
"{"
] | [
"lasting",
"targets",
"clear",
"(",
")",
";"
] |
[
"create",
"a",
"new",
"reduction",
"data",
"to",
"target",
"during",
"collection",
"the",
"given",
"target",
"is",
"only",
"valid",
"for",
"one",
"call",
"to",
"{",
"@",
"link",
"#",
"collect",
"and",
"apply",
"(",
")",
"}"
] | [
"t",
"data",
"=",
"new",
"data",
"(",
")",
";",
"collection",
"targets",
"add",
"(",
"data",
")",
";",
"return",
"data",
";"
] |
[
"collect",
"the",
"info",
"for",
"the",
"current",
"solr",
"document",
"and",
"apply",
"the",
"results",
"to",
"the",
"given",
"collection",
"targets"
] | [
"collect",
"(",
")",
";",
"lasting",
"targets",
"for",
"each",
"(",
"target",
"-",
">",
"apply",
"(",
"target",
")",
")",
";",
"collection",
"targets",
"for",
"each",
"(",
"target",
"-",
">",
"apply",
"(",
"target",
")",
")",
";",
"collection",
"targ... |
[
"collect",
"the",
"information",
"from",
"current",
"solr",
"document"
] | [] |
[
"apply",
"the",
"collected",
"info",
"to",
"the",
"given",
"reduction",
"data",
"should",
"always",
"be",
"called",
"after",
"a",
"{",
"@",
"link",
"#",
"collect",
"(",
")",
"}",
"call"
] | [
"protected",
"abstract",
"void",
"apply",
"(",
"t",
"data",
")",
";"
] |
[
"create",
"a",
"new",
"reduction",
"data",
"to",
"use",
"in",
"exporting",
"and",
"merging"
] | [
"io",
"data",
"=",
"new",
"data",
"(",
")",
";",
"return",
"io",
"data",
";"
] |
[
"finalize",
"the",
"reduction",
"with",
"the",
"merged",
"data",
"stored",
"in",
"the",
"parameter",
"once",
"the",
"reduction",
"is",
"finalized",
"the",
"{",
"@",
"link",
"reduction",
"function",
"}",
"s",
"that",
"use",
"this",
"data",
"collector",
"act",... | [
"public",
"abstract",
"void",
"set",
"merged",
"data",
"(",
"reduction",
"data",
"data",
")",
";"
] |
[
"finalize",
"the",
"reduction",
"with",
"the",
"collected",
"data",
"stored",
"in",
"the",
"parameter",
"once",
"the",
"reduction",
"is",
"finalized",
"the",
"{",
"@",
"link",
"reduction",
"function",
"}",
"s",
"that",
"use",
"this",
"data",
"collector",
"ac... | [
"public",
"abstract",
"void",
"set",
"data",
"(",
"reduction",
"data",
"data",
")",
";"
] |
[
"the",
"unique",
"expression",
"string",
"of",
"the",
"reduction",
"data",
"collector",
"given",
"all",
"inputs",
"and",
"parameters",
"used",
"during",
"{",
"@",
"link",
"reduction",
"data",
"collector",
"}",
"syncing",
"since",
"the",
"string",
"should",
"be... | [
"public",
"abstract",
"string",
"get",
"expression",
"str",
"(",
")",
";"
] |
[
"platform",
"credential",
"secret",
"key",
"from",
"baidu"
] | [
"this",
"secret",
"key",
"=",
"secret",
"key",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"applies",
"only",
"to",
"fifo",
"(",
"first",
"-",
"in",
"-",
"first",
"-",
"out",
")",
"queues",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"large",
"non",
"-",
"consecutive",
"number",
"that",
"amazon",
"sqs",
... | [
"this",
"sequence",
"number",
"=",
"sequence",
"number",
";"
] |
[
"specifies",
"the",
"http",
"bootstrap",
"url",
"for",
"this",
"client",
"to",
"contact"
] | [
"this",
"http",
"bootstrap",
"u",
"r",
"l",
"=",
"http",
"bootstrap",
"u",
"r",
"l",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"size",
"of",
"the",
"r",
"2",
"store",
"connection",
"pool",
"this",
"includes",
"connections",
"for",
"all",
"the",
"nodes",
"in",
"the",
"cluster"
] | [
"this",
"max",
"r",
"2",
"connection",
"pool",
"size",
"=",
"max",
"r",
"2",
"pool",
"size",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"global",
"timeout",
"for",
"the",
"different",
"client",
"operations"
] | [
"this",
"timeout",
"ms",
"=",
"unit",
"to",
"millis",
"(",
"timeout",
"ms",
")",
";",
"return",
"this",
";"
] |
[
"if",
"this",
"option",
"is",
"true",
"jetty",
"jmx",
"support",
"will",
"be",
"enabled",
"for",
"this",
"endpoint",
"see",
"jetty",
"jmx",
"support",
"for",
"more",
"details"
] | [
"this",
"enable",
"jmx",
"=",
"enable",
"jmx",
";"
] |
[
"{"
] | [
"assert",
"results",
"size",
"(",
")",
"=",
"=",
"1",
";",
"return",
"results",
"get",
"(",
"0",
")",
"get",
"data",
"(",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"future",
"=",
"=",
"null",
")",
"{",
"ignite",
"compute",
"compute",
"=",
"ignite",
"compute",
"(",
")",
"with",
"async",
"(",
")",
";",
"compute",
"execute",
"(",
"remote",
"task",
",",
"arg",
")",
";",
"compute",
"task",
"future",
"<",
... |
[
"create",
"an",
"object",
"of",
"the",
"appropriate",
"type",
"to",
"be",
"used",
"as",
"a",
"key"
] | [
"return",
"null",
"writable",
"get",
"(",
")",
";"
] |
[
"returns",
"a",
"link",
"associated",
"with",
"this",
"finding",
"or",
"null",
"if",
"there",
"is",
"no",
"link"
] | [
"return",
"link",
"url",
";"
] |
[
"returns",
"the",
"raw",
"message",
"not",
"including",
"a",
"link",
"or",
"check",
"name"
] | [
"return",
"raw",
"message",
";"
] |
[
"internal",
"-",
"only",
"has",
"no",
"effect",
"if",
"applied",
"to",
"a",
"description",
"within",
"a",
"bug",
"checker"
] | [
"return",
"new",
"description",
"(",
"position",
",",
"check",
"name",
",",
"raw",
"message",
",",
"link",
"url",
",",
"fixes",
",",
"severity",
")",
";"
] |
[
"returns",
"a",
"new",
"builder",
"for",
"{"
] | [
"return",
"new",
"builder",
"(",
"(",
"diagnostic",
"position",
")",
"node",
",",
"name",
",",
"link",
",",
"severity",
",",
"message",
")",
";"
] |
[
"returns",
"a",
"new",
"builder",
"for",
"{"
] | [
"return",
"new",
"builder",
"(",
"position",
",",
"name",
",",
"link",
",",
"severity",
",",
"message",
")",
";"
] |
[
"returns",
"a",
"new",
"builder",
"for",
"{"
] | [
"return",
"new",
"builder",
"(",
"tree",
",",
"name",
",",
"link",
",",
"severity",
",",
"message",
")",
";"
] |
[
"returns",
"a",
"media",
"type",
"for",
"{"
] | [
"try",
"{",
"return",
"get",
"(",
"string",
")",
";",
"}",
"catch",
"(",
"illegal",
"argument",
"exception",
"ignored",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"returns",
"the",
"media",
"subtype",
"for",
"example",
"{"
] | [
"return",
"subtype",
";"
] |
[
"returns",
"the",
"charset",
"of",
"this",
"media",
"type",
"or",
"null",
"if",
"this",
"media",
"type",
"doesn",
"t",
"specify",
"a",
"charset"
] | [
"return",
"charset",
"(",
"null",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.