docstring_tokens list | code_tokens list |
|---|---|
[
"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",
... |
[
"{"
] | [
"assert",
"cls",
"!",
"=",
"null",
";",
"counter",
"key",
"map",
"key",
"=",
"new",
"counter",
"key",
"(",
"cls",
",",
"grp",
",",
"name",
")",
";",
"t",
"cntr",
"=",
"(",
"t",
")",
"cntrs",
"map",
"get",
"(",
"map",
"key",
")",
";",
"if",
"(... |
[
"{"
] | [
"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",
... |
[
"{"
] | [
"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",
"syst... | [
"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",
... | [
"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",
... | [
"try",
"{",
"class",
"loader",
"cl",
"=",
"child",
";",
"while",
"(",
"cl",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"cl",
"=",
"=",
"parent",
")",
"{",
"return",
"true",
";",
"}",
"cl",
"=",
"cl",
"get",
"parent",
"(",
")",
";",
"}",
"return",... |
[
"<",
"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",
"<",
"/",
"c... | [
"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",
"<",
"/",
"c... | [
"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",
"<",
"/",
"c... | [
"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",
">",
"<... | [
"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",
">",
"<... | [
"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",
">",
"<... | [
"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",
"[",
"... | [
"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",
"[",
"... | [
"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",
"[",
"... | [
"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",
... | [
"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",
"specif... | [
"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",
"specif... | [
"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",
"dura... | [
"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",
"dura... | [
"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"... |
[
"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",
"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",... |
[
"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",
... |
[
"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",
"(",
")",
... |
[
"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"... |
[
"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",
"drawa... |
[
"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",
")",
";",
"}",
"i... |
[
"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",
"instanc... |
[
"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",
"princ... | [
"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",
"princ... | [
"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",
"princ... | [
"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",
"princ... | [
"set",
"<",
"artifact",
">",
"result",
"=",
"new",
"linked",
"hash",
"set",
"<",
">",
"(",
")",
";",
"for",
"(",
"file",
"provider",
"provider",
":",
"get",
"prerequisites",
"(",
"target",
",",
"attribute",
"name",
",",
"file",
"provider",
"class",
")"... |
[
"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... |
[
"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... |
[
"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",
"config... | [
"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",
... | [
"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",
... | [
"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",... | [
"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... |
[
"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.