docstring_tokens
list | code_tokens
list |
---|---|
[
"make",
"a",
"region",
"name",
"of",
"passed",
"parameters"
]
| [
"return",
"region",
"info",
"create",
"region",
"name",
"(",
"table",
"name",
",",
"start",
"key",
",",
"bytes",
"to",
"bytes",
"(",
"id",
")",
",",
"new",
"format",
")",
";"
]
|
[
"make",
"a",
"region",
"name",
"of",
"passed",
"parameters"
]
| [
"return",
"region",
"info",
"create",
"region",
"name",
"(",
"table",
"name",
",",
"start",
"key",
",",
"bytes",
"to",
"bytes",
"(",
"long",
"to",
"string",
"(",
"regionid",
")",
")",
",",
"replica",
"id",
",",
"new",
"format",
")",
";"
]
|
[
"make",
"a",
"region",
"name",
"of",
"passed",
"parameters"
]
| [
"return",
"region",
"info",
"create",
"region",
"name",
"(",
"table",
"name",
",",
"start",
"key",
",",
"id",
",",
"default",
"replica",
"id",
",",
"new",
"format",
")",
";"
]
|
[
"make",
"a",
"region",
"name",
"of",
"passed",
"parameters"
]
| [
"return",
"region",
"info",
"create",
"region",
"name",
"(",
"table",
"name",
",",
"start",
"key",
",",
"id",
",",
"replica",
"id",
",",
"new",
"format",
")",
";"
]
|
[
"gets",
"the",
"table",
"name",
"from",
"the",
"specified",
"region",
"name"
]
| [
"return",
"region",
"info",
"get",
"table",
"(",
"region",
"name",
")",
";"
]
|
[
"gets",
"the",
"start",
"key",
"from",
"the",
"specified",
"region",
"name"
]
| [
"return",
"region",
"info",
"get",
"start",
"key",
"(",
"region",
"name",
")",
";"
]
|
[
"separate",
"elements",
"of",
"a",
"region",
"name"
]
| [
"return",
"region",
"info",
"parse",
"region",
"name",
"(",
"region",
"name",
")",
";"
]
|
[
"return",
"true",
"if",
"the",
"given",
"row",
"falls",
"in",
"this",
"region"
]
| [
"return",
"bytes",
"compare",
"to",
"(",
"row",
",",
"start",
"key",
")",
">",
"=",
"0",
"&",
"&",
"(",
"bytes",
"compare",
"to",
"(",
"row",
",",
"end",
"key",
")",
"<",
"0",
"|",
"|",
"bytes",
"equals",
"(",
"end",
"key",
",",
"h",
"constants",
"empty",
"byte",
"array",
")",
")",
";"
]
|
[
"if",
"enabled",
"the",
"messages",
"loaded",
"from",
"the",
"test",
"endpoint",
"will",
"be",
"split",
"using",
"new",
"line",
"delimiters",
"so",
"each",
"line",
"is",
"an",
"expected",
"message",
"<",
"br",
"/",
">",
"for",
"example",
"to",
"use",
"a",
"file",
"endpoint",
"to",
"load",
"a",
"file",
"where",
"each",
"line",
"is",
"an",
"expected",
"message"
]
| [
"this",
"split",
"=",
"split",
";"
]
|
[
"the",
"parent",
"of",
"a",
"region",
"split",
"is",
"offline",
"while",
"split",
"daughters",
"hold",
"references",
"to",
"the",
"parent",
"offlined",
"regions",
"are",
"closed"
]
| [
"this",
"off",
"line",
"=",
"off",
"line",
";"
]
|
[
"returns",
"the",
"region",
"replica",
"id"
]
| [
"return",
"replica",
"id",
";"
]
|
[
"convert",
"a",
"h",
"region",
"info",
"to",
"the",
"protobuf",
"region",
"info"
]
| [
"return",
"convert",
"(",
"this",
")",
";"
]
|
[
"convert",
"a",
"h",
"region",
"info",
"to",
"a",
"region",
"info"
]
| [
"return",
"protobuf",
"util",
"to",
"region",
"info",
"(",
"info",
")",
";"
]
|
[
"use",
"this",
"instead",
"of",
"{"
]
| [
"return",
"region",
"info",
"to",
"delimited",
"byte",
"array",
"(",
"this",
")",
";"
]
|
[
"get",
"the",
"descriptive",
"name",
"as",
"{"
]
| [
"return",
"region",
"info",
"display",
"get",
"descriptive",
"name",
"from",
"region",
"state",
"for",
"display",
"(",
"state",
",",
"conf",
")",
";"
]
|
[
"get",
"the",
"end",
"key",
"for",
"display",
"optionally",
"hide",
"the",
"real",
"end",
"key"
]
| [
"return",
"region",
"info",
"display",
"get",
"end",
"key",
"for",
"display",
"(",
"hri",
",",
"conf",
")",
";"
]
|
[
"get",
"the",
"start",
"key",
"for",
"display",
"optionally",
"hide",
"the",
"real",
"start",
"key"
]
| [
"return",
"region",
"info",
"display",
"get",
"start",
"key",
"for",
"display",
"(",
"hri",
",",
"conf",
")",
";"
]
|
[
"get",
"the",
"region",
"name",
"for",
"display",
"optionally",
"hide",
"the",
"start",
"key"
]
| [
"return",
"region",
"info",
"display",
"get",
"region",
"name",
"as",
"string",
"for",
"display",
"(",
"hri",
",",
"conf",
")",
";"
]
|
[
"get",
"the",
"region",
"name",
"for",
"display",
"optionally",
"hide",
"the",
"start",
"key"
]
| [
"return",
"region",
"info",
"display",
"get",
"region",
"name",
"for",
"display",
"(",
"hri",
",",
"conf",
")",
";"
]
|
[
"serializes",
"given",
"h",
"region",
"info",
"s",
"as",
"a",
"byte",
"array",
"use",
"this",
"instead",
"of",
"{"
]
| [
"return",
"region",
"info",
"to",
"delimited",
"byte",
"array",
"(",
"infos",
")",
";"
]
|
[
"check",
"whether",
"two",
"regions",
"are",
"adjacent"
]
| [
"return",
"region",
"info",
"are",
"adjacent",
"(",
"region",
"a",
",",
"region",
"b",
")",
";"
]
|
[
"get",
"the",
"type",
"i",
"d",
"of",
"the",
"map",
"s",
"key",
"element"
]
| [
"return",
"this",
"type",
"i",
"d",
"key",
";"
]
|
[
"get",
"the",
"type",
"i",
"d",
"of",
"the",
"map",
"s",
"value",
"element"
]
| [
"return",
"this",
"type",
"i",
"d",
"value",
";"
]
|
[
"two",
"map",
"type",
"i",
"ds",
"are",
"equal",
"if",
"their",
"constituent",
"elements",
"have",
"the",
"same",
"type"
]
| [
"if",
"(",
"!",
"super",
"equals",
"(",
"o",
")",
")",
"return",
"false",
";",
"map",
"type",
"i",
"d",
"mti",
"=",
"(",
"map",
"type",
"i",
"d",
")",
"o",
";",
"return",
"this",
"type",
"i",
"d",
"key",
"equals",
"(",
"mti",
"type",
"i",
"d",
"key",
")",
"&",
"&",
"this",
"type",
"i",
"d",
"value",
"equals",
"(",
"mti",
"type",
"i",
"d",
"value",
")",
";"
]
|
[
"we",
"use",
"a",
"basic",
"hashcode",
"implementation",
"since",
"this",
"class",
"will",
"likely",
"not",
"be",
"used",
"as",
"a",
"hashmap",
"key"
]
| [
"return",
"37",
"*",
"17",
"+",
"type",
"i",
"d",
"key",
"hash",
"code",
"(",
")",
"+",
"37",
"*",
"17",
"+",
"type",
"i",
"d",
"value",
"hash",
"code",
"(",
")",
";"
]
|
[
"<",
"p",
">",
"translates",
"input",
"text",
"from",
"the",
"source",
"language",
"to",
"the",
"target",
"language",
"you",
"can",
"translate",
"between",
"english",
"(",
"en",
")",
"and",
"one",
"of",
"the",
"following",
"languages",
"or",
"between",
"one",
"of",
"the",
"following",
"languages",
"and",
"english",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"arabic",
"(",
"ar",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"chinese",
"(",
"simplified",
")",
"(",
"zh",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"french",
"(",
"fr",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"german",
"(",
"de",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"portuguese",
"(",
"pt",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"spanish",
"(",
"es",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"to",
"have",
"amazon",
"translate",
"determine",
"the",
"source",
"language",
"of",
"your",
"text",
"you",
"can",
"specify",
"<",
"code",
">",
"auto",
"<",
"/",
"code",
">",
"in",
"the",
"<",
"code",
">",
"source",
"language",
"code",
"<",
"/",
"code",
">",
"field",
"if",
"you",
"specify",
"<",
"code",
">",
"auto",
"<",
"/",
"code",
">",
"amazon",
"translate",
"will",
"call",
"amazon",
"comprehend",
"to",
"determine",
"the",
"source",
"language",
"<",
"/",
"p",
">"
]
| [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"translate",
"text",
"(",
"request",
")",
";"
]
|
[
"returns",
"an",
"input",
"stream",
"for",
"request",
"progress",
"tracking",
"purposes",
"if",
"request",
"/",
"response",
"progress",
"tracking",
"is",
"not",
"enabled",
"this",
"method",
"simply",
"return",
"the",
"given",
"input",
"stream",
"as",
"is"
]
| [
"return",
"req",
"=",
"=",
"null",
"?",
"is",
":",
"input",
"stream",
"for",
"request",
"(",
"is",
",",
"req",
"get",
"general",
"progress",
"listener",
"(",
")",
")",
";"
]
|
[
"returns",
"an",
"input",
"stream",
"for",
"response",
"progress",
"tracking",
"purposes",
"if",
"request",
"/",
"response",
"progress",
"tracking",
"is",
"not",
"enabled",
"this",
"method",
"simply",
"return",
"the",
"given",
"input",
"stream",
"as",
"is"
]
| [
"return",
"req",
"=",
"=",
"null",
"?",
"is",
":",
"new",
"response",
"progress",
"input",
"stream",
"(",
"is",
",",
"req",
"get",
"general",
"progress",
"listener",
"(",
")",
")",
";"
]
|
[
"returns",
"an",
"input",
"stream",
"for",
"response",
"progress",
"tracking",
"purposes",
"if",
"request",
"/",
"response",
"progress",
"tracking",
"is",
"not",
"enabled",
"this",
"method",
"simply",
"return",
"the",
"given",
"input",
"stream",
"as",
"is"
]
| [
"return",
"progress",
"listener",
"=",
"=",
"null",
"?",
"is",
":",
"new",
"response",
"progress",
"input",
"stream",
"(",
"is",
",",
"progress",
"listener",
")",
";"
]
|
[
"the",
"read",
"method",
"is",
"called",
"for",
"the",
"very",
"first",
"time",
"defaults",
"to",
"do",
"nothing"
]
| []
|
[
"an",
"end",
"-",
"of",
"-",
"file",
"event",
"is",
"to",
"be",
"notified",
"defaults",
"to",
"do",
"nothing"
]
| []
|
[
"defaults",
"to",
"behave",
"the",
"same",
"as",
"{"
]
| [
"eof",
"(",
")",
";"
]
|
[
"upon",
"notification",
"of",
"the",
"number",
"of",
"bytes",
"transferred",
"since",
"last",
"notification",
"default",
"to",
"do",
"nothing"
]
| []
|
[
"upon",
"reading",
"the",
"given",
"number",
"of",
"bytes",
"the",
"default",
"behavior",
"is",
"to",
"accumulate",
"the",
"byte",
"count",
"and",
"only",
"fire",
"off",
"a",
"notification",
"by",
"invoking",
"{"
]
| [
"unnotified",
"byte",
"count",
"+",
"=",
"bytes",
"read",
";",
"if",
"(",
"unnotified",
"byte",
"count",
">",
"=",
"notify",
"thres",
"hold",
")",
"{",
"on",
"notify",
"bytes",
"read",
"(",
")",
";",
"notified",
"byte",
"count",
"+",
"=",
"unnotified",
"byte",
"count",
";",
"unnotified",
"byte",
"count",
"=",
"0",
";",
"}"
]
|
[
"returns",
"the",
"actual",
"data",
"blob",
"of",
"the",
"event",
"-",
"part",
"the",
"returned",
"byte",
"buffer",
"is",
"read",
"-",
"only",
"and",
"its",
"position",
"and",
"limit",
"may",
"be",
"freely",
"modified",
"<",
"b",
">",
"note",
":",
"the",
"data",
"may",
"be",
"subsequently",
"overwritten",
";",
"if",
"you",
"need",
"it",
"beyond",
"the",
"on",
"data",
"event",
"(",
")",
"call",
"save",
"your",
"own",
"copy",
"before",
"returning",
"<",
"/",
"b",
">"
]
| [
"return",
"data",
"as",
"read",
"only",
"buffer",
"(",
")",
"slice",
"(",
")",
"order",
"(",
"data",
"order",
"(",
")",
")",
";"
]
|
[
"returns",
"the",
"{",
"@",
"link",
"block",
"info",
"}",
"for",
"a",
"block",
"id"
]
| [
"return",
"retry",
"r",
"p",
"c",
"(",
"(",
")",
"-",
">",
"block",
"info",
"from",
"thrift",
"(",
"m",
"client",
"get",
"block",
"info",
"(",
"block",
"id",
",",
"new",
"get",
"block",
"info",
"t",
"options",
"(",
")",
")",
"get",
"block",
"info",
"(",
")",
")",
")",
";"
]
|
[
"gets",
"the",
"total",
"alluxio",
"capacity",
"in",
"bytes",
"on",
"all",
"the",
"tiers",
"of",
"all",
"the",
"workers"
]
| [
"return",
"retry",
"r",
"p",
"c",
"(",
"(",
")",
"-",
">",
"m",
"client",
"get",
"capacity",
"bytes",
"(",
"new",
"get",
"capacity",
"bytes",
"t",
"options",
"(",
")",
")",
"get",
"bytes",
"(",
")",
")",
";"
]
|
[
"gets",
"the",
"total",
"amount",
"of",
"used",
"space",
"in",
"bytes",
"on",
"all",
"the",
"tiers",
"of",
"all",
"the",
"workers"
]
| [
"return",
"retry",
"r",
"p",
"c",
"(",
"(",
")",
"-",
">",
"m",
"client",
"get",
"used",
"bytes",
"(",
"new",
"get",
"used",
"bytes",
"t",
"options",
"(",
")",
")",
"get",
"bytes",
"(",
")",
")",
";"
]
|
[
"set",
"constraints",
"to",
"be",
"applied",
"to",
"the",
"point",
"-",
"wise",
"convolution",
"weight",
"parameters",
"of",
"this",
"layer",
"default",
":",
"no",
"constraints",
"<",
"br",
">",
"constraints",
"can",
"be",
"used",
"to",
"enforce",
"certain",
"conditions",
"(",
"non",
"-",
"negativity",
"of",
"parameters",
"max",
"-",
"norm",
"regularization",
"etc",
")",
"these",
"constraints",
"are",
"applied",
"at",
"each",
"iteration",
"after",
"the",
"parameters",
"have",
"been",
"updated"
]
| [
"this",
"point",
"wise",
"constraints",
"=",
"arrays",
"as",
"list",
"(",
"constraints",
")",
";",
"return",
"this",
";"
]
|
[
"{"
]
| [
"delegate",
"init",
"(",
"key",
"managers",
",",
"trust",
"managers",
",",
"secure",
"random",
")",
";"
]
|
[
"{"
]
| [
"return",
"new",
"s",
"s",
"l",
"socket",
"factory",
"wrapper",
"(",
"delegate",
"get",
"socket",
"factory",
"(",
")",
",",
"parameters",
")",
";"
]
|
[
"{"
]
| [
"return",
"new",
"s",
"s",
"l",
"server",
"socket",
"factory",
"wrapper",
"(",
"delegate",
"get",
"server",
"socket",
"factory",
"(",
")",
",",
"parameters",
")",
";"
]
|
[
"{"
]
| [
"final",
"s",
"s",
"l",
"engine",
"engine",
"=",
"delegate",
"create",
"s",
"s",
"l",
"engine",
"(",
")",
";",
"if",
"(",
"parameters",
"!",
"=",
"null",
")",
"engine",
"set",
"s",
"s",
"l",
"parameters",
"(",
"parameters",
")",
";",
"return",
"engine",
";"
]
|
[
"{"
]
| [
"final",
"s",
"s",
"l",
"engine",
"engine",
"=",
"delegate",
"create",
"s",
"s",
"l",
"engine",
"(",
")",
";",
"if",
"(",
"parameters",
"!",
"=",
"null",
")",
"engine",
"set",
"s",
"s",
"l",
"parameters",
"(",
"parameters",
")",
";",
"return",
"engine",
";"
]
|
[
"{"
]
| [
"return",
"delegate",
"get",
"server",
"session",
"context",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"delegate",
"get",
"client",
"session",
"context",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"delegate",
"get",
"default",
"s",
"s",
"l",
"parameters",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"delegate",
"get",
"supported",
"s",
"s",
"l",
"parameters",
"(",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"unique",
"name",
"of",
"the",
"database",
"resource",
"in",
"lightsail",
"<",
"/",
"p",
">"
]
| [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"arn",
"(",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"support",
"code",
"for",
"the",
"database",
"include",
"this",
"code",
"in",
"your",
"email",
"to",
"support",
"when",
"you",
"have",
"questions",
"about",
"a",
"database",
"in",
"lightsail",
"this",
"code",
"enables",
"our",
"support",
"team",
"to",
"look",
"up",
"your",
"lightsail",
"information",
"more",
"easily",
"<",
"/",
"p",
">"
]
| [
"set",
"support",
"code",
"(",
"support",
"code",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"timestamp",
"when",
"the",
"database",
"was",
"created",
"formatted",
"in",
"unix",
"time",
"<",
"/",
"p",
">"
]
| [
"set",
"created",
"at",
"(",
"created",
"at",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"region",
"name",
"and",
"availability",
"zone",
"where",
"the",
"database",
"is",
"located",
"<",
"/",
"p",
">"
]
| [
"set",
"location",
"(",
"location",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"lightsail",
"resource",
"type",
"for",
"the",
"database",
"(",
"for",
"example",
"<",
"code",
">",
"relational",
"database",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"resource",
"type",
"(",
"resource",
"type",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"lightsail",
"resource",
"type",
"for",
"the",
"database",
"(",
"for",
"example",
"<",
"code",
">",
"relational",
"database",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"this",
"resource",
"type",
"=",
"resource",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"blueprint",
"id",
"for",
"the",
"database",
"a",
"blueprint",
"describes",
"the",
"major",
"engine",
"version",
"of",
"a",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"relational",
"database",
"blueprint",
"id",
"(",
"relational",
"database",
"blueprint",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"bundle",
"id",
"for",
"the",
"database",
"a",
"bundle",
"describes",
"the",
"performance",
"specifications",
"for",
"your",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"relational",
"database",
"bundle",
"id",
"(",
"relational",
"database",
"bundle",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"master",
"database",
"created",
"when",
"the",
"lightsail",
"database",
"resource",
"is",
"created",
"<",
"/",
"p",
">"
]
| [
"set",
"master",
"database",
"name",
"(",
"master",
"database",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"hardware",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"this",
"hardware",
"=",
"hardware",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"hardware",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"hardware",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"hardware",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"hardware",
"(",
"hardware",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"current",
"state",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"state",
"(",
"state",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"secondary",
"availability",
"zone",
"of",
"a",
"high",
"availability",
"database",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"secondary",
"database",
"is",
"used",
"for",
"failover",
"support",
"of",
"a",
"high",
"availability",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"secondary",
"availability",
"zone",
"(",
"secondary",
"availability",
"zone",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"automated",
"backup",
"retention",
"is",
"enabled",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"backup",
"retention",
"enabled",
"(",
"backup",
"retention",
"enabled",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"pending",
"database",
"value",
"modifications",
"<",
"/",
"p",
">"
]
| [
"this",
"pending",
"modified",
"values",
"=",
"pending",
"modified",
"values",
";"
]
|
[
"<",
"p",
">",
"describes",
"pending",
"database",
"value",
"modifications",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"pending",
"modified",
"values",
";"
]
|
[
"<",
"p",
">",
"describes",
"pending",
"database",
"value",
"modifications",
"<",
"/",
"p",
">"
]
| [
"set",
"pending",
"modified",
"values",
"(",
"pending",
"modified",
"values",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"database",
"software",
"(",
"for",
"example",
"<",
"code",
">",
"my",
"s",
"q",
"l",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"engine",
"(",
"engine",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"database",
"engine",
"version",
"(",
"for",
"example",
"<",
"code",
">",
"5",
"7",
"23",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"engine",
"version",
"(",
"engine",
"version",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"latest",
"point",
"in",
"time",
"to",
"which",
"the",
"database",
"can",
"be",
"restored",
"formatted",
"in",
"unix",
"time",
"<",
"/",
"p",
">"
]
| [
"set",
"latest",
"restorable",
"time",
"(",
"latest",
"restorable",
"time",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"master",
"user",
"name",
"of",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"master",
"username",
"(",
"master",
"username",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"status",
"of",
"parameter",
"updates",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"parameter",
"apply",
"status",
"(",
"parameter",
"apply",
"status",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"daily",
"time",
"range",
"during",
"which",
"automated",
"backups",
"are",
"created",
"for",
"the",
"database",
"(",
"for",
"example",
"<",
"code",
">",
"16",
":",
"00",
"-",
"16",
":",
"30",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
]
| [
"set",
"preferred",
"backup",
"window",
"(",
"preferred",
"backup",
"window",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"weekly",
"time",
"range",
"during",
"which",
"system",
"maintenance",
"can",
"occur",
"on",
"the",
"database",
"<",
"/",
"p",
">",
"<",
"p",
">",
"in",
"the",
"format",
"<",
"code",
">",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"-",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"<",
"/",
"code",
">",
"for",
"example",
"<",
"code",
">",
"tue",
":",
"17",
":",
"00",
"-",
"tue",
":",
"17",
":",
"30",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"preferred",
"maintenance",
"window",
"(",
"preferred",
"maintenance",
"window",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"boolean",
"value",
"indicating",
"whether",
"the",
"database",
"is",
"publicly",
"accessible",
"<",
"/",
"p",
">"
]
| [
"set",
"publicly",
"accessible",
"(",
"publicly",
"accessible",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"master",
"endpoint",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"this",
"master",
"endpoint",
"=",
"master",
"endpoint",
";"
]
|
[
"<",
"p",
">",
"the",
"master",
"endpoint",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"master",
"endpoint",
";"
]
|
[
"<",
"p",
">",
"the",
"master",
"endpoint",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"master",
"endpoint",
"(",
"master",
"endpoint",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"pending",
"maintenance",
"actions",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"return",
"pending",
"maintenance",
"actions",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"pending",
"maintenance",
"actions",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"pending",
"maintenance",
"actions",
"=",
"=",
"null",
")",
"{",
"this",
"pending",
"maintenance",
"actions",
"=",
"null",
";",
"return",
";",
"}",
"this",
"pending",
"maintenance",
"actions",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"pending",
"maintenance",
"action",
">",
"(",
"pending",
"maintenance",
"actions",
")",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"pending",
"maintenance",
"actions",
"for",
"the",
"database",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"pending",
"maintenance",
"actions",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"pending",
"maintenance",
"actions",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"pending",
"maintenance",
"actions",
"=",
"=",
"null",
")",
"{",
"set",
"pending",
"maintenance",
"actions",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"pending",
"maintenance",
"action",
">",
"(",
"pending",
"maintenance",
"actions",
"length",
")",
")",
";",
"}",
"for",
"(",
"pending",
"maintenance",
"action",
"ele",
":",
"pending",
"maintenance",
"actions",
")",
"{",
"this",
"pending",
"maintenance",
"actions",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"describes",
"the",
"pending",
"maintenance",
"actions",
"for",
"the",
"database",
"<",
"/",
"p",
">"
]
| [
"set",
"pending",
"maintenance",
"actions",
"(",
"pending",
"maintenance",
"actions",
")",
";",
"return",
"this",
";"
]
|
[
"excludes",
"cancelled",
"jobs"
]
| [
"return",
"mark",
"jobs",
"cancelled",
"(",
"constraint",
",",
"tags",
",",
"false",
")",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"the",
"pose",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"angular",
"velocity",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"linear",
"velocity",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"angular",
"acceleration",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"linear",
"acceleration",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"value",
"of",
"the",
"{"
]
| [
"return",
"n",
"time",
"in",
"seconds",
"(",
"address",
"(",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"o",
"v",
"r",
"pose",
"statef",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"o",
"v",
"r",
"pose",
"statef",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"o",
"v",
"r",
"pose",
"statef",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"o",
"v",
"r",
"pose",
"statef",
"class",
",",
"address",
")",
";"
]
|
[
"like",
"{"
]
| [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"o",
"v",
"r",
"pose",
"statef",
"class",
",",
"address",
")",
";"
]
|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"pose",
"statef",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
]
| [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
]
|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"pose",
"statef",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
]
| [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
]
|
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"pose",
"statef",
"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",
"o",
"v",
"r",
"pose",
"statef",
"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",
"(",
")",
")",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.