docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"code",
">",
"bool",
"passed",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"passed",
";"
] |
[
"<",
"code",
">",
"repeated",
"int",
"3",
"2",
"backoff",
"ms",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"backoff",
"ms",
";"
] |
[
"<",
"code",
">",
"repeated",
"int",
"3",
"2",
"backoff",
"ms",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"backoff",
"ms",
"size",
"(",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"int",
"3",
"2",
"backoff",
"ms",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"backoff",
"ms",
"get",
"(",
"index",
")",
";"
] |
[
"init",
"data"
] | [
"db",
"manager",
"=",
"context",
"get",
"bean",
"(",
"manager",
"class",
")",
";",
"transaction",
"store",
"=",
"db",
"manager",
"get",
"transaction",
"store",
"(",
")",
";"
] |
[
"get",
"account",
"create",
"contract"
] | [
"return",
"account",
"create",
"contract",
"new",
"builder",
"(",
")",
"set",
"owner",
"address",
"(",
"byte",
"string",
"copy",
"from",
"(",
"byte",
"array",
"from",
"hex",
"string",
"(",
"address",
")",
")",
")",
"build",
"(",
")",
";"
] |
[
"get",
"transfer",
"contract"
] | [
"return",
"transfer",
"contract",
"new",
"builder",
"(",
")",
"set",
"owner",
"address",
"(",
"byte",
"string",
"copy",
"from",
"(",
"byte",
"array",
"from",
"hex",
"string",
"(",
"owneraddress",
")",
")",
")",
"set",
"to",
"address",
"(",
"byte",
"strin... |
[
"get",
"witness",
"create",
"contract"
] | [
"return",
"witness",
"create",
"contract",
"new",
"builder",
"(",
")",
"set",
"owner",
"address",
"(",
"byte",
"string",
"copy",
"from",
"(",
"byte",
"array",
"from",
"hex",
"string",
"(",
"address",
")",
")",
")",
"set",
"url",
"(",
"byte",
"string",
... |
[
"get",
"vote",
"witness",
"contract"
] | [
"return",
"vote",
"witness",
"contract",
"new",
"builder",
"(",
")",
"set",
"owner",
"address",
"(",
"byte",
"string",
"copy",
"from",
"(",
"byte",
"array",
"from",
"hex",
"string",
"(",
"address",
")",
")",
")",
"add",
"votes",
"(",
"vote",
"new",
"bu... |
[
"sets",
"server",
"address"
] | [
"this",
"addr",
"=",
"addr",
";"
] |
[
"number",
"of",
"threads",
"to",
"be",
"used",
"by",
"the",
"routebox",
"to",
"receive",
"requests"
] | [
"this",
"threads",
"=",
"threads",
";"
] |
[
"sets",
"direct",
"mode",
"flag"
] | [
"this",
"direct",
"mode",
"=",
"direct",
"mode",
";"
] |
[
"sets",
"message",
"delimiter"
] | [
"this",
"delim",
"=",
"delim",
";"
] |
[
"sets",
"message",
"converter"
] | [
"this",
"converter",
"=",
"converter",
";"
] |
[
"{"
] | [
"try",
"{",
"return",
"u",
"unmarshal",
"(",
"marsh",
",",
"msg",
",",
"null",
")",
";",
"}",
"catch",
"(",
"ignite",
"checked",
"exception",
"e",
")",
"{",
"throw",
"new",
"ignite",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"resource"
] | [
"return",
"env",
"sph",
"entry",
"(",
"name",
",",
"entry",
"type",
"out",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"protected",
"method"
] | [
"return",
"env",
"sph",
"entry",
"(",
"method",
",",
"entry",
"type",
"out",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"protected",
"method"
] | [
"return",
"env",
"sph",
"entry",
"(",
"method",
",",
"entry",
"type",
"out",
",",
"count",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"resource"
] | [
"return",
"env",
"sph",
"entry",
"(",
"name",
",",
"entry",
"type",
"out",
",",
"count",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"protected",
"method"
] | [
"return",
"env",
"sph",
"entry",
"(",
"method",
",",
"type",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"resource"
] | [
"return",
"env",
"sph",
"entry",
"(",
"name",
",",
"type",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"protected",
"method"
] | [
"return",
"env",
"sph",
"entry",
"(",
"method",
",",
"type",
",",
"count",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"resource"
] | [
"return",
"env",
"sph",
"entry",
"(",
"name",
",",
"type",
",",
"count",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"protected",
"method"
] | [
"return",
"env",
"sph",
"entry",
"(",
"method",
",",
"type",
",",
"count",
",",
"args",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"resource"
] | [
"return",
"env",
"sph",
"entry",
"(",
"name",
",",
"type",
",",
"count",
",",
"args",
")",
";"
] |
[
"checking",
"all",
"rules",
"about",
"the",
"asynchronous",
"resource"
] | [
"return",
"env",
"sph",
"async",
"entry",
"(",
"name",
",",
"entry",
"type",
"out",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"asynchronous",
"resource"
] | [
"return",
"env",
"sph",
"async",
"entry",
"(",
"name",
",",
"type",
",",
"1",
",",
"objects0",
")",
";"
] |
[
"checking",
"all",
"{",
"@",
"link",
"rule",
"}",
"s",
"about",
"the",
"asynchronous",
"resource"
] | [
"return",
"env",
"sph",
"async",
"entry",
"(",
"name",
",",
"type",
",",
"count",
",",
"args",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"test",
"store",
"factory",
"(",
")",
";"
] |
[
"{"
] | [
"cache",
"configuration",
"ccfg",
"=",
"super",
"cache",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"ccfg",
"set",
"read",
"through",
"(",
"true",
")",
";",
"ccfg",
"set",
"write",
"through",
"(",
"false",
")",
";",
"ccfg",
"set",
"loa... |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"vertex",
"count",
"(",
"vertex",
"count",
")",
";",
"instance",
"count",
"(",
"instance",
"count",
")",
";",
"first",
"vertex",
"(",
"first",
"vertex",
")",
";",
"first",
"instance",
"(",
"first",
"instance",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"fr... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"vk",
"draw",
"indirect",
"command",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"draw",
"indirect",
"command",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"vertexcount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"instancecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"firstvertex",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"firstinstance",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"vertexcount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"instancecount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"firstvertex",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"draw",
"indirect",
"command",
"firstinstance",
",",
"value",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"data",
"catalog",
"in",
"which",
"to",
"create",
"the",
"function",
"if",
"none",
"is",
"supplied",
"the",
"aws",
"account",
"id",
"is",
"used",
"by",
"default",
"<",
"/",
"p",
">"
] | [
"set",
"catalog",
"id",
"(",
"catalog",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"catalog",
"database",
"in",
"which",
"to",
"create",
"the",
"function",
"<",
"/",
"p",
">"
] | [
"set",
"database",
"name",
"(",
"database",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"function",
"input",
"<",
"/",
"code",
">",
"object",
"that",
"re",
"-",
"defines",
"the",
"function",
"in",
"the",
"data",
"catalog",
"<",
"/",
"p",
">"
] | [
"this",
"function",
"input",
"=",
"function",
"input",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"function",
"input",
"<",
"/",
"code",
">",
"object",
"that",
"re",
"-",
"defines",
"the",
"function",
"in",
"the",
"data",
"catalog",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"function",
"input",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"function",
"input",
"<",
"/",
"code",
">",
"object",
"that",
"defines",
"the",
"function",
"to",
"create",
"in",
"the",
"data",
"catalog",
"<",
"/",
"p",
">"
] | [
"set",
"function",
"input",
"(",
"function",
"input",
")",
";",
"return",
"this",
";"
] |
[
"get",
"ping",
"return",
"ip"
] | [
"return",
"m",
"ip",
";"
] |
[
"get",
"loss",
"rate"
] | [
"return",
"m",
"loss",
"rate",
";"
] |
[
"returns",
"the",
"delay",
"by",
"which",
"the",
"children",
"s",
"animation",
"are",
"offset",
"the",
"delay",
"is",
"expressed",
"as",
"a",
"fraction",
"of",
"the",
"animation",
"duration"
] | [
"return",
"m",
"delay",
";"
] |
[
"use",
"total",
"time"
] | [
"return",
"m",
"total",
"time",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"pending",
"discovery",
"event",
"class",
",",
"this",
")",
";"
] |
[
"get",
"optional",
"credential",
"for",
"server"
] | [
"return",
"credential",
";"
] |
[
"simple",
"request",
"-",
"response"
] | [
"response",
"=",
"instance",
"execute",
"(",
"new",
"http",
"get",
"(",
"sample",
"url",
")",
")",
";"
] |
[
"get",
"the",
"number",
"of",
"known",
"nodes"
] | [
"return",
"nodes",
"size",
"(",
")",
";"
] |
[
"get",
"a",
"{",
"@",
"link",
"map",
"}",
"of",
"the",
"discovered",
"nodes",
"arranged",
"by",
"their",
"ids"
] | [
"return",
"this",
"nodes",
";"
] |
[
"get",
"a",
"{",
"@",
"link",
"map",
"}",
"of",
"the",
"discovered",
"data",
"nodes",
"arranged",
"by",
"their",
"ids"
] | [
"return",
"this",
"data",
"nodes",
";"
] |
[
"get",
"a",
"{",
"@",
"link",
"map",
"}",
"of",
"the",
"discovered",
"master",
"nodes",
"arranged",
"by",
"their",
"ids"
] | [
"return",
"this",
"master",
"nodes",
";"
] |
[
"get",
"a",
"{",
"@",
"link",
"map",
"}",
"of",
"the",
"discovered",
"master",
"and",
"data",
"nodes",
"arranged",
"by",
"their",
"ids"
] | [
"immutable",
"open",
"map",
"builder",
"<",
"string",
",",
"discovery",
"node",
">",
"nodes",
"=",
"immutable",
"open",
"map",
"builder",
"(",
"data",
"nodes",
")",
";",
"nodes",
"put",
"all",
"(",
"master",
"nodes",
")",
";",
"return",
"nodes",
"build",... |
[
"get",
"a",
"{",
"@",
"link",
"map",
"}",
"of",
"the",
"coordinating",
"only",
"nodes",
"(",
"nodes",
"which",
"are",
"neither",
"master",
"nor",
"data",
"nor",
"ingest",
"nodes",
")",
"arranged",
"by",
"their",
"ids"
] | [
"immutable",
"open",
"map",
"builder",
"<",
"string",
",",
"discovery",
"node",
">",
"nodes",
"=",
"immutable",
"open",
"map",
"builder",
"(",
"this",
"nodes",
")",
";",
"nodes",
"remove",
"all",
"(",
"master",
"nodes",
"keys",
"(",
")",
")",
";",
"nod... |
[
"get",
"a",
"node",
"by",
"its",
"id"
] | [
"return",
"nodes",
"get",
"(",
"node",
"id",
")",
";"
] |
[
"determine",
"if",
"a",
"given",
"node",
"id",
"exists"
] | [
"return",
"nodes",
"contains",
"key",
"(",
"node",
"id",
")",
";"
] |
[
"determine",
"if",
"a",
"given",
"node",
"exists"
] | [
"discovery",
"node",
"existing",
"=",
"nodes",
"get",
"(",
"node",
"get",
"id",
"(",
")",
")",
";",
"return",
"existing",
"!",
"=",
"null",
"&",
"&",
"existing",
"equals",
"(",
"node",
")",
";"
] |
[
"get",
"the",
"id",
"of",
"the",
"master",
"node"
] | [
"return",
"this",
"master",
"node",
"id",
";"
] |
[
"get",
"the",
"id",
"of",
"the",
"local",
"node"
] | [
"return",
"this",
"local",
"node",
"id",
";"
] |
[
"get",
"the",
"local",
"node"
] | [
"return",
"nodes",
"get",
"(",
"local",
"node",
"id",
")",
";"
] |
[
"returns",
"the",
"master",
"node",
"or",
"{"
] | [
"if",
"(",
"master",
"node",
"id",
"!",
"=",
"null",
")",
"{",
"return",
"nodes",
"get",
"(",
"master",
"node",
"id",
")",
";",
"}",
"return",
"null",
";"
] |
[
"get",
"a",
"node",
"by",
"its",
"address"
] | [
"for",
"(",
"object",
"cursor",
"<",
"discovery",
"node",
">",
"cursor",
":",
"nodes",
"values",
"(",
")",
")",
"{",
"discovery",
"node",
"node",
"=",
"cursor",
"value",
";",
"if",
"(",
"node",
"get",
"address",
"(",
")",
"equals",
"(",
"address",
")... |
[
"returns",
"the",
"version",
"of",
"the",
"node",
"with",
"the",
"oldest",
"version",
"in",
"the",
"cluster",
"that",
"is",
"not",
"a",
"client",
"node"
] | [
"return",
"min",
"non",
"client",
"node",
"version",
";"
] |
[
"returns",
"the",
"version",
"of",
"the",
"node",
"with",
"the",
"youngest",
"version",
"in",
"the",
"cluster",
"that",
"is",
"not",
"a",
"client",
"node"
] | [
"return",
"max",
"non",
"client",
"node",
"version",
";"
] |
[
"returns",
"the",
"version",
"of",
"the",
"node",
"with",
"the",
"oldest",
"version",
"in",
"the",
"cluster"
] | [
"return",
"min",
"node",
"version",
";"
] |
[
"returns",
"the",
"version",
"of",
"the",
"node",
"with",
"the",
"youngest",
"version",
"in",
"the",
"cluster"
] | [
"return",
"max",
"node",
"version",
";"
] |
[
"returns",
"the",
"changes",
"comparing",
"this",
"nodes",
"to",
"the",
"provided",
"nodes"
] | [
"final",
"list",
"<",
"discovery",
"node",
">",
"removed",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"final",
"list",
"<",
"discovery",
"node",
">",
"added",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"discovery",... |
[
"adds",
"a",
"disco",
"node",
"to",
"the",
"builder",
"will",
"throw",
"an",
"{"
] | [
"final",
"string",
"preflight",
"=",
"validate",
"add",
"(",
"node",
")",
";",
"if",
"(",
"preflight",
"!",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"preflight",
")",
";",
"}",
"put",
"unsafe",
"(",
"node",
")",
... |
[
"get",
"a",
"node",
"by",
"its",
"id"
] | [
"return",
"nodes",
"get",
"(",
"node",
"id",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"log",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"log",
"group",
"name",
"(",
"log",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"name",
"for",
"the",
"subscription",
"filter",
"if",
"you",
"are",
"updating",
"an",
"existing",
"filter",
"you",
"must",
"specify",
"the",
"correct",
"name",
"in",
"<",
"code",
">",
"filter",
"name",
"<",
"/",
"code",
">",
"otherw... | [
"set",
"filter",
"name",
"(",
"filter",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"filter",
"pattern",
"for",
"subscribing",
"to",
"a",
"filtered",
"stream",
"of",
"log",
"events",
"<",
"/",
"p",
">"
] | [
"set",
"filter",
"pattern",
"(",
"filter",
"pattern",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"destination",
"<",
"/",
"p",
">"
] | [
"this",
"destination",
"arn",
"=",
"destination",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"destination",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"destination",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"destination",
"to",
"deliver",
"matching",
"log",
"events",
"to",
"currently",
"the",
"supported",
"destinations",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"an",
"amaz... | [
"set",
"destination",
"arn",
"(",
"destination",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"an",
"iam",
"role",
"that",
"grants",
"cloud",
"watch",
"logs",
"permissions",
"to",
"deliver",
"ingested",
"log",
"events",
"to",
"the",
"destination",
"stream",
"you",
"don",
"t",
"need",
"to",
"provide",
"the",
"arn... | [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"method",
"used",
"to",
"distribute",
"log",
"data",
"to",
"the",
"destination",
"by",
"default",
"log",
"data",
"is",
"grouped",
"by",
"log",
"stream",
"but",
"the",
"grouping",
"can",
"be",
"set",
"to",
"random",
"for",
"a",
"mo... | [
"set",
"distribution",
"(",
"distribution",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"method",
"used",
"to",
"distribute",
"log",
"data",
"to",
"the",
"destination",
"by",
"default",
"log",
"data",
"is",
"grouped",
"by",
"log",
"stream",
"but",
"the",
"grouping",
"can",
"be",
"set",
"to",
"random",
"for",
"a",
"mo... | [
"this",
"distribution",
"=",
"distribution",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.