docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"equivalent",
"to",
"{"
] | [
"return",
"request",
"get",
"user",
"principal",
"(",
")",
";"
] |
[
"determine",
"if",
"a",
"{"
] | [
"if",
"(",
"has",
"at",
"least",
"one",
"annotation",
"(",
"(",
"annotated",
"node",
")",
"node",
",",
"annotations",
")",
")",
"{",
"return",
"true",
";",
"}",
"for",
"(",
"method",
"node",
"method",
":",
"node",
"get",
"methods",
"(",
")",
")",
"{",
"if",
"(",
"has",
"at",
"least",
"one",
"annotation",
"(",
"method",
",",
"annotations",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"determine",
"if",
"an",
"{"
] | [
"for",
"(",
"annotation",
"node",
"annotation",
"node",
":",
"node",
"get",
"annotations",
"(",
")",
")",
"{",
"for",
"(",
"string",
"annotation",
":",
"annotations",
")",
"{",
"if",
"(",
"pattern",
"match",
"utils",
"simple",
"match",
"(",
"annotation",
",",
"annotation",
"node",
"get",
"class",
"node",
"(",
")",
"get",
"name",
"(",
")",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"}",
"return",
"false",
";"
] |
[
"determine",
"if",
"a",
"{"
] | [
"set",
"<",
"string",
">",
"types",
"set",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
"arrays",
"as",
"list",
"(",
"types",
")",
")",
";",
"for",
"(",
"field",
"node",
"field",
":",
"node",
"get",
"fields",
"(",
")",
")",
"{",
"if",
"(",
"types",
"set",
"contains",
"(",
"field",
"get",
"type",
"(",
")",
"get",
"name",
"(",
")",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"for",
"(",
"method",
"node",
"method",
":",
"node",
"get",
"methods",
"(",
")",
")",
"{",
"if",
"(",
"types",
"set",
"contains",
"(",
"method",
"get",
"return",
"type",
"(",
")",
"get",
"name",
"(",
")",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"determine",
"if",
"a",
"{"
] | [
"for",
"(",
"string",
"type",
":",
"types",
")",
"{",
"if",
"(",
"node",
"get",
"super",
"class",
"(",
")",
"get",
"name",
"(",
")",
"equals",
"(",
"type",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"extract",
"a",
"top",
"-",
"level",
"{"
] | [
"for",
"(",
"expression",
"statement",
"statement",
":",
"get",
"expression",
"statements",
"(",
"block",
")",
")",
"{",
"expression",
"expression",
"=",
"statement",
"get",
"expression",
"(",
")",
";",
"if",
"(",
"expression",
"instanceof",
"method",
"call",
"expression",
")",
"{",
"closure",
"expression",
"closure",
"=",
"get",
"closure",
"(",
"name",
",",
"(",
"method",
"call",
"expression",
")",
"expression",
")",
";",
"if",
"(",
"closure",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"remove",
")",
"{",
"block",
"get",
"statements",
"(",
")",
"remove",
"(",
"statement",
")",
";",
"}",
"return",
"closure",
";",
"}",
"}",
"}",
"return",
"null",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">"
] | [
"set",
"event",
"description",
"(",
"event",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"iam",
"fleet",
"role",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"did",
"not",
"have",
"the",
"required",
"permissions",
"either",
"to",
"launch",
"or",
"terminate",
"an",
"instance",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"temporarily",
"blacklisted",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"and",
"several",
"attempts",
"to",
"launch",
"instances",
"have",
"failed",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"fleet",
"request",
"configuration",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"instance",
"count",
"limit",
"exceeded",
"<",
"/",
"code",
">",
"-",
"you",
"ve",
"reached",
"the",
"limit",
"on",
"the",
"number",
"of",
"spot",
"instances",
"that",
"you",
"can",
"launch",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"fleet",
"request",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"has",
"been",
"validated",
"and",
"amazon",
"ec2",
"is",
"attempting",
"to",
"maintain",
"the",
"target",
"number",
"of",
"running",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"has",
"no",
"running",
"spot",
"instances",
"the",
"spot",
"fleet",
"will",
"be",
"deleted",
"two",
"days",
"after",
"its",
"instances",
"were",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"running",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"does",
"not",
"launch",
"additional",
"spot",
"instances",
"existing",
"spot",
"instances",
"continue",
"to",
"run",
"until",
"they",
"are",
"interrupted",
"or",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"terminating",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"its",
"spot",
"instances",
"are",
"terminating",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"expired",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"has",
"expired",
"a",
"subsequent",
"event",
"indicates",
"that",
"the",
"instances",
"were",
"terminated",
"if",
"the",
"request",
"was",
"created",
"with",
"<",
"code",
">",
"terminate",
"instances",
"with",
"expiration",
"<",
"/",
"code",
">",
"set",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"in",
"progress",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"to",
"modify",
"the",
"spot",
"fleet",
"request",
"was",
"accepted",
"and",
"is",
"in",
"progress",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"successful",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"was",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"price",
"update",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"for",
"a",
"launch",
"configuration",
"was",
"adjusted",
"because",
"it",
"was",
"too",
"high",
"this",
"change",
"is",
"permanent",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"submitted",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"is",
"being",
"evaluated",
"and",
"amazon",
"ec2",
"is",
"preparing",
"to",
"launch",
"the",
"target",
"number",
"of",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"instance",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launched",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"was",
"fulfilled",
"and",
"a",
"new",
"instance",
"was",
"launched",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminated",
"<",
"/",
"code",
">",
"-",
"an",
"instance",
"was",
"terminated",
"by",
"the",
"user",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"information",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"unusable",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"a",
"launch",
"specification",
"is",
"not",
"valid",
"because",
"it",
"is",
"below",
"the",
"spot",
"price",
"or",
"the",
"spot",
"price",
"is",
"above",
"the",
"on",
"-",
"demand",
"price",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fleet",
"progress",
"halted",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"every",
"launch",
"specification",
"is",
"not",
"valid",
"a",
"launch",
"specification",
"might",
"become",
"valid",
"if",
"the",
"spot",
"price",
"changes",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"event",
"sub",
"type",
"=",
"event",
"sub",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"iam",
"fleet",
"role",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"did",
"not",
"have",
"the",
"required",
"permissions",
"either",
"to",
"launch",
"or",
"terminate",
"an",
"instance",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"temporarily",
"blacklisted",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"and",
"several",
"attempts",
"to",
"launch",
"instances",
"have",
"failed",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"fleet",
"request",
"configuration",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"instance",
"count",
"limit",
"exceeded",
"<",
"/",
"code",
">",
"-",
"you",
"ve",
"reached",
"the",
"limit",
"on",
"the",
"number",
"of",
"spot",
"instances",
"that",
"you",
"can",
"launch",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"fleet",
"request",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"has",
"been",
"validated",
"and",
"amazon",
"ec2",
"is",
"attempting",
"to",
"maintain",
"the",
"target",
"number",
"of",
"running",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"has",
"no",
"running",
"spot",
"instances",
"the",
"spot",
"fleet",
"will",
"be",
"deleted",
"two",
"days",
"after",
"its",
"instances",
"were",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"running",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"does",
"not",
"launch",
"additional",
"spot",
"instances",
"existing",
"spot",
"instances",
"continue",
"to",
"run",
"until",
"they",
"are",
"interrupted",
"or",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"terminating",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"its",
"spot",
"instances",
"are",
"terminating",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"expired",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"has",
"expired",
"a",
"subsequent",
"event",
"indicates",
"that",
"the",
"instances",
"were",
"terminated",
"if",
"the",
"request",
"was",
"created",
"with",
"<",
"code",
">",
"terminate",
"instances",
"with",
"expiration",
"<",
"/",
"code",
">",
"set",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"in",
"progress",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"to",
"modify",
"the",
"spot",
"fleet",
"request",
"was",
"accepted",
"and",
"is",
"in",
"progress",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"successful",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"was",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"price",
"update",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"for",
"a",
"launch",
"configuration",
"was",
"adjusted",
"because",
"it",
"was",
"too",
"high",
"this",
"change",
"is",
"permanent",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"submitted",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"is",
"being",
"evaluated",
"and",
"amazon",
"ec2",
"is",
"preparing",
"to",
"launch",
"the",
"target",
"number",
"of",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"instance",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launched",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"was",
"fulfilled",
"and",
"a",
"new",
"instance",
"was",
"launched",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminated",
"<",
"/",
"code",
">",
"-",
"an",
"instance",
"was",
"terminated",
"by",
"the",
"user",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"information",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"unusable",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"a",
"launch",
"specification",
"is",
"not",
"valid",
"because",
"it",
"is",
"below",
"the",
"spot",
"price",
"or",
"the",
"spot",
"price",
"is",
"above",
"the",
"on",
"-",
"demand",
"price",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fleet",
"progress",
"halted",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"every",
"launch",
"specification",
"is",
"not",
"valid",
"a",
"launch",
"specification",
"might",
"become",
"valid",
"if",
"the",
"spot",
"price",
"changes",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"return",
"this",
"event",
"sub",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"iam",
"fleet",
"role",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"did",
"not",
"have",
"the",
"required",
"permissions",
"either",
"to",
"launch",
"or",
"terminate",
"an",
"instance",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"temporarily",
"blacklisted",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"and",
"several",
"attempts",
"to",
"launch",
"instances",
"have",
"failed",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"fleet",
"request",
"configuration",
"invalid",
"<",
"/",
"code",
">",
"-",
"the",
"configuration",
"is",
"not",
"valid",
"for",
"more",
"information",
"see",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"spot",
"instance",
"count",
"limit",
"exceeded",
"<",
"/",
"code",
">",
"-",
"you",
"ve",
"reached",
"the",
"limit",
"on",
"the",
"number",
"of",
"spot",
"instances",
"that",
"you",
"can",
"launch",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"fleet",
"request",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"active",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"has",
"been",
"validated",
"and",
"amazon",
"ec2",
"is",
"attempting",
"to",
"maintain",
"the",
"target",
"number",
"of",
"running",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"has",
"no",
"running",
"spot",
"instances",
"the",
"spot",
"fleet",
"will",
"be",
"deleted",
"two",
"days",
"after",
"its",
"instances",
"were",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"running",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"does",
"not",
"launch",
"additional",
"spot",
"instances",
"existing",
"spot",
"instances",
"continue",
"to",
"run",
"until",
"they",
"are",
"interrupted",
"or",
"terminated",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"cancelled",
"terminating",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"is",
"canceled",
"and",
"its",
"spot",
"instances",
"are",
"terminating",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"expired",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"has",
"expired",
"a",
"subsequent",
"event",
"indicates",
"that",
"the",
"instances",
"were",
"terminated",
"if",
"the",
"request",
"was",
"created",
"with",
"<",
"code",
">",
"terminate",
"instances",
"with",
"expiration",
"<",
"/",
"code",
">",
"set",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"in",
"progress",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"to",
"modify",
"the",
"spot",
"fleet",
"request",
"was",
"accepted",
"and",
"is",
"in",
"progress",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"successful",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"was",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"price",
"update",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"for",
"a",
"launch",
"configuration",
"was",
"adjusted",
"because",
"it",
"was",
"too",
"high",
"this",
"change",
"is",
"permanent",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"submitted",
"<",
"/",
"code",
">",
"-",
"the",
"spot",
"fleet",
"request",
"is",
"being",
"evaluated",
"and",
"amazon",
"ec2",
"is",
"preparing",
"to",
"launch",
"the",
"target",
"number",
"of",
"spot",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"instance",
"change",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launched",
"<",
"/",
"code",
">",
"-",
"a",
"request",
"was",
"fulfilled",
"and",
"a",
"new",
"instance",
"was",
"launched",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"terminated",
"<",
"/",
"code",
">",
"-",
"an",
"instance",
"was",
"terminated",
"by",
"the",
"user",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"information",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"launch",
"spec",
"unusable",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"a",
"launch",
"specification",
"is",
"not",
"valid",
"because",
"it",
"is",
"below",
"the",
"spot",
"price",
"or",
"the",
"spot",
"price",
"is",
"above",
"the",
"on",
"-",
"demand",
"price",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fleet",
"progress",
"halted",
"<",
"/",
"code",
">",
"-",
"the",
"price",
"in",
"every",
"launch",
"specification",
"is",
"not",
"valid",
"a",
"launch",
"specification",
"might",
"become",
"valid",
"if",
"the",
"spot",
"price",
"changes",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"event",
"sub",
"type",
"(",
"event",
"sub",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"instance",
"this",
"information",
"is",
"available",
"only",
"for",
"<",
"code",
">",
"instance",
"change",
"<",
"/",
"code",
">",
"events",
"<",
"/",
"p",
">"
] | [
"set",
"instance",
"id",
"(",
"instance",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"detailed",
"information",
"about",
"the",
"self",
"-",
"service",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"service",
"action",
"detail",
"(",
"service",
"action",
"detail",
")",
";",
"return",
"this",
";"
] |
[
"api"
] | [
"this",
"foo",
"set",
"=",
"foo",
"set",
";"
] |
[
"loads",
"the",
"preference",
"node",
"this",
"method",
"returns",
"silently",
"if",
"the",
"node",
"does",
"not",
"exist",
"in",
"the",
"backing",
"store",
"(",
"for",
"example",
"non",
"-",
"existent",
"project",
")"
] | [
"load",
"(",
"file",
"path",
")",
";"
] |
[
"/",
"*",
"encode",
"the",
"given",
"path",
"and",
"key",
"combo",
"to",
"a",
"form",
"which",
"is",
"suitable",
"for",
"persisting",
"or",
"using",
"when",
"searching",
"if",
"the",
"key",
"contains",
"a",
"slash",
"character",
"then",
"we",
"must",
"use",
"a",
"double",
"-",
"slash",
"to",
"indicate",
"the",
"end",
"of",
"the",
"path",
"/",
"the",
"beginning",
"of",
"the",
"key"
] | [
"string",
"result",
";",
"int",
"path",
"length",
"=",
"path",
"=",
"=",
"null",
"?",
"0",
":",
"path",
"length",
"(",
")",
";",
"if",
"(",
"key",
"index",
"of",
"(",
"i",
"path",
"separator",
")",
"=",
"=",
"-",
"1",
")",
"{",
"if",
"(",
"path",
"length",
"=",
"=",
"0",
")",
"result",
"=",
"key",
";",
"else",
"result",
"=",
"path",
"+",
"i",
"path",
"separator",
"+",
"key",
";",
"}",
"else",
"{",
"if",
"(",
"path",
"length",
"=",
"=",
"0",
")",
"result",
"=",
"double",
"slash",
"+",
"key",
";",
"else",
"result",
"=",
"path",
"+",
"double",
"slash",
"+",
"key",
";",
"}",
"return",
"result",
";"
] |
[
"}"
] | [
"i",
"eclipse",
"preferences",
"result",
"=",
"this",
";",
"while",
"(",
"result",
"parent",
"(",
")",
"!",
"=",
"null",
")",
"result",
"=",
"(",
"i",
"eclipse",
"preferences",
")",
"result",
"parent",
"(",
")",
";",
"return",
"result",
";"
] |
[
"/",
"*",
"return",
"a",
"relative",
"path"
] | [
"string",
"result",
"=",
"path",
";",
"if",
"(",
"path",
"=",
"=",
"null",
")",
"return",
"empty",
"string",
";",
"if",
"(",
"path",
"length",
"(",
")",
">",
"0",
"&",
"&",
"path",
"char",
"at",
"(",
"0",
")",
"=",
"=",
"i",
"path",
"separator",
")",
"result",
"=",
"path",
"length",
"(",
")",
"=",
"=",
"0",
"?",
"empty",
"string",
":",
"path",
"substring",
"(",
"1",
")",
";",
"return",
"result",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"tree",
"set",
"set",
"=",
"new",
"tree",
"set",
"(",
")",
";",
"for",
"(",
"enumeration",
"e",
"=",
"super",
"keys",
"(",
")",
";",
"e",
"has",
"more",
"elements",
"(",
")",
";",
")",
"set",
"add",
"(",
"e",
"next",
"element",
"(",
")",
")",
";",
"return",
"collections",
"enumeration",
"(",
"set",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"tree",
"set",
"set",
"=",
"new",
"tree",
"set",
"(",
"new",
"comparator",
"(",
")",
"{",
"public",
"int",
"compare",
"(",
"object",
"e",
"1",
",",
"object",
"e",
"2",
")",
"{",
"string",
"s",
"1",
"=",
"(",
"string",
")",
"(",
"(",
"map",
"entry",
")",
"e",
"1",
")",
"get",
"key",
"(",
")",
";",
"string",
"s",
"2",
"=",
"(",
"string",
")",
"(",
"(",
"map",
"entry",
")",
"e",
"2",
")",
"get",
"key",
"(",
")",
";",
"return",
"s",
"1",
"compare",
"to",
"(",
"s",
"2",
")",
";",
"}",
"}",
")",
";",
"for",
"(",
"iterator",
"i",
"=",
"super",
"entry",
"set",
"(",
")",
"iterator",
"(",
")",
";",
"i",
"has",
"next",
"(",
")",
";",
")",
"set",
"add",
"(",
"i",
"next",
"(",
")",
")",
";",
"return",
"set",
";"
] |
[
"get",
"the",
"abort",
"response",
"that",
"caused",
"this",
"exception"
] | [
"return",
"abort",
"response",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"an",
"{"
] | [
"return",
"new",
"json",
"keyset",
"writer",
"(",
"stream",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file"
] | [
"return",
"new",
"json",
"keyset",
"writer",
"(",
"new",
"file",
"output",
"stream",
"(",
"file",
")",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file",
"path"
] | [
"return",
"with",
"file",
"(",
"new",
"file",
"(",
"path",
")",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file",
"path"
] | [
"return",
"with",
"file",
"(",
"path",
"to",
"file",
"(",
")",
")",
";"
] |
[
"get",
"all",
"permutations",
"for",
"the",
"int",
"[",
"]",
"whose",
"items",
"are",
"0",
"level"
] | [
"return",
"new",
"iterator",
"<",
"int",
"[",
"]",
">",
"(",
")",
"{",
"int",
"i",
"=",
"0",
";",
"int",
"[",
"]",
"next",
";",
"@",
"override",
"public",
"boolean",
"has",
"next",
"(",
")",
"{",
"atomic",
"reference",
"<",
"int",
"[",
"]",
">",
"nthval",
"=",
"new",
"atomic",
"reference",
"<",
">",
"(",
")",
";",
"permute",
"(",
"0",
",",
"new",
"int",
"[",
"level",
"]",
",",
"new",
"bit",
"set",
"(",
"level",
")",
",",
"nthval",
",",
"i",
",",
"new",
"atomic",
"integer",
"(",
")",
")",
";",
"i",
"+",
"+",
";",
"next",
"=",
"nthval",
"get",
"(",
")",
";",
"return",
"next",
"!",
"=",
"null",
";",
"}",
"@",
"override",
"public",
"int",
"[",
"]",
"next",
"(",
")",
"{",
"return",
"next",
";",
"}",
"}",
";"
] |
[
"close"
] | [
"watchers",
"clear",
"(",
")",
";"
] |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"new",
"=",
">",
"enum",
"descriptor"
] | [
"this",
"builder",
"=",
"descriptor",
"protos",
"enum",
"descriptor",
"proto",
"new",
"builder",
"(",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"each",
"(",
"&",
"block",
")"
] | [
"ruby",
"runtime",
"=",
"context",
"runtime",
";",
"for",
"(",
"descriptors",
"enum",
"value",
"descriptor",
"enum",
"value",
"descriptor",
":",
"descriptor",
"get",
"values",
"(",
")",
")",
"{",
"block",
"yield",
"(",
"context",
",",
"runtime",
"new",
"array",
"(",
"runtime",
"new",
"symbol",
"(",
"enum",
"value",
"descriptor",
"get",
"name",
"(",
")",
")",
",",
"runtime",
"new",
"fixnum",
"(",
"enum",
"value",
"descriptor",
"get",
"number",
"(",
")",
")",
")",
")",
";",
"}",
"return",
"runtime",
"get",
"nil",
"(",
")",
";"
] |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"enummodule",
"=",
">",
"module"
] | [
"if",
"(",
"this",
"klazz",
"=",
"=",
"null",
")",
"{",
"this",
"klazz",
"=",
"build",
"module",
"from",
"descriptor",
"(",
"context",
")",
";",
"}",
"return",
"this",
"klazz",
";"
] |
[
"converts",
"the",
"given",
"time",
"into",
"an",
"lcn",
"ramp",
"value"
] | [
"int",
"ret",
";",
"if",
"(",
"time",
"m",
"sec",
"<",
"250",
")",
"{",
"ret",
"=",
"0",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"500",
")",
"{",
"ret",
"=",
"1",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"660",
")",
"{",
"ret",
"=",
"2",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"1000",
")",
"{",
"ret",
"=",
"3",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"1400",
")",
"{",
"ret",
"=",
"4",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"2000",
")",
"{",
"ret",
"=",
"5",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"3000",
")",
"{",
"ret",
"=",
"6",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"4000",
")",
"{",
"ret",
"=",
"7",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"5000",
")",
"{",
"ret",
"=",
"8",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"6000",
")",
"{",
"ret",
"=",
"9",
";",
"}",
"else",
"{",
"ret",
"=",
"(",
"time",
"m",
"sec",
"/",
"1000",
"-",
"6",
")",
"/",
"2",
"+",
"10",
";",
"if",
"(",
"ret",
">",
"=",
"250",
")",
"{",
"ret",
"=",
"250",
";",
"}",
"}",
"return",
"ret",
";"
] |
[
"returns",
"the",
"lock",
"-",
"state",
"if",
"value",
"comes",
"from",
"a",
"regulator",
"set",
"-",
"point",
"only",
"valid",
"if",
"{",
"@",
"link",
"var",
"#",
"is",
"lockable",
"regulator",
"source",
"(",
"var",
")",
"}",
"returns",
"true"
] | [
"return",
"(",
"this",
"native",
"value",
"&",
"0x",
"8",
"0",
"0",
"0",
")",
"!",
"=",
"0",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"any",
"input"
] | [
"switch",
"(",
"unit",
")",
"{",
"case",
"native",
":",
"return",
"from",
"native",
"(",
"(",
"int",
")",
"v",
")",
";",
"case",
"celsius",
":",
"return",
"from",
"celsius",
"(",
"v",
",",
"abs",
")",
";",
"case",
"kelvin",
":",
"return",
"from",
"kelvin",
"(",
"v",
",",
"abs",
")",
";",
"case",
"fahrenheit",
":",
"return",
"from",
"fahrenheit",
"(",
"v",
",",
"abs",
")",
";",
"case",
"lux",
"t",
":",
"return",
"from",
"lux",
"t",
"(",
"v",
")",
";",
"case",
"lux",
"i",
":",
"return",
"from",
"lux",
"i",
"(",
"v",
")",
";",
"case",
"meterpersecond",
":",
"return",
"from",
"meters",
"per",
"sec",
"(",
"v",
")",
";",
"case",
"percent",
":",
"return",
"from",
"percent",
"(",
"v",
")",
";",
"case",
"ppm",
":",
"return",
"from",
"ppm",
"(",
"v",
")",
";",
"case",
"volt",
":",
"return",
"from",
"volt",
"(",
"v",
")",
";",
"case",
"ampere",
":",
"return",
"from",
"ampere",
"(",
"v",
")",
";",
"case",
"degree",
":",
"return",
"from",
"degree",
"(",
"v",
")",
";",
"}",
"throw",
"new",
"error",
"(",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"native",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"n",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"c",
"input"
] | [
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"c",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"c",
"input"
] | [
"return",
"from",
"celsius",
"(",
"c",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"k",
"input"
] | [
"if",
"(",
"abs",
")",
"{",
"k",
"-",
"=",
"273",
"15",
";",
"}",
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"k",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"k",
"input"
] | [
"return",
"from",
"kelvin",
"(",
"k",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"f",
"input"
] | [
"if",
"(",
"abs",
")",
"{",
"f",
"-",
"=",
"32",
";",
"}",
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"f",
"/",
"0",
"18",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"f",
"input"
] | [
"return",
"from",
"fahrenheit",
"(",
"f",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"lx",
"input",
"target",
"must",
"be",
"connected",
"to",
"t",
"-",
"port"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"(",
"math",
"log",
"(",
"l",
")",
"-",
"1",
"689646994",
")",
"/",
"0",
"010380664",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"lx",
"input",
"target",
"must",
"be",
"connected",
"to",
"i",
"-",
"port"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"math",
"log",
"(",
"l",
")",
"*",
"100",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"%",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"p",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"ppm",
"input",
"used",
"for",
"co2",
"sensors"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"p",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"m",
"/",
"s",
"input",
"used",
"for",
"lcn",
"-",
"wih",
"wind",
"speed"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"ms",
"*",
"10",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"v",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"v",
"*",
"400",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"a",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"a",
"*",
"100",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"(",
"angle",
")",
"input"
] | [
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"d",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"(",
"angle",
")",
"input"
] | [
"return",
"from",
"degree",
"(",
"d",
",",
"true",
")",
";"
] |
[
"converts",
"the",
"value",
"to",
"double",
"using",
"the",
"given",
"variable",
"unit"
] | [
"var",
"value",
"v",
"=",
"new",
"var",
"value",
"(",
"is",
"lockable",
"regulator",
"source",
"?",
"this",
"native",
"value",
"&",
"0x",
"7fff",
":",
"this",
"native",
"value",
")",
";",
"switch",
"(",
"unit",
")",
"{",
"case",
"native",
":",
"return",
"v",
"to",
"native",
"(",
")",
";",
"case",
"celsius",
":",
"return",
"v",
"to",
"celsius",
"(",
")",
";",
"case",
"kelvin",
":",
"return",
"v",
"to",
"kelvin",
"(",
")",
";",
"case",
"fahrenheit",
":",
"return",
"v",
"to",
"fahrenheit",
"(",
")",
";",
"case",
"lux",
"t",
":",
"return",
"v",
"to",
"lux",
"t",
"(",
")",
";",
"case",
"lux",
"i",
":",
"return",
"v",
"to",
"lux",
"i",
"(",
")",
";",
"case",
"meterpersecond",
":",
"return",
"v",
"to",
"meters",
"per",
"sec",
"(",
")",
";",
"case",
"percent",
":",
"return",
"v",
"to",
"percent",
"(",
")",
";",
"case",
"ppm",
":",
"return",
"v",
"to",
"ppm",
"(",
")",
";",
"case",
"volt",
":",
"return",
"v",
"to",
"volt",
"(",
")",
";",
"case",
"ampere",
":",
"return",
"v",
"to",
"ampere",
"(",
")",
";",
"case",
"degree",
":",
"return",
"v",
"to",
"degree",
"(",
")",
";",
"}",
"throw",
"new",
"error",
"(",
")",
";"
] |
[
"converts",
"to",
"native",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"�",
"c",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
";"
] |
[
"converts",
"to",
"�",
"k",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
"+",
"273",
"15",
";"
] |
[
"converts",
"to",
"�",
"f",
"value"
] | [
"return",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"*",
"0",
"18",
"+",
"32",
";"
] |
[
"converts",
"to",
"lx",
"value",
"source",
"must",
"be",
"connected",
"to",
"t",
"-",
"port"
] | [
"return",
"math",
"exp",
"(",
"0",
"010380664",
"*",
"this",
"native",
"value",
"+",
"1",
"689646994",
")",
";"
] |
[
"converts",
"to",
"lx",
"value",
"source",
"must",
"be",
"connected",
"to",
"i",
"-",
"port"
] | [
"return",
"math",
"exp",
"(",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"100",
")",
";"
] |
[
"converts",
"to",
"%",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"ppm",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"m",
"/",
"s",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"10",
";"
] |
[
"converts",
"to",
"v",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"400",
";"
] |
[
"converts",
"to",
"a",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"100",
";"
] |
[
"converts",
"to",
"�",
"(",
"angle",
")",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
";"
] |
[
"{"
] | [
"return",
"new",
"atomic",
"integer",
"(",
"0",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"atomic",
"integer",
"factory",
"callable",
"class",
",",
"this",
")",
";"
] |
[
"creates",
"and",
"returns",
"a",
"{",
"@",
"link",
"interceptor",
"}",
"which",
"invokes",
"the",
"underlying",
"container",
"-",
"interceptor",
"during",
"a",
"method",
"invocation"
] | [
"return",
"new",
"container",
"interceptor",
"method",
"interceptor",
"(",
"this",
"interceptor",
"instance",
"ref",
",",
"method",
")",
";"
] |
[
"return",
"element",
"range",
"which",
"contains",
"text",
"range",
"(",
"start",
"end",
")",
"of",
"top",
"level",
"elements",
"common",
"parent",
"of",
"elements",
"is",
"straight",
"parent",
"for",
"each",
"element"
] | [
"if",
"(",
"element",
"range",
"first",
"=",
"=",
"null",
"|",
"|",
"element",
"range",
"second",
"=",
"=",
"null",
")",
"return",
"null",
";",
"psi",
"element",
"common",
"parent",
"=",
"psi",
"tree",
"util",
"find",
"common",
"parent",
"(",
"element",
"range",
"first",
",",
"element",
"range",
"second",
")",
";",
"if",
"(",
"common",
"parent",
"=",
"=",
"null",
")",
"return",
"null",
";",
"if",
"(",
"common",
"parent",
"is",
"equivalent",
"to",
"(",
"element",
"range",
"first",
")",
"|",
"|",
"common",
"parent",
"is",
"equivalent",
"to",
"(",
"element",
"range",
"second",
")",
")",
"{",
"common",
"parent",
"=",
"common",
"parent",
"get",
"parent",
"(",
")",
";",
"}",
"psi",
"element",
"start",
"element",
"=",
"psi",
"tree",
"util",
"find",
"prev",
"parent",
"(",
"common",
"parent",
",",
"element",
"range",
"first",
")",
";",
"psi",
"element",
"end",
"element",
"=",
"psi",
"tree",
"util",
"find",
"prev",
"parent",
"(",
"common",
"parent",
",",
"element",
"range",
"second",
")",
";",
"if",
"(",
"!",
"start",
"element",
"get",
"parent",
"(",
")",
"is",
"equivalent",
"to",
"(",
"end",
"element",
"get",
"parent",
"(",
")",
")",
")",
"return",
"null",
";",
"int",
"start",
"=",
"element",
"range",
"first",
"get",
"text",
"range",
"(",
")",
"get",
"start",
"offset",
"(",
")",
";",
"int",
"end",
"=",
"element",
"range",
"second",
"get",
"text",
"range",
"(",
")",
"get",
"end",
"offset",
"(",
")",
";",
"text",
"range",
"range",
"=",
"common",
"parent",
"get",
"text",
"range",
"(",
")",
";",
"psi",
"element",
"[",
"]",
"children",
"=",
"common",
"parent",
"get",
"children",
"(",
")",
";",
"if",
"(",
"range",
"equals",
"to",
"range",
"(",
"start",
",",
"end",
")",
"|",
"|",
"range",
"get",
"start",
"offset",
"(",
")",
"=",
"=",
"start",
"&",
"&",
"(",
"children",
"length",
"=",
"=",
"0",
"|",
"|",
"children",
"[",
"0",
"]",
"get",
"text",
"range",
"(",
")",
"get",
"start",
"offset",
"(",
")",
">",
"start",
")",
"|",
"|",
"range",
"get",
"end",
"offset",
"(",
")",
"=",
"=",
"end",
"&",
"&",
"(",
"children",
"length",
"=",
"=",
"0",
"|",
"|",
"children",
"[",
"children",
"length",
"-",
"1",
"]",
"get",
"text",
"range",
"(",
")",
"get",
"end",
"offset",
"(",
")",
"<",
"end",
")",
")",
"{",
"start",
"element",
"=",
"common",
"parent",
";",
"end",
"element",
"=",
"common",
"parent",
";",
"}",
"if",
"(",
"start",
"element",
"is",
"equivalent",
"to",
"(",
"end",
"element",
")",
")",
"{",
"while",
"(",
"start",
"element",
"get",
"text",
"range",
"(",
")",
"equals",
"(",
"start",
"element",
"get",
"parent",
"(",
")",
"get",
"text",
"range",
"(",
")",
")",
")",
"{",
"start",
"element",
"=",
"start",
"element",
"get",
"parent",
"(",
")",
";",
"}",
"return",
"couple",
"of",
"(",
"start",
"element",
",",
"start",
"element",
")",
";",
"}",
"return",
"couple",
"of",
"(",
"start",
"element",
",",
"end",
"element",
")",
";"
] |
[
"implement",
"the",
"parcelable",
"interface"
] | [
"super",
"write",
"to",
"parcel",
"(",
"dest",
",",
"flags",
")",
";",
"dest",
"write",
"int",
"(",
"lease",
"duration",
")",
";",
"dest",
"write",
"int",
"(",
"mtu",
")",
";",
"network",
"utils",
"parcel",
"inet",
"address",
"(",
"dest",
",",
"server",
"address",
",",
"flags",
")",
";",
"dest",
"write",
"string",
"(",
"vendor",
"info",
")",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"(",
"id",
")",
"of",
"the",
"organizational",
"unit",
"that",
"you",
"want",
"to",
"delete",
"you",
"can",
"get",
"the",
"id",
"from",
"the",
"<",
"a",
">",
"list",
"organizational",
"units",
"for",
"parent",
"<",
"/",
"a",
">",
"operation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
"for",
"an",
"organizational",
"unit",
"id",
"string",
"requires",
"ou",
"-",
"followed",
"by",
"from",
"4",
"to",
"32",
"lower",
"-",
"case",
"letters",
"or",
"digits",
"(",
"the",
"id",
"of",
"the",
"root",
"that",
"contains",
"the",
"ou",
")",
"followed",
"by",
"a",
"second",
"-",
"dash",
"and",
"from",
"8",
"to",
"32",
"additional",
"lower",
"-",
"case",
"letters",
"or",
"digits",
"<",
"/",
"p",
">"
] | [
"set",
"organizational",
"unit",
"id",
"(",
"organizational",
"unit",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"the",
"renderers",
"needed",
"for",
"this",
"combined",
"-",
"renderer",
"in",
"the",
"required",
"order",
"also",
"takes",
"the",
"draw",
"order",
"into",
"consideration"
] | [
"m",
"renderers",
"clear",
"(",
")",
";",
"combined",
"chart",
"chart",
"=",
"(",
"combined",
"chart",
")",
"m",
"chart",
"get",
"(",
")",
";",
"if",
"(",
"chart",
"=",
"=",
"null",
")",
"return",
";",
"draw",
"order",
"[",
"]",
"orders",
"=",
"chart",
"get",
"draw",
"order",
"(",
")",
";",
"for",
"(",
"draw",
"order",
"order",
":",
"orders",
")",
"{",
"switch",
"(",
"order",
")",
"{",
"case",
"bar",
":",
"if",
"(",
"chart",
"get",
"bar",
"data",
"(",
")",
"!",
"=",
"null",
")",
"m",
"renderers",
"add",
"(",
"new",
"bar",
"chart",
"renderer",
"(",
"chart",
",",
"m",
"animator",
",",
"m",
"view",
"port",
"handler",
")",
")",
";",
"break",
";",
"case",
"bubble",
":",
"if",
"(",
"chart",
"get",
"bubble",
"data",
"(",
")",
"!",
"=",
"null",
")",
"m",
"renderers",
"add",
"(",
"new",
"bubble",
"chart",
"renderer",
"(",
"chart",
",",
"m",
"animator",
",",
"m",
"view",
"port",
"handler",
")",
")",
";",
"break",
";",
"case",
"line",
":",
"if",
"(",
"chart",
"get",
"line",
"data",
"(",
")",
"!",
"=",
"null",
")",
"m",
"renderers",
"add",
"(",
"new",
"line",
"chart",
"renderer",
"(",
"chart",
",",
"m",
"animator",
",",
"m",
"view",
"port",
"handler",
")",
")",
";",
"break",
";",
"case",
"candle",
":",
"if",
"(",
"chart",
"get",
"candle",
"data",
"(",
")",
"!",
"=",
"null",
")",
"m",
"renderers",
"add",
"(",
"new",
"candle",
"stick",
"chart",
"renderer",
"(",
"chart",
",",
"m",
"animator",
",",
"m",
"view",
"port",
"handler",
")",
")",
";",
"break",
";",
"case",
"scatter",
":",
"if",
"(",
"chart",
"get",
"scatter",
"data",
"(",
")",
"!",
"=",
"null",
")",
"m",
"renderers",
"add",
"(",
"new",
"scatter",
"chart",
"renderer",
"(",
"chart",
",",
"m",
"animator",
",",
"m",
"view",
"port",
"handler",
")",
")",
";",
"break",
";",
"}",
"}"
] |
[
"returns",
"the",
"sub",
"-",
"renderer",
"object",
"at",
"the",
"specified",
"index"
] | [
"if",
"(",
"index",
">",
"=",
"m",
"renderers",
"size",
"(",
")",
"|",
"|",
"index",
"<",
"0",
")",
"return",
"null",
";",
"else",
"return",
"m",
"renderers",
"get",
"(",
"index",
")",
";"
] |
[
"returns",
"all",
"sub",
"-",
"renderers"
] | [
"return",
"m",
"renderers",
";"
] |
[
"read",
"through",
"an",
"byte",
"buffer",
"and",
"returns",
"the",
"digest",
"for",
"the",
"data"
] | [
"message",
"digest",
"update",
"(",
"data",
")",
";",
"return",
"message",
"digest",
"digest",
"(",
")",
";"
] |
[
"read",
"through",
"an",
"input",
"stream",
"and",
"returns",
"the",
"digest",
"for",
"the",
"data"
] | [
"return",
"update",
"digest",
"(",
"digest",
",",
"data",
")",
"digest",
"(",
")",
";"
] |
[
"returns",
"a",
"<",
"code",
">",
"message",
"digest",
"<",
"/",
"code",
">",
"for",
"the",
"given",
"<",
"code",
">",
"algorithm",
"<",
"/",
"code",
">"
] | [
"try",
"{",
"return",
"message",
"digest",
"get",
"instance",
"(",
"algorithm",
")",
";",
"}",
"catch",
"(",
"final",
"no",
"such",
"algorithm",
"exception",
"e",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"returns",
"an",
"md2",
"message",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"md2",
")",
";"
] |
[
"returns",
"an",
"md5",
"message",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"md5",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"1",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"1",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"224",
"digest",
"<",
"p",
">",
"java",
"8",
"only",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"224",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"256",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"256",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"384",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"384",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"512",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"512",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"1",
"digest"
] | [
"return",
"get",
"sha",
"1",
"digest",
"(",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"get",
"md",
"2",
"digest",
"(",
")",
"digest",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"2",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"2",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"md",
"2",
"(",
"string",
"utils",
"get",
"bytes",
"utf",
"8",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"get",
"md",
"5",
"digest",
"(",
")",
"digest",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"5",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"5",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"md",
"5",
"(",
"string",
"utils",
"get",
"bytes",
"utf",
"8",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.