docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"start",
"up",
"routine"
] | [
"assert",
"data",
"nodes",
"(",
")",
">",
"0",
";",
"assert",
"cache",
"mode",
"(",
")",
"!",
"=",
"null",
";",
"assert",
"atomicity",
"mode",
"(",
")",
"!",
"=",
"null",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"data",
"nodes",
"(",
")",
";",
"i",
"+",
"+",
")",
"g",
"start",
"(",
"configuration",
"(",
"i",
")",
")",
";"
] |
[
"<",
"p",
">",
"a",
"predefined",
"metric",
"<",
"/",
"p",
">"
] | [
"this",
"predefined",
"scaling",
"metric",
"specification",
"=",
"predefined",
"scaling",
"metric",
"specification",
";"
] |
[
"<",
"p",
">",
"a",
"predefined",
"metric",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"predefined",
"scaling",
"metric",
"specification",
";"
] |
[
"<",
"p",
">",
"a",
"predefined",
"metric",
"<",
"/",
"p",
">"
] | [
"set",
"predefined",
"scaling",
"metric",
"specification",
"(",
"predefined",
"scaling",
"metric",
"specification",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"customized",
"metric",
"<",
"/",
"p",
">"
] | [
"this",
"customized",
"scaling",
"metric",
"specification",
"=",
"customized",
"scaling",
"metric",
"specification",
";"
] |
[
"<",
"p",
">",
"a",
"customized",
"metric",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"customized",
"scaling",
"metric",
"specification",
";"
] |
[
"<",
"p",
">",
"a",
"customized",
"metric",
"<",
"/",
"p",
">"
] | [
"set",
"customized",
"scaling",
"metric",
"specification",
"(",
"customized",
"scaling",
"metric",
"specification",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amount",
"of",
"time",
"in",
"seconds",
"after",
"a",
"scale",
"out",
"activity",
"completes",
"before",
"another",
"scale",
"out",
"activity",
"can",
"start",
"this",
"value",
"is",
"not",
"used",
"if",
"the",
"scalable",
"resource",
"is",
"an",
"auto",
"scaling",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"while",
"the",
"cooldown",
"period",
"is",
"in",
"effect",
"the",
"capacity",
"that",
"has",
"been",
"added",
"by",
"the",
"previous",
"scale",
"out",
"event",
"that",
"initiated",
"the",
"cooldown",
"is",
"calculated",
"as",
"part",
"of",
"the",
"desired",
"capacity",
"for",
"the",
"next",
"scale",
"out",
"the",
"intention",
"is",
"to",
"continuously",
"(",
"but",
"not",
"excessively",
")",
"scale",
"out",
"<",
"/",
"p",
">"
] | [
"set",
"scale",
"out",
"cooldown",
"(",
"scale",
"out",
"cooldown",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amount",
"of",
"time",
"in",
"seconds",
"after",
"a",
"scale",
"in",
"activity",
"completes",
"before",
"another",
"scale",
"in",
"activity",
"can",
"start",
"this",
"value",
"is",
"not",
"used",
"if",
"the",
"scalable",
"resource",
"is",
"an",
"auto",
"scaling",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"cooldown",
"period",
"is",
"used",
"to",
"block",
"subsequent",
"scale",
"in",
"requests",
"until",
"it",
"has",
"expired",
"the",
"intention",
"is",
"to",
"scale",
"in",
"conservatively",
"to",
"protect",
"your",
"application",
"s",
"availability",
"however",
"if",
"another",
"alarm",
"triggers",
"a",
"scale",
"out",
"policy",
"during",
"the",
"cooldown",
"period",
"after",
"a",
"scale",
"-",
"in",
"aws",
"auto",
"scaling",
"scales",
"out",
"your",
"scalable",
"target",
"immediately",
"<",
"/",
"p",
">"
] | [
"set",
"scale",
"in",
"cooldown",
"(",
"scale",
"in",
"cooldown",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"estimated",
"time",
"in",
"seconds",
"until",
"a",
"newly",
"launched",
"instance",
"can",
"contribute",
"to",
"the",
"cloud",
"watch",
"metrics",
"this",
"value",
"is",
"used",
"only",
"if",
"the",
"resource",
"is",
"an",
"auto",
"scaling",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"estimated",
"instance",
"warmup",
"(",
"estimated",
"instance",
"warmup",
")",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"{",
"@",
"link",
"convertor",
"}",
"for",
"a",
"class",
"or",
"interface"
] | [
"default",
"add",
"convertor",
"(",
"for",
"class",
",",
"convertor",
")",
";"
] |
[
"convert",
"object",
"to",
"json"
] | [
"string",
"builder",
"buffer",
"=",
"new",
"string",
"builder",
"(",
"get",
"string",
"buffer",
"size",
"(",
")",
")",
";",
"append",
"(",
"buffer",
",",
"object",
")",
";",
"return",
"buffer",
"to",
"string",
"(",
")",
";"
] |
[
"convert",
"json",
"to",
"object"
] | [
"source",
"source",
"=",
"new",
"string",
"source",
"(",
"json",
")",
";",
"return",
"parse",
"(",
"source",
")",
";"
] |
[
"parsing",
"utilities"
] | [
"return",
"new",
"string",
"(",
"buffer",
",",
"offset",
",",
"length",
")",
";"
] |
[
"register",
"a",
"{",
"@",
"link",
"convertor",
"}",
"for",
"a",
"class",
"or",
"interface"
] | [
"convertors",
"put",
"(",
"for",
"class",
"get",
"name",
"(",
")",
",",
"convertor",
")",
";"
] |
[
"lookup",
"a",
"convertor",
"for",
"a",
"class",
"<",
"p",
">",
"if",
"no",
"match",
"is",
"found",
"for",
"the",
"class",
"then",
"the",
"interfaces",
"for",
"the",
"class",
"are",
"tried",
"if",
"still",
"no",
"match",
"is",
"found",
"then",
"the",
"super",
"class",
"and",
"it",
"s",
"interfaces",
"are",
"tried",
"recursively"
] | [
"class",
"cls",
"=",
"for",
"class",
";",
"convertor",
"convertor",
"=",
"convertors",
"get",
"(",
"cls",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"convertor",
"=",
"=",
"null",
"&",
"&",
"this",
"!",
"=",
"default",
")",
"convertor",
"=",
"default",
"get",
"convertor",
"(",
"cls",
")",
";",
"while",
"(",
"convertor",
"=",
"=",
"null",
"&",
"&",
"cls",
"!",
"=",
"object",
"class",
")",
"{",
"class",
"[",
"]",
"ifs",
"=",
"cls",
"get",
"interfaces",
"(",
")",
";",
"int",
"i",
"=",
"0",
";",
"while",
"(",
"convertor",
"=",
"=",
"null",
"&",
"&",
"ifs",
"!",
"=",
"null",
"&",
"&",
"i",
"<",
"ifs",
"length",
")",
"convertor",
"=",
"convertors",
"get",
"(",
"ifs",
"[",
"i",
"+",
"+",
"]",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"convertor",
"=",
"=",
"null",
")",
"{",
"cls",
"=",
"cls",
"get",
"superclass",
"(",
")",
";",
"convertor",
"=",
"convertors",
"get",
"(",
"cls",
"get",
"name",
"(",
")",
")",
";",
"}",
"}",
"return",
"convertor",
";"
] |
[
"register",
"a",
"{",
"@",
"link",
"json",
"convertor",
"}",
"for",
"a",
"named",
"class",
"or",
"interface"
] | [
"convertors",
"put",
"(",
"name",
",",
"convertor",
")",
";"
] |
[
"lookup",
"a",
"convertor",
"for",
"a",
"named",
"class"
] | [
"convertor",
"convertor",
"=",
"convertors",
"get",
"(",
"name",
")",
";",
"if",
"(",
"convertor",
"=",
"=",
"null",
"&",
"&",
"this",
"!",
"=",
"default",
")",
"convertor",
"=",
"default",
"get",
"convertor",
"for",
"(",
"name",
")",
";",
"return",
"convertor",
";"
] |
[
"creates",
"a",
"store",
"scanner"
] | [
"list",
"<",
"store",
"file",
"scanner",
">",
"scanners",
"=",
"store",
"file",
"scanner",
"get",
"scanners",
"for",
"store",
"files",
"(",
"files",
"to",
"compact",
",",
"false",
",",
"true",
",",
"false",
",",
"false",
",",
"h",
"constants",
"latest",
"timestamp",
")",
";",
"long",
"ttl",
"=",
"h",
"store",
"determine",
"t",
"t",
"l",
"from",
"family",
"(",
"column",
")",
";",
"scan",
"info",
"scan",
"info",
"=",
"new",
"scan",
"info",
"(",
"conf",
",",
"column",
",",
"ttl",
",",
"0",
",",
"cell",
"comparator",
"get",
"instance",
"(",
")",
")",
";",
"return",
"new",
"store",
"scanner",
"(",
"scan",
"info",
",",
"scan",
"type",
",",
"scanners",
")",
";"
] |
[
"<",
"code",
">",
"set",
"<",
"/",
"code",
">",
"sets",
"the",
"x",
"y",
"z",
"w",
"values",
"of",
"the",
"vector",
"based",
"on",
"passed",
"parameters"
] | [
"this",
"x",
"=",
"x",
";",
"this",
"y",
"=",
"y",
";",
"this",
"z",
"=",
"z",
";",
"this",
"w",
"=",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"set",
"<",
"/",
"code",
">",
"sets",
"the",
"x",
"y",
"z",
"values",
"of",
"the",
"vector",
"by",
"copying",
"the",
"supplied",
"vector"
] | [
"this",
"x",
"=",
"vect",
"x",
";",
"this",
"y",
"=",
"vect",
"y",
";",
"this",
"z",
"=",
"vect",
"z",
";",
"this",
"w",
"=",
"vect",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"add",
"local",
"<",
"/",
"code",
">",
"adds",
"the",
"provided",
"values",
"to",
"this",
"vector",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls"
] | [
"x",
"+",
"=",
"add",
"x",
";",
"y",
"+",
"=",
"add",
"y",
";",
"z",
"+",
"=",
"add",
"z",
";",
"w",
"+",
"=",
"add",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"length",
"squared",
"<",
"/",
"code",
">",
"calculates",
"the",
"squared",
"value",
"of",
"the",
"magnitude",
"of",
"the",
"vector"
] | [
"return",
"x",
"*",
"x",
"+",
"y",
"*",
"y",
"+",
"z",
"*",
"z",
"+",
"w",
"*",
"w",
";"
] |
[
"<",
"code",
">",
"distance",
"squared",
"<",
"/",
"code",
">",
"calculates",
"the",
"distance",
"squared",
"between",
"this",
"vector",
"and",
"vector",
"v"
] | [
"double",
"dx",
"=",
"x",
"-",
"v",
"x",
";",
"double",
"dy",
"=",
"y",
"-",
"v",
"y",
";",
"double",
"dz",
"=",
"z",
"-",
"v",
"z",
";",
"double",
"dw",
"=",
"w",
"-",
"v",
"w",
";",
"return",
"(",
"float",
")",
"(",
"dx",
"*",
"dx",
"+",
"dy",
"*",
"dy",
"+",
"dz",
"*",
"dz",
"+",
"dw",
"*",
"dw",
")",
";"
] |
[
"<",
"code",
">",
"distance",
"<",
"/",
"code",
">",
"calculates",
"the",
"distance",
"between",
"this",
"vector",
"and",
"vector",
"v"
] | [
"return",
"fast",
"math",
"sqrt",
"(",
"distance",
"squared",
"(",
"v",
")",
")",
";"
] |
[
"<",
"code",
">",
"mult",
"local",
"<",
"/",
"code",
">",
"multiplies",
"this",
"vector",
"by",
"a",
"scalar",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls"
] | [
"x",
"*",
"=",
"scalar",
";",
"y",
"*",
"=",
"scalar",
";",
"z",
"*",
"=",
"scalar",
";",
"w",
"*",
"=",
"scalar",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"mult",
"local",
"<",
"/",
"code",
">",
"multiplies",
"this",
"vector",
"by",
"3",
"scalars",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls"
] | [
"this",
"x",
"*",
"=",
"x",
";",
"this",
"y",
"*",
"=",
"y",
";",
"this",
"z",
"*",
"=",
"z",
";",
"this",
"w",
"*",
"=",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"divide",
"<",
"/",
"code",
">",
"divides",
"the",
"values",
"of",
"this",
"vector",
"by",
"a",
"scalar",
"and",
"returns",
"the",
"result",
"the",
"values",
"of",
"this",
"vector",
"remain",
"untouched"
] | [
"scalar",
"=",
"1f",
"/",
"scalar",
";",
"return",
"new",
"vector",
"4f",
"(",
"x",
"*",
"scalar",
",",
"y",
"*",
"scalar",
",",
"z",
"*",
"scalar",
",",
"w",
"*",
"scalar",
")",
";"
] |
[
"<",
"code",
">",
"divide",
"local",
"<",
"/",
"code",
">",
"divides",
"this",
"vector",
"by",
"a",
"scalar",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls",
"dividing",
"by",
"zero",
"will",
"result",
"in",
"an",
"exception"
] | [
"scalar",
"=",
"1f",
"/",
"scalar",
";",
"x",
"*",
"=",
"scalar",
";",
"y",
"*",
"=",
"scalar",
";",
"z",
"*",
"=",
"scalar",
";",
"w",
"*",
"=",
"scalar",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"divide",
"<",
"/",
"code",
">",
"divides",
"the",
"values",
"of",
"this",
"vector",
"by",
"a",
"scalar",
"and",
"returns",
"the",
"result",
"the",
"values",
"of",
"this",
"vector",
"remain",
"untouched"
] | [
"return",
"new",
"vector",
"4f",
"(",
"x",
"/",
"scalar",
"x",
",",
"y",
"/",
"scalar",
"y",
",",
"z",
"/",
"scalar",
"z",
",",
"w",
"/",
"scalar",
"w",
")",
";"
] |
[
"<",
"code",
">",
"divide",
"local",
"<",
"/",
"code",
">",
"divides",
"this",
"vector",
"by",
"a",
"scalar",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls",
"dividing",
"by",
"zero",
"will",
"result",
"in",
"an",
"exception"
] | [
"x",
"/",
"=",
"scalar",
"x",
";",
"y",
"/",
"=",
"scalar",
"y",
";",
"z",
"/",
"=",
"scalar",
"z",
";",
"w",
"/",
"=",
"scalar",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"subtract",
"local",
"<",
"/",
"code",
">",
"subtracts",
"the",
"provided",
"values",
"from",
"this",
"vector",
"internally",
"and",
"returns",
"a",
"handle",
"to",
"this",
"vector",
"for",
"easy",
"chaining",
"of",
"calls"
] | [
"x",
"-",
"=",
"subtract",
"x",
";",
"y",
"-",
"=",
"subtract",
"y",
";",
"z",
"-",
"=",
"subtract",
"z",
";",
"w",
"-",
"=",
"subtract",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"max",
"local",
"<",
"/",
"code",
">",
"computes",
"the",
"maximum",
"value",
"for",
"each",
"component",
"in",
"this",
"and",
"<",
"code",
">",
"other",
"<",
"/",
"code",
">",
"vector",
"the",
"result",
"is",
"stored",
"in",
"this",
"vector"
] | [
"x",
"=",
"other",
"x",
">",
"x",
"?",
"other",
"x",
":",
"x",
";",
"y",
"=",
"other",
"y",
">",
"y",
"?",
"other",
"y",
":",
"y",
";",
"z",
"=",
"other",
"z",
">",
"z",
"?",
"other",
"z",
":",
"z",
";",
"w",
"=",
"other",
"w",
">",
"w",
"?",
"other",
"w",
":",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"min",
"local",
"<",
"/",
"code",
">",
"computes",
"the",
"minimum",
"value",
"for",
"each",
"component",
"in",
"this",
"and",
"<",
"code",
">",
"other",
"<",
"/",
"code",
">",
"vector",
"the",
"result",
"is",
"stored",
"in",
"this",
"vector"
] | [
"x",
"=",
"other",
"x",
"<",
"x",
"?",
"other",
"x",
":",
"x",
";",
"y",
"=",
"other",
"y",
"<",
"y",
"?",
"other",
"y",
":",
"y",
";",
"z",
"=",
"other",
"z",
"<",
"z",
"?",
"other",
"z",
":",
"z",
";",
"w",
"=",
"other",
"w",
"<",
"w",
"?",
"other",
"w",
":",
"w",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"zero",
"<",
"/",
"code",
">",
"resets",
"this",
"vector",
"s",
"data",
"to",
"zero",
"internally"
] | [
"x",
"=",
"y",
"=",
"z",
"=",
"w",
"=",
"0",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"angle",
"between",
"<",
"/",
"code",
">",
"returns",
"(",
"in",
"radians",
")",
"the",
"angle",
"between",
"two",
"vectors",
"it",
"is",
"assumed",
"that",
"both",
"this",
"vector",
"and",
"the",
"given",
"vector",
"are",
"unit",
"vectors",
"(",
"iow",
"normalized",
")"
] | [
"float",
"dot",
"product",
"=",
"dot",
"(",
"other",
"vector",
")",
";",
"float",
"angle",
"=",
"fast",
"math",
"acos",
"(",
"dot",
"product",
")",
";",
"return",
"angle",
";"
] |
[
"sets",
"this",
"vector",
"to",
"the",
"interpolation",
"by",
"change",
"amnt",
"from",
"this",
"to",
"the",
"final",
"vec",
"this",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"this",
"+",
"change",
"amnt",
"*",
"final",
"vec"
] | [
"this",
"x",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"this",
"x",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"x",
";",
"this",
"y",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"this",
"y",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"y",
";",
"this",
"z",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"this",
"z",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"z",
";",
"this",
"w",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"this",
"w",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"w",
";",
"return",
"this",
";"
] |
[
"sets",
"this",
"vector",
"to",
"the",
"interpolation",
"by",
"change",
"amnt",
"from",
"begin",
"vec",
"to",
"final",
"vec",
"this",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"begin",
"vec",
"+",
"change",
"amnt",
"*",
"final",
"vec"
] | [
"this",
"x",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"begin",
"vec",
"x",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"x",
";",
"this",
"y",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"begin",
"vec",
"y",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"y",
";",
"this",
"z",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"begin",
"vec",
"z",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"z",
";",
"this",
"w",
"=",
"(",
"1",
"-",
"change",
"amnt",
")",
"*",
"begin",
"vec",
"w",
"+",
"change",
"amnt",
"*",
"final",
"vec",
"w",
";",
"return",
"this",
";"
] |
[
"check",
"a",
"vector",
"if",
"it",
"is",
"null",
"or",
"its",
"floats",
"are",
"na",
"n",
"or",
"infinite",
"return",
"false",
"else",
"return",
"true"
] | [
"if",
"(",
"vector",
"=",
"=",
"null",
")",
"return",
"false",
";",
"if",
"(",
"float",
"is",
"na",
"n",
"(",
"vector",
"x",
")",
"|",
"|",
"float",
"is",
"na",
"n",
"(",
"vector",
"y",
")",
"|",
"|",
"float",
"is",
"na",
"n",
"(",
"vector",
"z",
")",
"|",
"|",
"float",
"is",
"na",
"n",
"(",
"vector",
"w",
")",
")",
"return",
"false",
";",
"if",
"(",
"float",
"is",
"infinite",
"(",
"vector",
"x",
")",
"|",
"|",
"float",
"is",
"infinite",
"(",
"vector",
"y",
")",
"|",
"|",
"float",
"is",
"infinite",
"(",
"vector",
"z",
")",
"|",
"|",
"float",
"is",
"infinite",
"(",
"vector",
"w",
")",
")",
"return",
"false",
";",
"return",
"true",
";"
] |
[
"saves",
"this",
"vector",
"3f",
"into",
"the",
"given",
"float",
"[",
"]",
"object"
] | [
"if",
"(",
"floats",
"=",
"=",
"null",
")",
"{",
"floats",
"=",
"new",
"float",
"[",
"4",
"]",
";",
"}",
"floats",
"[",
"0",
"]",
"=",
"x",
";",
"floats",
"[",
"1",
"]",
"=",
"y",
";",
"floats",
"[",
"2",
"]",
"=",
"z",
";",
"floats",
"[",
"3",
"]",
"=",
"w",
";",
"return",
"floats",
";"
] |
[
"are",
"these",
"two",
"vectors",
"the",
"same",
"?",
"they",
"are",
"is",
"they",
"both",
"have",
"the",
"same",
"x",
"y",
"and",
"z",
"values"
] | [
"if",
"(",
"!",
"(",
"o",
"instanceof",
"vector",
"4f",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"this",
"=",
"=",
"o",
")",
"{",
"return",
"true",
";",
"}",
"vector",
"4f",
"comp",
"=",
"(",
"vector",
"4f",
")",
"o",
";",
"if",
"(",
"float",
"compare",
"(",
"x",
",",
"comp",
"x",
")",
"!",
"=",
"0",
")",
"return",
"false",
";",
"if",
"(",
"float",
"compare",
"(",
"y",
",",
"comp",
"y",
")",
"!",
"=",
"0",
")",
"return",
"false",
";",
"if",
"(",
"float",
"compare",
"(",
"z",
",",
"comp",
"z",
")",
"!",
"=",
"0",
")",
"return",
"false",
";",
"if",
"(",
"float",
"compare",
"(",
"w",
",",
"comp",
"w",
")",
"!",
"=",
"0",
")",
"return",
"false",
";",
"return",
"true",
";"
] |
[
"<",
"code",
">",
"hash",
"code",
"<",
"/",
"code",
">",
"returns",
"a",
"unique",
"code",
"for",
"this",
"vector",
"object",
"based",
"on",
"its",
"values",
"if",
"two",
"vectors",
"are",
"logically",
"equivalent",
"they",
"will",
"return",
"the",
"same",
"hash",
"code",
"value"
] | [
"int",
"hash",
"=",
"37",
";",
"hash",
"+",
"=",
"37",
"*",
"hash",
"+",
"float",
"float",
"to",
"int",
"bits",
"(",
"x",
")",
";",
"hash",
"+",
"=",
"37",
"*",
"hash",
"+",
"float",
"float",
"to",
"int",
"bits",
"(",
"y",
")",
";",
"hash",
"+",
"=",
"37",
"*",
"hash",
"+",
"float",
"float",
"to",
"int",
"bits",
"(",
"z",
")",
";",
"hash",
"+",
"=",
"37",
"*",
"hash",
"+",
"float",
"float",
"to",
"int",
"bits",
"(",
"w",
")",
";",
"return",
"hash",
";"
] |
[
"or",
"make",
"solo",
"server",
"mode",
"call",
"the",
"api"
] | [
"this",
"is",
"executor",
"active",
"=",
"is",
"active",
";",
"if",
"(",
"this",
"is",
"executor",
"active",
")",
"{",
"this",
"installed",
"projects",
"=",
"this",
"load",
"existing",
"projects",
"as",
"cache",
"(",
")",
";",
"}"
] |
[
"checks",
"if",
"the",
"project",
"version",
"contains",
"any",
"running",
"flow"
] | [
"final",
"pair",
"<",
"integer",
",",
"integer",
">",
"version",
"key",
"=",
"new",
"pair",
"<",
">",
"(",
"version",
"get",
"project",
"id",
"(",
")",
",",
"version",
"get",
"version",
"(",
")",
")",
";",
"return",
"get",
"active",
"project",
"versions",
"(",
")",
"contains",
"(",
"version",
"key",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"returned",
"by",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"parameters",
"=",
"=",
"null",
")",
"{",
"parameters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"parameter",
"history",
">",
"(",
")",
";",
"}",
"return",
"parameters",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"returned",
"by",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"parameters",
"=",
"=",
"null",
")",
"{",
"this",
"parameters",
"=",
"null",
";",
"return",
";",
"}",
"this",
"parameters",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"parameter",
"history",
">",
"(",
"parameters",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"returned",
"by",
"the",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"parameters",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"parameters",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"parameters",
"=",
"=",
"null",
")",
"{",
"set",
"parameters",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"parameter",
"history",
">",
"(",
"parameters",
"length",
")",
")",
";",
"}",
"for",
"(",
"parameter",
"history",
"ele",
":",
"parameters",
")",
"{",
"this",
"parameters",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"returned",
"by",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"parameters",
"(",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"token",
"to",
"use",
"when",
"requesting",
"the",
"next",
"set",
"of",
"items",
"if",
"there",
"are",
"no",
"additional",
"items",
"to",
"return",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"called",
"internally",
"by",
"com",
"jme",
"3",
"util",
"clone",
"cloner",
"do",
"not",
"call",
"directly"
] | [
"this",
"center",
"=",
"cloner",
"clone",
"(",
"center",
")",
";"
] |
[
"<",
"p",
">",
"collection",
"of",
"objects",
"containing",
"properties",
"for",
"each",
"player",
"session",
"that",
"matches",
"the",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"player",
"sessions",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"player",
"sessions",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"player",
"sessions",
"=",
"=",
"null",
")",
"{",
"set",
"player",
"sessions",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"player",
"session",
">",
"(",
"player",
"sessions",
"length",
")",
")",
";",
"}",
"for",
"(",
"player",
"session",
"ele",
":",
"player",
"sessions",
")",
"{",
"this",
"player",
"sessions",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"collection",
"of",
"objects",
"containing",
"properties",
"for",
"each",
"player",
"session",
"that",
"matches",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"player",
"sessions",
"(",
"player",
"sessions",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"token",
"that",
"indicates",
"where",
"to",
"resume",
"retrieving",
"results",
"on",
"the",
"next",
"call",
"to",
"this",
"action",
"if",
"no",
"token",
"is",
"returned",
"these",
"results",
"represent",
"the",
"end",
"of",
"the",
"list",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"name",
"that",
"realm",
"core",
"uses",
"when",
"saving",
"data",
"from",
"this",
"java",
"class"
] | [
"return",
"internal",
"class",
"name",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"the",
"list",
"of",
"commands",
"requested",
"by",
"the",
"user",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"commands",
"=",
"=",
"null",
")",
"{",
"commands",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"command",
">",
"(",
")",
";",
"}",
"return",
"commands",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"the",
"list",
"of",
"commands",
"requested",
"by",
"the",
"user",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"commands",
"=",
"=",
"null",
")",
"{",
"this",
"commands",
"=",
"null",
";",
"return",
";",
"}",
"this",
"commands",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"command",
">",
"(",
"commands",
")",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"command",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"each",
"of",
"the",
"specified",
"commands",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"commands",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"commands",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"commands",
"=",
"=",
"null",
")",
"{",
"set",
"commands",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"command",
">",
"(",
"commands",
"length",
")",
")",
";",
"}",
"for",
"(",
"command",
"ele",
":",
"commands",
")",
"{",
"this",
"commands",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"command",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"each",
"of",
"the",
"specified",
"commands",
"<",
"/",
"p",
">"
] | [
"set",
"commands",
"(",
"commands",
")",
";",
"return",
"this",
";"
] |
[
"get",
"the",
"number",
"of",
"replies"
] | [
"return",
"(",
"short",
")",
"proto",
"get",
"reply",
"count",
"(",
")",
";"
] |
[
"get",
"the",
"header",
"flag",
"of",
"ith",
"reply"
] | [
"if",
"(",
"proto",
"get",
"flag",
"count",
"(",
")",
">",
"0",
")",
"{",
"return",
"proto",
"get",
"flag",
"(",
"i",
")",
";",
"}",
"else",
"{",
"return",
"combine",
"header",
"(",
"ecn",
"disabled",
",",
"proto",
"get",
"reply",
"(",
"i",
")",
")",
";",
"}"
] |
[
"get",
"the",
"time",
"elapsed",
"for",
"downstream",
"ack",
"rtt",
"in",
"nanoseconds"
] | [
"return",
"proto",
"get",
"downstream",
"ack",
"time",
"nanos",
"(",
")",
";"
] |
[
"check",
"if",
"this",
"ack",
"contains",
"error",
"status"
] | [
"for",
"(",
"status",
"s",
":",
"proto",
"get",
"reply",
"list",
"(",
")",
")",
"{",
"if",
"(",
"s",
"!",
"=",
"status",
"success",
")",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"true",
";"
] |
[
"get",
"the",
"restart",
"oob",
"ack",
"status"
] | [
"return",
"status",
"oob",
"restart",
";"
] |
[
"return",
"true",
"if",
"it",
"is",
"the",
"restart",
"oob",
"status",
"code"
] | [
"return",
"st",
"equals",
"(",
"status",
"oob",
"restart",
")",
";"
] |
[
"*",
"*",
"writable",
"interface",
"*",
"*",
"*"
] | [
"proto",
"=",
"pipeline",
"ack",
"proto",
"parse",
"from",
"(",
"vint",
"prefixed",
"(",
"in",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"parent",
"command",
"id",
"of",
"the",
"invocation",
"plugin",
"<",
"/",
"p",
">"
] | [
"set",
"command",
"id",
"(",
"command",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"managed",
"instance",
"targeted",
"by",
"the",
"command",
"a",
"managed",
"instance",
"can",
"be",
"an",
"amazon",
"ec2",
"instance",
"or",
"an",
"instance",
"in",
"your",
"hybrid",
"environment",
"that",
"is",
"configured",
"for",
"systems",
"manager",
"<",
"/",
"p",
">"
] | [
"set",
"instance",
"id",
"(",
"instance",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"comment",
"text",
"for",
"the",
"command",
"<",
"/",
"p",
">"
] | [
"set",
"comment",
"(",
"comment",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"document",
"that",
"was",
"executed",
"for",
"example",
"aws",
"-",
"run",
"shell",
"script",
"<",
"/",
"p",
">"
] | [
"set",
"document",
"name",
"(",
"document",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"ssm",
"document",
"version",
"used",
"in",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"document",
"version",
"(",
"document",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"the",
"name",
"of",
"the",
"plugin",
"for",
"which",
"you",
"want",
"detailed",
"results",
"if",
"the",
"document",
"contains",
"only",
"one",
"plugin",
"the",
"name",
"can",
"be",
"omitted",
"and",
"the",
"details",
"will",
"be",
"returned",
"<",
"/",
"p",
">"
] | [
"this",
"plugin",
"name",
"=",
"plugin",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"plugin",
"for",
"which",
"you",
"want",
"detailed",
"results",
"for",
"example",
"aws",
":",
"run",
"shell",
"script",
"is",
"a",
"plugin",
"<",
"/",
"p",
">"
] | [
"set",
"plugin",
"name",
"(",
"plugin",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"numeric",
"response",
"code",
"generated",
"after",
"executing",
"the",
"plugin",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"response",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"error",
"level",
"response",
"code",
"for",
"the",
"plugin",
"script",
"if",
"the",
"response",
"code",
"is",
"-",
"1",
"then",
"the",
"command",
"has",
"not",
"started",
"executing",
"on",
"the",
"instance",
"or",
"it",
"was",
"not",
"received",
"by",
"the",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"response",
"code",
"(",
"response",
"code",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"started",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"before",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"before",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"this",
"execution",
"start",
"date",
"time",
"=",
"execution",
"start",
"date",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"started",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"before",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"before",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"execution",
"start",
"date",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"started",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"before",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"before",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"execution",
"start",
"date",
"time",
"(",
"execution",
"start",
"date",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"duration",
"since",
"execution",
"start",
"date",
"time",
"<",
"/",
"p",
">"
] | [
"this",
"execution",
"elapsed",
"time",
"=",
"execution",
"elapsed",
"time",
";"
] |
[
"<",
"p",
">",
"duration",
"since",
"execution",
"start",
"date",
"time",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"execution",
"elapsed",
"time",
";"
] |
[
"<",
"p",
">",
"duration",
"since",
"execution",
"start",
"date",
"time",
"<",
"/",
"p",
">"
] | [
"set",
"execution",
"elapsed",
"time",
"(",
"execution",
"elapsed",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"was",
"finished",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"after",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"after",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"this",
"execution",
"end",
"date",
"time",
"=",
"execution",
"end",
"date",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"was",
"finished",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"after",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"after",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"execution",
"end",
"date",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"plugin",
"was",
"finished",
"executing",
"date",
"and",
"time",
"are",
"written",
"in",
"iso",
"8601",
"format",
"for",
"example",
"june",
"7",
"2017",
"is",
"represented",
"as",
"2017",
"-",
"06",
"-",
"7",
"the",
"following",
"sample",
"aws",
"cli",
"command",
"uses",
"the",
"<",
"code",
">",
"invoked",
"after",
"<",
"/",
"code",
">",
"filter",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"aws",
"ssm",
"list",
"-",
"commands",
"-",
"-",
"filters",
"key",
"=",
"invoked",
"after",
"value",
"=",
"2017",
"-",
"06",
"-",
"07t00",
":",
"00",
":",
"00z",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"plugin",
"has",
"not",
"started",
"to",
"execute",
"the",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"execution",
"end",
"date",
"time",
"(",
"execution",
"end",
"date",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"this",
"invocation",
"plugin",
"this",
"status",
"can",
"be",
"different",
"than",
"status",
"details",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"or",
"not",
"the",
"invocation",
"succeeded",
"failed",
"or",
"is",
"pending",
"<",
"/",
"p",
">"
] | [
"with",
"status",
"(",
"status",
")",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"this",
"invocation",
"plugin",
"this",
"status",
"can",
"be",
"different",
"than",
"status",
"details",
"<",
"/",
"p",
">"
] | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"detailed",
"status",
"of",
"the",
"command",
"execution",
"for",
"an",
"invocation",
"status",
"details",
"includes",
"more",
"information",
"than",
"status",
"because",
"it",
"includes",
"states",
"resulting",
"from",
"error",
"and",
"concurrency",
"control",
"parameters",
"status",
"details",
"can",
"show",
"different",
"results",
"than",
"status",
"for",
"more",
"information",
"about",
"these",
"statuses",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"systems",
"-",
"manager",
"/",
"latest",
"/",
"userguide",
"/",
"monitor",
"-",
"commands",
"html",
">",
"understanding",
"command",
"statuses",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"aws",
"systems",
"manager",
"user",
"guide",
"<",
"/",
"i",
">",
"status",
"details",
"can",
"be",
"one",
"of",
"the",
"following",
"values",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"pending",
":",
"the",
"command",
"has",
"not",
"been",
"sent",
"to",
"the",
"instance",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"in",
"progress",
":",
"the",
"command",
"has",
"been",
"sent",
"to",
"the",
"instance",
"but",
"has",
"not",
"reached",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"delayed",
":",
"the",
"system",
"attempted",
"to",
"send",
"the",
"command",
"to",
"the",
"target",
"but",
"the",
"target",
"was",
"not",
"available",
"the",
"instance",
"might",
"not",
"be",
"available",
"because",
"of",
"network",
"issues",
"the",
"instance",
"was",
"stopped",
"etc",
"the",
"system",
"will",
"try",
"to",
"deliver",
"the",
"command",
"again",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"success",
":",
"the",
"command",
"or",
"plugin",
"was",
"executed",
"successfully",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"delivery",
"timed",
"out",
":",
"the",
"command",
"was",
"not",
"delivered",
"to",
"the",
"instance",
"before",
"the",
"delivery",
"timeout",
"expired",
"delivery",
"timeouts",
"do",
"not",
"count",
"against",
"the",
"parent",
"command",
"s",
"max",
"errors",
"limit",
"but",
"they",
"do",
"contribute",
"to",
"whether",
"the",
"parent",
"command",
"status",
"is",
"success",
"or",
"incomplete",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"execution",
"timed",
"out",
":",
"the",
"command",
"started",
"to",
"execute",
"on",
"the",
"instance",
"but",
"the",
"execution",
"was",
"not",
"complete",
"before",
"the",
"timeout",
"expired",
"execution",
"timeouts",
"count",
"against",
"the",
"max",
"errors",
"limit",
"of",
"the",
"parent",
"command",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"failed",
":",
"the",
"command",
"wasn",
"t",
"executed",
"successfully",
"on",
"the",
"instance",
"for",
"a",
"plugin",
"this",
"indicates",
"that",
"the",
"result",
"code",
"was",
"not",
"zero",
"for",
"a",
"command",
"invocation",
"this",
"indicates",
"that",
"the",
"result",
"code",
"for",
"one",
"or",
"more",
"plugins",
"was",
"not",
"zero",
"invocation",
"failures",
"count",
"against",
"the",
"max",
"errors",
"limit",
"of",
"the",
"parent",
"command",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"canceled",
":",
"the",
"command",
"was",
"terminated",
"before",
"it",
"was",
"completed",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"undeliverable",
":",
"the",
"command",
"can",
"t",
"be",
"delivered",
"to",
"the",
"instance",
"the",
"instance",
"might",
"not",
"exist",
"or",
"might",
"not",
"be",
"responding",
"undeliverable",
"invocations",
"don",
"t",
"count",
"against",
"the",
"parent",
"command",
"s",
"max",
"errors",
"limit",
"and",
"don",
"t",
"contribute",
"to",
"whether",
"the",
"parent",
"command",
"status",
"is",
"success",
"or",
"incomplete",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"terminated",
":",
"the",
"parent",
"command",
"exceeded",
"its",
"max",
"errors",
"limit",
"and",
"subsequent",
"command",
"invocations",
"were",
"canceled",
"by",
"the",
"system",
"this",
"is",
"a",
"terminal",
"state",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"status",
"details",
"(",
"status",
"details",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"24",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stdout",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"if",
"execution",
"status",
"is",
"neither",
"succeeded",
"nor",
"failed",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"this",
"standard",
"output",
"content",
"=",
"standard",
"output",
"content",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"24",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stdout",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"if",
"execution",
"status",
"is",
"neither",
"succeeded",
"nor",
"failed",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"standard",
"output",
"content",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"24",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stdout",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"if",
"execution",
"status",
"is",
"neither",
"succeeded",
"nor",
"failed",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"standard",
"output",
"content",
"(",
"standard",
"output",
"content",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"to",
"the",
"plugin",
"s",
"std",
"out",
"file",
"in",
"amazon",
"s3",
"if",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"parent",
"command",
"for",
"an",
"invocation",
"standard",
"output",
"url",
"is",
"populated",
"if",
"there",
"is",
"just",
"one",
"plugin",
"defined",
"for",
"the",
"command",
"and",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"command",
"<",
"/",
"p",
">"
] | [
"this",
"standard",
"output",
"url",
"=",
"standard",
"output",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"to",
"the",
"plugin",
"s",
"std",
"out",
"file",
"in",
"amazon",
"s3",
"if",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"parent",
"command",
"for",
"an",
"invocation",
"standard",
"output",
"url",
"is",
"populated",
"if",
"there",
"is",
"just",
"one",
"plugin",
"defined",
"for",
"the",
"command",
"and",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"command",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"standard",
"output",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"for",
"the",
"complete",
"text",
"written",
"by",
"the",
"plugin",
"to",
"stdout",
"in",
"amazon",
"s3",
"if",
"an",
"amazon",
"s3",
"bucket",
"was",
"not",
"specified",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"standard",
"output",
"url",
"(",
"standard",
"output",
"url",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"8",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stderr",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"this",
"standard",
"error",
"content",
"=",
"standard",
"error",
"content",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"8",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stderr",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"standard",
"error",
"content",
";"
] |
[
"<",
"p",
">",
"the",
"first",
"8",
"000",
"characters",
"written",
"by",
"the",
"plugin",
"to",
"stderr",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"standard",
"error",
"content",
"(",
"standard",
"error",
"content",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"to",
"the",
"plugin",
"s",
"std",
"err",
"file",
"in",
"amazon",
"s3",
"if",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"parent",
"command",
"for",
"an",
"invocation",
"standard",
"error",
"url",
"is",
"populated",
"if",
"there",
"is",
"just",
"one",
"plugin",
"defined",
"for",
"the",
"command",
"and",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"command",
"<",
"/",
"p",
">"
] | [
"this",
"standard",
"error",
"url",
"=",
"standard",
"error",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"to",
"the",
"plugin",
"s",
"std",
"err",
"file",
"in",
"amazon",
"s3",
"if",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"parent",
"command",
"for",
"an",
"invocation",
"standard",
"error",
"url",
"is",
"populated",
"if",
"there",
"is",
"just",
"one",
"plugin",
"defined",
"for",
"the",
"command",
"and",
"the",
"amazon",
"s3",
"bucket",
"was",
"defined",
"for",
"the",
"command",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"standard",
"error",
"url",
";"
] |
[
"<",
"p",
">",
"the",
"url",
"for",
"the",
"complete",
"text",
"written",
"by",
"the",
"plugin",
"to",
"stderr",
"if",
"the",
"command",
"has",
"not",
"finished",
"executing",
"then",
"this",
"string",
"is",
"empty",
"<",
"/",
"p",
">"
] | [
"set",
"standard",
"error",
"url",
"(",
"standard",
"error",
"url",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"cloud",
"watch",
"logs",
"information",
"where",
"systems",
"manager",
"sent",
"the",
"command",
"output",
"<",
"/",
"p",
">"
] | [
"set",
"cloud",
"watch",
"output",
"config",
"(",
"cloud",
"watch",
"output",
"config",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.