docstring_tokens list | code_tokens list |
|---|---|
[
"the",
"default",
"authentication",
"method",
"used",
"for",
"a",
"p",
"ns"
] | [
"this",
"default",
"authentication",
"method",
"=",
"default",
"authentication",
"method",
";"
] |
[
"the",
"default",
"authentication",
"method",
"used",
"for",
"a",
"p",
"ns"
] | [
"return",
"this",
"default",
"authentication",
"method",
";"
] |
[
"the",
"default",
"authentication",
"method",
"used",
"for",
"a",
"p",
"ns"
] | [
"set",
"default",
"authentication",
"method",
"(",
"default",
"authentication",
"method",
")",
";",
"return",
"this",
";"
] |
[
"if",
"the",
"channel",
"is",
"enabled",
"for",
"sending",
"messages"
] | [
"set",
"enabled",
"(",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"the",
"certificate",
"private",
"key"
] | [
"this",
"private",
"key",
"=",
"private",
"key",
";"
] |
[
"the",
"certificate",
"private",
"key"
] | [
"return",
"this",
"private",
"key",
";"
] |
[
"the",
"certificate",
"private",
"key"
] | [
"set",
"private",
"key",
"(",
"private",
"key",
")",
";",
"return",
"this",
";"
] |
[
"the",
"team",
"id",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"this",
"team",
"id",
"=",
"team",
"id",
";"
] |
[
"the",
"team",
"id",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"return",
"this",
"team",
"id",
";"
] |
[
"the",
"team",
"id",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"set",
"team",
"id",
"(",
"team",
"id",
")",
";",
"return",
"this",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"this",
"token",
"key",
"=",
"token",
"key",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"return",
"this",
"token",
"key",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"set",
"token",
"key",
"(",
"token",
"key",
")",
";",
"return",
"this",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"this",
"token",
"key",
"id",
"=",
"token",
"key",
"id",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"return",
"this",
"token",
"key",
"id",
";"
] |
[
"the",
"token",
"key",
"used",
"for",
"a",
"p",
"ns",
"tokens"
] | [
"set",
"token",
"key",
"id",
"(",
"token",
"key",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"(",
"id",
")",
"of",
"the",
"aws",
"account",
"that",
"you",
"want",
"information",
"about",
"you",
"can",
"get",
"the",
"id",
"from",
"the",
"<",
"a",
">",
"list",
"accounts",
"<",
"/",
"a",
">",
"or"... | [
"set",
"account",
"id",
"(",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"whenever",
"a",
"spec",
"sets",
"tree",
"props",
"the",
"tree",
"props",
"map",
"from",
"the",
"parent",
"is",
"copied",
"if",
"parent",
"tree",
"props",
"are",
"null",
"a",
"new",
"tree",
"props",
"instance",
"is",
"created",
"to",
"copy",
"the",
"curr... | [
"final",
"tree",
"props",
"new",
"props",
"=",
"new",
"tree",
"props",
"(",
")",
";",
"if",
"(",
"source",
"!",
"=",
"null",
")",
"{",
"synchronized",
"(",
"source",
"m",
"map",
")",
"{",
"new",
"props",
"m",
"map",
"put",
"all",
"(",
"source",
"... |
[
"returns",
"vector",
"from",
"dataset",
"in",
"according",
"to",
"row",
"id"
] | [
"return",
"vectors",
"[",
"row",
"id",
"]",
";"
] |
[
"returns",
"rows",
"count"
] | [
"return",
"vectors",
"length",
";"
] |
[
"{"
] | [
"return",
"arrays",
"stream",
"(",
"vectors",
")",
"iterator",
"(",
")",
";"
] |
[
"these",
"anyway"
] | [
"this",
"skewed",
"col",
"values",
"=",
"skewed",
"col",
"values",
";",
"return",
"child",
";"
] |
[
"keeps",
"value",
"within",
"provided",
"bounds"
] | [
"return",
"math",
"max",
"(",
"min",
"value",
",",
"math",
"min",
"(",
"value",
",",
"max",
"value",
")",
")",
";"
] |
[
"interpolates",
"from",
"start",
"value",
"to",
"the",
"end",
"one",
"by",
"given",
"factor",
"(",
"from",
"0",
"to",
"1",
")"
] | [
"return",
"start",
"+",
"(",
"end",
"-",
"start",
")",
"*",
"factor",
";"
] |
[
"interpolates",
"from",
"start",
"rect",
"to",
"the",
"end",
"rect",
"by",
"given",
"factor",
"(",
"from",
"0",
"to",
"1",
")",
"storing",
"result",
"into",
"out",
"rect"
] | [
"out",
"left",
"=",
"interpolate",
"(",
"start",
"left",
",",
"end",
"left",
",",
"factor",
")",
";",
"out",
"top",
"=",
"interpolate",
"(",
"start",
"top",
",",
"end",
"top",
",",
"factor",
")",
";",
"out",
"right",
"=",
"interpolate",
"(",
"start",... |
[
"returns",
"long",
"field"
] | [
"return",
"long",
"field",
";"
] |
[
"resolves",
"the",
"script"
] | [
"string",
"answer",
";",
"if",
"(",
"resource",
"helper",
"has",
"scheme",
"(",
"script",
")",
")",
"{",
"input",
"stream",
"is",
"=",
"load",
"resource",
"(",
"script",
")",
";",
"answer",
"=",
"get",
"camel",
"context",
"(",
")",
"get",
"type",
"co... |
[
"when",
"true",
"(",
"the",
"default",
")",
"the",
"batch",
"is",
"transformed",
"so",
"children",
"are",
"drawn",
"in",
"their",
"parent",
"s",
"coordinate",
"system",
"this",
"has",
"a",
"performance",
"impact",
"because",
"{"
] | [
"this",
"transform",
"=",
"transform",
";"
] |
[
"specifies",
"the",
"file",
"transfer",
"mode",
"binary",
"or",
"ascii",
"default",
"is",
"ascii",
"(",
"false",
")"
] | [
"this",
"binary",
"=",
"binary",
";"
] |
[
"<",
"p",
">",
"human",
"readable",
"name",
"of",
"the",
"language",
"in",
"english",
"<",
"/",
"p",
">"
] | [
"this",
"language",
"name",
"=",
"language",
"name",
";"
] |
[
"path",
"to",
"the",
"resource",
"or",
"a",
"reference",
"to",
"lookup",
"a",
"bean",
"in",
"the",
"registry",
"to",
"use",
"as",
"the",
"resource"
] | [
"super",
"set",
"resource",
"uri",
"(",
"resource",
"uri",
")",
";"
] |
[
"whether",
"to",
"cache",
"the",
"compiled",
"script",
"and",
"reuse",
"<",
"p",
"/",
">",
"notice",
"reusing",
"the",
"script",
"can",
"cause",
"side",
"effects",
"from",
"processing",
"one",
"camel",
"{"
] | [
"this",
"cache",
"script",
"=",
"cache",
"script",
";"
] |
[
"{"
] | [
"return",
"pg",
"catalog",
"pg",
"catalog",
";"
] |
[
"{"
] | [
"return",
"new",
"pg",
"attrdef",
"(",
"dsl",
"name",
"(",
"alias",
")",
",",
"this",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"pg",
"attrdef",
"(",
"alias",
",",
"this",
")",
";"
] |
[
"rename",
"this",
"table"
] | [
"return",
"new",
"pg",
"attrdef",
"(",
"dsl",
"name",
"(",
"name",
")",
",",
"null",
")",
";"
] |
[
"rename",
"this",
"table"
] | [
"return",
"new",
"pg",
"attrdef",
"(",
"name",
",",
"null",
")",
";"
] |
[
"tests",
"that",
"a",
"zero",
"-",
"length",
"file",
"is",
"displayed",
"correctly"
] | [
"byte",
"[",
"]",
"empty",
"contents",
"=",
"{",
"}",
";",
"string",
"output",
"=",
"read",
"using",
"text",
"command",
"(",
"text",
"filename",
",",
"empty",
"contents",
")",
";",
"assert",
"true",
"(",
"\"",
"\"",
"equals",
"(",
"output",
")",
")",... |
[
"tests",
"that",
"a",
"one",
"-",
"byte",
"file",
"is",
"displayed",
"correctly"
] | [
"byte",
"[",
"]",
"one",
"byte",
"contents",
"=",
"{",
"'",
"x",
"'",
"}",
";",
"string",
"output",
"=",
"read",
"using",
"text",
"command",
"(",
"text",
"filename",
",",
"one",
"byte",
"contents",
")",
";",
"assert",
"true",
"(",
"new",
"string",
... |
[
"tests",
"that",
"a",
"one",
"-",
"byte",
"file",
"is",
"displayed",
"correctly"
] | [
"byte",
"[",
"]",
"two",
"byte",
"contents",
"=",
"{",
"'",
"x",
"'",
",",
"'",
"y",
"'",
"}",
";",
"string",
"output",
"=",
"read",
"using",
"text",
"command",
"(",
"text",
"filename",
",",
"two",
"byte",
"contents",
")",
";",
"assert",
"true",
... |
[
"checks",
"the",
"composed",
"id",
"is",
"a",
"expandable",
"group",
"or",
"not"
] | [
"return",
"(",
"composed",
"id",
"!",
"=",
"recycler",
"view",
"no",
"id",
")",
"&",
"&",
"(",
"(",
"composed",
"id",
"&",
"bit",
"mask",
"child",
"id",
")",
"=",
"=",
"bit",
"mask",
"child",
"id",
")",
";"
] |
[
"extracts",
"segment",
"part",
"from",
"composed",
"id"
] | [
"return",
"(",
"int",
")",
"(",
"(",
"composed",
"id",
"&",
"bit",
"mask",
"segment",
")",
">",
">",
">",
"bit",
"offset",
"segment",
")",
";"
] |
[
"extracts",
"group",
"id",
"part",
"from",
"composed",
"id"
] | [
"if",
"(",
"(",
"composed",
"id",
"=",
"=",
"recycler",
"view",
"no",
"id",
")",
"|",
"|",
"!",
"is",
"expandable",
"group",
"(",
"composed",
"id",
")",
")",
"{",
"return",
"recycler",
"view",
"no",
"id",
";",
"}",
"return",
"(",
"composed",
"id",
... |
[
"extracts",
"child",
"id",
"part",
"from",
"composed",
"id"
] | [
"if",
"(",
"(",
"composed",
"id",
"=",
"=",
"recycler",
"view",
"no",
"id",
")",
"|",
"|",
"is",
"expandable",
"group",
"(",
"composed",
"id",
")",
")",
"{",
"return",
"recycler",
"view",
"no",
"id",
";",
"}",
"return",
"(",
"composed",
"id",
"<",
... |
[
"extracts",
"wrapped",
"id",
"(",
"group",
"id",
"+",
"child",
"id",
")",
"part",
"from",
"composed",
"id"
] | [
"if",
"(",
"composed",
"id",
"=",
"=",
"recycler",
"view",
"no",
"id",
")",
"{",
"return",
"recycler",
"view",
"no",
"id",
";",
"}",
"return",
"(",
"composed",
"id",
"<",
"<",
"(",
"64",
"-",
"bit",
"width",
"group",
"id",
"-",
"bit",
"width",
"c... |
[
"sets",
"the",
"new",
"exchange",
"pattern",
"of",
"the",
"exchange",
"to",
"be",
"used",
"from",
"this",
"point",
"forward"
] | [
"this",
"pattern",
"=",
"pattern",
";"
] |
[
"set",
"the",
"number",
"of",
"buffered",
"keys"
] | [
"this",
"cache",
"size",
"=",
"cache",
"size",
";"
] |
[
"return",
"an",
"unmodifiable",
"map",
"of",
"entity",
"graphs",
"for",
"reader",
"/",
"writer"
] | [
"return",
"collections",
"unmodifiable",
"map",
"(",
"for",
"writer",
"?",
"writer",
"class",
"to",
"graph",
":",
"reader",
"class",
"to",
"graph",
")",
";"
] |
[
"returns",
"the",
"delegated",
"{"
] | [
"protected",
"abstract",
"managed",
"channel",
"builder",
"<",
"?",
">",
"delegate",
"(",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"return",
"delegate",
"(",
")",
"build",
"(",
")",
";"
] |
[
"delete",
"tickets"
] | [
"return",
"delete",
"tickets",
"(",
"tickets",
"stream",
"(",
")",
")",
";"
] |
[
"delete",
"tickets"
] | [
"return",
"tickets",
"map",
"to",
"int",
"(",
"this",
":",
":",
"delete",
"ticket",
")",
"sum",
"(",
")",
";"
] |
[
"delete",
"a",
"single",
"ticket",
"instance",
"from",
"the",
"store"
] | [
"public",
"abstract",
"boolean",
"delete",
"single",
"ticket",
"(",
"string",
"ticket",
"id",
")",
";"
] |
[
"decode",
"tickets"
] | [
"if",
"(",
"!",
"is",
"cipher",
"executor",
"enabled",
"(",
")",
")",
"{",
"logger",
"trace",
"(",
"message",
")",
";",
"return",
"items",
";",
"}",
"return",
"items",
"stream",
"(",
")",
"map",
"(",
"this",
":",
":",
"decode",
"ticket",
")",
"coll... |
[
"implementations",
"for",
"attribute"
] | [
"attribute",
"visitor",
"visit",
"stack",
"map",
"attribute",
"(",
"clazz",
",",
"method",
",",
"code",
"attribute",
",",
"this",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"!",
"no",
"support",
"if",
"exists",
"contains",
"(",
"ctx",
"family",
"(",
")",
")",
";"
] |
[
"tests",
"a",
"string",
"to",
"see",
"if",
"it",
"is",
"valid",
"base",
"6",
"4"
] | [
"if",
"(",
"is",
"valid",
"string",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"return",
"is",
"array",
"byte",
"base",
"6",
"4",
"(",
"string",
"to",
"bytes",
"(",
"is",
"valid",
"string",
")",
")",
";"
] |
[
"get",
"label",
"status",
"time",
"lapse"
] | [
"if",
"(",
"label",
"time",
"elapse",
"=",
"=",
"null",
")",
"{",
"label",
"time",
"elapse",
"=",
"new",
"j",
"label",
"(",
"\"",
"\"",
",",
"j",
"label",
"leading",
")",
";",
"}",
"return",
"label",
"time",
"elapse",
";"
] |
[
"get",
"label",
"status",
"content",
"length"
] | [
"if",
"(",
"label",
"content",
"length",
"=",
"=",
"null",
")",
"{",
"label",
"content",
"length",
"=",
"new",
"j",
"label",
"(",
"\"",
"\"",
",",
"j",
"label",
"leading",
")",
";",
"}",
"return",
"label",
"content",
"length",
";"
] |
[
"get",
"label",
"status",
"total",
"length"
] | [
"if",
"(",
"label",
"total",
"length",
"=",
"=",
"null",
")",
"{",
"label",
"total",
"length",
"=",
"new",
"j",
"label",
"(",
"\"",
"\"",
",",
"j",
"label",
"leading",
")",
";",
"}",
"return",
"label",
"total",
"length",
";"
] |
[
"gets",
"the",
"value",
"of",
"the",
"recipient",
"property"
] | [
"return",
"recipient",
";"
] |
[
"sets",
"the",
"width",
"of",
"the",
"column"
] | [
"set",
"width",
"(",
"width",
",",
"true",
")",
";"
] |
[
"returns",
"the",
"bounds",
"of",
"this",
"column",
"s",
"header"
] | [
"rectangle",
"bounds",
"=",
"new",
"rectangle",
"(",
"0",
",",
"0",
",",
"0",
",",
"0",
")",
";",
"point",
"loc",
"=",
"grid",
"get",
"origin",
"(",
"this",
",",
"-",
"1",
")",
";",
"bounds",
"x",
"=",
"loc",
"x",
";",
"bounds",
"y",
"=",
"lo... |
[
"returns",
"the",
"parent",
"grid"
] | [
"return",
"grid",
";"
] |
[
"returns",
"the",
"tooltip",
"of",
"the",
"column",
"header"
] | [
"string",
"tip",
"=",
"grid",
"get",
"label",
"provider",
"(",
")",
"get",
"tool",
"tip",
"text",
"(",
"element",
")",
";",
"if",
"(",
"tip",
"=",
"=",
"null",
")",
"{",
"tip",
"=",
"grid",
"get",
"label",
"provider",
"(",
")",
"get",
"text",
"("... |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"long",
"function",
"address",
"=",
"device",
"get",
"capabilities",
"(",
")",
"vk",
"get",
"memory",
"fd",
"k",
"h",
"r",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"}",
"return",
"call",
"p",
"p",
"p",
"i",... |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"long",
"function",
"address",
"=",
"device",
"get",
"capabilities",
"(",
")",
"vk",
"get",
"memory",
"fd",
"properties",
"k",
"h",
"r",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"}",
"return",
"call",
"p",
"p... |
[
"whether",
"all",
"individual",
"orders",
"are",
"the",
"same"
] | [
"order",
"last",
"order",
"=",
"null",
";",
"for",
"(",
"order",
"entry",
"oe",
":",
"list",
")",
"{",
"if",
"(",
"last",
"order",
"=",
"=",
"null",
")",
"last",
"order",
"=",
"oe",
"order",
";",
"else",
"if",
"(",
"last",
"order",
"!",
"=",
"o... |
[
"todo",
":",
"this",
"isn",
"t",
"really",
"until",
"empty",
"it",
"s",
"until",
"next",
"call",
"to",
"take",
"(",
")",
"after",
"empty"
] | [
"add",
"(",
"m",
"stop",
"request",
")",
";",
"if",
"(",
"!",
"m",
"stop",
"event",
"try",
"acquire",
"(",
"timeout",
"millis",
",",
"time",
"unit",
"milliseconds",
")",
")",
"{",
"throw",
"new",
"timeout",
"exception",
"(",
")",
";",
"}"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"my",
"application"
] | [
"this",
"application",
"=",
"application",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"branch",
"-",
"2",
"0"
] | [
"this",
"branch",
"=",
"branch",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter"
] | [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"project",
"=",
"first",
"project",
"key",
"&",
"project",
"=",
"second",
"project",
"key",
"&",
"project",
"=",
"third",
"project",
"key"
] | [
"this",
"project",
"=",
"project",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"project",
"branch",
"=",
"&",
"project",
"branch",
"=",
"branch",
"-",
"2",
"0",
"&",
"project",
"branch",
"=",
"branch",
"-",
"2",
"1"
] | [
"this",
"project",
"branch",
"=",
"project",
"branch",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"order",
"of",
"the",
"launch",
"template",
"overrides",
"to",
"use",
"in",
"fulfilling",
"on",
"-",
"demand",
"capacity",
"if",
"you",
"specify",
"<",
"code",
">",
"lowest",
"-",
"price",
"<",
"/",
"code",
">",
"ec2",
"fleet",
... | [
"this",
"allocation",
"strategy",
"=",
"allocation",
"strategy",
";"
] |
[
"<",
"p",
">",
"the",
"order",
"of",
"the",
"launch",
"template",
"overrides",
"to",
"use",
"in",
"fulfilling",
"on",
"-",
"demand",
"capacity",
"if",
"you",
"specify",
"<",
"code",
">",
"lowest",
"-",
"price",
"<",
"/",
"code",
">",
"ec2",
"fleet",
... | [
"return",
"this",
"allocation",
"strategy",
";"
] |
[
"<",
"p",
">",
"indicates",
"how",
"to",
"allocate",
"the",
"target",
"capacity",
"across",
"the",
"spot",
"pools",
"specified",
"by",
"the",
"spot",
"fleet",
"request",
"the",
"default",
"is",
"<",
"code",
">",
"lowest",
"-",
"price",
"<",
"/",
"code",
... | [
"set",
"allocation",
"strategy",
"(",
"allocation",
"strategy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"how",
"to",
"allocate",
"the",
"target",
"capacity",
"across",
"the",
"spot",
"pools",
"specified",
"by",
"the",
"spot",
"fleet",
"request",
"the",
"default",
"is",
"<",
"code",
">",
"lowest",
"-",
"price",
"<",
"/",
"code",
... | [
"this",
"allocation",
"strategy",
"=",
"allocation",
"strategy",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"behavior",
"when",
"a",
"spot",
"instance",
"is",
"interrupted",
"the",
"default",
"is",
"<",
"code",
">",
"terminate",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"instance",
"interruption",
"behavior",
"=",
"instance",
"interruption",
"behavior",
";"
] |
[
"<",
"p",
">",
"the",
"behavior",
"when",
"a",
"spot",
"instance",
"is",
"interrupted",
"the",
"default",
"is",
"<",
"code",
">",
"terminate",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instance",
"interruption",
"behavior",
";"
] |
[
"<",
"p",
">",
"the",
"behavior",
"when",
"a",
"spot",
"instance",
"is",
"interrupted",
"the",
"default",
"is",
"<",
"code",
">",
"terminate",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"instance",
"interruption",
"behavior",
"(",
"instance",
"interruption",
"behavior",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"behavior",
"when",
"a",
"spot",
"instance",
"is",
"interrupted",
"the",
"default",
"is",
"<",
"code",
">",
"terminate",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"instance",
"interruption",
"behavior",
"=",
"instance",
"interruption",
"behavior",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"spot",
"pools",
"across",
"which",
"to",
"allocate",
"your",
"target",
"spot",
"capacity",
"valid",
"only",
"when",
"spot",
"<",
"b",
">",
"allocation",
"strategy",
"<",
"/",
"b",
">",
"is",
"set",
"to",
"<",
"c... | [
"this",
"instance",
"pools",
"to",
"use",
"count",
"=",
"instance",
"pools",
"to",
"use",
"count",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"spot",
"pools",
"across",
"which",
"to",
"allocate",
"your",
"target",
"spot",
"capacity",
"valid",
"only",
"when",
"spot",
"<",
"b",
">",
"allocation",
"strategy",
"<",
"/",
"b",
">",
"is",
"set",
"to",
"<",
"c... | [
"return",
"this",
"instance",
"pools",
"to",
"use",
"count",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"spot",
"pools",
"across",
"which",
"to",
"allocate",
"your",
"target",
"spot",
"capacity",
"valid",
"only",
"when",
"<",
"b",
">",
"allocation",
"strategy",
"<",
"/",
"b",
">",
"is",
"set",
"to",
"<",
"code",
">... | [
"set",
"instance",
"pools",
"to",
"use",
"count",
"(",
"instance",
"pools",
"to",
"use",
"count",
")",
";",
"return",
"this",
";"
] |
[
"looks",
"for",
"subdirectories",
"inside",
"parent",
"handle",
"processes",
"maps",
"in",
"subdirectory",
"repeat"
] | [
"file",
"parent",
"path",
"=",
"new",
"file",
"(",
"current",
"dir",
"path",
"(",
")",
")",
";",
"file",
"[",
"]",
"directories",
"=",
"parent",
"path",
"list",
"files",
"(",
"new",
"dir",
"filter",
"(",
")",
")",
";",
"for",
"(",
"file",
"director... |
[
"returns",
"the",
"used",
"ids",
"bucket",
"for",
"the",
"given",
"tileset",
"name",
"if",
"it",
"doesn",
"t",
"exist",
"one",
"will",
"be",
"created",
"with",
"the",
"specified",
"size",
"if",
"its",
">",
"0",
"else",
"null",
"will",
"be",
"returned"
] | [
"if",
"(",
"tileset",
"used",
"ids",
"contains",
"key",
"(",
"tileset",
"name",
")",
")",
"{",
"return",
"tileset",
"used",
"ids",
"get",
"(",
"tileset",
"name",
")",
";",
"}",
"if",
"(",
"size",
"<",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}... |
[
"if",
"the",
"child",
"node",
"doesn",
"t",
"exist",
"it",
"is",
"created"
] | [
"node",
"list",
"child",
"nodes",
"=",
"parent",
"get",
"child",
"nodes",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"child",
"nodes",
"get",
"length",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"child",
"nodes",
... |
[
"if",
"the",
"child",
"node",
"or",
"attribute",
"doesn",
"t",
"exist",
"it",
"is",
"created",
"usage",
"example",
":",
"node",
"property",
"=",
"get",
"first",
"child",
"by",
"attr",
"value",
"(",
"properties",
"property",
"name",
")",
";"
] | [
"node",
"list",
"child",
"nodes",
"=",
"node",
"get",
"child",
"nodes",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"child",
"nodes",
"get",
"length",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"child",
"nodes",
"i... |
[
"{"
] | [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"cfg",
"set",
"deployment",
"mode",
"(",
"dep",
"mode",
")",
";",
"return",
"cfg",
";"
] |
[
"process",
"one",
"test"
] | [
"this",
"dep",
"mode",
"=",
"dep",
"mode",
";",
"try",
"{",
"ignite",
"ignite",
"=",
"start",
"grid",
"(",
"1",
")",
";",
"ignite",
"compute",
"(",
")",
"execute",
"(",
"task",
"class",
",",
"null",
")",
";",
"}",
"finally",
"{",
"stop",
"grid",
... |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] | [
"process",
"test",
"(",
"deployment",
"mode",
"private",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] | [
"process",
"test",
"(",
"deployment",
"mode",
"isolated",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"continous",
"mode"
] | [
"process",
"test",
"(",
"deployment",
"mode",
"continuous",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"shared",
"mode"
] | [
"process",
"test",
"(",
"deployment",
"mode",
"shared",
")",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"modes",
"(",
"modes",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"swapchain",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"device",
"group",
"swapchain",
"create",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.