docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"adds",
"counters",
"collection",
"in",
"addition",
"to",
"existing",
"counters"
] | [
"assert",
"cntrs",
"!",
"=",
"null",
";",
"for",
"(",
"hadoop",
"counter",
"cntr",
":",
"cntrs",
")",
"{",
"if",
"(",
"cp",
")",
"{",
"hadoop",
"counter",
"cntr",
"cp",
"=",
"create",
"counter",
"(",
"cntr",
"get",
"class",
"(",
")",
",",
"cntr",
"group",
"(",
")",
",",
"cntr",
"name",
"(",
")",
")",
";",
"cntr",
"cp",
"merge",
"(",
"cntr",
")",
";",
"cntr",
"=",
"cntr",
"cp",
";",
"}",
"cntrs",
"map",
"put",
"(",
"new",
"counter",
"key",
"(",
"cntr",
"get",
"class",
"(",
")",
",",
"cntr",
"group",
"(",
")",
",",
"cntr",
"name",
"(",
")",
")",
",",
"cntr",
")",
";",
"}"
] |
[
"{"
] | [
"assert",
"cls",
"!",
"=",
"null",
";",
"counter",
"key",
"map",
"key",
"=",
"new",
"counter",
"key",
"(",
"cls",
",",
"grp",
",",
"name",
")",
";",
"t",
"cntr",
"=",
"(",
"t",
")",
"cntrs",
"map",
"get",
"(",
"map",
"key",
")",
";",
"if",
"(",
"cntr",
"=",
"=",
"null",
")",
"{",
"cntr",
"=",
"create",
"counter",
"(",
"cls",
",",
"grp",
",",
"name",
")",
";",
"t",
"old",
"=",
"(",
"t",
")",
"cntrs",
"map",
"put",
"if",
"absent",
"(",
"map",
"key",
",",
"cntr",
")",
";",
"if",
"(",
"old",
"!",
"=",
"null",
")",
"return",
"old",
";",
"}",
"return",
"cntr",
";"
] |
[
"{"
] | [
"return",
"cntrs",
"map",
"values",
"(",
")",
";"
] |
[
"{"
] | [
"for",
"(",
"hadoop",
"counter",
"counter",
":",
"other",
"all",
"(",
")",
")",
"counter",
"(",
"counter",
"group",
"(",
")",
",",
"counter",
"name",
"(",
")",
",",
"counter",
"get",
"class",
"(",
")",
")",
"merge",
"(",
"counter",
")",
";"
] |
[
"{"
] | [
"u",
"write",
"collection",
"(",
"out",
",",
"cntrs",
"map",
"values",
"(",
")",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"hadoop",
"counters",
"impl",
"counters",
"=",
"(",
"hadoop",
"counters",
"impl",
")",
"o",
";",
"return",
"cntrs",
"map",
"equals",
"(",
"counters",
"cntrs",
"map",
")",
";"
] |
[
"{"
] | [
"return",
"cntrs",
"map",
"hash",
"code",
"(",
")",
";"
] |
[
"sets",
"the",
"known",
"hosts",
"file",
"so",
"that",
"the",
"jsch",
"endpoint",
"can",
"do",
"host",
"key",
"verification",
"you",
"can",
"prefix",
"with",
"classpath",
":",
"to",
"load",
"the",
"file",
"from",
"classpath",
"instead",
"of",
"file",
"system"
] | [
"this",
"known",
"hosts",
"file",
"=",
"known",
"hosts",
"file",
";"
] |
[
"if",
"known",
"host",
"file",
"has",
"not",
"been",
"explicit",
"configured",
"then",
"use",
"the",
"host",
"file",
"from",
"system",
"get",
"property",
"(",
"user",
"home",
")",
"+",
"/",
"ssh",
"/",
"known",
"hosts"
] | [
"this",
"use",
"user",
"known",
"hosts",
"file",
"=",
"use",
"user",
"known",
"hosts",
"file",
";"
] |
[
"sets",
"the",
"known",
"hosts",
"file",
"(",
"loaded",
"from",
"classpath",
"by",
"default",
")",
"so",
"that",
"the",
"sftp",
"endpoint",
"can",
"do",
"host",
"key",
"verification"
] | [
"this",
"known",
"hosts",
"uri",
"=",
"known",
"hosts",
"uri",
";"
] |
[
"sets",
"the",
"known",
"hosts",
"from",
"the",
"byte",
"array",
"so",
"that",
"the",
"sftp",
"endpoint",
"can",
"do",
"host",
"key",
"verification"
] | [
"this",
"known",
"hosts",
"=",
"known",
"hosts",
";"
] |
[
"set",
"the",
"private",
"key",
"file",
"(",
"loaded",
"from",
"classpath",
"by",
"default",
")",
"so",
"that",
"the",
"sftp",
"endpoint",
"can",
"do",
"private",
"key",
"verification"
] | [
"this",
"private",
"key",
"uri",
"=",
"private",
"key",
"uri",
";"
] |
[
"set",
"the",
"private",
"key",
"as",
"byte",
"[",
"]",
"so",
"that",
"the",
"sftp",
"endpoint",
"can",
"do",
"private",
"key",
"verification"
] | [
"this",
"private",
"key",
"=",
"private",
"key",
";"
] |
[
"set",
"the",
"private",
"key",
"file",
"passphrase",
"so",
"that",
"the",
"sftp",
"endpoint",
"can",
"do",
"private",
"key",
"verification"
] | [
"this",
"private",
"key",
"passphrase",
"=",
"private",
"key",
"file",
"passphrase",
";"
] |
[
"sets",
"whether",
"to",
"use",
"strict",
"host",
"key",
"checking",
"possible",
"values",
"are",
":",
"no",
"yes"
] | [
"this",
"strict",
"host",
"key",
"checking",
"=",
"strict",
"host",
"key",
"checking",
";"
] |
[
"allows",
"you",
"to",
"set",
"the",
"server",
"alive",
"interval",
"of",
"the",
"sftp",
"session"
] | [
"this",
"server",
"alive",
"interval",
"=",
"server",
"alive",
"interval",
";"
] |
[
"allows",
"you",
"to",
"set",
"the",
"server",
"alive",
"count",
"max",
"of",
"the",
"sftp",
"session"
] | [
"this",
"server",
"alive",
"count",
"max",
"=",
"server",
"alive",
"count",
"max",
";"
] |
[
"allows",
"you",
"to",
"set",
"chmod",
"on",
"the",
"stored",
"file",
"for",
"example",
"chmod",
"=",
"640"
] | [
"this",
"chmod",
"=",
"chmod",
";"
] |
[
"set",
"a",
"comma",
"separated",
"list",
"of",
"ciphers",
"that",
"will",
"be",
"used",
"in",
"order",
"of",
"preference",
"possible",
"cipher",
"names",
"are",
"defined",
"by",
"j",
"craft",
"jsch",
"some",
"examples",
"include",
":",
"aes",
"1",
"2",
"8",
"-",
"ctr",
"aes",
"1",
"2",
"8",
"-",
"cbc",
"3des",
"-",
"ctr",
"3des",
"-",
"cbc",
"blowfish",
"-",
"cbc",
"aes",
"1",
"9",
"2",
"-",
"cbc",
"aes",
"2",
"5",
"6",
"-",
"cbc",
"if",
"not",
"specified",
"the",
"default",
"list",
"from",
"jsch",
"will",
"be",
"used"
] | [
"this",
"ciphers",
"=",
"ciphers",
";"
] |
[
"to",
"use",
"compression",
"specify",
"a",
"level",
"from",
"1",
"to",
"10",
"important",
":",
"you",
"must",
"manually",
"add",
"the",
"needed",
"jsch",
"zlib",
"jar",
"to",
"the",
"classpath",
"for",
"compression",
"support"
] | [
"this",
"compression",
"=",
"compression",
";"
] |
[
"set",
"the",
"preferred",
"authentications",
"which",
"sftp",
"endpoint",
"will",
"used",
"some",
"example",
"include",
":",
"password",
"publickey",
"if",
"not",
"specified",
"the",
"default",
"list",
"from",
"jsch",
"will",
"be",
"used"
] | [
"this",
"preferred",
"authentications",
"=",
"p",
"authentications",
";"
] |
[
"the",
"logging",
"level",
"to",
"use",
"for",
"jsch",
"activity",
"logging",
"as",
"jsch",
"is",
"verbose",
"at",
"by",
"default",
"at",
"info",
"level",
"the",
"threshold",
"is",
"warn",
"by",
"default"
] | [
"this",
"jsch",
"logging",
"level",
"=",
"jsch",
"logging",
"level",
";"
] |
[
"specifies",
"how",
"many",
"requests",
"may",
"be",
"outstanding",
"at",
"any",
"one",
"time",
"increasing",
"this",
"value",
"may",
"slightly",
"improve",
"file",
"transfer",
"speed",
"but",
"will",
"increase",
"memory",
"usage"
] | [
"this",
"bulk",
"requests",
"=",
"bulk",
"requests",
";"
] |
[
"creates",
"the",
"{"
] | [
"protected",
"abstract",
"r",
"create",
"registry",
"(",
")",
"throws",
"exception",
";"
] |
[
"creates",
"a",
"new",
"spi",
"iterator",
"to",
"lookup",
"services",
"of",
"type",
"{"
] | [
"return",
"new",
"s",
"p",
"i",
"class",
"iterator",
"<",
">",
"(",
"clazz",
",",
"loader",
")",
";"
] |
[
"utility",
"method",
"to",
"check",
"if",
"some",
"class",
"loader",
"is",
"a",
"(",
"grand",
"-",
")",
"parent",
"of",
"or",
"the",
"same",
"as",
"another",
"one",
"this",
"means",
"the",
"child",
"will",
"be",
"able",
"to",
"load",
"all",
"classes",
"from",
"the",
"parent",
"too",
"<",
"p",
">",
"if",
"caller",
"s",
"codesource",
"doesn",
"t",
"have",
"enough",
"permissions",
"to",
"do",
"the",
"check",
"{"
] | [
"try",
"{",
"class",
"loader",
"cl",
"=",
"child",
";",
"while",
"(",
"cl",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"cl",
"=",
"=",
"parent",
")",
"{",
"return",
"true",
";",
"}",
"cl",
"=",
"cl",
"get",
"parent",
"(",
")",
";",
"}",
"return",
"false",
";",
"}",
"catch",
"(",
"security",
"exception",
"se",
")",
"{",
"return",
"false",
";",
"}"
] |
[
"<",
"p",
">",
"a",
"globally",
"unique",
"identifier",
"for",
"the",
"event",
"that",
"was",
"recorded",
"in",
"this",
"stream",
"record",
"<",
"/",
"p",
">"
] | [
"this",
"event",
"i",
"d",
"=",
"event",
"i",
"d",
";"
] |
[
"<",
"p",
">",
"a",
"globally",
"unique",
"identifier",
"for",
"the",
"event",
"that",
"was",
"recorded",
"in",
"this",
"stream",
"record",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"event",
"i",
"d",
";"
] |
[
"<",
"p",
">",
"a",
"globally",
"unique",
"identifier",
"for",
"the",
"event",
"that",
"was",
"recorded",
"in",
"this",
"stream",
"record",
"<",
"/",
"p",
">"
] | [
"set",
"event",
"i",
"d",
"(",
"event",
"i",
"d",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"data",
"modification",
"that",
"was",
"performed",
"on",
"the",
"dynamo",
"d",
"b",
"table",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"insert",
"<",
"/",
"code",
">",
"-",
"a",
"new",
"item",
"was",
"added",
"to",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"<",
"/",
"code",
">",
"-",
"one",
"or",
"more",
"of",
"an",
"existing",
"item",
"s",
"attributes",
"were",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"remove",
"<",
"/",
"code",
">",
"-",
"the",
"item",
"was",
"deleted",
"from",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"event",
"name",
"(",
"event",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"data",
"modification",
"that",
"was",
"performed",
"on",
"the",
"dynamo",
"d",
"b",
"table",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"insert",
"<",
"/",
"code",
">",
"-",
"a",
"new",
"item",
"was",
"added",
"to",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"<",
"/",
"code",
">",
"-",
"one",
"or",
"more",
"of",
"an",
"existing",
"item",
"s",
"attributes",
"were",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"remove",
"<",
"/",
"code",
">",
"-",
"the",
"item",
"was",
"deleted",
"from",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"with",
"event",
"name",
"(",
"event",
"name",
")",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"data",
"modification",
"that",
"was",
"performed",
"on",
"the",
"dynamo",
"d",
"b",
"table",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"insert",
"<",
"/",
"code",
">",
"-",
"a",
"new",
"item",
"was",
"added",
"to",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"modify",
"<",
"/",
"code",
">",
"-",
"one",
"or",
"more",
"of",
"an",
"existing",
"item",
"s",
"attributes",
"were",
"modified",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"remove",
"<",
"/",
"code",
">",
"-",
"the",
"item",
"was",
"deleted",
"from",
"the",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"event",
"name",
"=",
"event",
"name",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"number",
"of",
"the",
"stream",
"record",
"format",
"this",
"number",
"is",
"updated",
"whenever",
"the",
"structure",
"of",
"<",
"code",
">",
"record",
"<",
"/",
"code",
">",
"is",
"modified",
"<",
"/",
"p",
">",
"<",
"p",
">",
"client",
"applications",
"must",
"not",
"assume",
"that",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"remain",
"at",
"a",
"particular",
"value",
"as",
"this",
"number",
"is",
"subject",
"to",
"change",
"at",
"any",
"time",
"in",
"general",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"only",
"increase",
"as",
"the",
"low",
"-",
"level",
"dynamo",
"d",
"b",
"streams",
"api",
"evolves",
"<",
"/",
"p",
">"
] | [
"this",
"event",
"version",
"=",
"event",
"version",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"number",
"of",
"the",
"stream",
"record",
"format",
"this",
"number",
"is",
"updated",
"whenever",
"the",
"structure",
"of",
"<",
"code",
">",
"record",
"<",
"/",
"code",
">",
"is",
"modified",
"<",
"/",
"p",
">",
"<",
"p",
">",
"client",
"applications",
"must",
"not",
"assume",
"that",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"remain",
"at",
"a",
"particular",
"value",
"as",
"this",
"number",
"is",
"subject",
"to",
"change",
"at",
"any",
"time",
"in",
"general",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"only",
"increase",
"as",
"the",
"low",
"-",
"level",
"dynamo",
"d",
"b",
"streams",
"api",
"evolves",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"event",
"version",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"number",
"of",
"the",
"stream",
"record",
"format",
"this",
"number",
"is",
"updated",
"whenever",
"the",
"structure",
"of",
"<",
"code",
">",
"record",
"<",
"/",
"code",
">",
"is",
"modified",
"<",
"/",
"p",
">",
"<",
"p",
">",
"client",
"applications",
"must",
"not",
"assume",
"that",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"remain",
"at",
"a",
"particular",
"value",
"as",
"this",
"number",
"is",
"subject",
"to",
"change",
"at",
"any",
"time",
"in",
"general",
"<",
"code",
">",
"event",
"version",
"<",
"/",
"code",
">",
"will",
"only",
"increase",
"as",
"the",
"low",
"-",
"level",
"dynamo",
"d",
"b",
"streams",
"api",
"evolves",
"<",
"/",
"p",
">"
] | [
"set",
"event",
"version",
"(",
"event",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"service",
"from",
"which",
"the",
"stream",
"record",
"originated",
"for",
"dynamo",
"d",
"b",
"streams",
"this",
"is",
"<",
"code",
">",
"aws",
":",
"dynamodb",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"event",
"source",
"(",
"event",
"source",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"region",
"in",
"which",
"the",
"<",
"code",
">",
"get",
"records",
"<",
"/",
"code",
">",
"request",
"was",
"received",
"<",
"/",
"p",
">"
] | [
"set",
"aws",
"region",
"(",
"aws",
"region",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"main",
"body",
"of",
"the",
"stream",
"record",
"containing",
"all",
"of",
"the",
"dynamo",
"d",
"b",
"-",
"specific",
"fields",
"<",
"/",
"p",
">"
] | [
"this",
"dynamodb",
"=",
"dynamodb",
";"
] |
[
"<",
"p",
">",
"the",
"main",
"body",
"of",
"the",
"stream",
"record",
"containing",
"all",
"of",
"the",
"dynamo",
"d",
"b",
"-",
"specific",
"fields",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"dynamodb",
";"
] |
[
"<",
"p",
">",
"the",
"main",
"body",
"of",
"the",
"stream",
"record",
"containing",
"all",
"of",
"the",
"dynamo",
"d",
"b",
"-",
"specific",
"fields",
"<",
"/",
"p",
">"
] | [
"set",
"dynamodb",
"(",
"dynamodb",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"items",
"that",
"are",
"deleted",
"by",
"the",
"time",
"to",
"live",
"process",
"after",
"expiration",
"have",
"the",
"following",
"fields",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"type",
"<",
"/",
"p",
">",
"<",
"p",
">",
"service",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"principal",
"id",
"<",
"/",
"p",
">",
"<",
"p",
">",
"dynamodb",
"amazonaws",
"com",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"user",
"identity",
"=",
"user",
"identity",
";"
] |
[
"<",
"p",
">",
"items",
"that",
"are",
"deleted",
"by",
"the",
"time",
"to",
"live",
"process",
"after",
"expiration",
"have",
"the",
"following",
"fields",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"type",
"<",
"/",
"p",
">",
"<",
"p",
">",
"service",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"principal",
"id",
"<",
"/",
"p",
">",
"<",
"p",
">",
"dynamodb",
"amazonaws",
"com",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"return",
"this",
"user",
"identity",
";"
] |
[
"<",
"p",
">",
"items",
"that",
"are",
"deleted",
"by",
"the",
"time",
"to",
"live",
"process",
"after",
"expiration",
"have",
"the",
"following",
"fields",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"type",
"<",
"/",
"p",
">",
"<",
"p",
">",
"service",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"records",
"[",
"]",
"user",
"identity",
"principal",
"id",
"<",
"/",
"p",
">",
"<",
"p",
">",
"dynamodb",
"amazonaws",
"com",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"user",
"identity",
"(",
"user",
"identity",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"bytes",
"to",
"be",
"stored",
"<",
"/",
"p",
">"
] | [
"set",
"body",
"(",
"body",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"path",
"(",
"including",
"the",
"file",
"name",
")",
"where",
"the",
"object",
"is",
"stored",
"in",
"the",
"container",
"format",
":",
"&",
"lt",
";",
"folder",
"name",
"&",
"gt",
";",
"/",
"&",
"lt",
";",
"folder",
"name",
"&",
"gt",
";",
"/",
"&",
"lt",
";",
"file",
"name",
"&",
"gt",
";",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"example",
"to",
"upload",
"the",
"file",
"<",
"code",
">",
"mlaw",
"avi",
"<",
"/",
"code",
">",
"to",
"the",
"folder",
"path",
"<",
"code",
">",
"premium",
"\\",
"canada",
"<",
"/",
"code",
">",
"in",
"the",
"container",
"<",
"code",
">",
"movies",
"<",
"/",
"code",
">",
"enter",
"the",
"path",
"<",
"code",
">",
"premium",
"/",
"canada",
"/",
"mlaw",
"avi",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"do",
"not",
"include",
"the",
"container",
"name",
"in",
"this",
"path",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"the",
"path",
"includes",
"any",
"folders",
"that",
"don",
"t",
"exist",
"yet",
"the",
"service",
"creates",
"them",
"for",
"example",
"suppose",
"you",
"have",
"an",
"existing",
"<",
"code",
">",
"premium",
"/",
"usa",
"<",
"/",
"code",
">",
"subfolder",
"if",
"you",
"specify",
"<",
"code",
">",
"premium",
"/",
"canada",
"<",
"/",
"code",
">",
"the",
"service",
"creates",
"a",
"<",
"code",
">",
"canada",
"<",
"/",
"code",
">",
"subfolder",
"in",
"the",
"<",
"code",
">",
"premium",
"<",
"/",
"code",
">",
"folder",
"you",
"then",
"have",
"two",
"subfolders",
"<",
"code",
">",
"usa",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"canada",
"<",
"/",
"code",
">",
"in",
"the",
"<",
"code",
">",
"premium",
"<",
"/",
"code",
">",
"folder",
"<",
"/",
"p",
">",
"<",
"p",
">",
"there",
"is",
"no",
"correlation",
"between",
"the",
"path",
"to",
"the",
"source",
"and",
"the",
"path",
"(",
"folders",
")",
"in",
"the",
"container",
"in",
"aws",
"elemental",
"media",
"store",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"more",
"information",
"about",
"folders",
"and",
"how",
"they",
"exist",
"in",
"a",
"container",
"see",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"mediastore",
"/",
"latest",
"/",
"ug",
"/",
">",
"aws",
"elemental",
"media",
"store",
"user",
"guide",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"file",
"name",
"is",
"the",
"name",
"that",
"is",
"assigned",
"to",
"the",
"file",
"that",
"you",
"upload",
"the",
"file",
"can",
"have",
"the",
"same",
"name",
"inside",
"and",
"outside",
"of",
"aws",
"elemental",
"media",
"store",
"or",
"it",
"can",
"have",
"the",
"same",
"name",
"the",
"file",
"name",
"can",
"include",
"or",
"omit",
"an",
"extension",
"<",
"/",
"p",
">"
] | [
"set",
"path",
"(",
"path",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"content",
"type",
"of",
"the",
"object",
"<",
"/",
"p",
">"
] | [
"set",
"content",
"type",
"(",
"content",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"<",
"code",
">",
"cache",
"control",
"<",
"/",
"code",
">",
"header",
"that",
"allows",
"the",
"caller",
"to",
"control",
"the",
"object",
"s",
"cache",
"behavior",
"headers",
"can",
"be",
"passed",
"in",
"as",
"specified",
"in",
"the",
"http",
"at",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"w",
"3",
"org",
"/",
"protocols",
"/",
"rfc",
"2",
"6",
"1",
"6",
"/",
"rfc",
"2",
"6",
"1",
"6",
"-",
"sec",
"1",
"4",
"html",
"#",
"sec",
"1",
"4",
"9",
">",
"https",
":",
"/",
"/",
"www",
"w",
"3",
"org",
"/",
"protocols",
"/",
"rfc",
"2",
"6",
"1",
"6",
"/",
"rfc",
"2",
"6",
"1",
"6",
"-",
"sec",
"1",
"4",
"html",
"#",
"sec",
"1",
"4",
"9",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"headers",
"with",
"a",
"custom",
"user",
"-",
"defined",
"value",
"are",
"also",
"accepted",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"control",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"<",
"code",
">",
"cache",
"control",
"<",
"/",
"code",
">",
"header",
"that",
"allows",
"the",
"caller",
"to",
"control",
"the",
"object",
"s",
"cache",
"behavior",
"headers",
"can",
"be",
"passed",
"in",
"as",
"specified",
"in",
"the",
"http",
"at",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"w",
"3",
"org",
"/",
"protocols",
"/",
"rfc",
"2",
"6",
"1",
"6",
"/",
"rfc",
"2",
"6",
"1",
"6",
"-",
"sec",
"1",
"4",
"html",
"#",
"sec",
"1",
"4",
"9",
">",
"https",
":",
"/",
"/",
"www",
"w",
"3",
"org",
"/",
"protocols",
"/",
"rfc",
"2",
"6",
"1",
"6",
"/",
"rfc",
"2",
"6",
"1",
"6",
"-",
"sec",
"1",
"4",
"html",
"#",
"sec",
"1",
"4",
"9",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"headers",
"with",
"a",
"custom",
"user",
"-",
"defined",
"value",
"are",
"also",
"accepted",
"<",
"/",
"p",
">"
] | [
"set",
"cache",
"control",
"(",
"cache",
"control",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"storage",
"class",
"of",
"a",
"<",
"code",
">",
"put",
"<",
"/",
"code",
">",
"request",
"defaults",
"to",
"high",
"-",
"performance",
"temporal",
"storage",
"class",
"and",
"objects",
"are",
"persisted",
"into",
"durable",
"storage",
"shortly",
"after",
"being",
"received",
"<",
"/",
"p",
">"
] | [
"set",
"storage",
"class",
"(",
"storage",
"class",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"storage",
"class",
"of",
"a",
"<",
"code",
">",
"put",
"<",
"/",
"code",
">",
"request",
"defaults",
"to",
"high",
"-",
"performance",
"temporal",
"storage",
"class",
"and",
"objects",
"are",
"persisted",
"into",
"durable",
"storage",
"shortly",
"after",
"being",
"received",
"<",
"/",
"p",
">"
] | [
"this",
"storage",
"class",
"=",
"storage",
"class",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"}"
] | [
"array",
"list",
"<",
"list",
"<",
"string",
">",
">",
"key",
"=",
"new",
"array",
"list",
"<",
"list",
"<",
"string",
">",
">",
"(",
"1",
")",
";",
"key",
"add",
"(",
"column",
"names",
")",
";",
"metadata",
"list",
"struct",
"object",
"inspector",
"result",
"=",
"cached",
"get",
"(",
"key",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
")",
"{",
"result",
"=",
"new",
"metadata",
"list",
"struct",
"object",
"inspector",
"(",
"column",
"names",
")",
";",
"metadata",
"list",
"struct",
"object",
"inspector",
"prev",
"=",
"cached",
"put",
"if",
"absent",
"(",
"key",
",",
"result",
")",
";",
"if",
"(",
"prev",
"!",
"=",
"null",
")",
"{",
"result",
"=",
"prev",
";",
"}",
"}",
"return",
"result",
";"
] |
[
"get",
"col",
"object",
"out"
] | [
"if",
"(",
"data",
"instanceof",
"column",
"set",
")",
"{",
"data",
"=",
"(",
"(",
"column",
"set",
")",
"data",
")",
"col",
";",
"}",
"return",
"super",
"get",
"struct",
"field",
"data",
"(",
"data",
",",
"field",
"ref",
")",
";"
] |
[
"get",
"col",
"object",
"out"
] | [
"if",
"(",
"data",
"instanceof",
"column",
"set",
")",
"{",
"data",
"=",
"(",
"(",
"column",
"set",
")",
"data",
")",
"col",
";",
"}",
"return",
"super",
"get",
"struct",
"fields",
"data",
"as",
"list",
"(",
"data",
")",
";"
] |
[
"adds",
"to",
"the",
"existing",
"information",
"field",
"(",
"s",
")",
"that",
"are",
"read",
"in",
"the",
"source",
"record",
"(",
"s",
")",
"from",
"the",
"first",
"input"
] | [
"if",
"(",
"input",
"!",
"=",
"0",
"&",
"&",
"input",
"!",
"=",
"1",
")",
"{",
"throw",
"new",
"index",
"out",
"of",
"bounds",
"exception",
"(",
")",
";",
"}",
"else",
"if",
"(",
"input",
"=",
"=",
"0",
")",
"{",
"this",
"read",
"fields",
"1",
"=",
"(",
"this",
"read",
"fields",
"1",
"=",
"=",
"null",
")",
"?",
"read",
"fields",
"clone",
"(",
")",
":",
"this",
"read",
"fields",
"1",
"add",
"fields",
"(",
"read",
"fields",
")",
";",
"}",
"else",
"{",
"this",
"read",
"fields",
"2",
"=",
"(",
"this",
"read",
"fields",
"2",
"=",
"=",
"null",
")",
"?",
"read",
"fields",
"clone",
"(",
")",
":",
"this",
"read",
"fields",
"2",
"add",
"fields",
"(",
"read",
"fields",
")",
";",
"}"
] |
[
"this",
"method",
"initializes",
"this"
] | [
"this",
"set",
"j",
"menu",
"bar",
"(",
"get",
"main",
"menu",
"bar",
"(",
")",
")",
";",
"this",
"set",
"content",
"pane",
"(",
"get",
"pane",
"content",
"(",
")",
")",
";",
"this",
"set",
"preferred",
"size",
"(",
"new",
"dimension",
"(",
"1000",
",",
"800",
")",
")",
";",
"this",
"set",
"default",
"close",
"operation",
"(",
"window",
"constants",
"do",
"nothing",
"on",
"close",
")",
";",
"this",
"add",
"window",
"listener",
"(",
"new",
"window",
"adapter",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"window",
"closing",
"(",
"window",
"event",
"e",
")",
"{",
"get",
"main",
"menu",
"bar",
"(",
")",
"get",
"menu",
"file",
"control",
"(",
")",
"exit",
"(",
")",
";",
"}",
"}",
")",
";",
"this",
"set",
"visible",
"(",
"false",
")",
";"
] |
[
"this",
"method",
"initializes",
"pane",
"content"
] | [
"if",
"(",
"pane",
"content",
"=",
"=",
"null",
")",
"{",
"pane",
"content",
"=",
"new",
"j",
"panel",
"(",
")",
";",
"pane",
"content",
"set",
"layout",
"(",
"new",
"box",
"layout",
"(",
"get",
"pane",
"content",
"(",
")",
",",
"box",
"layout",
"y",
"axis",
")",
")",
";",
"pane",
"content",
"set",
"enabled",
"(",
"true",
")",
";",
"pane",
"content",
"add",
"(",
"get",
"main",
"toolbar",
"panel",
"(",
")",
",",
"null",
")",
";",
"pane",
"content",
"add",
"(",
"get",
"pane",
"display",
"(",
")",
",",
"null",
")",
";",
"pane",
"content",
"add",
"(",
"get",
"main",
"footer",
"panel",
"(",
")",
",",
"null",
")",
";",
"}",
"return",
"pane",
"content",
";"
] |
[
"gets",
"the",
"{",
"@",
"code",
"workbench",
"panel",
"}"
] | [
"return",
"pane",
"standard",
";"
] |
[
"this",
"method",
"initializes",
"main",
"menu",
"bar"
] | [
"if",
"(",
"main",
"menu",
"bar",
"=",
"=",
"null",
")",
"{",
"main",
"menu",
"bar",
"=",
"new",
"org",
"parosproxy",
"paros",
"view",
"main",
"menu",
"bar",
"(",
")",
";",
"}",
"return",
"main",
"menu",
"bar",
";"
] |
[
"zap",
":",
"added",
"main",
"toolbar",
"panel"
] | [
"if",
"(",
"main",
"toolbar",
"panel",
"=",
"=",
"null",
")",
"{",
"main",
"toolbar",
"panel",
"=",
"new",
"main",
"toolbar",
"panel",
"(",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"show",
"all",
"tabs",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"hide",
"all",
"tabs",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"show",
"tab",
"icon",
"names",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"separator",
"(",
")",
";",
"button",
"group",
"layouts",
"button",
"group",
"=",
"new",
"button",
"group",
"(",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"expand",
"select",
"layout",
"button",
"(",
")",
")",
";",
"layouts",
"button",
"group",
"add",
"(",
"get",
"expand",
"select",
"layout",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"expand",
"status",
"layout",
"button",
"(",
")",
")",
";",
"layouts",
"button",
"group",
"add",
"(",
"get",
"expand",
"status",
"layout",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"full",
"layout",
"button",
"(",
")",
")",
";",
"layouts",
"button",
"group",
"add",
"(",
"get",
"full",
"layout",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"separator",
"(",
")",
";",
"button",
"group",
"response",
"panel",
"positions",
"button",
"group",
"=",
"new",
"button",
"group",
"(",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"tabs",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"response",
"panel",
"positions",
"button",
"group",
"add",
"(",
"get",
"tabs",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"panels",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"response",
"panel",
"positions",
"button",
"group",
"add",
"(",
"get",
"panels",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"button",
"(",
"get",
"above",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"response",
"panel",
"positions",
"button",
"group",
"add",
"(",
"get",
"above",
"response",
"panel",
"position",
"button",
"(",
")",
")",
";",
"main",
"toolbar",
"panel",
"add",
"separator",
"(",
")",
";",
"}",
"return",
"main",
"toolbar",
"panel",
";"
] |
[
"zap",
":",
"added",
"footer",
"toolbar",
"panel"
] | [
"if",
"(",
"main",
"footer",
"panel",
"=",
"=",
"null",
")",
"{",
"main",
"footer",
"panel",
"=",
"new",
"main",
"footer",
"panel",
"(",
")",
";",
"}",
"return",
"main",
"footer",
"panel",
";"
] |
[
"sets",
"whether",
"or",
"not",
"the",
"buttons",
"that",
"control",
"the",
"response",
"panel",
"position",
"should",
"be",
"enabled"
] | [
"tabs",
"response",
"panel",
"position",
"button",
"set",
"enabled",
"(",
"enabled",
")",
";",
"panels",
"response",
"panel",
"position",
"button",
"set",
"enabled",
"(",
"enabled",
")",
";",
"above",
"response",
"panel",
"position",
"button",
"set",
"enabled",
"(",
"enabled",
")",
";"
] |
[
"gets",
"the",
"workbench",
"layout"
] | [
"return",
"workbench",
"layout",
";"
] |
[
"gets",
"the",
"response",
"panel",
"position"
] | [
"return",
"response",
"panel",
"position",
";"
] |
[
"sets",
"whether",
"or",
"not",
"the",
"tabs",
"should",
"display",
"the",
"name",
"of",
"the",
"panels"
] | [
"get",
"workbench",
"(",
")",
"toggle",
"tab",
"names",
"(",
"show",
"tab",
"names",
")",
";",
"get",
"show",
"tab",
"icon",
"names",
"button",
"(",
")",
"set",
"selected",
"(",
"show",
"tab",
"names",
")",
";"
] |
[
"sets",
"whether",
"or",
"not",
"the",
"main",
"tool",
"bar",
"should",
"be",
"visible"
] | [
"get",
"main",
"toolbar",
"panel",
"(",
")",
"set",
"visible",
"(",
"visible",
")",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"task",
"definition",
"description",
"<",
"/",
"p",
">"
] | [
"this",
"task",
"definition",
"=",
"task",
"definition",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"task",
"definition",
"description",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"task",
"definition",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"description",
"of",
"the",
"deregistered",
"task",
"<",
"/",
"p",
">"
] | [
"set",
"task",
"definition",
"(",
"task",
"definition",
")",
";",
"return",
"this",
";"
] |
[
"return",
"the",
"light",
"used",
"to",
"cast",
"shadows"
] | [
"return",
"light",
";"
] |
[
"sets",
"the",
"light",
"to",
"use",
"to",
"cast",
"shadows"
] | [
"this",
"light",
"=",
"light",
";"
] |
[
"retrieve",
"the",
"error",
"message"
] | [
"return",
"error",
"msg",
";"
] |
[
"create",
"or",
"update",
"the",
"drawable",
"on",
"the",
"target",
"{"
] | [
"drawable",
"placeholder",
"=",
"target",
"get",
"drawable",
"(",
")",
";",
"if",
"(",
"placeholder",
"instanceof",
"animation",
"drawable",
")",
"{",
"(",
"(",
"animation",
"drawable",
")",
"placeholder",
")",
"stop",
"(",
")",
";",
"}",
"picasso",
"drawable",
"drawable",
"=",
"new",
"picasso",
"drawable",
"(",
"context",
",",
"bitmap",
",",
"placeholder",
",",
"loaded",
"from",
",",
"no",
"fade",
",",
"debugging",
")",
";",
"target",
"set",
"image",
"drawable",
"(",
"drawable",
")",
";"
] |
[
"create",
"or",
"update",
"the",
"drawable",
"on",
"the",
"target",
"{"
] | [
"if",
"(",
"placeholder",
"res",
"id",
"!",
"=",
"0",
")",
"{",
"target",
"set",
"image",
"resource",
"(",
"placeholder",
"res",
"id",
")",
";",
"}",
"else",
"{",
"target",
"set",
"image",
"drawable",
"(",
"placeholder",
"drawable",
")",
";",
"}",
"if",
"(",
"target",
"get",
"drawable",
"(",
")",
"instanceof",
"animation",
"drawable",
")",
"{",
"(",
"(",
"animation",
"drawable",
")",
"target",
"get",
"drawable",
"(",
")",
")",
"start",
"(",
")",
";",
"}"
] |
[
"this",
"test",
"checks",
"re",
"seed",
"mechanics",
"for",
"native",
"side"
] | [
"random",
"random",
"1",
"=",
"nd",
"4j",
"get",
"random",
"factory",
"(",
")",
"get",
"new",
"random",
"instance",
"(",
"119",
")",
";",
"random",
"random",
"2",
"=",
"nd",
"4j",
"get",
"random",
"factory",
"(",
")",
"get",
"new",
"random",
"instance",
"(",
"119",
")",
";",
"int",
"array",
"1",
"[",
"]",
"=",
"new",
"int",
"[",
"1000",
"]",
";",
"int",
"array",
"2",
"[",
"]",
"=",
"new",
"int",
"[",
"1000",
"]",
";",
"for",
"(",
"int",
"e",
"=",
"0",
";",
"e",
"<",
"array",
"1",
"length",
";",
"e",
"+",
"+",
")",
"{",
"array",
"1",
"[",
"e",
"]",
"=",
"random",
"1",
"next",
"int",
"(",
")",
";",
"array",
"2",
"[",
"e",
"]",
"=",
"random",
"2",
"next",
"int",
"(",
")",
";",
"assert",
"equals",
"(",
"array",
"1",
"[",
"e",
"]",
",",
"array",
"2",
"[",
"e",
"]",
")",
";",
"assert",
"true",
"(",
"array",
"1",
"[",
"e",
"]",
">",
"=",
"0",
")",
";",
"}",
"assert",
"array",
"equals",
"(",
"array",
"1",
",",
"array",
"2",
")",
";",
"random",
"1",
"re",
"seed",
"(",
")",
";",
"random",
"1",
"re",
"seed",
"(",
")",
";",
"int",
"array",
"3",
"[",
"]",
"=",
"new",
"int",
"[",
"1000",
"]",
";",
"int",
"array",
"4",
"[",
"]",
"=",
"new",
"int",
"[",
"1000",
"]",
";",
"for",
"(",
"int",
"e",
"=",
"0",
";",
"e",
"<",
"array",
"1",
"length",
";",
"e",
"+",
"+",
")",
"{",
"array",
"3",
"[",
"e",
"]",
"=",
"random",
"1",
"next",
"int",
"(",
")",
";",
"array",
"4",
"[",
"e",
"]",
"=",
"random",
"2",
"next",
"int",
"(",
")",
";",
"assert",
"not",
"equals",
"(",
"array",
"3",
"[",
"e",
"]",
",",
"array",
"4",
"[",
"e",
"]",
")",
";",
"assert",
"true",
"(",
"array",
"1",
"[",
"e",
"]",
">",
"=",
"0",
")",
";",
"}"
] |
[
"set",
"whether",
"to",
"wait",
"for",
"running",
"jobs",
"to",
"complete",
"on",
"shutdown",
"default",
"is",
"false"
] | [
"this",
"wait",
"for",
"jobs",
"to",
"complete",
"on",
"shutdown",
"=",
"wait",
"for",
"jobs",
"to",
"complete",
"on",
"shutdown",
";"
] |
[
"creates",
"or",
"retrieves",
"the",
"rule",
"class",
"provider",
"used",
"in",
"this",
"test"
] | [
"return",
"get",
"analysis",
"mock",
"(",
")",
"create",
"rule",
"class",
"provider",
"(",
")",
";"
] |
[
"used",
"by",
"skyframe",
"-",
"only",
"tests"
] | [
"return",
"preconditions",
"check",
"not",
"null",
"(",
"skyframe",
"executor",
")",
";"
] |
[
"makes",
"subsequent",
"{"
] | [
"configs",
"mode",
"=",
"mode",
";"
] |
[
"allows",
"access",
"to",
"the",
"prerequisites",
"of",
"a",
"configured",
"target",
"this",
"is",
"currently",
"used",
"in",
"some",
"tests",
"to",
"reach",
"into",
"the",
"internals",
"of",
"rule",
"c",
"t",
"for",
"white",
"box",
"testing",
"in",
"principle",
"this",
"should",
"not",
"be",
"used",
";",
"instead",
"tests",
"should",
"only",
"assert",
"on",
"properties",
"of",
"the",
"exposed",
"provider",
"instances",
"and",
"/",
"or",
"the",
"action",
"graph"
] | [
"return",
"view",
"get",
"direct",
"prerequisites",
"for",
"testing",
"(",
"reporter",
",",
"target",
",",
"master",
"config",
")",
";"
] |
[
"creates",
"and",
"returns",
"a",
"rule",
"context",
"that",
"is",
"equivalent",
"to",
"the",
"one",
"that",
"was",
"used",
"to",
"create",
"the",
"given",
"configured",
"target"
] | [
"return",
"view",
"get",
"rule",
"context",
"for",
"testing",
"(",
"reporter",
",",
"target",
",",
"new",
"stub",
"analysis",
"environment",
"(",
")",
",",
"master",
"config",
")",
";"
] |
[
"allows",
"access",
"to",
"the",
"prerequisites",
"of",
"a",
"configured",
"target",
"this",
"is",
"currently",
"used",
"in",
"some",
"tests",
"to",
"reach",
"into",
"the",
"internals",
"of",
"rule",
"c",
"t",
"for",
"white",
"box",
"testing",
"in",
"principle",
"this",
"should",
"not",
"be",
"used",
";",
"instead",
"tests",
"should",
"only",
"assert",
"on",
"properties",
"of",
"the",
"exposed",
"provider",
"instances",
"and",
"/",
"or",
"the",
"action",
"graph"
] | [
"return",
"get",
"rule",
"context",
"(",
"target",
")",
"get",
"configured",
"target",
"map",
"(",
")",
"get",
"(",
"attribute",
"name",
")",
";"
] |
[
"allows",
"access",
"to",
"the",
"prerequisites",
"of",
"a",
"configured",
"target",
"this",
"is",
"currently",
"used",
"in",
"some",
"tests",
"to",
"reach",
"into",
"the",
"internals",
"of",
"rule",
"c",
"t",
"for",
"white",
"box",
"testing",
"in",
"principle",
"this",
"should",
"not",
"be",
"used",
";",
"instead",
"tests",
"should",
"only",
"assert",
"on",
"properties",
"of",
"the",
"exposed",
"provider",
"instances",
"and",
"/",
"or",
"the",
"action",
"graph"
] | [
"return",
"analysis",
"utils",
"get",
"providers",
"(",
"get",
"prerequisites",
"(",
"target",
",",
"attribute",
"name",
")",
",",
"class",
"type",
")",
";"
] |
[
"allows",
"access",
"to",
"the",
"prerequisites",
"of",
"a",
"configured",
"target",
"this",
"is",
"currently",
"used",
"in",
"some",
"tests",
"to",
"reach",
"into",
"the",
"internals",
"of",
"rule",
"c",
"t",
"for",
"white",
"box",
"testing",
"in",
"principle",
"this",
"should",
"not",
"be",
"used",
";",
"instead",
"tests",
"should",
"only",
"assert",
"on",
"properties",
"of",
"the",
"exposed",
"provider",
"instances",
"and",
"/",
"or",
"the",
"action",
"graph"
] | [
"set",
"<",
"artifact",
">",
"result",
"=",
"new",
"linked",
"hash",
"set",
"<",
">",
"(",
")",
";",
"for",
"(",
"file",
"provider",
"provider",
":",
"get",
"prerequisites",
"(",
"target",
",",
"attribute",
"name",
",",
"file",
"provider",
"class",
")",
")",
"{",
"iterables",
"add",
"all",
"(",
"result",
",",
"provider",
"get",
"files",
"to",
"build",
"(",
")",
")",
";",
"}",
"return",
"immutable",
"list",
"copy",
"of",
"(",
"result",
")",
";"
] |
[
"locates",
"the",
"first",
"parameter",
"file",
"used",
"by",
"the",
"action",
"and",
"returns",
"its",
"command",
"line"
] | [
"if",
"(",
"action",
"instanceof",
"spawn",
"action",
")",
"{",
"command",
"lines",
"command",
"lines",
"=",
"(",
"(",
"spawn",
"action",
")",
"action",
")",
"get",
"command",
"lines",
"(",
")",
";",
"for",
"(",
"command",
"line",
"and",
"param",
"file",
"info",
"pair",
":",
"command",
"lines",
"get",
"command",
"lines",
"(",
")",
")",
"{",
"if",
"(",
"pair",
"param",
"file",
"info",
"!",
"=",
"null",
")",
"{",
"return",
"pair",
"command",
"line",
";",
"}",
"}",
"}",
"parameter",
"file",
"write",
"action",
"parameter",
"file",
"write",
"action",
"=",
"param",
"file",
"write",
"action",
"for",
"action",
"(",
"action",
")",
";",
"return",
"parameter",
"file",
"write",
"action",
"!",
"=",
"null",
"?",
"parameter",
"file",
"write",
"action",
"get",
"command",
"line",
"(",
")",
":",
"null",
";"
] |
[
"locates",
"the",
"first",
"parameter",
"file",
"used",
"by",
"the",
"action",
"and",
"returns",
"its",
"args"
] | [
"command",
"line",
"command",
"line",
"=",
"param",
"file",
"command",
"line",
"for",
"action",
"(",
"action",
")",
";",
"return",
"command",
"line",
"!",
"=",
"null",
"?",
"command",
"line",
"arguments",
"(",
")",
":",
"null",
";"
] |
[
"locates",
"the",
"first",
"parameter",
"file",
"used",
"by",
"the",
"action",
"and",
"returns",
"its",
"args"
] | [
"command",
"line",
"command",
"line",
"=",
"param",
"file",
"command",
"line",
"for",
"action",
"(",
"action",
")",
";",
"return",
"command",
"line",
"!",
"=",
"null",
"?",
"command",
"line",
"arguments",
"(",
")",
":",
"action",
"get",
"arguments",
"(",
")",
";"
] |
[
"locates",
"the",
"first",
"parameter",
"file",
"used",
"by",
"the",
"action",
"and",
"returns",
"its",
"contents"
] | [
"if",
"(",
"action",
"instanceof",
"spawn",
"action",
")",
"{",
"command",
"lines",
"command",
"lines",
"=",
"(",
"(",
"spawn",
"action",
")",
"action",
")",
"get",
"command",
"lines",
"(",
")",
";",
"for",
"(",
"command",
"line",
"and",
"param",
"file",
"info",
"pair",
":",
"command",
"lines",
"get",
"command",
"lines",
"(",
")",
")",
"{",
"if",
"(",
"pair",
"param",
"file",
"info",
"!",
"=",
"null",
")",
"{",
"byte",
"array",
"output",
"stream",
"out",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
")",
";",
"parameter",
"file",
"write",
"parameter",
"file",
"(",
"out",
",",
"pair",
"command",
"line",
"arguments",
"(",
")",
",",
"pair",
"param",
"file",
"info",
"get",
"file",
"type",
"(",
")",
",",
"pair",
"param",
"file",
"info",
"get",
"charset",
"(",
")",
")",
";",
"return",
"new",
"string",
"(",
"out",
"to",
"byte",
"array",
"(",
")",
",",
"pair",
"param",
"file",
"info",
"get",
"charset",
"(",
")",
")",
";",
"}",
"}",
"}",
"parameter",
"file",
"write",
"action",
"parameter",
"file",
"write",
"action",
"=",
"param",
"file",
"write",
"action",
"for",
"action",
"(",
"action",
")",
";",
"return",
"parameter",
"file",
"write",
"action",
"!",
"=",
"null",
"?",
"parameter",
"file",
"write",
"action",
"get",
"string",
"contents",
"(",
")",
":",
"null",
";"
] |
[
"returns",
"the",
"spawn",
"action",
"that",
"generates",
"an",
"artifact",
"implicitly",
"assumes",
"the",
"action",
"is",
"a",
"spawn",
"action"
] | [
"return",
"(",
"spawn",
"action",
")",
"get",
"generating",
"action",
"(",
"artifact",
")",
";"
] |
[
"get",
"a",
"mutable",
"action",
"graph",
"for",
"testing",
"purposes"
] | [
"return",
"mutable",
"action",
"graph",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"label",
"configured",
"for",
"the",
"build",
"(",
"aka",
"target",
")",
"configuration",
"if",
"the",
"label",
"corresponds",
"to",
"a",
"target",
"with",
"a",
"top",
"-",
"level",
"configuration",
"transition",
"that",
"transition",
"is",
"applied",
"to",
"the",
"given",
"config",
"in",
"the",
"returned",
"configured",
"target"
] | [
"return",
"get",
"configured",
"target",
"(",
"label",
",",
"target",
"config",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"label",
"using",
"the",
"given",
"build",
"configuration",
"if",
"the",
"label",
"corresponds",
"to",
"a",
"target",
"with",
"a",
"top",
"-",
"level",
"configuration",
"transition",
"that",
"transition",
"is",
"applied",
"to",
"the",
"given",
"config",
"in",
"the",
"returned",
"configured",
"target"
] | [
"return",
"get",
"configured",
"target",
"(",
"label",
"parse",
"absolute",
"(",
"label",
",",
"immutable",
"map",
"of",
"(",
")",
")",
",",
"config",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"label",
"using",
"the",
"given",
"build",
"configuration",
"if",
"the",
"label",
"corresponds",
"to",
"a",
"target",
"with",
"a",
"top",
"-",
"level",
"configuration",
"transition",
"that",
"transition",
"is",
"applied",
"to",
"the",
"given",
"config",
"in",
"the",
"returned",
"configured",
"target"
] | [
"return",
"view",
"get",
"configured",
"target",
"for",
"testing",
"(",
"reporter",
",",
"blaze",
"test",
"utils",
"convert",
"label",
"(",
"label",
")",
",",
"config",
")",
";"
] |
[
"returns",
"a",
"configured",
"target",
"and",
"data",
"for",
"the",
"specified",
"label",
"using",
"the",
"given",
"build",
"configuration"
] | [
"return",
"view",
"get",
"configured",
"target",
"and",
"data",
"for",
"testing",
"(",
"reporter",
",",
"label",
",",
"config",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"and",
"data",
"for",
"the",
"specified",
"label",
"if",
"the",
"label",
"corresponds",
"to",
"a",
"target",
"with",
"a",
"top",
"-",
"level",
"configuration",
"transition",
"that",
"transition",
"is",
"applied",
"to",
"the",
"given",
"config",
"in",
"the",
"configured",
"target",
"and",
"data",
"s",
"configured",
"target"
] | [
"return",
"get",
"configured",
"target",
"and",
"data",
"(",
"label",
"parse",
"absolute",
"(",
"label",
",",
"immutable",
"map",
"of",
"(",
")",
")",
",",
"target",
"config",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"file",
"label",
"configured",
"for",
"the",
"build",
"(",
"aka",
"target",
")",
"configuration"
] | [
"return",
"(",
"file",
"configured",
"target",
")",
"get",
"configured",
"target",
"(",
"label",
",",
"target",
"config",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"label",
"configured",
"for",
"the",
"host",
"configuration"
] | [
"return",
"get",
"configured",
"target",
"(",
"label",
",",
"get",
"host",
"configuration",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"configured",
"target",
"for",
"the",
"specified",
"file",
"label",
"configured",
"for",
"the",
"host",
"configuration"
] | [
"return",
"(",
"file",
"configured",
"target",
")",
"get",
"host",
"configured",
"target",
"(",
"label",
")",
";"
] |
[
"create",
"and",
"return",
"a",
"configured",
"scratch",
"rule"
] | [
"return",
"scratch",
"configured",
"target",
"(",
"package",
"name",
",",
"rule",
"name",
",",
"target",
"config",
",",
"lines",
")",
";"
] |
[
"create",
"and",
"return",
"a",
"configured",
"scratch",
"rule"
] | [
"configured",
"target",
"and",
"data",
"ctad",
"=",
"scratch",
"configured",
"target",
"and",
"data",
"(",
"package",
"name",
",",
"rule",
"name",
",",
"config",
",",
"lines",
")",
";",
"return",
"ctad",
"=",
"=",
"null",
"?",
"null",
":",
"ctad",
"get",
"configured",
"target",
"(",
")",
";"
] |
[
"creates",
"and",
"returns",
"a",
"configured",
"scratch",
"rule",
"and",
"its",
"data"
] | [
"return",
"scratch",
"configured",
"target",
"and",
"data",
"(",
"package",
"name",
",",
"rulename",
",",
"target",
"config",
",",
"lines",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.