docstring_tokens
list | code_tokens
list |
---|---|
[
"plugins",
"should",
"override",
"this",
"method",
"with",
"code",
"performing",
"their",
"custom",
"transactions",
"e",
"g",
"appending",
"to",
"a",
"list",
"and",
"then",
"retrieving",
"the",
"appended",
"object"
]
| [
"public",
"abstract",
"boolean",
"do",
"transaction",
"(",
"string",
"op",
",",
"voldemort",
"wrapper",
"db",
",",
"string",
"transform",
")",
";"
]
|
[
"plugins",
"should",
"override",
"this",
"method",
"with",
"code",
"performing",
"record",
"population",
"e",
"g",
"populating",
"a",
"store",
"with",
"lists",
"corresponding",
"to",
"keys",
"related",
"to",
"the",
"value"
]
| [
"public",
"abstract",
"boolean",
"do",
"write",
"(",
"object",
"key",
",",
"string",
"value",
",",
"voldemort",
"wrapper",
"db",
")",
";"
]
|
[
"utility",
"method",
"to",
"initialize",
"{"
]
| [
"new",
"jackson",
"field",
"initializer",
"(",
")",
"init",
"fields",
"(",
"test",
"instance",
",",
"object",
"mapper",
")",
";"
]
|
[
"utility",
"method",
"to",
"initialize",
"{"
]
| [
"new",
"jackson",
"field",
"initializer",
"(",
")",
"init",
"fields",
"(",
"test",
"instance",
",",
"object",
"mapper",
"factory",
")",
";"
]
|
[
"returns",
"a",
"new",
"instance",
"of",
"{"
]
| [
"return",
"new",
"jackson",
"tester",
"<",
">",
"(",
"this",
"get",
"resource",
"load",
"class",
"(",
")",
",",
"this",
"get",
"type",
"(",
")",
",",
"this",
"object",
"mapper",
",",
"view",
")",
";"
]
|
[
"set",
"the",
"close",
"reason",
"for",
"this",
"close",
"frame"
]
| [
"if",
"(",
"reason",
"=",
"=",
"null",
")",
"{",
"reason",
"=",
"\"",
"\"",
";",
"}",
"this",
"reason",
"=",
"reason",
";",
"update",
"payload",
"(",
")",
";"
]
|
[
"get",
"the",
"used",
"close",
"code"
]
| [
"return",
"code",
";"
]
|
[
"get",
"the",
"message",
"that",
"closeframe",
"is",
"containing"
]
| [
"return",
"reason",
";"
]
|
[
"update",
"the",
"payload",
"to",
"represent",
"the",
"close",
"code",
"and",
"the",
"reason"
]
| [
"byte",
"[",
"]",
"by",
"=",
"charsetfunctions",
"utf",
"8",
"bytes",
"(",
"reason",
")",
";",
"byte",
"buffer",
"buf",
"=",
"byte",
"buffer",
"allocate",
"(",
"4",
")",
";",
"buf",
"put",
"int",
"(",
"code",
")",
";",
"buf",
"position",
"(",
"2",
")",
";",
"byte",
"buffer",
"pay",
"=",
"byte",
"buffer",
"allocate",
"(",
"2",
"+",
"by",
"length",
")",
";",
"pay",
"put",
"(",
"buf",
")",
";",
"pay",
"put",
"(",
"by",
")",
";",
"pay",
"rewind",
"(",
")",
";",
"super",
"set",
"payload",
"(",
"pay",
")",
";"
]
|
[
"{"
]
| [
"return",
"s",
"to",
"string",
"(",
"h",
"2",
"table",
"descriptor",
"class",
",",
"this",
")",
";"
]
|
[
"create",
"h2",
"row",
"factory"
]
| [
"if",
"(",
"cctx",
"affinity",
"node",
"(",
")",
")",
"return",
"new",
"h",
"2",
"row",
"factory",
"(",
"row",
"desc",
",",
"cctx",
")",
";",
"return",
"null",
";"
]
|
[
"get",
"collection",
"of",
"user",
"indexes"
]
| [
"assert",
"tbl",
"!",
"=",
"null",
";",
"array",
"list",
"<",
"grid",
"h",
"2",
"index",
"base",
">",
"res",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"grid",
"query",
"index",
"descriptor",
"idx",
"desc",
":",
"type",
"indexes",
"(",
")",
"values",
"(",
")",
")",
"{",
"grid",
"h",
"2",
"index",
"base",
"idx",
"=",
"create",
"user",
"index",
"(",
"idx",
"desc",
")",
";",
"res",
"add",
"(",
"idx",
")",
";",
"}",
"return",
"res",
";"
]
|
[
"create",
"hash",
"index"
]
| [
"if",
"(",
"cctx",
"affinity",
"node",
"(",
")",
")",
"{",
"assert",
"pk",
"hash",
"idx",
"=",
"=",
"null",
":",
"pk",
"hash",
"idx",
";",
"pk",
"hash",
"idx",
"=",
"new",
"h",
"2",
"pk",
"hash",
"index",
"(",
"cctx",
",",
"tbl",
",",
"idx",
"name",
",",
"cols",
")",
";",
"return",
"pk",
"hash",
"idx",
";",
"}",
"return",
"null",
";"
]
|
[
"handle",
"drop"
]
| [
"idx",
"remove",
"data",
"table",
"(",
"tbl",
")",
";",
"tbl",
"destroy",
"(",
")",
";",
"u",
"close",
"quiet",
"(",
"lucene",
"idx",
")",
";"
]
|
[
"{"
]
| [
"try",
"{",
"return",
"m",
"service",
"is",
"quota",
"supported",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"{"
]
| [
"try",
"{",
"return",
"m",
"service",
"is",
"reserved",
"supported",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"return",
"the",
"total",
"size",
"of",
"the",
"underlying",
"physical",
"media",
"that",
"is",
"hosting",
"this",
"storage",
"volume",
"<",
"p",
">",
"this",
"value",
"is",
"best",
"suited",
"for",
"visual",
"display",
"to",
"end",
"users",
"since",
"it",
"s",
"designed",
"to",
"reflect",
"the",
"total",
"storage",
"size",
"advertised",
"in",
"a",
"retail",
"environment",
"<",
"p",
">",
"apps",
"making",
"logical",
"decisions",
"about",
"disk",
"space",
"should",
"always",
"use",
"{",
"@",
"link",
"file",
"#",
"get",
"total",
"space",
"(",
")",
"}",
"instead",
"of",
"this",
"value"
]
| [
"try",
"{",
"return",
"m",
"service",
"get",
"total",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"return",
"the",
"free",
"space",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
">",
"this",
"value",
"is",
"best",
"suited",
"for",
"visual",
"display",
"to",
"end",
"users",
"since",
"it",
"s",
"designed",
"to",
"reflect",
"both",
"unused",
"space",
"<",
"em",
">",
"and",
"<",
"/",
"em",
">",
"and",
"cached",
"space",
"that",
"could",
"be",
"reclaimed",
"by",
"the",
"system",
"<",
"p",
">",
"apps",
"making",
"logical",
"decisions",
"about",
"disk",
"space",
"should",
"always",
"use",
"{",
"@",
"link",
"storage",
"manager",
"#",
"get",
"allocatable",
"bytes",
"(",
"uuid",
")",
"}",
"instead",
"of",
"this",
"value"
]
| [
"try",
"{",
"return",
"m",
"service",
"get",
"free",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"{"
]
| [
"try",
"{",
"return",
"m",
"service",
"get",
"cache",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"{"
]
| [
"return",
"get",
"cache",
"bytes",
"(",
"convert",
"(",
"uuid",
")",
")",
";"
]
|
[
"return",
"storage",
"statistics",
"for",
"a",
"specific",
"package",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"no",
"permissions",
"are",
"required",
"when",
"calling",
"this",
"api",
"for",
"your",
"own",
"package",
"however",
"requesting",
"details",
"for",
"any",
"other",
"package",
"requires",
"the",
"{",
"@",
"code",
"android",
"manifest",
"permission",
"#",
"package",
"usage",
"stats",
"}",
"permission",
"which",
"is",
"a",
"system",
"-",
"level",
"permission",
"that",
"will",
"not",
"be",
"granted",
"to",
"normal",
"apps",
"declaring",
"that",
"permission",
"expresses",
"your",
"intention",
"to",
"use",
"this",
"api",
"and",
"an",
"end",
"user",
"can",
"then",
"choose",
"to",
"grant",
"this",
"permission",
"through",
"the",
"settings",
"application",
"<",
"/",
"p",
">",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"if",
"the",
"requested",
"package",
"uses",
"the",
"{",
"@",
"code",
"android",
":",
"shared",
"user",
"id",
"}",
"manifest",
"feature",
"this",
"call",
"will",
"be",
"forced",
"into",
"a",
"slower",
"manual",
"calculation",
"path",
"if",
"possible",
"consider",
"always",
"using",
"{",
"@",
"link",
"#",
"query",
"stats",
"for",
"uid",
"(",
"uuid",
"int",
")",
"}",
"which",
"is",
"typically",
"faster",
"<",
"/",
"p",
">"
]
| [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"package",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"package",
"name",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"package",
"manager",
"name",
"not",
"found",
"exception",
"class",
")",
";",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"return",
"storage",
"statistics",
"for",
"a",
"specific",
"uid",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"no",
"permissions",
"are",
"required",
"when",
"calling",
"this",
"api",
"for",
"your",
"own",
"uid",
"however",
"requesting",
"details",
"for",
"any",
"other",
"uid",
"requires",
"the",
"{",
"@",
"code",
"android",
"manifest",
"permission",
"#",
"package",
"usage",
"stats",
"}",
"permission",
"which",
"is",
"a",
"system",
"-",
"level",
"permission",
"that",
"will",
"not",
"be",
"granted",
"to",
"normal",
"apps",
"declaring",
"that",
"permission",
"expresses",
"your",
"intention",
"to",
"use",
"this",
"api",
"and",
"an",
"end",
"user",
"can",
"then",
"choose",
"to",
"grant",
"this",
"permission",
"through",
"the",
"settings",
"application",
"<",
"/",
"p",
">"
]
| [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"uid",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"uid",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"return",
"storage",
"statistics",
"for",
"a",
"specific",
"{",
"@",
"link",
"user",
"handle",
"}",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"this",
"api",
"requires",
"the",
"{",
"@",
"code",
"android",
"manifest",
"permission",
"#",
"package",
"usage",
"stats",
"}",
"permission",
"which",
"is",
"a",
"system",
"-",
"level",
"permission",
"that",
"will",
"not",
"be",
"granted",
"to",
"normal",
"apps",
"declaring",
"that",
"permission",
"expresses",
"your",
"intention",
"to",
"use",
"this",
"api",
"and",
"an",
"end",
"user",
"can",
"then",
"choose",
"to",
"grant",
"this",
"permission",
"through",
"the",
"settings",
"application",
"<",
"/",
"p",
">"
]
| [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"user",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"return",
"shared",
"/",
"external",
"storage",
"statistics",
"for",
"a",
"specific",
"{",
"@",
"link",
"user",
"handle",
"}",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"this",
"api",
"requires",
"the",
"{",
"@",
"code",
"android",
"manifest",
"permission",
"#",
"package",
"usage",
"stats",
"}",
"permission",
"which",
"is",
"a",
"system",
"-",
"level",
"permission",
"that",
"will",
"not",
"be",
"granted",
"to",
"normal",
"apps",
"declaring",
"that",
"permission",
"expresses",
"your",
"intention",
"to",
"use",
"this",
"api",
"and",
"an",
"end",
"user",
"can",
"then",
"choose",
"to",
"grant",
"this",
"permission",
"through",
"the",
"settings",
"application",
"<",
"/",
"p",
">"
]
| [
"try",
"{",
"return",
"m",
"service",
"query",
"external",
"stats",
"for",
"user",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"maybe",
"rethrow",
"(",
"i",
"o",
"exception",
"class",
")",
";",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"{"
]
| [
"try",
"{",
"return",
"m",
"service",
"get",
"cache",
"quota",
"bytes",
"(",
"volume",
"uuid",
",",
"uid",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"virtual",
"tape",
"descriptions",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"tapes",
"=",
"=",
"null",
")",
"{",
"tapes",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tape",
">",
"(",
")",
";",
"}",
"return",
"tapes",
";"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"virtual",
"tape",
"descriptions",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"tapes",
"=",
"=",
"null",
")",
"{",
"this",
"tapes",
"=",
"null",
";",
"return",
";",
"}",
"this",
"tapes",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tape",
">",
"(",
"tapes",
")",
";"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"virtual",
"tape",
"descriptions",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"tapes",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"tapes",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"tapes",
"=",
"=",
"null",
")",
"{",
"set",
"tapes",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tape",
">",
"(",
"tapes",
"length",
")",
")",
";",
"}",
"for",
"(",
"tape",
"ele",
":",
"tapes",
")",
"{",
"this",
"tapes",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"array",
"of",
"virtual",
"tape",
"descriptions",
"<",
"/",
"p",
">"
]
| [
"set",
"tapes",
"(",
"tapes",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"an",
"opaque",
"string",
"which",
"can",
"be",
"used",
"as",
"part",
"of",
"a",
"subsequent",
"describe",
"tapes",
"call",
"to",
"retrieve",
"the",
"next",
"page",
"of",
"results",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"a",
"response",
"does",
"not",
"contain",
"a",
"marker",
"then",
"there",
"are",
"no",
"more",
"results",
"to",
"be",
"retrieved",
"<",
"/",
"p",
">"
]
| [
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
]
|
[
"called",
"by",
"the",
"scr",
"to",
"activate",
"the",
"component",
"with",
"its",
"configuration",
"read",
"from",
"cas"
]
| [
"if",
"(",
"configuration",
"!",
"=",
"null",
")",
"{",
"update",
"configuration",
"(",
"configuration",
")",
";",
"}"
]
|
[
"called",
"by",
"the",
"scr",
"when",
"the",
"configuration",
"of",
"a",
"binding",
"has",
"been",
"changed",
"through",
"the",
"config",
"admin",
"service"
]
| [
"if",
"(",
"configuration",
"!",
"=",
"null",
")",
"{",
"update",
"configuration",
"(",
"configuration",
")",
";",
"}"
]
|
[
"find",
"the",
"first",
"matching",
"{",
"@",
"link",
"horizon",
"binding",
"provider",
"}",
"according",
"to",
"<",
"code",
">",
"item",
"name",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"command",
"<",
"/",
"code",
">",
"if",
"no",
"direct",
"match",
"is",
"found",
"a",
"second",
"match",
"is",
"issued",
"with",
"wilcard",
"-",
"command",
"*"
]
| [
"horizon",
"binding",
"provider",
"first",
"matching",
"provider",
"=",
"null",
";",
"for",
"(",
"horizon",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"string",
"command",
"line",
"=",
"provider",
"get",
"horizon",
"command",
"(",
"item",
"name",
",",
"command",
"to",
"string",
"(",
")",
")",
";",
"if",
"(",
"command",
"line",
"!",
"=",
"null",
")",
"{",
"first",
"matching",
"provider",
"=",
"provider",
";",
"break",
";",
"}",
"}",
"return",
"first",
"matching",
"provider",
";"
]
|
[
"certain",
"logging",
"behaviors",
"are",
"available",
"for",
"debugging",
"beyond",
"those",
"that",
"should",
"be",
"enabled",
"in",
"production"
]
| [
"synchronized",
"(",
"logging",
"behaviors",
")",
"{",
"return",
"collections",
"unmodifiable",
"set",
"(",
"new",
"hash",
"set",
"<",
"logging",
"behavior",
">",
"(",
"logging",
"behaviors",
")",
")",
";",
"}"
]
|
[
"certain",
"logging",
"behaviors",
"are",
"available",
"for",
"debugging",
"beyond",
"those",
"that",
"should",
"be",
"enabled",
"in",
"production"
]
| [
"synchronized",
"(",
"logging",
"behaviors",
")",
"{",
"logging",
"behaviors",
"add",
"(",
"behavior",
")",
";",
"}"
]
|
[
"certain",
"logging",
"behaviors",
"are",
"available",
"for",
"debugging",
"beyond",
"those",
"that",
"should",
"be",
"enabled",
"in",
"production"
]
| [
"synchronized",
"(",
"logging",
"behaviors",
")",
"{",
"logging",
"behaviors",
"remove",
"(",
"behavior",
")",
";",
"}"
]
|
[
"certain",
"logging",
"behaviors",
"are",
"available",
"for",
"debugging",
"beyond",
"those",
"that",
"should",
"be",
"enabled",
"in",
"production"
]
| [
"synchronized",
"(",
"logging",
"behaviors",
")",
"{",
"logging",
"behaviors",
"clear",
"(",
")",
";",
"}"
]
|
[
"certain",
"logging",
"behaviors",
"are",
"available",
"for",
"debugging",
"beyond",
"those",
"that",
"should",
"be",
"enabled",
"in",
"production"
]
| [
"synchronized",
"(",
"logging",
"behaviors",
")",
"{",
"return",
"settings",
"is",
"debug",
"enabled",
"(",
")",
"&",
"&",
"logging",
"behaviors",
"contains",
"(",
"behavior",
")",
";",
"}"
]
|
[
"this",
"method",
"is",
"deprecated",
"use",
"{"
]
| [
"return",
"is",
"debug",
"enabled",
"(",
")",
";"
]
|
[
"this",
"method",
"is",
"deprecated",
"use",
"{"
]
| [
"set",
"is",
"debug",
"enabled",
"(",
"enabled",
")",
";"
]
|
[
"indicates",
"if",
"we",
"are",
"in",
"debug",
"mode"
]
| [
"return",
"is",
"debug",
"enabled",
";"
]
|
[
"used",
"to",
"enable",
"or",
"disable",
"logging",
"and",
"other",
"debug",
"features",
"defaults",
"to",
"build",
"config",
"debug"
]
| [
"is",
"debug",
"enabled",
"=",
"enabled",
";"
]
|
[
"returns",
"the",
"executor",
"used",
"by",
"the",
"sdk",
"for",
"non",
"-",
"async",
"task",
"background",
"work"
]
| [
"synchronized",
"(",
"lock",
")",
"{",
"if",
"(",
"settings",
"executor",
"=",
"=",
"null",
")",
"{",
"executor",
"executor",
"=",
"get",
"async",
"task",
"executor",
"(",
")",
";",
"if",
"(",
"executor",
"=",
"=",
"null",
")",
"{",
"executor",
"=",
"new",
"thread",
"pool",
"executor",
"(",
"default",
"core",
"pool",
"size",
",",
"default",
"maximum",
"pool",
"size",
",",
"default",
"keep",
"alive",
",",
"time",
"unit",
"seconds",
",",
"default",
"work",
"queue",
",",
"default",
"thread",
"factory",
")",
";",
"}",
"settings",
"executor",
"=",
"executor",
";",
"}",
"}",
"return",
"settings",
"executor",
";"
]
|
[
"sets",
"whether",
"opening",
"a",
"session",
"should",
"automatically",
"publish",
"install",
"attribution",
"to",
"the",
"facebook",
"graph"
]
| [
"settings",
"should",
"auto",
"publish",
"install",
"=",
"should",
"auto",
"publish",
"install",
";"
]
|
[
"gets",
"whether",
"opening",
"a",
"session",
"should",
"automatically",
"publish",
"install",
"attribution",
"to",
"the",
"facebook",
"graph"
]
| [
"return",
"should",
"auto",
"publish",
"install",
";"
]
|
[
"gets",
"the",
"application",
"version",
"to",
"the",
"provided",
"string"
]
| [
"return",
"app",
"version",
";"
]
|
[
"sets",
"the",
"application",
"version",
"to",
"the",
"provided",
"string",
"app",
"events",
"logger",
"log",
"event",
"calls",
"logs",
"its",
"event",
"with",
"the",
"current",
"app",
"version",
"and",
"app",
"insights",
"allows",
"breakdown",
"of",
"events",
"by",
"app",
"version"
]
| [
"settings",
"app",
"version",
"=",
"app",
"version",
";"
]
|
[
"gets",
"the",
"threshold",
"used",
"to",
"report",
"progress",
"on",
"requests"
]
| [
"return",
"on",
"progress",
"threshold",
"get",
"(",
")",
";"
]
|
[
"gets",
"whether",
"the",
"sdk",
"is",
"running",
"in",
"platform",
"compatibility",
"mode",
"(",
"i",
"e",
"making",
"calls",
"to",
"v",
"1",
"0",
"endpoints",
"by",
"default",
")",
"the",
"default",
"is",
"false"
]
| [
"return",
"platform",
"compatibility",
"enabled",
";"
]
|
[
"sets",
"whether",
"the",
"sdk",
"is",
"running",
"in",
"platform",
"compatibility",
"mode",
"(",
"i",
"e",
"making",
"calls",
"to",
"v",
"1",
"0",
"endpoints",
"by",
"default",
")",
"the",
"default",
"is",
"false",
"this",
"is",
"provided",
"for",
"apps",
"that",
"have",
"strong",
"reason",
"not",
"to",
"take",
"advantage",
"of",
"new",
"capabilities",
"in",
"version",
"2",
"0",
"+",
"of",
"the",
"api"
]
| [
"settings",
"platform",
"compatibility",
"enabled",
"=",
"platform",
"compatibility",
"enabled",
";"
]
|
[
"loads",
"default",
"values",
"for",
"certain",
"settings",
"from",
"an",
"application",
"s",
"android",
"manifest",
"xml",
"metadata",
"if",
"possible",
"if",
"values",
"have",
"been",
"explicitly",
"set",
"for",
"a",
"particular",
"setting",
"they",
"will",
"not",
"be",
"overwritten",
"the",
"following",
"settings",
"are",
"currently",
"loaded",
"from",
"metadata",
":",
"application",
"id",
"property",
"client",
"token",
"property"
]
| [
"defaults",
"loaded",
"=",
"true",
";",
"if",
"(",
"context",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"application",
"info",
"ai",
"=",
"null",
";",
"try",
"{",
"ai",
"=",
"context",
"get",
"package",
"manager",
"(",
")",
"get",
"application",
"info",
"(",
"context",
"get",
"package",
"name",
"(",
")",
",",
"package",
"manager",
"get",
"meta",
"data",
")",
";",
"}",
"catch",
"(",
"package",
"manager",
"name",
"not",
"found",
"exception",
"e",
")",
"{",
"return",
";",
"}",
"if",
"(",
"ai",
"=",
"=",
"null",
"|",
"|",
"ai",
"meta",
"data",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"if",
"(",
"application",
"id",
"=",
"=",
"null",
")",
"{",
"application",
"id",
"=",
"ai",
"meta",
"data",
"get",
"string",
"(",
"application",
"id",
"property",
")",
";",
"}",
"if",
"(",
"app",
"client",
"token",
"=",
"=",
"null",
")",
"{",
"app",
"client",
"token",
"=",
"ai",
"meta",
"data",
"get",
"string",
"(",
"client",
"token",
"property",
")",
";",
"}"
]
|
[
"gets",
"the",
"facebook",
"application",
"id",
"for",
"the",
"current",
"app",
"this",
"will",
"be",
"null",
"unless",
"explicitly",
"set",
"or",
"unless",
"load",
"defaults",
"from",
"metadata",
"has",
"been",
"called"
]
| [
"return",
"application",
"id",
";"
]
|
[
"sets",
"the",
"facebook",
"application",
"id",
"for",
"the",
"current",
"app"
]
| [
"settings",
"application",
"id",
"=",
"application",
"id",
";"
]
|
[
"gets",
"the",
"client",
"token",
"for",
"the",
"current",
"app",
"this",
"will",
"be",
"null",
"unless",
"explicitly",
"set",
"or",
"unless",
"load",
"defaults",
"from",
"metadata",
"has",
"been",
"called"
]
| [
"return",
"app",
"client",
"token",
";"
]
|
[
"for",
"unit",
"testing"
]
| [
"return",
"ref",
"count",
"get",
"(",
")",
";"
]
|
[
"get",
"the",
"reference",
"counted",
"object"
]
| [
"return",
"object",
";"
]
|
[
"release",
"a",
"reference",
"which",
"decrements",
"the",
"reference",
"count"
]
| [
"ref",
"count",
"decrement",
"and",
"get",
"(",
")",
";"
]
|
[
"returns",
"the",
"annotations",
"this",
"should",
"scan",
"for",
"every",
"method",
"in",
"the",
"module",
"that",
"has",
"one",
"of",
"these",
"annotations",
"will",
"create",
"a",
"provider",
"binding",
"with",
"the",
"return",
"value",
"of",
"the",
"binding",
"being",
"what",
"s",
"provided",
"and",
"the",
"parameters",
"of",
"the",
"method",
"being",
"dependencies",
"of",
"the",
"provider"
]
| [
"public",
"abstract",
"set",
"<",
"?",
"extends",
"class",
"<",
"?",
"extends",
"annotation",
">",
">",
"annotation",
"classes",
"(",
")",
";"
]
|
[
"prepares",
"a",
"method",
"for",
"binding",
"this",
"{",
"@",
"code",
"key",
"}",
"parameter",
"is",
"the",
"key",
"discovered",
"from",
"looking",
"at",
"the",
"binding",
"annotation",
"and",
"return",
"value",
"of",
"the",
"method",
"implementations",
"can",
"modify",
"the",
"key",
"to",
"instead",
"bind",
"to",
"another",
"key",
"for",
"example",
"multibinder",
"may",
"want",
"to",
"change",
"{",
"@",
"code",
"@",
"set",
"provides",
"string",
"provide",
"foo",
"(",
")",
"}",
"to",
"bind",
"into",
"a",
"unique",
"key",
"within",
"the",
"multibinder",
"instead",
"of",
"binding",
"{",
"@",
"code",
"string",
"}"
]
| [
"public",
"abstract",
"<",
"t",
">",
"key",
"<",
"t",
">",
"prepare",
"method",
"(",
"binder",
"binder",
",",
"annotation",
"annotation",
",",
"key",
"<",
"t",
">",
"key",
",",
"injection",
"point",
"injection",
"point",
")",
";"
]
|
[
"returns",
"the",
"directory",
"entries",
"for",
"this",
"directory",
"in",
"a",
"stable",
"order"
]
| [
"return",
"get",
"directory",
"listing",
"state",
"value",
"(",
")",
"get",
"dirents",
"(",
")",
";"
]
|
[
"returns",
"a",
"{"
]
| [
"return",
"key",
"create",
"(",
"directory",
"under",
"root",
")",
";"
]
|
[
"returns",
"a",
"new",
"element",
"info",
"for",
"this",
"element"
]
| [
"return",
"new",
"java",
"model",
"info",
"(",
")",
";"
]
|
[
"/",
"*"
]
| [
"switch",
"(",
"token",
"char",
"at",
"(",
"0",
")",
")",
"{",
"case",
"java",
"element",
"jem",
"javaproject",
":",
"if",
"(",
"!",
"memento",
"has",
"more",
"tokens",
"(",
")",
")",
"return",
"this",
";",
"string",
"project",
"name",
"=",
"memento",
"next",
"token",
"(",
")",
";",
"java",
"element",
"project",
"=",
"(",
"java",
"element",
")",
"get",
"java",
"project",
"(",
"project",
"name",
")",
";",
"return",
"project",
"get",
"handle",
"from",
"memento",
"(",
"memento",
",",
"owner",
")",
";",
"}",
"return",
"null",
";"
]
|
[
"returns",
"the",
"active",
"java",
"project",
"associated",
"with",
"the",
"specified",
"resource",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"no",
"java",
"project",
"yet",
"exists",
"for",
"the",
"resource"
]
| [
"switch",
"(",
"resource",
"get",
"type",
"(",
")",
")",
"{",
"case",
"i",
"resource",
"folder",
":",
"return",
"new",
"org",
"eclipse",
"jdt",
"internal",
"core",
"java",
"project",
"(",
"(",
"(",
"i",
"folder",
")",
"resource",
")",
"get",
"project",
"(",
")",
",",
"this",
")",
";",
"case",
"i",
"resource",
"file",
":",
"return",
"new",
"org",
"eclipse",
"jdt",
"internal",
"core",
"java",
"project",
"(",
"(",
"(",
"i",
"file",
")",
"resource",
")",
"get",
"project",
"(",
")",
",",
"this",
")",
";",
"case",
"i",
"resource",
"project",
":",
"return",
"new",
"java",
"project",
"(",
"(",
"i",
"project",
")",
"resource",
",",
"this",
")",
";",
"default",
":",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"messages",
"element",
"invalid",
"resource",
"for",
"project",
")",
";",
"}"
]
|
[
"/",
"*"
]
| [
"return",
"path",
"root",
";"
]
|
[
"/",
"*"
]
| [
"return",
"resources",
"plugin",
"get",
"workspace",
"(",
")",
"get",
"root",
"(",
")",
";"
]
|
[
"returns",
"the",
"workbench",
"associated",
"with",
"this",
"object"
]
| [
"return",
"resources",
"plugin",
"get",
"workspace",
"(",
")",
";"
]
|
[
"configures",
"and",
"runs",
"the",
"<",
"code",
">",
"multi",
"operation",
"<",
"/",
"code",
">"
]
| [
"op",
"set",
"renamings",
"(",
"renamings",
")",
";",
"if",
"(",
"siblings",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"elements",
"length",
";",
"i",
"+",
"+",
")",
"{",
"op",
"set",
"insert",
"before",
"(",
"elements",
"[",
"i",
"]",
",",
"siblings",
"[",
"i",
"]",
")",
";",
"}",
"}",
"op",
"run",
"operation",
"(",
"monitor",
")",
";"
]
|
[
"helper",
"method",
"-",
"returns",
"whether",
"an",
"object",
"is",
"a",
"file",
"(",
"i",
"e",
"it",
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"{"
]
| [
"if",
"(",
"target",
"instanceof",
"file",
")",
"{",
"i",
"path",
"path",
"=",
"path",
"from",
"o",
"s",
"string",
"(",
"(",
"(",
"file",
")",
"target",
")",
"get",
"path",
"(",
")",
")",
";",
"return",
"is",
"external",
"file",
"(",
"path",
")",
";",
"}",
"return",
"false",
";"
]
|
[
"helper",
"method",
"-",
"returns",
"the",
"{"
]
| [
"return",
"is",
"file",
"(",
"target",
")",
"?",
"(",
"file",
")",
"target",
":",
"null",
";"
]
|
[
"adds",
"a",
"new",
"thread",
"to",
"be",
"rendered"
]
| [
"m",
"color",
"generator",
"next",
"(",
"thread",
")",
";",
"final",
"timer",
"timer",
"=",
"new",
"timer",
"(",
"300",
",",
"new",
"action",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"action",
"performed",
"(",
"final",
"action",
"event",
"event",
")",
"{",
"final",
"color",
"new",
"color",
"=",
"m",
"color",
"generator",
"next",
"(",
"thread",
")",
";",
"if",
"(",
"new",
"color",
"equals",
"(",
"color",
"white",
")",
")",
"{",
"(",
"(",
"timer",
")",
"event",
"get",
"source",
"(",
")",
")",
"stop",
"(",
")",
";",
"}",
"m",
"table",
"update",
"u",
"i",
"(",
")",
";",
"}",
"}",
")",
";",
"timer",
"start",
"(",
")",
";"
]
|
[
"create",
"sharding",
"data",
"source"
]
| [
"return",
"new",
"sharding",
"data",
"source",
"(",
"data",
"source",
"map",
",",
"new",
"sharding",
"rule",
"(",
"sharding",
"rule",
"config",
",",
"data",
"source",
"map",
"key",
"set",
"(",
")",
")",
",",
"config",
"map",
",",
"props",
")",
";"
]
|
[
"example",
"value",
":",
"g",
"hopper"
]
| [
"this",
"login",
"=",
"login",
";",
"return",
"this",
";"
]
|
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"project",
"scan",
"on",
"travis"
]
| [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
]
|
[
"{"
]
| [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"(",
"(",
"tcp",
"discovery",
"spi",
")",
"cfg",
"get",
"discovery",
"spi",
"(",
")",
")",
"set",
"ip",
"finder",
"(",
"ip",
"finder",
")",
";",
"cfg",
"set",
"client",
"failure",
"detection",
"timeout",
"(",
"30000",
")",
";",
"cfg",
"set",
"client",
"mode",
"(",
"client",
")",
";",
"cfg",
"set",
"metrics",
"update",
"frequency",
"(",
"1000",
")",
";",
"return",
"cfg",
";"
]
|
[
"event",
"listener",
"for",
"each",
"iteration"
]
| [
"if",
"(",
"invocation",
"type",
"=",
"=",
"invocation",
"type",
"iteration",
"end",
")",
"invoke",
"listener",
"(",
"model",
")",
";"
]
|
[
"defines",
"a",
"resource",
"that",
"represents",
"an",
"elytron",
"-",
"compatible",
"realm",
"that",
"can",
"be",
"exported",
"by",
"the",
"legacy",
"security",
"subsystem",
"the",
"constructed",
"{",
"@",
"code",
"security",
"realm",
"}",
"wraps",
"a",
"legacy",
"{",
"@",
"code",
"security",
"domain",
"context",
"}",
"and",
"delegates",
"authentication",
"decisions",
"to",
"that",
"context"
]
| [
"final",
"attribute",
"definition",
"[",
"]",
"attributes",
"=",
"new",
"attribute",
"definition",
"[",
"]",
"{",
"legacy",
"jaas",
"config",
",",
"apply",
"role",
"mappers",
"}",
";",
"final",
"abstract",
"add",
"step",
"handler",
"add",
"handler",
"=",
"new",
"basic",
"add",
"handler",
"<",
"security",
"realm",
">",
"(",
"attributes",
",",
"security",
"realm",
"runtime",
"capability",
")",
"{",
"@",
"override",
"protected",
"basic",
"service",
"value",
"supplier",
"<",
"security",
"realm",
">",
"get",
"value",
"supplier",
"(",
"service",
"builder",
"<",
"security",
"realm",
">",
"service",
"builder",
",",
"operation",
"context",
"context",
",",
"model",
"node",
"model",
")",
"throws",
"operation",
"failed",
"exception",
"{",
"final",
"string",
"legacy",
"j",
"a",
"a",
"s",
"config",
"=",
"as",
"string",
"if",
"defined",
"(",
"context",
",",
"legacy",
"jaas",
"config",
",",
"model",
")",
";",
"final",
"boolean",
"apply",
"role",
"mappers",
"=",
"apply",
"role",
"mappers",
"resolve",
"model",
"attribute",
"(",
"context",
",",
"model",
")",
"as",
"boolean",
"(",
")",
";",
"final",
"injected",
"value",
"<",
"security",
"domain",
"context",
">",
"security",
"domain",
"context",
"injector",
"=",
"new",
"injected",
"value",
"<",
">",
"(",
")",
";",
"if",
"(",
"legacy",
"j",
"a",
"a",
"s",
"config",
"!",
"=",
"null",
")",
"{",
"service",
"builder",
"add",
"dependency",
"(",
"security",
"domain",
"service",
"service",
"name",
"append",
"(",
"legacy",
"j",
"a",
"a",
"s",
"config",
")",
",",
"security",
"domain",
"context",
"class",
",",
"security",
"domain",
"context",
"injector",
")",
";",
"}",
"return",
"(",
")",
"-",
">",
"{",
"final",
"security",
"domain",
"context",
"domain",
"context",
"=",
"security",
"domain",
"context",
"injector",
"get",
"value",
"(",
")",
";",
"return",
"new",
"security",
"domain",
"context",
"realm",
"(",
"domain",
"context",
",",
"apply",
"role",
"mappers",
")",
";",
"}",
";",
"}",
"}",
";",
"return",
"new",
"basic",
"resource",
"definition",
"(",
"constants",
"elytron",
"realm",
",",
"add",
"handler",
",",
"attributes",
",",
"security",
"realm",
"runtime",
"capability",
")",
";"
]
|
[
"set",
"the",
"input",
"data",
"type"
]
| [
"this",
"input",
"type",
"=",
"new",
"data",
"type",
"(",
"input",
"type",
")",
";",
"this",
"contract",
"string",
"=",
"null",
";"
]
|
[
"set",
"the",
"input",
"data",
"type",
"with",
"java",
"class"
]
| [
"this",
"input",
"type",
"=",
"new",
"data",
"type",
"(",
"clazz",
")",
";",
"this",
"contract",
"string",
"=",
"null",
";"
]
|
[
"set",
"the",
"output",
"data",
"type"
]
| [
"this",
"output",
"type",
"=",
"new",
"data",
"type",
"(",
"output",
"type",
")",
";",
"this",
"contract",
"string",
"=",
"null",
";"
]
|
[
"set",
"the",
"output",
"data",
"type",
"with",
"java",
"class"
]
| [
"this",
"output",
"type",
"=",
"new",
"data",
"type",
"(",
"clazz",
")",
";",
"this",
"contract",
"string",
"=",
"null",
";"
]
|
[
"whether",
"to",
"validate",
"the",
"input"
]
| [
"this",
"validate",
"input",
"=",
"validate",
";"
]
|
[
"whether",
"to",
"validate",
"the",
"output"
]
| [
"this",
"validate",
"output",
"=",
"validate",
";"
]
|
[
"toggles",
"enable",
"state",
"of",
"views",
"in",
"a",
"volume",
"row",
"(",
"not",
"including",
"seekbar",
"or",
"icon",
")",
"hides",
"/",
"shows",
"zen",
"icon"
]
| [
"boolean",
"show",
"dnd",
"icon",
"=",
"!",
"enable",
";",
"row",
"dnd",
"icon",
"set",
"visibility",
"(",
"show",
"dnd",
"icon",
"?",
"visible",
":",
"gone",
")",
";"
]
|
[
"toggles",
"enable",
"state",
"of",
"footer",
"/",
"ringer",
"views",
"hides",
"/",
"shows",
"zen",
"icon"
]
| [
"m",
"ringer",
"icon",
"set",
"enabled",
"(",
"enable",
")",
";",
"m",
"zen",
"icon",
"set",
"visibility",
"(",
"enable",
"?",
"gone",
":",
"visible",
")",
";"
]
|
[
"if",
"message",
"type",
"=",
"=",
"message",
"type",
"string",
"then",
"returns",
"the",
"message",
"string",
"otherwise",
"returns",
"null"
]
| [
"return",
"str",
"message",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"filter",
"<",
"/",
"p",
">"
]
| [
"set",
"key",
"(",
"key",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"filter",
"<",
"/",
"p",
">"
]
| [
"with",
"key",
"(",
"key",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"filter",
"<",
"/",
"p",
">"
]
| [
"this",
"key",
"=",
"key",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"filter",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"value",
"set",
"=",
"=",
"null",
")",
"{",
"value",
"set",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"value",
"set",
";"
]
|
[
"<",
"p",
">",
"the",
"filter",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"value",
"set",
"=",
"=",
"null",
")",
"{",
"this",
"value",
"set",
"=",
"null",
";",
"return",
";",
"}",
"this",
"value",
"set",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"value",
"set",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"filter",
"values",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"value",
"set",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"value",
"set",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"value",
"set",
"=",
"=",
"null",
")",
"{",
"set",
"value",
"set",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"value",
"set",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"value",
"set",
")",
"{",
"this",
"value",
"set",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"filter",
"values",
"<",
"/",
"p",
">"
]
| [
"set",
"value",
"set",
"(",
"value",
"set",
")",
";",
"return",
"this",
";"
]
|
[
"build",
"a",
"matching",
"representation",
"of",
"a",
"secret",
"but",
"without",
"sensitive",
"content"
]
| [
"check",
"not",
"null",
"(",
"secret",
")",
";",
"sanitized",
"secret",
"sanitized",
"secret",
"=",
"sanitized",
"secret",
"from",
"secret",
"(",
"secret",
")",
";",
"return",
"sanitized",
"secret",
"with",
"groups",
"of",
"(",
"sanitized",
"secret",
",",
"groups",
")",
";"
]
|
[
"asserts",
"that",
"a",
"a",
"type",
"expression",
"resolves",
"to",
"the",
"correct",
"{"
]
| [
"assert",
"type",
"equals",
"(",
"expected",
",",
"resolve",
"(",
"actual",
")",
")",
";"
]
|
[
"resolves",
"a",
"type",
"expression",
"expecting",
"the",
"given",
"warnings"
]
| [
"error",
"reporter",
"set",
"warnings",
"(",
"warnings",
")",
";",
"return",
"n",
"evaluate",
"(",
"null",
",",
"registry",
")",
";"
]
|
[
"return",
"true",
"if",
"{"
]
| [
"preconditions",
"check",
"argument",
"(",
"haystack",
"lenght",
">",
"0",
")",
";",
"preconditions",
"check",
"argument",
"(",
"needle",
"length",
">",
"0",
")",
";",
"outer",
":",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"=",
"haystack",
"lenght",
"-",
"needle",
"length",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"needle",
"length",
";",
"j",
"+",
"+",
")",
"{",
"if",
"(",
"haystack",
"[",
"i",
"+",
"j",
"]",
"!",
"=",
"needle",
"[",
"j",
"]",
")",
"{",
"continue",
"outer",
";",
"}",
"}",
"return",
"true",
";",
"}",
"return",
"false",
";"
]
|
[
"auto",
"-",
"completes",
"possible",
"job",
"names"
]
| [
"if",
"(",
"self",
"=",
"=",
"container",
")",
"container",
"=",
"self",
"get",
"parent",
"(",
")",
";",
"return",
"of",
"job",
"names",
"(",
"type",
",",
"value",
",",
"container",
")",
";"
]
|
[
"@",
"return",
"an",
"icon",
"displayed",
"in",
"the",
"in",
"-",
"call",
"ui"
]
| [
"return",
"m",
"icon",
"load",
"drawable",
"(",
"context",
")",
";"
]
|
[
"to",
"configure",
"the",
"default",
"number",
"of",
"concurrent",
"consumers"
]
| [
"this",
"default",
"concurrent",
"consumers",
"=",
"default",
"concurrent",
"consumers",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.