docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"true",
"if",
"field",
"safe",
"mode",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"safemode",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"up",
"time",
"ms",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"uptimems",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"version",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"version",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"web",
"port",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"webport",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"worker",
"addresses",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"worker",
"addresses",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"zookeeper",
"addresses",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"zookeeper",
"addresses",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"leader",
"master",
"address",
":",
"return",
"is",
"set",
"leader",
"master",
"address",
... |
[
"and",
"rightfully",
"so",
"it",
"filters",
"them",
"out"
] | [
"list",
"<",
"string",
">",
"filtered",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"string",
"file",
":",
"files",
")",
"{",
"if",
"(",
"index",
"file",
"names",
"codec",
"file",
"pattern",
"matcher",
"(",
"file",
")",
"match... |
[
"return",
"the",
"file",
"path",
"for",
"this",
"resource"
] | [
"return",
"this",
"path",
";"
] |
[
"return",
"the",
"class",
"loader",
"that",
"this",
"resource",
"will",
"be",
"obtained",
"from"
] | [
"return",
"(",
"this",
"clazz",
"!",
"=",
"null",
"?",
"this",
"clazz",
"get",
"class",
"loader",
"(",
")",
":",
"this",
"class",
"loader",
")",
";"
] |
[
"this",
"implementation",
"checks",
"for",
"the",
"resolution",
"of",
"a",
"resource",
"url"
] | [
"return",
"(",
"resolve",
"u",
"r",
"l",
"(",
")",
"!",
"=",
"null",
")",
";"
] |
[
"resolves",
"a",
"url",
"for",
"the",
"underlying",
"class",
"path",
"resource"
] | [
"if",
"(",
"this",
"clazz",
"!",
"=",
"null",
")",
"{",
"return",
"this",
"clazz",
"get",
"resource",
"(",
"this",
"path",
")",
";",
"}",
"else",
"if",
"(",
"this",
"class",
"loader",
"!",
"=",
"null",
")",
"{",
"return",
"this",
"class",
"loader",... |
[
"this",
"implementation",
"creates",
"a",
"class",
"path",
"resource",
"applying",
"the",
"given",
"path",
"relative",
"to",
"the",
"path",
"of",
"the",
"underlying",
"resource",
"of",
"this",
"descriptor"
] | [
"string",
"path",
"to",
"use",
"=",
"string",
"utils",
"apply",
"relative",
"path",
"(",
"this",
"path",
",",
"relative",
"path",
")",
";",
"return",
"(",
"this",
"clazz",
"!",
"=",
"null",
"?",
"new",
"class",
"path",
"resource",
"(",
"path",
"to",
... |
[
"this",
"implementation",
"returns",
"the",
"name",
"of",
"the",
"file",
"that",
"this",
"servlet",
"context",
"resource",
"refers",
"to"
] | [
"return",
"string",
"utils",
"get",
"filename",
"(",
"this",
"path",
")",
";"
] |
[
"this",
"implementation",
"compares",
"the",
"underlying",
"class",
"path",
"locations"
] | [
"if",
"(",
"this",
"=",
"=",
"other",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"!",
"(",
"other",
"instanceof",
"class",
"path",
"resource",
")",
")",
"{",
"return",
"false",
";",
"}",
"class",
"path",
"resource",
"other",
"res",
"=",
"(",
... |
[
"this",
"implementation",
"returns",
"the",
"hash",
"code",
"of",
"the",
"underlying",
"file",
"reference"
] | [
"return",
"this",
"path",
"hash",
"code",
"(",
")",
";"
] |
[
"simple",
"example",
"(",
")"
] | [
"gbm",
"example",
"flow",
"(",
")",
";",
"simple",
"example",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"tx",
"is",
"a",
"valid",
"settlement",
"transaction"
] | [
"try",
"{",
"tx",
"verify",
"(",
")",
";",
"tx",
"get",
"input",
"(",
"0",
")",
"verify",
"(",
"get",
"contract",
"internal",
"(",
")",
"get",
"output",
"(",
"0",
")",
")",
";",
"return",
"true",
";",
"}",
"catch",
"(",
"verification",
"exception",... |
[
"creates",
"the",
"initial",
"multisig",
"contract",
"and",
"incomplete",
"refund",
"transaction",
"which",
"can",
"be",
"requested",
"at",
"the",
"appropriate",
"time",
"using",
"{",
"@",
"link",
"payment",
"channel",
"v",
"1",
"client",
"state",
"#",
"get",
... | [
"initiate",
"(",
"null",
",",
"payment",
"channel",
"client",
"default",
"channel",
"properties",
")",
";"
] |
[
"creates",
"the",
"initial",
"multisig",
"contract",
"and",
"incomplete",
"refund",
"transaction",
"which",
"can",
"be",
"requested",
"at",
"the",
"appropriate",
"time",
"using",
"{",
"@",
"link",
"payment",
"channel",
"v",
"1",
"client",
"state",
"#",
"get",
... | [
"public",
"abstract",
"void",
"initiate",
"(",
"@",
"nullable",
"key",
"parameter",
"user",
"key",
",",
"client",
"channel",
"properties",
"client",
"channel",
"properties",
")",
"throws",
"value",
"out",
"of",
"range",
"exception",
",",
"insufficient",
"money",... |
[
"gets",
"the",
"contract",
"which",
"was",
"used",
"to",
"initialize",
"this",
"channel"
] | [
"public",
"abstract",
"transaction",
"get",
"contract",
"(",
")",
";"
] |
[
"sets",
"this",
"channel",
"s",
"state",
"in",
"{",
"@",
"link",
"stored",
"payment",
"channel",
"client",
"states",
"}",
"to",
"unopened",
"so",
"this",
"channel",
"can",
"be",
"reopened",
"later"
] | [
"if",
"(",
"stored",
"channel",
"=",
"=",
"null",
")",
"return",
";",
"synchronized",
"(",
"stored",
"channel",
")",
"{",
"stored",
"channel",
"active",
"=",
"false",
";",
"}"
] |
[
"returns",
"the",
"fees",
"that",
"will",
"be",
"paid",
"if",
"the",
"refund",
"transaction",
"has",
"to",
"be",
"claimed",
"because",
"the",
"server",
"failed",
"to",
"settle",
"the",
"channel",
"properly",
"may",
"only",
"be",
"called",
"after",
"{"
] | [
"public",
"abstract",
"coin",
"get",
"refund",
"tx",
"fees",
"(",
")",
";"
] |
[
"gets",
"the",
"total",
"value",
"of",
"this",
"channel",
"(",
"ie",
"the",
"maximum",
"payment",
"possible",
")"
] | [
"public",
"abstract",
"coin",
"get",
"total",
"value",
"(",
")",
";"
] |
[
"gets",
"the",
"current",
"amount",
"refunded",
"to",
"us",
"from",
"the",
"multisig",
"contract",
"(",
"ie",
"total",
"value",
"-",
"value",
"sent",
"to",
"server",
")"
] | [
"state",
"machine",
"check",
"state",
"(",
"state",
"ready",
")",
";",
"return",
"value",
"to",
"me",
";"
] |
[
"returns",
"the",
"amount",
"of",
"money",
"sent",
"on",
"this",
"channel",
"so",
"far"
] | [
"return",
"get",
"total",
"value",
"(",
")",
"subtract",
"(",
"get",
"value",
"refunded",
"(",
")",
")",
";"
] |
[
"gets",
"the",
"contract",
"without",
"changing",
"the",
"state",
"machine"
] | [
"protected",
"abstract",
"transaction",
"get",
"contract",
"internal",
"(",
")",
";"
] |
[
"gets",
"the",
"script",
"that",
"signatures",
"should",
"sign",
"against",
"this",
"is",
"never",
"a",
"p2sh",
"script",
"rather",
"the",
"script",
"that",
"would",
"be",
"inside",
"a",
"p2sh",
"script"
] | [
"protected",
"abstract",
"script",
"get",
"signed",
"script",
"(",
")",
";"
] |
[
"inserts",
"a",
"value",
"to",
"the",
"collection",
"returns",
"true",
"if",
"the",
"collection",
"did",
"not",
"already",
"contain",
"the",
"specified",
"element"
] | [
"boolean",
"status",
"=",
"map",
"contains",
"key",
"(",
"val",
")",
";",
"set",
"<",
"integer",
">",
"set",
"=",
"map",
"get",
"(",
"val",
")",
";",
"if",
"(",
"set",
"=",
"=",
"null",
")",
"{",
"set",
"=",
"new",
"hash",
"set",
"<",
">",
"(... |
[
"get",
"a",
"random",
"element",
"from",
"the",
"collection"
] | [
"random",
"random",
"=",
"new",
"random",
"(",
")",
";",
"return",
"list",
"get",
"(",
"random",
"next",
"int",
"(",
"list",
"size",
"(",
")",
")",
")",
";"
] |
[
"main",
"method"
] | [
"randomized",
"collection",
"collection",
"=",
"new",
"randomized",
"collection",
"(",
")",
";",
"system",
"out",
"println",
"(",
"collection",
"insert",
"(",
"1",
")",
")",
";",
"system",
"out",
"println",
"(",
"collection",
"insert",
"(",
"1",
")",
")",
... |
[
"positions",
"to",
"the",
"specified",
"document"
] | [
"public",
"abstract",
"void",
"set",
"document",
"(",
"int",
"doc",
")",
";"
] |
[
"retrieve",
"the",
"value",
"for",
"the",
"current",
"document",
"at",
"the",
"specified",
"index",
"an",
"index",
"ranges",
"from",
"{"
] | [
"public",
"abstract",
"long",
"value",
"at",
"(",
"int",
"index",
")",
";"
] |
[
"used",
"to",
"avoid",
"http",
":",
"/",
"/",
"bugs",
"sun",
"com",
"/",
"view",
"bug",
"do",
"?",
"bug",
"id",
"=",
"6558557"
] | [
"return",
"(",
"sorted",
"multiset",
"<",
"t",
">",
")",
"iterable",
";"
] |
[
"trains",
"model",
"based",
"on",
"the",
"specified",
"data"
] | [
"public",
"abstract",
"<",
"k",
",",
"v",
">",
"m",
"fit",
"(",
"dataset",
"builder",
"<",
"k",
",",
"v",
">",
"dataset",
"builder",
",",
"ignite",
"bi",
"function",
"<",
"k",
",",
"v",
",",
"vector",
">",
"feature",
"extractor",
",",
"ignite",
"bi... |
[
"gets",
"state",
"of",
"model",
"in",
"arguments",
"update",
"in",
"according",
"to",
"new",
"data",
"and",
"return",
"new",
"model"
] | [
"protected",
"abstract",
"<",
"k",
",",
"v",
">",
"m",
"update",
"model",
"(",
"m",
"mdl",
",",
"dataset",
"builder",
"<",
"k",
",",
"v",
">",
"dataset",
"builder",
",",
"ignite",
"bi",
"function",
"<",
"k",
",",
"v",
",",
"vector",
">",
"feature",... |
[
"trains",
"model",
"based",
"on",
"the",
"specified",
"data"
] | [
"return",
"fit",
"(",
"new",
"cache",
"based",
"dataset",
"builder",
"<",
">",
"(",
"ignite",
",",
"cache",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"gets",
"state",
"of",
"model",
"in",
"arguments",
"update",
"in",
"according",
"to",
"new",
"data",
"and",
"return",
"new",
"model"
] | [
"return",
"update",
"(",
"mdl",
",",
"new",
"cache",
"based",
"dataset",
"builder",
"<",
">",
"(",
"ignite",
",",
"cache",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"trains",
"model",
"based",
"on",
"the",
"specified",
"data"
] | [
"return",
"fit",
"(",
"new",
"cache",
"based",
"dataset",
"builder",
"<",
">",
"(",
"ignite",
",",
"cache",
",",
"filter",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"gets",
"state",
"of",
"model",
"in",
"arguments",
"update",
"in",
"according",
"to",
"new",
"data",
"and",
"return",
"new",
"model"
] | [
"return",
"update",
"(",
"mdl",
",",
"new",
"cache",
"based",
"dataset",
"builder",
"<",
">",
"(",
"ignite",
",",
"cache",
",",
"filter",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"trains",
"model",
"based",
"on",
"the",
"specified",
"data"
] | [
"return",
"fit",
"(",
"new",
"local",
"dataset",
"builder",
"<",
">",
"(",
"data",
",",
"parts",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"gets",
"state",
"of",
"model",
"in",
"arguments",
"update",
"in",
"according",
"to",
"new",
"data",
"and",
"return",
"new",
"model"
] | [
"return",
"update",
"(",
"mdl",
",",
"new",
"local",
"dataset",
"builder",
"<",
">",
"(",
"data",
",",
"parts",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"trains",
"model",
"based",
"on",
"the",
"specified",
"data"
] | [
"return",
"fit",
"(",
"new",
"local",
"dataset",
"builder",
"<",
">",
"(",
"data",
",",
"filter",
",",
"parts",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"gets",
"state",
"of",
"model",
"in",
"arguments",
"update",
"in",
"according",
"to",
"new",
"data",
"and",
"return",
"new",
"model"
] | [
"return",
"update",
"(",
"mdl",
",",
"new",
"local",
"dataset",
"builder",
"<",
">",
"(",
"data",
",",
"filter",
",",
"parts",
")",
",",
"feature",
"extractor",
",",
"lb",
"extractor",
")",
";"
] |
[
"sets",
"learning",
"environment"
] | [
"this",
"environment",
"=",
"environment",
";"
] |
[
"parse",
"a",
"value",
"as",
"a",
"base",
"-",
"10",
"integer"
] | [
"return",
"parse",
"int",
"with",
"base",
"(",
"value",
",",
"10",
",",
"def",
"value",
")",
";"
] |
[
"parse",
"a",
"value",
"as",
"an",
"integer",
"of",
"a",
"given",
"base"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"def",
"value",
";",
"}",
"try",
"{",
"return",
"integer",
"parse",
"int",
"(",
"value",
",",
"base",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"return",
... |
[
"parse",
"a",
"value",
"as",
"a",
"base",
"-",
"10",
"long"
] | [
"return",
"parse",
"long",
"with",
"base",
"(",
"value",
",",
"10",
",",
"def",
"value",
")",
";"
] |
[
"parse",
"a",
"value",
"as",
"a",
"long",
"of",
"a",
"given",
"base"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"def",
"value",
";",
"}",
"try",
"{",
"return",
"long",
"parse",
"long",
"(",
"value",
",",
"base",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"return",
"... |
[
"parse",
"a",
"value",
"as",
"a",
"float"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"def",
"value",
";",
"}",
"try",
"{",
"return",
"float",
"parse",
"float",
"(",
"value",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"return",
"def",
"value"... |
[
"parse",
"a",
"value",
"as",
"a",
"double"
] | [
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"def",
"value",
";",
"}",
"try",
"{",
"return",
"double",
"parse",
"double",
"(",
"value",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"return",
"def",
"valu... |
[
"<",
"p",
">",
"a",
"<",
"a",
">",
"storage",
"gateway",
"error",
"<",
"/",
"a",
">",
"that",
"provides",
"more",
"information",
"about",
"the",
"cause",
"of",
"the",
"error",
"<",
"/",
"p",
">"
] | [
"set",
"error",
"(",
"error",
")",
";",
"return",
"this",
";"
] |
[
"{",
"@",
"link",
"succeed",
"state",
"}",
"is",
"always",
"a",
"terminal",
"state"
] | [
"return",
"true",
";"
] |
[
"optional",
"human",
"readable",
"description",
"for",
"the",
"state"
] | [
"this",
"comment",
"=",
"comment",
";",
"return",
"this",
";"
] |
[
"required",
"error",
"code",
"that",
"can",
"be",
"referenced",
"in",
"{",
"@",
"link",
"retrier",
"}",
"s",
"or",
"{",
"@",
"link",
"catcher",
"}",
"s",
"and",
"can",
"also",
"be",
"used",
"for",
"diagnostic",
"purposes"
] | [
"this",
"error",
"=",
"error",
";",
"return",
"this",
";"
] |
[
"required",
"human",
"readable",
"message",
"describing",
"the",
"failure",
"used",
"for",
"diagnostic",
"purposes",
"only"
] | [
"this",
"cause",
"=",
"cause",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter"
] | [
"this",
"key",
"=",
"key",
";",
"return",
"this",
";"
] |
[
"returns",
"{"
] | [
"return",
"instance",
";"
] |
[
"<",
"p",
">",
"a",
"valid",
"json",
"or",
"yaml",
"string",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"content",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"sql",
"value",
"class",
",",
"this",
")",
";"
] |
[
"<",
"code",
">",
"grpc",
"binarylog",
"v",
"1",
"address",
"type",
"type",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"type",
";"
] |
[
"<",
"pre",
">",
"deprecated",
"don",
"t",
"use",
"to",
"be",
"removed",
"shortly",
"the",
"type",
"of",
"data",
"in",
"body",
"<",
"/",
"pre",
">"
] | [
"io",
"grpc",
"testing",
"integration",
"messages",
"payload",
"type",
"result",
"=",
"io",
"grpc",
"testing",
"integration",
"messages",
"payload",
"type",
"value",
"of",
"(",
"type",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"io",
"grpc",
"tes... |
[
"<",
"pre",
">",
"primary",
"contents",
"of",
"payload",
"<",
"/",
"pre",
">"
] | [
"return",
"body",
";"
] |
[
"<",
"code",
">",
"int",
"3",
"2",
"code",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"code",
";"
] |
[
"<",
"pre",
">",
"the",
"message",
"to",
"be",
"sent",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
... |
[
"<",
"pre",
">",
"deprecated",
"don",
"t",
"use",
"to",
"be",
"removed",
"shortly",
"desired",
"payload",
"type",
"in",
"the",
"response",
"from",
"the",
"server",
"if",
"response",
"type",
"is",
"random",
"the",
"payload",
"from",
"each",
"response",
"in"... | [
"return",
"response",
"type",
";"
] |
[
"<",
"pre",
">",
"deprecated",
"don",
"t",
"use",
"to",
"be",
"removed",
"shortly",
"desired",
"payload",
"type",
"in",
"the",
"response",
"from",
"the",
"server",
"if",
"response",
"type",
"is",
"random",
"the",
"payload",
"from",
"each",
"response",
"in"... | [
"io",
"grpc",
"testing",
"integration",
"messages",
"payload",
"type",
"result",
"=",
"io",
"grpc",
"testing",
"integration",
"messages",
"payload",
"type",
"value",
"of",
"(",
"response",
"type",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"io",
... |
[
"<",
"pre",
">",
"desired",
"payload",
"size",
"in",
"the",
"response",
"from",
"the",
"server",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"size",
";"
] |
[
"<",
"pre",
">",
"payload",
"to",
"increase",
"response",
"size",
"<",
"/",
"pre",
">"
] | [
"return",
"payload",
"!",
"=",
"null",
";"
] |
[
"<",
"pre",
">",
"payload",
"to",
"increase",
"response",
"size",
"<",
"/",
"pre",
">"
] | [
"return",
"payload",
"=",
"=",
"null",
"?",
"io",
"grpc",
"testing",
"integration",
"messages",
"payload",
"get",
"default",
"instance",
"(",
")",
":",
"payload",
";"
] |
[
"<",
"pre",
">",
"payload",
"to",
"increase",
"response",
"size",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"payload",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"whether",
"simple",
"response",
"should",
"include",
"username",
"<",
"/",
"pre",
">"
] | [
"return",
"fill",
"username",
";"
] |
[
"<",
"pre",
">",
"whether",
"simple",
"response",
"should",
"include",
"o",
"auth",
"scope",
"<",
"/",
"pre",
">"
] | [
"return",
"fill",
"oauth",
"scope",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"response",
"compressed",
"!",
"=",
"null",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"response",
"compressed",
"=",
"=",
"null",
"?",
"com",
"google",
"protobuf",
"bool",
"value",
"get",
"default",
"instance",
"(",
")",
":",
"response",
"compressed",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"get",
"response",
"compressed",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"whether",
"server",
"should",
"return",
"a",
"given",
"status",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"status",
"!",
"=",
"null",
";"
] |
[
"<",
"pre",
">",
"whether",
"server",
"should",
"return",
"a",
"given",
"status",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"status",
"=",
"=",
"null",
"?",
"io",
"grpc",
"testing",
"integration",
"messages",
"echo",
"status",
"get",
"default",
"instance",
"(",
")",
":",
"response",
"status",
";"
] |
[
"<",
"pre",
">",
"whether",
"server",
"should",
"return",
"a",
"given",
"status",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"response",
"status",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"whether",
"the",
"server",
"should",
"expect",
"this",
"request",
"to",
"be",
"compressed",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"servers",
"not",
"able",
"to",
"implement",
"the",
"f... | [
"return",
"expect",
"compressed",
"!",
"=",
"null",
";"
] |
[
"<",
"pre",
">",
"whether",
"the",
"server",
"should",
"expect",
"this",
"request",
"to",
"be",
"compressed",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"servers",
"not",
"able",
"to",
"implement",
"the",
"f... | [
"return",
"expect",
"compressed",
"=",
"=",
"null",
"?",
"com",
"google",
"protobuf",
"bool",
"value",
"get",
"default",
"instance",
"(",
")",
":",
"expect",
"compressed",
";"
] |
[
"<",
"pre",
">",
"whether",
"the",
"server",
"should",
"expect",
"this",
"request",
"to",
"be",
"compressed",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"servers",
"not",
"able",
"to",
"implement",
"the",
"f... | [
"return",
"get",
"expect",
"compressed",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"the",
"user",
"the",
"request",
"came",
"from",
"for",
"verifying",
"authentication",
"was",
"successful",
"when",
"the",
"client",
"expected",
"it",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"username",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
... |
[
"<",
"pre",
">",
"the",
"user",
"the",
"request",
"came",
"from",
"for",
"verifying",
"authentication",
"was",
"successful",
"when",
"the",
"client",
"expected",
"it",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"username",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",... |
[
"<",
"pre",
">",
"o",
"auth",
"scope",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"oauth",
"scope",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
... |
[
"<",
"pre",
">",
"o",
"auth",
"scope",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"oauth",
"scope",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf"... |
[
"<",
"pre",
">",
"the",
"human",
"readable",
"value",
"of",
"this",
"socket",
"option",
"at",
"least",
"one",
"of",
"value",
"or",
"additional",
"will",
"be",
"set",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"value",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"... |
[
"<",
"code",
">",
"optional",
"string",
"value",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"value",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
... |
[
"<",
"pre",
">",
"aggregated",
"size",
"of",
"payloads",
"received",
"from",
"the",
"client",
"<",
"/",
"pre",
">"
] | [
"return",
"aggregated",
"payload",
"size",
";"
] |
[
"<",
"pre",
">",
"desired",
"payload",
"sizes",
"in",
"responses",
"from",
"the",
"server",
"<",
"/",
"pre",
">"
] | [
"return",
"size",
";"
] |
[
"<",
"pre",
">",
"desired",
"interval",
"between",
"consecutive",
"responses",
"in",
"the",
"response",
"stream",
"in",
"microseconds",
"<",
"/",
"pre",
">"
] | [
"return",
"interval",
"us",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"compressed",
"!",
"=",
"null",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"compressed",
"=",
"=",
"null",
"?",
"com",
"google",
"protobuf",
"bool",
"value",
"get",
"default",
"instance",
"(",
")",
":",
"compressed",
";"
] |
[
"<",
"pre",
">",
"whether",
"to",
"request",
"the",
"server",
"to",
"compress",
"the",
"response",
"this",
"field",
"is",
"nullable",
"in",
"order",
"to",
"interoperate",
"seamlessly",
"with",
"clients",
"not",
"able",
"to",
"implement",
"the",
"full",
"comp... | [
"return",
"get",
"compressed",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"configuration",
"for",
"each",
"expected",
"response",
"message",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"parameters",
";"
] |
[
"<",
"pre",
">",
"configuration",
"for",
"each",
"expected",
"response",
"message",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"parameters",
";"
] |
[
"<",
"pre",
">",
"configuration",
"for",
"each",
"expected",
"response",
"message",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"parameters",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"configuration",
"for",
"each",
"expected",
"response",
"message",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"parameters",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"configuration",
"for",
"each",
"expected",
"response",
"message",
"<",
"/",
"pre",
">"
] | [
"return",
"response",
"parameters",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"int",
"3",
"2",
"max",
"reconnect",
"backoff",
"ms",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"max",
"reconnect",
"backoff",
"ms",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.