docstring_tokens list | code_tokens list |
|---|---|
[
"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",
"schema",
"version",
":",
"return",
"is",
"set",
"schema",
"version",
"(",
")",
";",
"... |
[
"returns",
"number",
"of",
"input",
"features"
] | [
"return",
"names",
"length",
";"
] |
[
"checks",
"if",
"the",
"beginnings",
"of",
"two",
"byte",
"arrays",
"are",
"equal"
] | [
"if",
"(",
"array",
"1",
"=",
"=",
"array",
"2",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"array",
"1",
"=",
"=",
"null",
"|",
"|",
"array",
"2",
"=",
"=",
"null",
"|",
"|",
"array",
"1",
"length",
"<",
"length",
"|",
"|",
"array",
... |
[
"{"
] | [
"super",
"test",
"get",
"read",
"through",
"(",
")",
";",
"get",
"read",
"through",
"(",
"false",
",",
"transaction",
"concurrency",
"optimistic",
",",
"transaction",
"isolation",
"read",
"committed",
")",
";",
"get",
"read",
"through",
"(",
"true",
",",
"... |
[
"set",
"specific",
"animation",
"resources",
"to",
"run",
"for",
"the",
"fragments",
"that",
"are",
"entering",
"and",
"exiting",
"in",
"this",
"transaction",
"these",
"animations",
"will",
"not",
"be",
"played",
"when",
"popping",
"the",
"back",
"stack"
] | [
"public",
"abstract",
"extra",
"transaction",
"set",
"custom",
"animations",
"(",
"@",
"animator",
"res",
"@",
"anim",
"res",
"int",
"target",
"fragment",
"enter",
",",
"@",
"animator",
"res",
"@",
"anim",
"res",
"int",
"current",
"fragment",
"pop",
"exit",
... |
[
"set",
"specific",
"animation",
"resources",
"to",
"run",
"for",
"the",
"fragments",
"that",
"are",
"entering",
"and",
"exiting",
"in",
"this",
"transaction",
"the",
"<",
"code",
">",
"current",
"fragment",
"pop",
"enter",
"<",
"/",
"code",
">",
"and",
"<"... | [
"public",
"abstract",
"extra",
"transaction",
"set",
"custom",
"animations",
"(",
"@",
"animator",
"res",
"@",
"anim",
"res",
"int",
"target",
"fragment",
"enter",
",",
"@",
"animator",
"res",
"@",
"anim",
"res",
"int",
"current",
"fragment",
"pop",
"exit",
... |
[
"used",
"with",
"custom",
"transitions",
"to",
"map",
"a",
"view",
"from",
"a",
"removed",
"or",
"hidden",
"fragment",
"to",
"a",
"view",
"from",
"a",
"shown",
"or",
"added",
"fragment",
"<",
"var",
">",
"shared",
"element",
"<",
"/",
"var",
">",
"must... | [
"@",
"requires",
"api",
"(",
"build",
"version",
"codes",
"lollipop",
"mr1",
")",
"public",
"abstract",
"extra",
"transaction",
"add",
"shared",
"element",
"(",
"view",
"shared",
"element",
",",
"string",
"shared",
"name",
")",
";"
] |
[
"don",
"t",
"add",
"this",
"extra",
"transaction",
"to",
"the",
"back",
"stack"
] | [
"public",
"abstract",
"dont",
"add",
"to",
"back",
"stack",
"transaction",
"dont",
"add",
"to",
"back",
"stack",
"(",
")",
";"
] |
[
"{"
] | [
"int",
"size",
"=",
"0",
";",
"for",
"(",
"cache",
"entry",
"event",
"<",
"?",
"extends",
"integer",
",",
"?",
"extends",
"integer",
">",
"e",
":",
"events",
")",
"+",
"+",
"size",
";",
"cnt",
"add",
"and",
"get",
"(",
"size",
")",
";"
] |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"job",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"a",
"w",
"s",
"session",
"credentials",
"is",
"used",
"a",
"long",
"-",
"running",
"job",
"can",
"call",
"get",
"job",
"details",
"... | [
"this",
"job",
"details",
"=",
"job",
"details",
";"
] |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"job",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"a",
"w",
"s",
"session",
"credentials",
"is",
"used",
"a",
"long",
"-",
"running",
"job",
"can",
"call",
"get",
"job",
"details",
"... | [
"return",
"this",
"job",
"details",
";"
] |
[
"<",
"p",
">",
"the",
"details",
"of",
"the",
"job",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"a",
"w",
"s",
"session",
"credentials",
"is",
"used",
"a",
"long",
"-",
"running",
"job",
"can",
"call",
"get",
"job",
"details",
"... | [
"set",
"job",
"details",
"(",
"job",
"details",
")",
";",
"return",
"this",
";"
] |
[
"benchmark",
"to",
"measure",
"gson",
"performance",
"for",
"deserializing",
"an",
"object"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"reps",
";",
"+",
"+",
"i",
")",
"{",
"gson",
"from",
"json",
"(",
"json",
",",
"list",
"type",
")",
";",
"}"
] |
[
"the",
"size",
"of",
"the",
"generations",
"in",
"the",
"translog",
"that",
"weren",
"t",
"yet",
"to",
"committed",
"to",
"lucene"
] | [
"return",
"uncommitted",
"size",
"in",
"bytes",
";"
] |
[
"the",
"number",
"of",
"operations",
"in",
"generations",
"of",
"the",
"translog",
"that",
"weren",
"t",
"yet",
"to",
"committed",
"to",
"lucene"
] | [
"return",
"uncommitted",
"operations",
";"
] |
[
"last",
"action",
"of",
"initialization",
"sequence",
"sets",
"the",
"device",
"to",
"initialized",
"it",
"is",
"only",
"invoked",
"if",
"all",
"other",
"actions",
"were",
"successfully",
"run",
"so",
"the",
"device",
"must",
"be",
"initialized",
"then"
] | [
"builder",
"add",
"(",
"new",
"set",
"device",
"state",
"action",
"(",
"get",
"device",
"(",
")",
",",
"state",
"initialized",
",",
"get",
"context",
"(",
")",
")",
")",
";"
] |
[
"todo",
":",
"tear",
"down",
"the",
"notifications",
"on",
"quit"
] | [
"builder",
"notify",
"(",
"get",
"characteristic",
"(",
"mi",
"band",
"service",
"uuid",
"characteristic",
"notification",
")",
",",
"enable",
")",
";",
"return",
"this",
";"
] |
[
"convert",
"an",
"alarm",
"from",
"the",
"gb",
"internal",
"structure",
"to",
"a",
"mi",
"band",
"message",
"and",
"put",
"on",
"the",
"specified",
"builder",
"queue",
"as",
"a",
"write",
"message",
"for",
"the",
"passed",
"characteristic"
] | [
"byte",
"[",
"]",
"alarm",
"cal",
"bytes",
"=",
"mi",
"band",
"date",
"converter",
"calendar",
"to",
"raw",
"bytes",
"(",
"alarm",
"get",
"alarm",
"cal",
"(",
")",
")",
";",
"byte",
"[",
"]",
"alarm",
"message",
"=",
"new",
"byte",
"[",
"]",
"{",
... |
[
"blast",
"some",
"random",
"strings",
"through",
"the",
"analyzer"
] | [
"analyzer",
"analyzer",
"=",
"new",
"russian",
"analyzer",
"(",
")",
";",
"check",
"random",
"data",
"(",
"random",
"(",
")",
",",
"analyzer",
",",
"1000",
"*",
"random",
"multiplier",
")",
";",
"analyzer",
"close",
"(",
")",
";"
] |
[
"deserializer",
"a",
"json",
"string",
"to",
"data",
"object"
] | [
"return",
"new",
"sample",
"json",
"serializer",
"(",
"json",
")",
"next",
"value",
"(",
")",
";"
] |
[
"sets",
"the",
"{",
"@",
"code",
"hazelcast",
"instance",
"}",
"from",
"which",
"named",
"{",
"@",
"link",
"java",
"util",
"concurrent",
"concurrent",
"map",
"concurrent",
"map",
"}",
"instances",
"will",
"be",
"acquired",
"to",
"create",
"{",
"@",
"link",... | [
"this",
"hazelcast",
"instance",
"=",
"hazelcast",
"instance",
";"
] |
[
"return",
"default",
"cache",
"value",
"retrieval",
"timeout",
"in",
"milliseconds"
] | [
"return",
"default",
"read",
"timeout",
";"
] |
[
"set",
"default",
"cache",
"value",
"retrieval",
"timeout",
"applies",
"to",
"all",
"caches",
"if",
"not",
"defined",
"a",
"cache",
"specific",
"timeout"
] | [
"this",
"default",
"read",
"timeout",
"=",
"default",
"read",
"timeout",
";"
] |
[
"return",
"cache",
"-",
"specific",
"value",
"retrieval",
"timeouts",
"map",
"keys",
"are",
"cache",
"names",
"values",
"are",
"cache",
"retrieval",
"timeouts",
"in",
"milliseconds"
] | [
"return",
"read",
"timeout",
"map",
";"
] |
[
"returns",
"a",
"command",
"builder",
"for",
"a",
"unix",
"platform"
] | [
"return",
"immutable",
"list",
"builder",
"(",
")",
";"
] |
[
"returns",
"a",
"buck",
"command",
"builder",
"for",
"a",
"unix",
"platform",
"which",
"runs",
"buck",
"through",
"cmd",
"exe",
"running",
"bin",
"/",
"buck"
] | [
"return",
"get",
"command",
"builder",
"(",
")",
"add",
"(",
"buck",
"exe",
")",
";"
] |
[
"~",
"methods",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-... | [
"return",
"hprof",
"instance",
"value",
"get",
"type",
"value",
"(",
"dump",
"buffer",
",",
"offset",
"+",
"(",
"(",
"long",
")",
"index",
"*",
"(",
"long",
")",
"el",
"size",
")",
",",
"type",
")",
"to",
"string",
"(",
")",
";"
] |
[
"manage",
"alluxio",
"extensions"
] | [
"extensions",
"shell",
"extension",
"shell",
"=",
"new",
"extensions",
"shell",
"(",
")",
";",
"system",
"exit",
"(",
"extension",
"shell",
"run",
"(",
"args",
")",
")",
";"
] |
[
"[",
"start",
"on",
"start",
"on",
"stop",
"]"
] | [
"super",
"on",
"start",
"(",
")",
";",
"m",
"google",
"api",
"client",
"connect",
"(",
")",
";"
] |
[
"[",
"start",
"on",
"save",
"instance",
"state",
"]"
] | [
"super",
"on",
"save",
"instance",
"state",
"(",
"out",
"state",
")",
";",
"out",
"state",
"put",
"boolean",
"(",
"key",
"is",
"resolving",
",",
"m",
"is",
"resolving",
")",
";",
"out",
"state",
"put",
"boolean",
"(",
"key",
"should",
"resolve",
",",
... |
[
"[",
"start",
"on",
"click",
"]"
] | [
"switch",
"(",
"v",
"get",
"id",
"(",
")",
")",
"{",
"case",
"r",
"id",
"sign",
"in",
"button",
":",
"on",
"sign",
"in",
"clicked",
"(",
")",
";",
"break",
";",
"case",
"r",
"id",
"sign",
"out",
"button",
":",
"on",
"sign",
"out",
"clicked",
"(... |
[
"returns",
"the",
"{"
] | [
"public",
"abstract",
"double",
"get",
"double",
"(",
"long",
"i",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"public",
"abstract",
"float",
"get",
"float",
"(",
"long",
"i",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"public",
"abstract",
"int",
"get",
"int",
"(",
"long",
"i",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"public",
"abstract",
"long",
"get",
"long",
"(",
"long",
"i",
")",
";"
] |
[
"schedule",
"a",
"task",
"to",
"be",
"run",
"by",
"a",
"{",
"@",
"link",
"background",
"task",
"manager",
"}"
] | [
"managed",
"background",
"task",
"managed",
"task",
"=",
"new",
"managed",
"background",
"task",
"(",
"task",
",",
"build",
"id",
")",
";",
"manager",
"schedule",
"(",
"managed",
"task",
")",
";"
] |
[
"schedule",
"a",
"list",
"of",
"tasks",
"to",
"be",
"run",
"by",
"a",
"{",
"@",
"link",
"background",
"task",
"manager",
"}"
] | [
"for",
"(",
"background",
"task",
"<",
"?",
">",
"task",
":",
"task",
"list",
")",
"{",
"schedule",
"(",
"task",
")",
";",
"}"
] |
[
"sets",
"the",
"current",
"slot",
"assignment",
"address"
] | [
"this",
"address",
"=",
"address",
";"
] |
[
"write",
"a",
"byte",
"array",
"into",
"the",
"request",
"body"
] | [
"public",
"abstract",
"void",
"write",
"(",
"byte",
"[",
"]",
"bytes",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"write",
"a",
"portion",
"of",
"a",
"byte",
"array",
"into",
"the",
"request",
"body"
] | [
"public",
"abstract",
"void",
"write",
"(",
"byte",
"[",
"]",
"bytes",
",",
"int",
"length",
"to",
"write",
"from",
"start",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter"
] | [
"this",
"portfolio",
"=",
"portfolio",
";",
"return",
"this",
";"
] |
[
"returns",
"whether",
"this",
"value",
"represents",
"a",
"single",
"specific",
"(",
"but",
"possibly",
"unknown",
")",
"value"
] | [
"return",
"false",
";"
] |
[
"returns",
"whether",
"this",
"value",
"represents",
"a",
"single",
"particular",
"(",
"known",
")",
"value"
] | [
"return",
"false",
";"
] |
[
"returns",
"the",
"generalization",
"of",
"this",
"value",
"and",
"the",
"given",
"other",
"value"
] | [
"public",
"abstract",
"value",
"generalize",
"(",
"value",
"other",
")",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"this",
"instance",
"is",
"a",
"category",
"-",
"2",
"constant",
"meaning",
"it",
"takes",
"up",
"two",
"slots",
"in",
"the",
"constant",
"pool",
"or",
"{",
"@",
"code",
"false",
"}",
"if",
"this",
"ins... | [
"public",
"abstract",
"boolean",
"is",
"category",
"2",
"(",
")",
";"
] |
[
"returns",
"the",
"computational",
"type",
"of",
"this",
"value"
] | [
"public",
"abstract",
"int",
"computational",
"type",
"(",
")",
";"
] |
[
"returns",
"the",
"internal",
"type",
"of",
"this",
"value"
] | [
"public",
"abstract",
"string",
"internal",
"type",
"(",
")",
";"
] |
[
"returns",
"the",
"java",
"parser",
"node",
"associated",
"with",
"this",
"java",
"parser",
"type",
"variable",
"declaration"
] | [
"return",
"wrapped",
"node",
";"
] |
[
"while",
"{"
] | [
"return",
"new",
"auto",
"value",
"insert",
"trace",
"by",
"service",
"span",
"input",
"(",
"service",
",",
"span",
",",
"bucket",
",",
"ts",
",",
"!",
"strict",
"trace",
"id",
"&",
"&",
"trace",
"id",
"length",
"(",
")",
"=",
"=",
"32",
"?",
"trac... |
[
"get",
"the",
"virtual",
"stream",
"name"
] | [
"return",
"stream",
";"
] |
[
"read",
"data",
"from",
"input",
"(",
"text",
"file",
"input",
"meta",
")"
] | [
"if",
"(",
"input",
"get",
"shape",
"filename",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"shape",
"set",
"text",
"(",
"input",
"get",
"shape",
"filename",
"(",
")",
")",
";",
"}",
"if",
"(",
"input",
"get",
"dbf",
"filename",
"(",
")",
"!",
"... |
[
"turn",
"permissions",
"into",
"text"
] | [
"return",
"transform",
"text",
"(",
"context",
",",
"arrays",
"as",
"list",
"(",
"permissions",
")",
")",
";"
] |
[
"turn",
"permissions",
"into",
"text"
] | [
"list",
"<",
"string",
">",
"permission",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"string",
"[",
"]",
"group",
":",
"groups",
")",
"{",
"permission",
"list",
"add",
"all",
"(",
"arrays",
"as",
"list",
"(",
"group",... |
[
"turn",
"permissions",
"into",
"text"
] | [
"list",
"<",
"string",
">",
"text",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"string",
"permission",
":",
"permissions",
")",
"{",
"switch",
"(",
"permission",
")",
"{",
"case",
"read",
"calendar",
":",
"case",
"write... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"name",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"associated",
"auto",
"scaling",
"groups",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"auto",
"scaling",
"groups",
"=",
"=",
"null",
")",
"{",
"auto",
"scaling",
"groups",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"auto",
"scaling",
"group",
">",
"(",
")",
";",
"}",
"return",
"auto",
"scaling... |
[
"<",
"p",
">",
"a",
"list",
"of",
"associated",
"auto",
"scaling",
"groups",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"auto",
"scaling",
"groups",
"=",
"=",
"null",
")",
"{",
"this",
"auto",
"scaling",
"groups",
"=",
"null",
";",
"return",
";",
"}",
"this",
"auto",
"scaling",
"groups",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"... |
[
"<",
"p",
">",
"the",
"groups",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
... | [
"if",
"(",
"this",
"auto",
"scaling",
"groups",
"=",
"=",
"null",
")",
"{",
"set",
"auto",
"scaling",
"groups",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"auto",
"scaling",
"group",
">",
"(",
"auto",
"scaling",
"groups",... |
[
"<",
"p",
">",
"the",
"groups",
"<",
"/",
"p",
">"
] | [
"set",
"auto",
"scaling",
"groups",
"(",
"auto",
"scaling",
"groups",
")",
";",
"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",
";"
] |
[
"returns",
"the",
"expression",
"embedded",
"in",
"{",
"}"
] | [
"return",
"expression",
";"
] |
[
"sets",
"the",
"expression",
"embedded",
"in",
"{",
"}",
"and",
"sets",
"its",
"parent",
"to",
"this",
"node"
] | [
"assert",
"not",
"null",
"(",
"expression",
")",
";",
"this",
"expression",
"=",
"expression",
";",
"expression",
"set",
"parent",
"(",
"this",
")",
";"
] |
[
"visits",
"this",
"node",
"then",
"the",
"child",
"expression"
] | [
"if",
"(",
"v",
"visit",
"(",
"this",
")",
")",
"{",
"expression",
"visit",
"(",
"v",
")",
";",
"}"
] |
[
"create",
"{",
"@",
"link",
"broadcaster",
"config",
"}"
] | [
"return",
"new",
"broadcaster",
"config",
"(",
"config",
"framework",
"(",
")",
"broadcaster",
"filters",
",",
"config",
",",
"get",
"i",
"d",
"(",
")",
")",
"init",
"(",
")",
";"
] |
[
"rename",
"this",
"broadcaster",
"without",
"invoking",
"it",
"s",
"associated",
"{",
"@",
"link",
"org",
"atmosphere",
"runtime",
"broadcaster",
"factory",
"}",
"this",
"method",
"must",
"be",
"carefully",
"used",
"as",
"it",
"could",
"easily",
"create",
"mem... | [
"this",
"name",
"=",
"id",
";",
"return",
"this",
";"
] |
[
"return",
"the",
"default",
"number",
"of",
"reactive",
"threads",
"that",
"will",
"be",
"waiting",
"for",
"work",
"when",
"a",
"broadcast",
"operation",
"is",
"executed"
] | [
"return",
"runtime",
"get",
"runtime",
"(",
")",
"available",
"processors",
"(",
")",
"*",
"2",
";"
] |
[
"cache",
"the",
"message",
"because",
"an",
"unexpected",
"exception",
"occurred"
] | [
"atmosphere",
"request",
"request",
"=",
"atmosphere",
"resource",
"impl",
"class",
"cast",
"(",
"r",
")",
"get",
"request",
"(",
"false",
")",
";",
"try",
"{",
"cache",
"lost",
"message",
"(",
"r",
",",
"(",
"async",
"write",
"token",
")",
"request",
... |
[
"cache",
"the",
"message",
"because",
"an",
"unexpected",
"exception",
"occurred"
] | [
"cache",
"lost",
"message",
"(",
"r",
",",
"token",
",",
"false",
")",
";"
] |
[
"invoke",
"the",
"{",
"@",
"link",
"broadcast",
"filter",
"}"
] | [
"broadcast",
"action",
"a",
"=",
"bc",
"filter",
"(",
"msg",
")",
";",
"if",
"(",
"a",
"action",
"(",
")",
"=",
"=",
"broadcast",
"action",
"action",
"abort",
"|",
"|",
"msg",
"=",
"=",
"null",
")",
"return",
"null",
";",
"else",
"return",
"a",
"... |
[
"[",
"r",
"g",
"b",
"]"
] | [
"reader",
"begin",
"array",
"(",
")",
";",
"int",
"r",
"=",
"(",
"int",
")",
"(",
"reader",
"next",
"double",
"(",
")",
"*",
"255",
")",
";",
"int",
"g",
"=",
"(",
"int",
")",
"(",
"reader",
"next",
"double",
"(",
")",
"*",
"255",
")",
";",
... |
[
"<",
"p",
">",
"the",
"part",
"of",
"the",
"web",
"request",
"that",
"you",
"want",
"aws",
"waf",
"to",
"search",
"for",
"a",
"specified",
"string",
"parts",
"of",
"a",
"request",
"that",
"you",
"can",
"search",
"include",
"the",
"following",
":",
"<",... | [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"part",
"of",
"the",
"web",
"request",
"that",
"you",
"want",
"aws",
"waf",
"to",
"search",
"for",
"a",
"specified",
"string",
"parts",
"of",
"a",
"request",
"that",
"you",
"can",
"search",
"include",
"the",
"following",
":",
"<",... | [
"with",
"type",
"(",
"type",
")",
";"
] |
[
"<",
"p",
">",
"the",
"part",
"of",
"the",
"web",
"request",
"that",
"you",
"want",
"aws",
"waf",
"to",
"search",
"for",
"a",
"specified",
"string",
"parts",
"of",
"a",
"request",
"that",
"you",
"can",
"search",
"include",
"the",
"following",
":",
"<",... | [
"this",
"type",
"=",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"when",
"the",
"value",
"of",
"<",
"code",
">",
"type",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"header",
"<",
"/",
"code",
">",
"enter",
"the",
"name",
"of",
"the",
"header",
"that",
"you",
"want",
"aws",
"waf",
"to",
"se... | [
"set",
"data",
"(",
"data",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"writer",
"that",
"allows",
"writing",
"to",
"this",
"sink"
] | [
"public",
"abstract",
"sink",
"writer",
"<",
"t",
">",
"writer",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"whether",
"this",
"reader",
"can",
"be",
"restarted"
] | [
"return",
"false",
";"
] |
[
"adapt",
"{",
"@",
"code",
"parser",
"}",
"to",
"a",
"{",
"@",
"link",
"marshaller",
"}"
] | [
"return",
"new",
"message",
"marshaller",
"<",
"t",
">",
"(",
"factory",
")",
";"
] |
[
"copied",
"from",
"guava",
"com",
"google",
"common",
"io",
"byte",
"streams",
"because",
"its",
"api",
"is",
"unstable",
"(",
"beta",
")"
] | [
"check",
"not",
"null",
"(",
"from",
")",
";",
"check",
"not",
"null",
"(",
"to",
")",
";",
"byte",
"[",
"]",
"buf",
"=",
"new",
"byte",
"[",
"buf",
"size",
"]",
";",
"long",
"total",
"=",
"0",
";",
"while",
"(",
"true",
")",
"{",
"int",
"r",... |
[
"sets",
"all",
"flags",
"to",
"return",
"all",
"stats"
] | [
"flags",
"=",
"enum",
"set",
"all",
"of",
"(",
"flag",
"class",
")",
";",
"types",
"=",
"null",
";",
"groups",
"=",
"null",
";",
"field",
"data",
"fields",
"=",
"null",
";",
"completion",
"data",
"fields",
"=",
"null",
";",
"include",
"segment",
"fil... |
[
"clears",
"all",
"stats"
] | [
"flags",
"=",
"enum",
"set",
"none",
"of",
"(",
"flag",
"class",
")",
";",
"types",
"=",
"null",
";",
"groups",
"=",
"null",
";",
"field",
"data",
"fields",
"=",
"null",
";",
"completion",
"data",
"fields",
"=",
"null",
";",
"include",
"segment",
"fi... |
[
"document",
"types",
"to",
"return",
"stats",
"for",
"mainly",
"affects",
"{"
] | [
"this",
"types",
"=",
"types",
";",
"return",
"this",
";"
] |
[
"sets",
"specific",
"search",
"group",
"stats",
"to",
"retrieve",
"the",
"stats",
"for",
"mainly",
"affects",
"search",
"when",
"enabled"
] | [
"this",
"groups",
"=",
"groups",
";",
"return",
"this",
";"
] |
[
"sets",
"specific",
"search",
"group",
"stats",
"to",
"retrieve",
"the",
"stats",
"for",
"mainly",
"affects",
"search",
"when",
"enabled"
] | [
"this",
"field",
"data",
"fields",
"=",
"field",
"data",
"fields",
";",
"return",
"this",
";"
] |
[
"implementations",
"for",
"constant"
] | [
"return",
"class",
"constants",
"constant",
"class",
";"
] |
[
"lets",
"the",
"referenced",
"class",
"accept",
"the",
"given",
"visitor"
] | [
"if",
"(",
"referenced",
"class",
"!",
"=",
"null",
")",
"{",
"referenced",
"class",
"accept",
"(",
"class",
"visitor",
")",
";",
"}"
] |
[
"{"
] | [
"return",
"new",
"visor",
"idle",
"verify",
"job",
"(",
"arg",
",",
"debug",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"fut",
"=",
"=",
"null",
")",
"{",
"fut",
"=",
"ignite",
"compute",
"(",
")",
"execute",
"async",
"(",
"verify",
"backup",
"partitions",
"task",
"class",
",",
"arg",
"get",
"caches",
"(",
")",
")",
";",
"if",
"(",
"!",
"fut",
"is",
"do... |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"visor",
"idle",
"verify",
"job",
"class",
",",
"this",
")",
";"
] |
[
"set",
"if",
"the",
"bean",
"managed",
"by",
"this",
"factory",
"is",
"a",
"singleton"
] | [
"this",
"singleton",
"=",
"singleton",
";"
] |
[
"clears",
"the",
"map",
"and",
"reduces",
"the",
"size",
"of",
"the",
"backing",
"arrays",
"to",
"be",
"the",
"specified",
"capacity",
"if",
"they",
"are",
"larger"
] | [
"if",
"(",
"capacity",
"<",
"=",
"maximum",
"capacity",
")",
"{",
"clear",
"(",
")",
";",
"return",
";",
"}",
"zero",
"value",
"=",
"null",
";",
"has",
"zero",
"value",
"=",
"false",
";",
"size",
"=",
"0",
";",
"resize",
"(",
"maximum",
"capacity",... |
[
"returns",
"true",
"if",
"the",
"specified",
"value",
"is",
"in",
"the",
"map",
"note",
"this",
"traverses",
"the",
"entire",
"map",
"and",
"compares",
"every",
"value",
"which",
"may",
"be",
"an",
"expensive",
"operation"
] | [
"v",
"[",
"]",
"value",
"table",
"=",
"this",
"value",
"table",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"has",
"zero",
"value",
"&",
"&",
"zero",
"value",
"=",
"=",
"null",
")",
"return",
"true",
";",
"long",
"[",
"]",
... |
[
"returns",
"the",
"key",
"for",
"the",
"specified",
"value",
"or",
"<",
"tt",
">",
"not",
"found",
"<",
"/",
"tt",
">",
"if",
"it",
"is",
"not",
"in",
"the",
"map",
"note",
"this",
"traverses",
"the",
"entire",
"map",
"and",
"compares",
"every",
"val... | [
"v",
"[",
"]",
"value",
"table",
"=",
"this",
"value",
"table",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"has",
"zero",
"value",
"&",
"&",
"zero",
"value",
"=",
"=",
"null",
")",
"return",
"0",
";",
"long",
"[",
"]",
"k... |
[
"returns",
"an",
"iterator",
"for",
"the",
"entries",
"in",
"the",
"map",
"remove",
"is",
"supported",
"note",
"that",
"the",
"same",
"iterator",
"instance",
"is",
"returned",
"each",
"time",
"this",
"method",
"is",
"called",
"use",
"the",
"{"
] | [
"if",
"(",
"entries",
"1",
"=",
"=",
"null",
")",
"{",
"entries",
"1",
"=",
"new",
"entries",
"(",
"this",
")",
";",
"entries",
"2",
"=",
"new",
"entries",
"(",
"this",
")",
";",
"}",
"if",
"(",
"!",
"entries",
"1",
"valid",
")",
"{",
"entries"... |
[
"returns",
"an",
"iterator",
"for",
"the",
"values",
"in",
"the",
"map",
"remove",
"is",
"supported",
"note",
"that",
"the",
"same",
"iterator",
"instance",
"is",
"returned",
"each",
"time",
"this",
"method",
"is",
"called",
"use",
"the",
"{"
] | [
"if",
"(",
"values",
"1",
"=",
"=",
"null",
")",
"{",
"values",
"1",
"=",
"new",
"values",
"(",
"this",
")",
";",
"values",
"2",
"=",
"new",
"values",
"(",
"this",
")",
";",
"}",
"if",
"(",
"!",
"values",
"1",
"valid",
")",
"{",
"values",
"1"... |
[
"returns",
"an",
"iterator",
"for",
"the",
"keys",
"in",
"the",
"map",
"remove",
"is",
"supported",
"note",
"that",
"the",
"same",
"iterator",
"instance",
"is",
"returned",
"each",
"time",
"this",
"method",
"is",
"called",
"use",
"the",
"{"
] | [
"if",
"(",
"keys",
"1",
"=",
"=",
"null",
")",
"{",
"keys",
"1",
"=",
"new",
"keys",
"(",
"this",
")",
";",
"keys",
"2",
"=",
"new",
"keys",
"(",
"this",
")",
";",
"}",
"if",
"(",
"!",
"keys",
"1",
"valid",
")",
"{",
"keys",
"1",
"reset",
... |
[
"returns",
"a",
"new",
"array",
"containing",
"the",
"remaining",
"values"
] | [
"array",
"array",
"=",
"new",
"array",
"(",
"true",
",",
"map",
"size",
")",
";",
"while",
"(",
"has",
"next",
")",
"array",
"add",
"(",
"next",
"(",
")",
")",
";",
"return",
"array",
";"
] |
[
"returns",
"a",
"new",
"array",
"containing",
"the",
"remaining",
"values"
] | [
"long",
"array",
"array",
"=",
"new",
"long",
"array",
"(",
"true",
",",
"map",
"size",
")",
";",
"while",
"(",
"has",
"next",
")",
"array",
"add",
"(",
"next",
"(",
")",
")",
";",
"return",
"array",
";"
] |
[
"returns",
"true",
"if",
"field",
"leader",
"master",
"address",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"leader",
"master",
"address",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"master",
"addresses",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"master",
"addresses",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"rpc",
"port",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"rpcport",
"isset",
"id",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.