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",
... |
[
"{"
] | [
"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",
"in... |
[
"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",
... |
[
"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",
... |
[
"{"
] | [
"try",
"{",
"return",
"m",
"service",
"is",
"reserved",
"supported",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw... |
[
"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",... | [
"try",
"{",
"return",
"m",
"service",
"get",
"total",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"... |
[
"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",
... | [
"try",
"{",
"return",
"m",
"service",
"get",
"free",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"m... |
[
"{"
] | [
"try",
"{",
"return",
"m",
"service",
"get",
"cache",
"bytes",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",
")",
"{",
"e",
"... |
[
"{"
] | [
"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",
... | [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"package",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"package",
"name",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
... |
[
"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... | [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"uid",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"uid",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"parcelable",
"exception",
"e",... |
[
"return",
"storage",
"statistics",
"for",
"a",
"specific",
"{",
"@",
"link",
"user",
"handle",
"}",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"this",
"api",
"requires",
"the",
"{",
"@",
"code",
"an... | [
"try",
"{",
"return",
"m",
"service",
"query",
"stats",
"for",
"user",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"... |
[
"return",
"shared",
"/",
"external",
"storage",
"statistics",
"for",
"a",
"specific",
"{",
"@",
"link",
"user",
"handle",
"}",
"on",
"the",
"requested",
"storage",
"volume",
"<",
"p",
"class",
"=",
"note",
">",
"note",
":",
"this",
"api",
"requires",
"th... | [
"try",
"{",
"return",
"m",
"service",
"query",
"external",
"stats",
"for",
"user",
"(",
"convert",
"(",
"storage",
"uuid",
")",
",",
"user",
"get",
"identifier",
"(",
")",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
... |
[
"{"
] | [
"try",
"{",
"return",
"m",
"service",
"get",
"cache",
"quota",
"bytes",
"(",
"volume",
"uuid",
",",
"uid",
",",
"m",
"context",
"get",
"op",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e... |
[
"<",
"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",
... | [
"if",
"(",
"this",
"tapes",
"=",
"=",
"null",
")",
"{",
"set",
"tapes",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tape",
">",
"(",
"tapes",
"length",
")",
")",
";",
"}",
"for",
"(",
"tape",
"ele",
":",
"tapes",
... |
[
"<",
"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",
"resp... | [
"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",
... | [
"horizon",
"binding",
"provider",
"first",
"matching",
"provider",
"=",
"null",
";",
"for",
"(",
"horizon",
"binding",
"provider",
"provider",
":",
"this",
"providers",
")",
"{",
"string",
"command",
"line",
"=",
"provider",
"get",
"horizon",
"command",
"(",
... |
[
"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",
"=",
... |
[
"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",... | [
"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... | [
"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",
... | [
"defaults",
"loaded",
"=",
"true",
";",
"if",
"(",
"context",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"application",
"info",
"ai",
"=",
"null",
";",
"try",
"{",
"ai",
"=",
"context",
"get",
"package",
"manager",
"(",
")",
"get",
"application"... |
[
"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",
"bind... | [
"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",
"ca... | [
"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"... |
[
"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",... |
[
"/",
"*"
] | [
"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",
"(",
... |
[
"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",
")",... |
[
"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",
"... |
[
"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",
... |
[
"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",
"l... | [
"final",
"attribute",
"definition",
"[",
"]",
"attributes",
"=",
"new",
"attribute",
"definition",
"[",
"]",
"{",
"legacy",
"jaas",
"config",
",",
"apply",
"role",
"mappers",
"}",
";",
"final",
"abstract",
"add",
"step",
"handler",
"add",
"handler",
"=",
"... |
[
"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",
"s... |
[
"<",
"p",
">",
"the",
"filter",
"values",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@"... | [
"if",
"(",
"this",
"value",
"set",
"=",
"=",
"null",
")",
"{",
"set",
"value",
"set",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"value",
"set",
"length",
")",
")",
";",
"}",
"for",
"(",
"string"... |
[
"<",
"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",
",",
... |
[
"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",
"l... |
[
"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.