docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"pass",
"through",
"the",
"basics",
"to",
"the",
"base",
"args"
] | [
"return",
"base",
"args",
"get",
"(",
"index",
")",
";"
] |
[
"the",
"interesting",
"custom",
"helpers"
] | [
"string",
"encoded",
"=",
"base",
"args",
"get",
"string",
"(",
"index",
")",
";",
"return",
"base",
"6",
"4",
"decode",
"(",
"encoded",
",",
"base",
"6",
"4",
"default",
")",
";"
] |
[
"modifies",
"the",
"data",
"of",
"a",
"document",
"to",
"be",
"indexed",
"based",
"on",
"the",
"processor",
"this",
"pipeline",
"holds"
] | [
"long",
"start",
"time",
"in",
"millis",
"=",
"clock",
"millis",
"(",
")",
";",
"try",
"{",
"metrics",
"pre",
"ingest",
"(",
")",
";",
"return",
"compound",
"processor",
"execute",
"(",
"ingest",
"document",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"metrics",
"ingest",
"failed",
"(",
")",
";",
"throw",
"e",
";",
"}",
"finally",
"{",
"long",
"ingest",
"time",
"in",
"millis",
"=",
"clock",
"millis",
"(",
")",
"-",
"start",
"time",
"in",
"millis",
";",
"metrics",
"post",
"ingest",
"(",
"ingest",
"time",
"in",
"millis",
")",
";",
"}"
] |
[
"an",
"optional",
"version",
"stored",
"with",
"the",
"pipeline",
"so",
"that",
"it",
"can",
"be",
"used",
"to",
"determine",
"if",
"the",
"pipeline",
"should",
"be",
"updated",
"/",
"replaced"
] | [
"return",
"version",
";"
] |
[
"get",
"the",
"underlying",
"{"
] | [
"return",
"compound",
"processor",
";"
] |
[
"unmodifiable",
"list",
"containing",
"each",
"processor",
"that",
"operates",
"on",
"the",
"data"
] | [
"return",
"compound",
"processor",
"get",
"processors",
"(",
")",
";"
] |
[
"unmodifiable",
"list",
"containing",
"each",
"on",
"failure",
"processor",
"that",
"operates",
"on",
"the",
"data",
"in",
"case",
"of",
"exception",
"thrown",
"in",
"pipeline",
"processors"
] | [
"return",
"compound",
"processor",
"get",
"on",
"failure",
"processors",
"(",
")",
";"
] |
[
"flattens",
"the",
"normal",
"and",
"on",
"failure",
"processors",
"into",
"a",
"single",
"list",
"the",
"original",
"order",
"is",
"lost",
"this",
"can",
"be",
"useful",
"for",
"pipeline",
"validation",
"purposes"
] | [
"return",
"compound",
"processor",
"flatten",
"processors",
"(",
")",
";"
] |
[
"the",
"metrics",
"associated",
"with",
"this",
"pipeline"
] | [
"return",
"metrics",
";"
] |
[
"strict",
"mode",
"is",
"enabled",
"by",
"default",
"but",
"if",
"disabled",
"then",
"invalid",
"parameter",
"names",
"will",
"not",
"result",
"in",
"exceptions",
"but",
"we",
"will",
"just",
"log",
"warnings",
"about",
"their",
"use"
] | [
"this",
"strict",
"on",
"parameter",
"names",
"=",
"strict",
"on",
"parameter",
"names",
";"
] |
[
"calculates",
"available",
"width",
"and",
"height",
"should",
"be",
"called",
"when",
"chart",
"dimensions",
"change",
"content",
"rect",
"is",
"relative",
"to",
"chart",
"view",
"not",
"the",
"device",
"s",
"screen"
] | [
"chart",
"width",
"=",
"width",
";",
"chart",
"height",
"=",
"height",
";",
"max",
"content",
"rect",
"set",
"(",
"padding",
"left",
",",
"padding",
"top",
",",
"width",
"-",
"padding",
"right",
",",
"height",
"-",
"padding",
"bottom",
")",
";",
"content",
"rect",
"minus",
"axes",
"margins",
"set",
"(",
"max",
"content",
"rect",
")",
";",
"content",
"rect",
"minus",
"all",
"margins",
"set",
"(",
"max",
"content",
"rect",
")",
";"
] |
[
"translates",
"chart",
"value",
"into",
"raw",
"pixel",
"value",
"returned",
"value",
"is",
"absolute",
"pixel",
"y",
"coordinate",
"if",
"this",
"method",
"return",
"0",
"that",
"means",
"top",
"most",
"pixel",
"of",
"the",
"screen"
] | [
"final",
"float",
"pixel",
"offset",
"=",
"(",
"value",
"y",
"-",
"current",
"viewport",
"bottom",
")",
"*",
"(",
"content",
"rect",
"minus",
"all",
"margins",
"height",
"(",
")",
"/",
"current",
"viewport",
"height",
"(",
")",
")",
";",
"return",
"content",
"rect",
"minus",
"all",
"margins",
"bottom",
"-",
"pixel",
"offset",
";"
] |
[
"translates",
"viewport",
"distance",
"int",
"pixel",
"distance",
"for",
"x",
"coordinates"
] | [
"return",
"distance",
"*",
"(",
"content",
"rect",
"minus",
"all",
"margins",
"width",
"(",
")",
"/",
"current",
"viewport",
"width",
"(",
")",
")",
";"
] |
[
"translates",
"viewport",
"distance",
"int",
"pixel",
"distance",
"for",
"x",
"coordinates"
] | [
"return",
"distance",
"*",
"(",
"content",
"rect",
"minus",
"all",
"margins",
"height",
"(",
")",
"/",
"current",
"viewport",
"height",
"(",
")",
")",
";"
] |
[
"finds",
"the",
"chart",
"point",
"(",
"i",
"e",
"within",
"the",
"chart",
"s",
"domain",
"and",
"range",
")",
"represented",
"by",
"the",
"given",
"pixel",
"coordinates",
"if",
"that",
"pixel",
"is",
"within",
"the",
"chart",
"region",
"described",
"by",
"{"
] | [
"if",
"(",
"!",
"content",
"rect",
"minus",
"all",
"margins",
"contains",
"(",
"(",
"int",
")",
"x",
",",
"(",
"int",
")",
"y",
")",
")",
"{",
"return",
"false",
";",
"}",
"dest",
"set",
"(",
"current",
"viewport",
"left",
"+",
"(",
"x",
"-",
"content",
"rect",
"minus",
"all",
"margins",
"left",
")",
"*",
"current",
"viewport",
"width",
"(",
")",
"/",
"content",
"rect",
"minus",
"all",
"margins",
"width",
"(",
")",
",",
"current",
"viewport",
"bottom",
"+",
"(",
"y",
"-",
"content",
"rect",
"minus",
"all",
"margins",
"bottom",
")",
"*",
"current",
"viewport",
"height",
"(",
")",
"/",
"-",
"content",
"rect",
"minus",
"all",
"margins",
"height",
"(",
")",
")",
";",
"return",
"true",
";"
] |
[
"computes",
"the",
"current",
"scrollable",
"surface",
"size",
"in",
"pixels",
"for",
"example",
"if",
"the",
"entire",
"chart",
"area",
"is",
"visible",
"this",
"is",
"simply",
"the",
"current",
"size",
"of",
"{"
] | [
"out",
"set",
"(",
"(",
"int",
")",
"(",
"max",
"viewport",
"width",
"(",
")",
"*",
"content",
"rect",
"minus",
"all",
"margins",
"width",
"(",
")",
"/",
"current",
"viewport",
"width",
"(",
")",
")",
",",
"(",
"int",
")",
"(",
"max",
"viewport",
"height",
"(",
")",
"*",
"content",
"rect",
"minus",
"all",
"margins",
"height",
"(",
")",
"/",
"current",
"viewport",
"height",
"(",
")",
")",
")",
";"
] |
[
"check",
"if",
"given",
"coordinates",
"lies",
"inside",
"content",
"rect",
"minus",
"all",
"margins"
] | [
"if",
"(",
"x",
">",
"=",
"content",
"rect",
"minus",
"all",
"margins",
"left",
"-",
"precision",
"&",
"&",
"x",
"<",
"=",
"content",
"rect",
"minus",
"all",
"margins",
"right",
"+",
"precision",
")",
"{",
"if",
"(",
"y",
"<",
"=",
"content",
"rect",
"minus",
"all",
"margins",
"bottom",
"+",
"precision",
"&",
"&",
"y",
">",
"=",
"content",
"rect",
"minus",
"all",
"margins",
"top",
"-",
"precision",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"returns",
"content",
"rectangle",
"in",
"pixels"
] | [
"return",
"content",
"rect",
"minus",
"all",
"margins",
";"
] |
[
"returns",
"content",
"rectangle",
"with",
"chart",
"internal",
"margins",
"for",
"example",
"for",
"line",
"chart",
"content",
"rect",
"minus",
"axes",
"margins",
"is",
"bigger",
"than",
"content",
"rect",
"minus",
"all",
"margins",
"by",
"point",
"radius",
"thanks",
"to",
"that",
"points",
"are",
"not",
"cut",
"on",
"edges"
] | [
"return",
"content",
"rect",
"minus",
"axes",
"margins",
";"
] |
[
"returns",
"current",
"chart",
"viewport",
"returned",
"object",
"is",
"mutable",
"but",
"should",
"not",
"be",
"modified"
] | [
"return",
"current",
"viewport",
";"
] |
[
"set",
"current",
"viewport",
"to",
"the",
"same",
"values",
"as",
"viewport",
"passed",
"in",
"parameter",
"this",
"method",
"use",
"deep",
"copy",
"so",
"parameter",
"can",
"be",
"safely",
"modified",
"later",
"current",
"viewport",
"must",
"be",
"equal",
"or",
"smaller",
"than",
"maximum",
"viewport"
] | [
"constrain",
"viewport",
"(",
"viewport",
"left",
",",
"viewport",
"top",
",",
"viewport",
"right",
",",
"viewport",
"bottom",
")",
";"
] |
[
"set",
"new",
"values",
"for",
"curent",
"viewport",
"that",
"will",
"change",
"what",
"part",
"of",
"chart",
"is",
"visible",
"current",
"viewport",
"must",
"be",
"equal",
"or",
"smaller",
"than",
"maximum",
"viewport"
] | [
"constrain",
"viewport",
"(",
"left",
",",
"top",
",",
"right",
",",
"bottom",
")",
";"
] |
[
"returns",
"maximum",
"viewport",
"-",
"values",
"ranges",
"extremes"
] | [
"return",
"max",
"viewport",
";"
] |
[
"set",
"maximum",
"viewport",
"to",
"the",
"same",
"values",
"as",
"viewport",
"passed",
"in",
"parameter",
"this",
"method",
"use",
"deep",
"copy",
"so",
"parameter",
"can",
"be",
"safely",
"modified",
"later"
] | [
"set",
"max",
"viewport",
"(",
"max",
"viewport",
"left",
",",
"max",
"viewport",
"top",
",",
"max",
"viewport",
"right",
",",
"max",
"viewport",
"bottom",
")",
";"
] |
[
"set",
"new",
"values",
"for",
"maximum",
"viewport",
"that",
"will",
"change",
"what",
"part",
"of",
"chart",
"is",
"visible"
] | [
"this",
"max",
"viewport",
"set",
"(",
"left",
",",
"top",
",",
"right",
",",
"bottom",
")",
";",
"compute",
"minimum",
"width",
"and",
"height",
"(",
")",
";"
] |
[
"returns",
"viewport",
"for",
"visible",
"part",
"of",
"chart",
"for",
"most",
"charts",
"it",
"is",
"equal",
"to",
"current",
"viewport"
] | [
"return",
"current",
"viewport",
";"
] |
[
"set",
"maximum",
"zoom",
"level",
"default",
"is",
"20"
] | [
"if",
"(",
"max",
"zoom",
"<",
"1",
")",
"{",
"max",
"zoom",
"=",
"1",
";",
"}",
"this",
"max",
"zoom",
"=",
"max",
"zoom",
";",
"compute",
"minimum",
"width",
"and",
"height",
"(",
")",
";",
"set",
"current",
"viewport",
"(",
"current",
"viewport",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"a",
"configuration",
"aggregators",
"object",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"configuration",
"aggregators",
"=",
"=",
"null",
")",
"{",
"configuration",
"aggregators",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"configuration",
"aggregator",
">",
"(",
")",
";",
"}",
"return",
"configuration",
"aggregators",
";"
] |
[
"<",
"p",
">",
"returns",
"a",
"configuration",
"aggregators",
"object",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"configuration",
"aggregators",
"=",
"=",
"null",
")",
"{",
"this",
"configuration",
"aggregators",
"=",
"null",
";",
"return",
";",
"}",
"this",
"configuration",
"aggregators",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"configuration",
"aggregator",
">",
"(",
"configuration",
"aggregators",
")",
";"
] |
[
"<",
"p",
">",
"returns",
"a",
"configuration",
"aggregators",
"object",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"configuration",
"aggregators",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"configuration",
"aggregators",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"configuration",
"aggregators",
"=",
"=",
"null",
")",
"{",
"set",
"configuration",
"aggregators",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"configuration",
"aggregator",
">",
"(",
"configuration",
"aggregators",
"length",
")",
")",
";",
"}",
"for",
"(",
"configuration",
"aggregator",
"ele",
":",
"configuration",
"aggregators",
")",
"{",
"this",
"configuration",
"aggregators",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"returns",
"a",
"configuration",
"aggregators",
"object",
"<",
"/",
"p",
">"
] | [
"set",
"configuration",
"aggregators",
"(",
"configuration",
"aggregators",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"next",
"token",
"string",
"returned",
"on",
"a",
"previous",
"page",
"that",
"you",
"use",
"to",
"get",
"the",
"next",
"page",
"of",
"results",
"in",
"a",
"paginated",
"response",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"called",
"after",
"a",
"run",
"has",
"finished",
"and",
"we",
"ve",
"determined",
"a",
"retry",
"is",
"required",
"but",
"before",
"the",
"next",
"attempt",
"is",
"run"
] | [] |
[
"all",
"instance",
"state",
"needs",
"to",
"be",
"persisted",
"in",
"the",
"provided",
"{"
] | [
"protected",
"abstract",
"@",
"non",
"null",
"data",
"serialize",
"(",
"@",
"non",
"null",
"data",
"builder",
"data",
"builder",
")",
";"
] |
[
"restore",
"all",
"of",
"your",
"instance",
"state",
"from",
"the",
"provided",
"{"
] | [
"protected",
"abstract",
"void",
"initialize",
"(",
"@",
"non",
"null",
"safe",
"data",
"data",
")",
";"
] |
[
"called",
"if",
"a",
"job",
"fails",
"to",
"run",
"(",
"on",
"should",
"retry",
"returned",
"false",
"or",
"the",
"number",
"of",
"retries",
"exceeded",
"the",
"job",
"s",
"configured",
"retry",
"count"
] | [
"protected",
"abstract",
"void",
"on",
"canceled",
"(",
")",
";"
] |
[
"if",
"on",
"run",
"(",
")",
"throws",
"an",
"exception",
"this",
"method",
"will",
"be",
"called",
"to",
"determine",
"whether",
"the",
"job",
"should",
"be",
"retried"
] | [
"protected",
"abstract",
"boolean",
"on",
"should",
"retry",
"(",
"exception",
"exception",
")",
";"
] |
[
"default",
"relevant",
"columns",
"{",
"0",
":",
"user",
"column",
"1",
":",
"item",
"column",
"2",
":",
"rate",
"column",
"}",
";",
"default",
"recommendation",
"task",
"is",
"rating",
"prediction",
";"
] | [
"return",
"read",
"data",
"(",
"new",
"int",
"[",
"]",
"{",
"0",
",",
"1",
",",
"2",
"}",
",",
"-",
"1",
")",
";"
] |
[
"default",
"sep",
"=",
"is",
"adopted"
] | [
"write",
"data",
"(",
"to",
"path",
",",
"\"",
"\"",
")",
";"
] |
[
"setup",
"any",
"common",
"data",
"for",
"the",
"upcoming",
"tests"
] | [
"super",
"set",
"up",
"(",
")",
";",
"m",
"pm",
"=",
"(",
"power",
"manager",
")",
"m",
"context",
"get",
"system",
"service",
"(",
"context",
"power",
"service",
")",
";"
] |
[
"confirm",
"that",
"the",
"setup",
"is",
"good"
] | [
"assert",
"not",
"null",
"(",
"m",
"pm",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"new",
"x",
"query",
"builder",
"(",
")",
"{",
"protected",
"x",
"query",
"expression",
"create",
"query",
"expression",
"(",
"static",
"query",
"context",
"static",
"query",
"context",
")",
"throws",
"x",
"path",
"exception",
"{",
"return",
"static",
"query",
"context",
"compile",
"query",
"(",
"query",
"text",
")",
";",
"}",
"}",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"parameters",
"put",
"(",
"name",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"enables",
"to",
"allow",
"using",
"st",
"a",
"x",
"<",
"p",
"/",
">",
"when",
"enabled",
"st",
"a",
"x",
"is",
"preferred",
"as",
"the",
"first",
"choice",
"as",
"{"
] | [
"set",
"allow",
"st",
"a",
"x",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"a",
"factory",
"method",
"to",
"create",
"the",
"x",
"query",
"expression"
] | [
"protected",
"abstract",
"x",
"query",
"expression",
"create",
"query",
"expression",
"(",
"static",
"query",
"context",
"static",
"query",
"context",
")",
"throws",
"x",
"path",
"exception",
",",
"i",
"o",
"exception",
";"
] |
[
"get",
"the",
"lucene",
"version",
"that",
"created",
"this",
"index",
"this",
"can",
"be",
"used",
"to",
"implement",
"backward",
"compatibility",
"on",
"top",
"of",
"the",
"codec",
"api",
"a",
"return",
"value",
"of",
"{"
] | [
"return",
"created",
"version",
"major",
";"
] |
[
"makes",
"a",
"call",
"to",
"the",
"operation",
"specified",
"by",
"the",
"waiter",
"by",
"taking",
"the",
"corresponding",
"request",
"and",
"returns",
"the",
"corresponding",
"result"
] | [
"return",
"client",
"describe",
"notebook",
"instance",
"(",
"describe",
"notebook",
"instance",
"request",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"grid",
"cache",
"update",
"atomic",
"result",
"class",
",",
"this",
")",
";"
] |
[
"calls",
"{"
] | [
"if",
"(",
"e",
"get",
"cause",
"(",
")",
"instanceof",
"too",
"long",
"frame",
"exception",
")",
"{",
"e",
"get",
"channel",
"(",
")",
"close",
"(",
")",
";",
"}",
"else",
"{",
"super",
"exception",
"caught",
"(",
"ctx",
",",
"e",
")",
";",
"}"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"skip",
"w",
"s",
"(",
"false",
")",
";"
] |
[
"else",
"return",
"false"
] | [
"return",
"peek",
"(",
"c",
",",
"false",
")",
";"
] |
[
"match",
"c",
")"
] | [
"char",
"d",
";",
"while",
"(",
"x",
"<",
"buf",
"length",
"&",
"&",
"is",
"w",
"s",
"(",
"buf",
"[",
"x",
"]",
")",
"&",
"&",
"buf",
"[",
"x",
"]",
"!",
"=",
"'",
"\\",
"n",
"'",
")",
"x",
"+",
"+",
";",
"int",
"nx",
"=",
"x",
";",
"if",
"(",
"!",
"eos",
")",
"while",
"(",
"nx",
"<",
"buf",
"length",
"&",
"&",
"is",
"w",
"s",
"(",
"buf",
"[",
"nx",
"]",
")",
")",
"nx",
"+",
"+",
";",
"if",
"(",
"nx",
"=",
"=",
"buf",
"length",
"|",
"|",
"buf",
"[",
"nx",
"]",
"!",
"=",
"c",
")",
"return",
"false",
";",
"x",
"=",
"nx",
"+",
"1",
";",
"return",
"true",
";"
] |
[
"true",
"if",
"end",
"-",
"of",
"-",
"statement",
"(",
";",
"or",
"\\",
"n",
"or",
"no",
"-",
"more",
"-",
"data",
")"
] | [
"while",
"(",
"x",
"<",
"buf",
"length",
")",
"{",
"char",
"d",
"=",
"buf",
"[",
"x",
"+",
"+",
"]",
";",
"if",
"(",
"d",
"=",
"=",
"'",
";",
"'",
"|",
"|",
"d",
"=",
"=",
"'",
"\\",
"n",
"'",
")",
"return",
"true",
";",
"if",
"(",
"!",
"is",
"w",
"s",
"(",
"d",
")",
")",
"{",
"x",
"-",
"-",
";",
"return",
"false",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"yet",
"-",
"to",
"-",
"be",
"-",
"parsed"
] | [
"return",
"new",
"string",
"(",
"buf",
",",
"x",
",",
"buf",
"length",
"-",
"x",
")",
";"
] |
[
"nicely",
"report",
"a",
"syntax",
"error"
] | [
"int",
"lo",
"=",
"x",
",",
"hi",
"=",
"idx",
";",
"if",
"(",
"idx",
"<",
"x",
")",
"{",
"lo",
"=",
"idx",
";",
"hi",
"=",
"x",
";",
"}",
"string",
"s",
"=",
"msg",
"+",
"'",
"\\",
"n",
"'",
"+",
"str",
"+",
"'",
"\\",
"n",
"'",
";",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"lo",
";",
"i",
"+",
"+",
")",
"s",
"+",
"=",
"'",
"'",
";",
"s",
"+",
"=",
"'",
"^",
"'",
";",
"i",
"+",
"+",
";",
"for",
"(",
";",
"i",
"<",
"hi",
";",
"i",
"+",
"+",
")",
"s",
"+",
"=",
"'",
"-",
"'",
";",
"if",
"(",
"i",
"<",
"=",
"hi",
")",
"s",
"+",
"=",
"'",
"^",
"'",
";",
"s",
"+",
"=",
"'",
"\\",
"n",
"'",
";",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"s",
")",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"name",
"of",
"the",
"trail",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"name",
"of",
"the",
"amazon",
"s3",
"bucket",
"designated",
"for",
"publishing",
"log",
"files",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"3",
"bucket",
"name",
"(",
"s",
"3",
"bucket",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"amazon",
"s3",
"key",
"prefix",
"that",
"comes",
"after",
"the",
"name",
"of",
"the",
"bucket",
"you",
"have",
"designated",
"for",
"log",
"file",
"delivery",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"awscloudtrail",
"/",
"latest",
"/",
"userguide",
"/",
"cloudtrail",
"-",
"find",
"-",
"log",
"-",
"files",
"html",
">",
"finding",
"your",
"cloud",
"trail",
"log",
"files",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"3",
"key",
"prefix",
"(",
"s",
"3",
"key",
"prefix",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"field",
"is",
"deprecated",
"use",
"sns",
"topic",
"a",
"r",
"n",
"<",
"/",
"p",
">"
] | [
"this",
"sns",
"topic",
"name",
"=",
"sns",
"topic",
"name",
";"
] |
[
"<",
"p",
">",
"this",
"field",
"is",
"deprecated",
"use",
"sns",
"topic",
"a",
"r",
"n",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"sns",
"topic",
"name",
";"
] |
[
"<",
"p",
">",
"this",
"field",
"is",
"deprecated",
"use",
"sns",
"topic",
"a",
"r",
"n",
"<",
"/",
"p",
">"
] | [
"set",
"sns",
"topic",
"name",
"(",
"sns",
"topic",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"arn",
"of",
"the",
"amazon",
"sns",
"topic",
"that",
"cloud",
"trail",
"uses",
"to",
"send",
"notifications",
"when",
"log",
"files",
"are",
"delivered",
"the",
"format",
"of",
"a",
"topic",
"arn",
"is",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"sns",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789012",
":",
"my",
"topic",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"sns",
"topic",
"a",
"r",
"n",
"=",
"sns",
"topic",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"arn",
"of",
"the",
"amazon",
"sns",
"topic",
"that",
"cloud",
"trail",
"uses",
"to",
"send",
"notifications",
"when",
"log",
"files",
"are",
"delivered",
"the",
"format",
"of",
"a",
"topic",
"arn",
"is",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"sns",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789012",
":",
"my",
"topic",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"sns",
"topic",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"arn",
"of",
"the",
"amazon",
"sns",
"topic",
"that",
"cloud",
"trail",
"uses",
"to",
"send",
"notifications",
"when",
"log",
"files",
"are",
"delivered",
"the",
"format",
"of",
"a",
"topic",
"arn",
"is",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"sns",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789012",
":",
"my",
"topic",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"sns",
"topic",
"a",
"r",
"n",
"(",
"sns",
"topic",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"the",
"trail",
"is",
"publishing",
"events",
"from",
"global",
"services",
"such",
"as",
"iam",
"to",
"the",
"log",
"files",
"<",
"/",
"p",
">"
] | [
"set",
"include",
"global",
"service",
"events",
"(",
"include",
"global",
"service",
"events",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"the",
"trail",
"exists",
"in",
"one",
"region",
"or",
"in",
"all",
"regions",
"<",
"/",
"p",
">"
] | [
"set",
"is",
"multi",
"region",
"trail",
"(",
"is",
"multi",
"region",
"trail",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"arn",
"of",
"the",
"trail",
"that",
"was",
"updated",
"the",
"format",
"of",
"a",
"trail",
"arn",
"is",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"cloudtrail",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789012",
":",
"trail",
"/",
"my",
"trail",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"trail",
"a",
"r",
"n",
"(",
"trail",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"log",
"file",
"validation",
"is",
"enabled",
"<",
"/",
"p",
">"
] | [
"this",
"log",
"file",
"validation",
"enabled",
"=",
"log",
"file",
"validation",
"enabled",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"log",
"file",
"validation",
"is",
"enabled",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"log",
"file",
"validation",
"enabled",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"log",
"file",
"integrity",
"validation",
"is",
"enabled",
"<",
"/",
"p",
">"
] | [
"set",
"log",
"file",
"validation",
"enabled",
"(",
"log",
"file",
"validation",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"log",
"file",
"validation",
"is",
"enabled",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"log",
"file",
"validation",
"enabled",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"log",
"group",
"to",
"which",
"cloud",
"trail",
"logs",
"will",
"be",
"delivered",
"<",
"/",
"p",
">"
] | [
"set",
"cloud",
"watch",
"logs",
"log",
"group",
"arn",
"(",
"cloud",
"watch",
"logs",
"log",
"group",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"role",
"for",
"the",
"cloud",
"watch",
"logs",
"endpoint",
"to",
"assume",
"to",
"write",
"to",
"a",
"user",
"s",
"log",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"cloud",
"watch",
"logs",
"role",
"arn",
"(",
"cloud",
"watch",
"logs",
"role",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"kms",
"key",
"id",
"that",
"encrypts",
"the",
"logs",
"delivered",
"by",
"cloud",
"trail",
"the",
"value",
"is",
"a",
"fully",
"specified",
"arn",
"to",
"a",
"kms",
"key",
"in",
"the",
"format",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"kms",
":",
"us",
"-",
"east",
"-",
"2",
":",
"123456789012",
":",
"key",
"/",
"12345678",
"-",
"1234",
"-",
"1234",
"-",
"1234",
"-",
"123456789012",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"kms",
"key",
"id",
"(",
"kms",
"key",
"id",
")",
";",
"return",
"this",
";"
] |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"if",
"(",
"job",
"entry",
"get",
"name",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"name",
"set",
"text",
"(",
"job",
"entry",
"get",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"job",
"entry",
"get",
"tablename",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"tablename",
"set",
"text",
"(",
"job",
"entry",
"get",
"tablename",
"(",
")",
")",
";",
"}",
"if",
"(",
"job",
"entry",
"get",
"schemaname",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"schemaname",
"set",
"text",
"(",
"job",
"entry",
"get",
"schemaname",
"(",
")",
")",
";",
"}",
"if",
"(",
"job",
"entry",
"get",
"database",
"(",
")",
"!",
"=",
"null",
")",
"{",
"w",
"connection",
"set",
"text",
"(",
"job",
"entry",
"get",
"database",
"(",
")",
"get",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"job",
"entry",
"get",
"arguments",
"(",
")",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"job",
"entry",
"get",
"arguments",
"(",
")",
"length",
";",
"i",
"+",
"+",
")",
"{",
"table",
"item",
"ti",
"=",
"w",
"fields",
"table",
"get",
"item",
"(",
"i",
")",
";",
"if",
"(",
"job",
"entry",
"get",
"arguments",
"(",
")",
"[",
"i",
"]",
"!",
"=",
"null",
")",
"{",
"ti",
"set",
"text",
"(",
"1",
",",
"job",
"entry",
"get",
"arguments",
"(",
")",
"[",
"i",
"]",
")",
";",
"}",
"}",
"w",
"fields",
"set",
"row",
"nums",
"(",
")",
";",
"w",
"fields",
"opt",
"width",
"(",
"true",
")",
";",
"}",
"w",
"name",
"select",
"all",
"(",
")",
";",
"w",
"name",
"set",
"focus",
"(",
")",
";"
] |
[
"sets",
"the",
"search",
"term",
"to",
"display",
"in",
"the",
"control"
] | [
"inflate",
"(",
")",
";",
"m",
"search",
"term",
"set",
"text",
"(",
"sanitize",
"text",
"(",
"search",
"term",
")",
")",
";",
"invalidate",
"(",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"super",
"on",
"finish",
"inflate",
"(",
")",
";",
"view",
"view",
"=",
"get",
"view",
"(",
")",
";",
"m",
"search",
"term",
"=",
"(",
"text",
"view",
")",
"view",
"find",
"view",
"by",
"id",
"(",
"r",
"id",
"contextual",
"search",
"term",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"return",
"m",
"search",
"term",
";"
] |
[
"details",
"about",
"the",
"error",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"error",
"details",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"error",
"details",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"error",
"details",
"=",
"=",
"null",
")",
"{",
"set",
"error",
"details",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"error",
"detail",
">",
"(",
"error",
"details",
"length",
")",
")",
";",
"}",
"for",
"(",
"error",
"detail",
"ele",
":",
"error",
"details",
")",
"{",
"this",
"error",
"details",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"details",
"about",
"the",
"error"
] | [
"set",
"error",
"details",
"(",
"error",
"details",
")",
";",
"return",
"this",
";"
] |
[
"reads",
"a",
"big",
"-",
"endian",
"unsigned",
"short",
"integer",
"from",
"the",
"buffer"
] | [
"return",
"(",
"buf",
"get",
"byte",
"(",
"offset",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"8",
"|",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"1",
")",
"&",
"0x",
"f",
"f",
";"
] |
[
"reads",
"a",
"big",
"-",
"endian",
"unsigned",
"medium",
"integer",
"from",
"the",
"buffer"
] | [
"return",
"(",
"buf",
"get",
"byte",
"(",
"offset",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"16",
"|",
"(",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"1",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"8",
"|",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"2",
")",
"&",
"0x",
"f",
"f",
";"
] |
[
"reads",
"a",
"big",
"-",
"endian",
"(",
"31",
"-",
"bit",
")",
"integer",
"from",
"the",
"buffer"
] | [
"return",
"(",
"buf",
"get",
"byte",
"(",
"offset",
")",
"&",
"0x",
"7",
"f",
")",
"<",
"<",
"24",
"|",
"(",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"1",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"16",
"|",
"(",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"2",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"8",
"|",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"3",
")",
"&",
"0x",
"f",
"f",
";"
] |
[
"reads",
"a",
"big",
"-",
"endian",
"signed",
"integer",
"from",
"the",
"buffer"
] | [
"return",
"(",
"buf",
"get",
"byte",
"(",
"offset",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"24",
"|",
"(",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"1",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"16",
"|",
"(",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"2",
")",
"&",
"0x",
"f",
"f",
")",
"<",
"<",
"8",
"|",
"buf",
"get",
"byte",
"(",
"offset",
"+",
"3",
")",
"&",
"0x",
"f",
"f",
";"
] |
[
"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",
"note",
"id",
":",
"return",
"is",
"set",
"note",
"id",
"(",
")",
";",
"case",
"paragraph",
"id",
":",
"return",
"is",
"set",
"paragraph",
"id",
"(",
")",
";",
"case",
"app",
"id",
":",
"return",
"is",
"set",
"app",
"id",
"(",
")",
";",
"case",
"index",
":",
"return",
"is",
"set",
"index",
"(",
")",
";",
"case",
"data",
":",
"return",
"is",
"set",
"data",
"(",
")",
";",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"only",
"allow",
"the",
"request",
"through",
"if",
"successfully",
"authenticated",
"or",
"if",
"authentication",
"is",
"not",
"required"
] | [
"if",
"(",
"exchange",
"is",
"in",
"io",
"thread",
"(",
")",
")",
"{",
"exchange",
"dispatch",
"(",
"this",
")",
";",
"return",
";",
"}",
"security",
"context",
"context",
"=",
"exchange",
"get",
"security",
"context",
"(",
")",
";",
"if",
"(",
"context",
"authenticate",
"(",
")",
")",
"{",
"if",
"(",
"!",
"exchange",
"is",
"complete",
"(",
")",
")",
"{",
"next",
"handle",
"request",
"(",
"exchange",
")",
";",
"}",
"}",
"else",
"{",
"exchange",
"end",
"exchange",
"(",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"key",
"of",
"the",
"attribute",
"<",
"/",
"p",
">"
] | [
"this",
"key",
"=",
"key",
";"
] |
[
"<",
"p",
">",
"the",
"key",
"of",
"the",
"attribute",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"key",
";"
] |
[
"<",
"p",
">",
"the",
"key",
"of",
"the",
"attribute",
"<",
"/",
"p",
">"
] | [
"set",
"key",
"(",
"key",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"of",
"the",
"attribute",
"<",
"/",
"p",
">"
] | [
"set",
"value",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"deserialize",
"binary",
"type",
"metadata",
"from",
"stream"
] | [
"try",
"(",
"binary",
"reader",
"ex",
"impl",
"reader",
"=",
"new",
"binary",
"reader",
"ex",
"impl",
"(",
"marsh",
"context",
"(",
")",
",",
"in",
",",
"null",
",",
"true",
")",
")",
"{",
"int",
"type",
"id",
"=",
"reader",
"read",
"int",
"(",
")",
";",
"string",
"type",
"name",
"=",
"reader",
"read",
"string",
"(",
")",
";",
"string",
"aff",
"key",
"field",
"name",
"=",
"reader",
"read",
"string",
"(",
")",
";",
"map",
"<",
"string",
",",
"binary",
"field",
"metadata",
">",
"fields",
"=",
"client",
"utils",
"map",
"(",
"in",
",",
"unused",
"-",
">",
"reader",
"read",
"string",
"(",
")",
",",
"unused",
"2",
"-",
">",
"new",
"binary",
"field",
"metadata",
"(",
"reader",
"read",
"int",
"(",
")",
",",
"reader",
"read",
"int",
"(",
")",
")",
")",
";",
"boolean",
"is",
"enum",
"=",
"reader",
"read",
"boolean",
"(",
")",
";",
"map",
"<",
"string",
",",
"integer",
">",
"enum",
"values",
"=",
"is",
"enum",
"?",
"client",
"utils",
"map",
"(",
"in",
",",
"unsed",
"-",
">",
"reader",
"read",
"string",
"(",
")",
",",
"unsed",
"2",
"-",
">",
"reader",
"read",
"int",
"(",
")",
")",
":",
"null",
";",
"collection",
"<",
"binary",
"schema",
">",
"schemas",
"=",
"client",
"utils",
"collection",
"(",
"in",
",",
"unused",
"-",
">",
"new",
"binary",
"schema",
"(",
"reader",
"read",
"int",
"(",
")",
",",
"new",
"array",
"list",
"<",
">",
"(",
"client",
"utils",
"collection",
"(",
"in",
",",
"unused",
"2",
"-",
">",
"reader",
"read",
"int",
"(",
")",
")",
")",
")",
")",
";",
"return",
"new",
"binary",
"metadata",
"(",
"type",
"id",
",",
"type",
"name",
",",
"fields",
",",
"aff",
"key",
"field",
"name",
",",
"schemas",
",",
"is",
"enum",
",",
"enum",
"values",
")",
";",
"}"
] |
[
"serialize",
"binary",
"type",
"metadata",
"to",
"stream"
] | [
"try",
"(",
"binary",
"raw",
"writer",
"ex",
"w",
"=",
"new",
"binary",
"writer",
"ex",
"impl",
"(",
"marsh",
"context",
"(",
")",
",",
"out",
",",
"null",
",",
"null",
")",
")",
"{",
"w",
"write",
"int",
"(",
"meta",
"type",
"id",
"(",
")",
")",
";",
"w",
"write",
"string",
"(",
"meta",
"type",
"name",
"(",
")",
")",
";",
"w",
"write",
"string",
"(",
"meta",
"affinity",
"key",
"field",
"name",
"(",
")",
")",
";",
"collection",
"(",
"meta",
"fields",
"map",
"(",
")",
"entry",
"set",
"(",
")",
",",
"out",
",",
"(",
"unused",
",",
"e",
")",
"-",
">",
"{",
"w",
"write",
"string",
"(",
"e",
"get",
"key",
"(",
")",
")",
";",
"w",
"write",
"int",
"(",
"e",
"get",
"value",
"(",
")",
"type",
"id",
"(",
")",
")",
";",
"w",
"write",
"int",
"(",
"e",
"get",
"value",
"(",
")",
"field",
"id",
"(",
")",
")",
";",
"}",
")",
";",
"w",
"write",
"boolean",
"(",
"meta",
"is",
"enum",
"(",
")",
")",
";",
"if",
"(",
"meta",
"is",
"enum",
"(",
")",
")",
"collection",
"(",
"meta",
"enum",
"map",
"(",
")",
"entry",
"set",
"(",
")",
",",
"out",
",",
"(",
"unused",
",",
"e",
")",
"-",
">",
"{",
"w",
"write",
"string",
"(",
"e",
"get",
"key",
"(",
")",
")",
";",
"w",
"write",
"int",
"(",
"e",
"get",
"value",
"(",
")",
")",
";",
"}",
")",
";",
"collection",
"(",
"meta",
"schemas",
"(",
")",
",",
"out",
",",
"(",
"unused",
",",
"s",
")",
"-",
">",
"{",
"w",
"write",
"int",
"(",
"s",
"schema",
"id",
"(",
")",
")",
";",
"collection",
"(",
"arrays",
"stream",
"(",
"s",
"field",
"ids",
"(",
")",
")",
"boxed",
"(",
")",
"collect",
"(",
"collectors",
"to",
"list",
"(",
")",
")",
",",
"out",
",",
"(",
"unused",
"2",
",",
"i",
")",
"-",
">",
"w",
"write",
"int",
"(",
"i",
")",
")",
";",
"}",
")",
";",
"}"
] |
[
"write",
"ignite",
"binary",
"object",
"to",
"output",
"stream"
] | [
"out",
"write",
"byte",
"array",
"(",
"marsh",
"marshal",
"(",
"obj",
")",
")",
";"
] |
[
"returns",
"{"
] | [
"return",
"node",
"engine",
"get",
"this",
"address",
"(",
")",
"equals",
"(",
"caller",
"address",
")",
";"
] |
[
"the",
"before",
"run",
"is",
"called",
"before",
"either",
"the",
"{",
"@",
"link",
"#",
"run",
"(",
")",
"}",
"or",
"the",
"{",
"@",
"link",
"#",
"call",
"(",
")",
"}",
"method",
"is",
"called"
] | [] |
[
"runs",
"the",
"operation"
] | [] |
[
"call",
"the",
"operation",
"and",
"returns",
"the",
"call",
"status"
] | [
"if",
"(",
"this",
"instanceof",
"blocking",
"operation",
")",
"{",
"blocking",
"operation",
"blocking",
"operation",
"=",
"(",
"blocking",
"operation",
")",
"this",
";",
"if",
"(",
"blocking",
"operation",
"should",
"wait",
"(",
")",
")",
"{",
"return",
"wait",
";",
"}",
"}",
"run",
"(",
")",
";",
"return",
"returns",
"response",
"(",
")",
"?",
"done",
"response",
":",
"done",
"void",
";"
] |
[
"is",
"executed",
"called",
"after",
"{",
"@",
"link",
"#",
"run",
"(",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"call",
"(",
")",
"}",
"method",
"completes",
"normally",
"and",
"the",
"operation",
"is",
"not",
"blocked",
"see",
"{",
"@",
"link",
"call",
"status",
"#",
"wait",
"}"
] | [] |
[
"called",
"if",
"and",
"only",
"if",
"{"
] | [
"return",
"null",
";"
] |
[
"gets",
"the",
"actual",
"service",
"name",
"without",
"looking",
"at",
"overriding",
"methods",
"this",
"method",
"only",
"exists",
"for",
"testing",
"purposes"
] | [
"return",
"service",
"name",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.