docstring_tokens list | code_tokens list |
|---|---|
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"first",
"<",
"0",
")",
"return",
"size",
"-",
"1",
";",
"if",
"(",
"last",
"<",
"0",
"|",
"|",
"last",
">",
"=",
"size",
")",
"return",
"size",
"-",
"1",
";",
"return",
"last",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"get",
"last",
"(",
"size",
")",
"-",
"get",
"first",
"(",
"size",
")",
"+",
"1",
";"
] |
[
"get",
"the",
"default",
"tab",
"size",
"(",
"number",
"of",
"space",
"characters",
"per",
"tab",
"character",
")",
"to",
"use",
"for",
"each",
"project",
"if",
"{",
"@",
"code",
"<",
"=",
"0",
"}",
"tabs",
"are",
"read",
"/",
"write",
"as",
"is"
] | [
"return",
"tab",
"size",
";"
] |
[
"set",
"the",
"default",
"tab",
"size",
"(",
"number",
"of",
"space",
"characters",
"per",
"tab",
"character",
")",
"to",
"use",
"for",
"each",
"project",
"if",
"{",
"@",
"code",
"<",
"=",
"0",
"}",
"tabs",
"are",
"read",
"/",
"write",
"as",
"is"
] | [
"this",
"tab",
"size",
"=",
"tab",
"size",
";"
] |
[
"gets",
"the",
"instance",
"s",
"definitions"
] | [
"return",
"defs",
";"
] |
[
"sets",
"the",
"supplier",
"of",
"a",
"{"
] | [
"splitter",
"=",
"null",
";",
"tried",
"splitter",
"supplier",
"=",
"false",
";",
"splitter",
"supplier",
"=",
"obj",
";"
] |
[
"tries",
"to",
"cut",
"lines",
"from",
"a",
"splitter",
"provided",
"by",
"{"
] | [
"if",
"(",
"splitter",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"splitter",
"supplier",
"=",
"=",
"null",
"|",
"|",
"tried",
"splitter",
"supplier",
")",
"{",
"return",
"null",
";",
"}",
"tried",
"splitter",
"supplier",
"=",
"true",
";",
"splitter",
"=... |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"you",
"assigned",
"to",
"this",
"job",
"when",
"it",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"id",
"(",
"job",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"contains",
"a",
"subset",
"of",
"information",
"about",
"a",
"job",
"execution",
"<",
"/",
"p",
">"
] | [
"this",
"job",
"execution",
"summary",
"=",
"job",
"execution",
"summary",
";"
] |
[
"<",
"p",
">",
"contains",
"a",
"subset",
"of",
"information",
"about",
"a",
"job",
"execution",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"job",
"execution",
"summary",
";"
] |
[
"<",
"p",
">",
"contains",
"a",
"subset",
"of",
"information",
"about",
"a",
"job",
"execution",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"execution",
"summary",
"(",
"job",
"execution",
"summary",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioned",
"product",
"you",
"cannot",
"specify",
"both",
"<",
"code",
">",
"provisioned",
"product",
"name",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"provisioned",
"product",
"id",
"<",
"/",
... | [
"this",
"provisioned",
"product",
"id",
"=",
"provisioned",
"product",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioned",
"product",
"you",
"cannot",
"specify",
"both",
"<",
"code",
">",
"provisioned",
"product",
"name",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"provisioned",
"product",
"id",
"<",
"/",
... | [
"return",
"this",
"provisioned",
"product",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioned",
"product",
"<",
"/",
"p",
">"
] | [
"set",
"provisioned",
"product",
"id",
"(",
"provisioned",
"product",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"self",
"-",
"service",
"action",
"identifier",
"for",
"example",
"<",
"code",
">",
"act",
"-",
"fs",
"7abcd",
"8",
"9wxyz",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"service",
"action",
"id",
"=",
"service",
"action",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"self",
"-",
"service",
"action",
"identifier",
"for",
"example",
"<",
"code",
">",
"act",
"-",
"fs",
"7abcd",
"8",
"9wxyz",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"service",
"action",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"self",
"-",
"service",
"action",
"identifier",
"for",
"example",
"<",
"code",
">",
"act",
"-",
"fs",
"7abcd",
"8",
"9wxyz",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"service",
"action",
"id",
"(",
"service",
"action",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"idempotency",
"token",
"that",
"uniquely",
"identifies",
"the",
"execute",
"request",
"<",
"/",
"p",
">"
] | [
"this",
"execute",
"token",
"=",
"execute",
"token",
";"
] |
[
"<",
"p",
">",
"an",
"idempotency",
"token",
"that",
"uniquely",
"identifies",
"the",
"execute",
"request",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"execute",
"token",
";"
] |
[
"<",
"p",
">",
"an",
"idempotency",
"token",
"that",
"uniquely",
"identifies",
"the",
"execute",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"execute",
"token",
"(",
"execute",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"language",
"code",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"en",
"<",
"/",
"code",
">",
"-",
"english",
"(",
"default",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<... | [
"set",
"accept",
"language",
"(",
"accept",
"language",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"layer",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"layers",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"layers",
"=",
"=",
"null",
")",
"{",
"layers",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"layer",
">",
"(",
")",
";",
"}",
"return",
"layers",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"layer",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"layers",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"layers",
"=",
"=",
"null",
")",
"{",
"this",
"layers",
"=",
"null",
";",
"return",
";",
"}",
"this",
"layers",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"layer",
">",
"(",
"layers",
")",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"layer",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"layers",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"append... | [
"if",
"(",
"this",
"layers",
"=",
"=",
"null",
")",
"{",
"set",
"layers",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"layer",
">",
"(",
"layers",
"length",
")",
")",
";",
"}",
"for",
"(",
"layer",
"ele",
":",
"layer... |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"layer",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"layers",
"<",
"/",
"p",
">"
] | [
"set",
"layers",
"(",
"layers",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"this",
"chain",
"will",
"reuse",
"the",
"last",
"successful",
"credentials",
"provider",
"for",
"future",
"credentials",
"requests",
"otherwise",
"false",
"if",
"it",
"will",
"search",
"through",
"the",
"chain",
"each",
"time"
] | [
"return",
"reuse",
"last",
"provider",
";"
] |
[
"enables",
"or",
"disables",
"caching",
"of",
"the",
"last",
"successful",
"credentials",
"provider",
"in",
"this",
"chain",
"reusing",
"the",
"last",
"successful",
"credentials",
"provider",
"will",
"typically",
"return",
"credentials",
"faster",
"than",
"searching... | [
"this",
"reuse",
"last",
"provider",
"=",
"b",
";"
] |
[
"build",
"the",
"database",
"create",
"it",
"in",
"the",
"metastore",
"and",
"then",
"return",
"the",
"db",
"object"
] | [
"database",
"db",
"=",
"build",
"(",
"conf",
")",
";",
"client",
"create",
"database",
"(",
"db",
")",
";",
"return",
"db",
";"
] |
[
"informs",
"the",
"crop",
"overlay",
"view",
"of",
"the",
"image",
"s",
"position",
"relative",
"to",
"the",
"image",
"view",
"this",
"is",
"necessary",
"to",
"call",
"in",
"order",
"to",
"draw",
"the",
"crop",
"window"
] | [
"m",
"bitmap",
"rect",
"=",
"bitmap",
"rect",
";",
"init",
"crop",
"window",
"(",
"m",
"bitmap",
"rect",
")",
";"
] |
[
"resets",
"the",
"crop",
"overlay",
"view"
] | [
"if",
"(",
"initialized",
"crop",
"window",
")",
"{",
"init",
"crop",
"window",
"(",
"m",
"bitmap",
"rect",
")",
";",
"invalidate",
"(",
")",
";",
"}"
] |
[
"sets",
"whether",
"the",
"aspect",
"ratio",
"is",
"fixed",
"or",
"not",
";",
"true",
"fixes",
"the",
"aspect",
"ratio",
"while",
"false",
"allows",
"it",
"to",
"be",
"changed"
] | [
"m",
"fix",
"aspect",
"ratio",
"=",
"fix",
"aspect",
"ratio",
";",
"if",
"(",
"initialized",
"crop",
"window",
")",
"{",
"init",
"crop",
"window",
"(",
"m",
"bitmap",
"rect",
")",
";",
"invalidate",
"(",
")",
";",
"}"
] |
[
"indicates",
"whether",
"the",
"crop",
"window",
"is",
"small",
"enough",
"that",
"the",
"guidelines",
"should",
"be",
"shown",
"public",
"because",
"this",
"function",
"is",
"also",
"used",
"to",
"determine",
"if",
"the",
"center",
"handle",
"should",
"be",
... | [
"if",
"(",
"(",
"math",
"abs",
"(",
"edge",
"left",
"get",
"coordinate",
"(",
")",
"-",
"edge",
"right",
"get",
"coordinate",
"(",
")",
")",
"<",
"default",
"show",
"guidelines",
"limit",
")",
"|",
"|",
"(",
"math",
"abs",
"(",
"edge",
"top",
"get"... |
[
"handles",
"a",
"{"
] | [
"if",
"(",
"m",
"pressed",
"handle",
"=",
"=",
"null",
")",
"return",
";",
"m",
"pressed",
"handle",
"=",
"null",
";",
"invalidate",
"(",
")",
";"
] |
[
"calls",
"{"
] | [
"logger",
"debug",
"(",
"s",
")",
";"
] |
[
"calls",
"{"
] | [
"logger",
"info",
"(",
"s",
")",
";"
] |
[
"calls",
"{"
] | [
"logger",
"warn",
"(",
"s",
")",
";"
] |
[
"calls",
"{"
] | [
"logger",
"error",
"(",
"s",
")",
";"
] |
[
"get",
"training",
"data",
"given",
"some",
"parameters",
"for",
"the",
"data",
"data",
"parameters",
"map",
"is",
"used",
"to",
"specify",
"things",
"like",
"batch",
"size",
"data",
"preprocessing"
] | [
"return",
"create",
"(",
"data",
"parameters",
")",
";"
] |
[
"get",
"training",
"data",
"given",
"some",
"parameters",
"for",
"the",
"data",
"data",
"parameters",
"map",
"is",
"used",
"to",
"specify",
"things",
"like",
"batch",
"size",
"data",
"preprocessing"
] | [
"return",
"create",
"(",
"data",
"parameters",
")",
";"
] |
[
"set",
"the",
"trigger",
"view",
"if",
"{"
] | [
"m",
"trigger",
"view",
"=",
"trigger",
"view",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"ripple",
"background",
"drawable",
"res",
"this",
"will",
"be",
"override",
"by",
"{"
] | [
"m",
"color",
"or",
"image",
"res",
"=",
"color",
"or",
"image",
"res",
";",
"return",
"this",
";"
] |
[
"visible",
"for",
"testing"
] | [
"pipeline",
"=",
"new",
"default",
"filter",
"pipeline",
"(",
")",
";",
"local",
"context",
"remove",
"(",
")",
";"
] |
[
"scope",
"concurrently"
] | [
"context",
"previous",
"=",
"local",
"context",
"get",
"(",
")",
";",
"local",
"context",
"set",
"(",
"this",
")",
";",
"try",
"{",
"return",
"callable",
"call",
"(",
")",
";",
"}",
"finally",
"{",
"local",
"context",
"set",
"(",
"previous",
")",
";"... |
[
"<",
"p",
">",
"retrieve",
"all",
"parameters",
"within",
"a",
"hierarchy",
"<",
"/",
"p",
">",
"<",
"important",
">",
"<",
"p",
">",
"if",
"a",
"user",
"has",
"access",
"to",
"a",
"path",
"then",
"the",
"user",
"can",
"access",
"all",
"levels",
"o... | [
"this",
"recursive",
"=",
"recursive",
";"
] |
[
"returns",
"the",
"singleton",
"font",
"size",
"prefs",
"constructing",
"it",
"if",
"it",
"doesn",
"t",
"already",
"exist"
] | [
"thread",
"utils",
"assert",
"on",
"ui",
"thread",
"(",
")",
";",
"if",
"(",
"s",
"font",
"size",
"prefs",
"=",
"=",
"null",
")",
"{",
"s",
"font",
"size",
"prefs",
"=",
"new",
"font",
"size",
"prefs",
"(",
"context",
")",
";",
"}",
"return",
"s"... |
[
"adds",
"an",
"observer",
"to",
"listen",
"for",
"changes",
"to",
"font",
"scale",
"-",
"related",
"preferences"
] | [
"m",
"observer",
"list",
"add",
"observer",
"(",
"observer",
")",
";"
] |
[
"removes",
"an",
"observer",
"so",
"it",
"will",
"no",
"longer",
"receive",
"updates",
"for",
"changes",
"to",
"font",
"scale",
"-",
"related",
"preferences"
] | [
"m",
"observer",
"list",
"remove",
"observer",
"(",
"observer",
")",
";"
] |
[
"updates",
"the",
"font",
"scale",
"factor",
"based",
"on",
"the",
"user",
"font",
"scale",
"factor",
"and",
"the",
"system",
"-",
"wide",
"font",
"scale"
] | [
"float",
"user",
"font",
"scale",
"factor",
"=",
"get",
"user",
"font",
"scale",
"factor",
"(",
")",
";",
"if",
"(",
"user",
"font",
"scale",
"factor",
"!",
"=",
"0f",
")",
"{",
"set",
"font",
"scale",
"factor",
"(",
"user",
"font",
"scale",
"factor"... |
[
"sets",
"the",
"user",
"font",
"scale",
"factor",
"this",
"should",
"be",
"a",
"value",
"between",
"5",
"and",
"2"
] | [
"shared",
"preferences",
"editor",
"shared",
"preferences",
"editor",
"=",
"m",
"shared",
"preferences",
"edit",
"(",
")",
";",
"shared",
"preferences",
"editor",
"put",
"float",
"(",
"pref",
"user",
"font",
"scale",
"factor",
",",
"user",
"font",
"scale",
"... |
[
"returns",
"the",
"font",
"scale",
"factor",
"this",
"is",
"the",
"product",
"of",
"the",
"user",
"font",
"scale",
"factor",
"and",
"the",
"system",
"font",
"scale",
"and",
"is",
"the",
"amount",
"by",
"which",
"webpage",
"text",
"will",
"be",
"scaled",
... | [
"return",
"native",
"get",
"font",
"scale",
"factor",
"(",
"m",
"font",
"size",
"prefs",
"android",
"ptr",
")",
";"
] |
[
"sets",
"force",
"enable",
"zoom",
"due",
"to",
"a",
"user",
"request",
"(",
"e",
"g",
"checking",
"a",
"checkbox",
")",
"this",
"implicitly",
"sets",
"user",
"set",
"force",
"enable",
"zoom"
] | [
"set",
"force",
"enable",
"zoom",
"(",
"enabled",
",",
"true",
")",
";"
] |
[
"returns",
"whether",
"force",
"enable",
"zoom",
"is",
"enabled"
] | [
"return",
"native",
"get",
"force",
"enable",
"zoom",
"(",
"m",
"font",
"size",
"prefs",
"android",
"ptr",
")",
";"
] |
[
"sets",
"a",
"mock",
"value",
"for",
"the",
"system",
"-",
"wide",
"font",
"scale",
"use",
"only",
"in",
"tests"
] | [
"m",
"system",
"font",
"scale",
"for",
"tests",
"=",
"font",
"scale",
";"
] |
[
"{"
] | [
"return",
"iterations",
"*",
"3",
"*",
"60",
"000",
";"
] |
[
"timeout",
"length",
"based",
"on",
"when",
"the",
"animation",
"should",
"reasonably",
"be",
"complete"
] | [
"return",
"anim",
"duration",
"+",
"anim",
"delay",
"+",
"future",
"release",
"delay",
";"
] |
[
"verify",
"that",
"calling",
"cancel",
"on",
"an",
"unstarted",
"animator",
"does",
"nothing"
] | [
"m",
"animator",
"cancel",
"(",
")",
";"
] |
[
"verify",
"that",
"calling",
"cancel",
"on",
"a",
"started",
"animator",
"does",
"the",
"right",
"thing"
] | [
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",... |
[
"same",
"as",
"test",
"start",
"cancel",
"but",
"with",
"a",
"start",
"delayed",
"animator"
] | [
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"m",
"animator",
"set",
"start",
"delay",
"(",
"anim",
"delay",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"run... |
[
"verify",
"that",
"canceling",
"an",
"animator",
"that",
"is",
"playing",
"does",
"the",
"right",
"thing"
] | [
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",... |
[
"same",
"as",
"test",
"playing",
"cancel",
"but",
"with",
"a",
"start",
"delayed",
"animator"
] | [
"m",
"animator",
"set",
"start",
"delay",
"(",
"anim",
"delay",
")",
";",
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"run... |
[
"verifies",
"that",
"canceling",
"a",
"started",
"animation",
"after",
"it",
"has",
"already",
"been",
"canceled",
"does",
"nothing"
] | [
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",... |
[
"same",
"as",
"test",
"start",
"double",
"cancel",
"but",
"with",
"a",
"start",
"delayed",
"animator"
] | [
"m",
"animator",
"set",
"start",
"delay",
"(",
"anim",
"delay",
")",
";",
"m",
"future",
"listener",
"=",
"new",
"future",
"release",
"listener",
"(",
"m",
"future",
")",
";",
"get",
"activity",
"(",
")",
"run",
"on",
"ui",
"thread",
"(",
"new",
"run... |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"get",
"(",
"put",
"async",
"(",
"e",
")",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"get",
"(",
"poll",
"from",
"any",
"async",
"(",
"timeout",
",",
"unit",
",",
"queue",
"names",
")",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"list",
"<",
"object",
">",
"params",
"=",
"new",
"array",
"list",
"<",
"object",
">",
"(",
"queue",
"names",
"length",
"+",
"1",
")",
";",
"params",
"add",
"(",
"get",
"name",
"(",
")",
")",
";",
"for",
"(",
"object",
"name",
":",
"queue",
"name... |
[
"{"
] | [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"grid",
"name",
")",
";",
"if",
"(",
"custom",
"work",
"sub",
"dir",
"!",
"=",
"null",
")",
"cfg",
"set",
"work",
"directory",
"(",
"paths",
"get",
"(",
"u",
"default",
"work"... |
[
"{"
] | [
"stop",
"all",
"grids",
"(",
")",
";",
"clean",
"ignite",
"work",
"dir",
"(",
")",
";",
"custom",
"work",
"sub",
"dir",
"=",
"null",
";"
] |
[
"stop",
"the",
"running",
"query"
] | [
"meta",
"=",
"(",
"database",
"lookup",
"meta",
")",
"smi",
";",
"data",
"=",
"(",
"database",
"lookup",
"data",
")",
"sdi",
";",
"if",
"(",
"data",
"db",
"!",
"=",
"null",
"&",
"&",
"!",
"data",
"is",
"canceled",
")",
"{",
"synchronized",
"(",
"... |
[
"/",
"*",
"this",
"method",
"is",
"required",
"in",
"order",
"to",
"provide",
"ability",
"for",
"unit",
"tests",
"to",
"mock",
"the",
"main",
"database",
"instance",
"for",
"the",
"step",
"("
] | [
"return",
"new",
"database",
"(",
"this",
",",
"meta",
")",
";"
] |
[
"this",
"method",
"performs",
"the",
"actual",
"work",
"of",
"the",
"postprocessing",
"task"
] | [
"public",
"abstract",
"void",
"exec",
"(",
"frame",
"fr",
",",
"random",
"rng",
")",
";"
] |
[
"<",
"p",
">",
"relative",
"amount",
"of",
"work",
"this",
"column",
"maker",
"performs",
"to",
"fill",
"a",
"chunk",
"the",
"base",
"amount",
"of",
"100",
"corresponds",
"to",
"a",
"method",
"that",
"draws",
"a",
"single",
"random",
"number",
"per",
"ro... | [
"return",
"100",
";"
] |
[
"get",
"e",
"x",
"x",
"ticker"
] | [
"return",
"exx",
"get",
"ticker",
"(",
"e",
"x",
"x",
"adapters",
"to",
"symbol",
"(",
"currency",
"pair",
")",
")",
";"
] |
[
"overwrite",
"the",
"register",
"adapter",
"data",
"observer",
"to",
"correctly",
"forward",
"all",
"events",
"to",
"the",
"fast",
"adapter"
] | [
"super",
"register",
"adapter",
"data",
"observer",
"(",
"observer",
")",
";",
"if",
"(",
"m",
"fast",
"adapter",
"!",
"=",
"null",
")",
"{",
"m",
"fast",
"adapter",
"register",
"adapter",
"data",
"observer",
"(",
"observer",
")",
";",
"}"
] |
[
"overwrite",
"the",
"unregister",
"adapter",
"data",
"observer",
"to",
"correctly",
"forward",
"all",
"events",
"to",
"the",
"fast",
"adapter"
] | [
"super",
"unregister",
"adapter",
"data",
"observer",
"(",
"observer",
")",
";",
"if",
"(",
"m",
"fast",
"adapter",
"!",
"=",
"null",
")",
"{",
"m",
"fast",
"adapter",
"unregister",
"adapter",
"data",
"observer",
"(",
"observer",
")",
";",
"}"
] |
[
"overwrite",
"the",
"get",
"item",
"view",
"type",
"to",
"correctly",
"return",
"the",
"value",
"from",
"the",
"fast",
"adapter"
] | [
"return",
"m",
"fast",
"adapter",
"get",
"item",
"view",
"type",
"(",
"position",
")",
";"
] |
[
"overwrite",
"the",
"get",
"item",
"id",
"to",
"correctly",
"return",
"the",
"value",
"from",
"the",
"fast",
"adapter"
] | [
"return",
"m",
"fast",
"adapter",
"get",
"item",
"id",
"(",
"position",
")",
";"
] |
[
"make",
"sure",
"we",
"return",
"the",
"item",
"from",
"the",
"fast",
"adapter",
"so",
"we",
"retrieve",
"the",
"item",
"from",
"all",
"adapters"
] | [
"return",
"m",
"fast",
"adapter",
"get",
"item",
"(",
"position",
")",
";"
] |
[
"make",
"sure",
"we",
"return",
"the",
"count",
"from",
"the",
"fast",
"adapter",
"so",
"we",
"retrieve",
"the",
"count",
"from",
"all",
"adapters"
] | [
"return",
"m",
"fast",
"adapter",
"get",
"item",
"count",
"(",
")",
";"
] |
[
"the",
"on",
"create",
"view",
"holder",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"return",
"m",
"fast",
"adapter",
"on",
"create",
"view",
"holder",
"(",
"parent",
",",
"view",
"type",
")",
";"
] |
[
"the",
"on",
"bind",
"view",
"holder",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"bind",
"view",
"holder",
"(",
"holder",
",",
"position",
")",
";"
] |
[
"the",
"on",
"bind",
"view",
"holder",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"bind",
"view",
"holder",
"(",
"holder",
",",
"position",
",",
"payloads",
")",
";"
] |
[
"the",
"set",
"has",
"stable",
"ids",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"set",
"has",
"stable",
"ids",
"(",
"has",
"stable",
"ids",
")",
";"
] |
[
"the",
"on",
"view",
"recycled",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"view",
"recycled",
"(",
"holder",
")",
";"
] |
[
"the",
"on",
"failed",
"to",
"recycle",
"view",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"return",
"m",
"fast",
"adapter",
"on",
"failed",
"to",
"recycle",
"view",
"(",
"holder",
")",
";"
] |
[
"the",
"on",
"view",
"detached",
"from",
"window",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"view",
"detached",
"from",
"window",
"(",
"holder",
")",
";"
] |
[
"the",
"on",
"view",
"attached",
"to",
"window",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"view",
"attached",
"to",
"window",
"(",
"holder",
")",
";"
] |
[
"the",
"on",
"attached",
"to",
"recycler",
"view",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"attached",
"to",
"recycler",
"view",
"(",
"recycler",
"view",
")",
";"
] |
[
"the",
"on",
"detached",
"from",
"recycler",
"view",
"is",
"managed",
"by",
"the",
"fast",
"adapter",
"so",
"forward",
"this",
"correctly"
] | [
"m",
"fast",
"adapter",
"on",
"detached",
"from",
"recycler",
"view",
"(",
"recycler",
"view",
")",
";"
] |
[
"retrieve",
"the",
"list",
"of",
"sources",
"of",
"this",
"audio",
"patch"
] | [
"return",
"m",
"sources",
";"
] |
[
"retreive",
"the",
"list",
"of",
"sinks",
"of",
"this",
"audio",
"patch"
] | [
"return",
"m",
"sinks",
";"
] |
[
"get",
"the",
"system",
"unique",
"patch",
"id"
] | [
"return",
"m",
"handle",
"id",
"(",
")",
";"
] |
[
"executes",
"the",
"task",
"s",
"<",
"code",
">",
"{"
] | [
"try",
"{",
"task",
"start",
"(",
")",
";",
"task",
"do",
"privileged",
"(",
")",
";",
"}",
"finally",
"{",
"task",
"stop",
"(",
")",
";",
"}"
] |
[
"code",
"placed",
"in",
"this",
"method",
"will",
"be",
"executed",
"in",
"a",
"privileged",
"environment"
] | [
"protected",
"abstract",
"void",
"do",
"privileged",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"false",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"each",
"celebrity",
"found",
"in",
"the",
"image",
"amazon",
"rekognition",
"can",
"detect",
"a",
"maximum",
"of",
"15",
"celebrities",
"in",
"an",
"image",
"<",
"/",
"p",
">"
] | [
"return",
"celebrity",
"faces",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"each",
"celebrity",
"found",
"in",
"the",
"image",
"amazon",
"rekognition",
"can",
"detect",
"a",
"maximum",
"of",
"15",
"celebrities",
"in",
"an",
"image",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"celebrity",
"faces",
"=",
"=",
"null",
")",
"{",
"this",
"celebrity",
"faces",
"=",
"null",
";",
"return",
";",
"}",
"this",
"celebrity",
"faces",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"celebrity",
">",
"(",
"celebrity",
"faces"... |
[
"<",
"p",
">",
"details",
"about",
"each",
"celebrity",
"found",
"in",
"the",
"image",
"amazon",
"rekognition",
"can",
"detect",
"a",
"maximum",
"of",
"15",
"celebrities",
"in",
"an",
"image",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",... | [
"if",
"(",
"this",
"celebrity",
"faces",
"=",
"=",
"null",
")",
"{",
"set",
"celebrity",
"faces",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"celebrity",
">",
"(",
"celebrity",
"faces",
"length",
")",
")",
";",
"}",
"for",
"(",
"celebrity",
"e... |
[
"<",
"p",
">",
"details",
"about",
"each",
"celebrity",
"found",
"in",
"the",
"image",
"amazon",
"rekognition",
"can",
"detect",
"a",
"maximum",
"of",
"15",
"celebrities",
"in",
"an",
"image",
"<",
"/",
"p",
">"
] | [
"set",
"celebrity",
"faces",
"(",
"celebrity",
"faces",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"each",
"unrecognized",
"face",
"in",
"the",
"image",
"<",
"/",
"p",
">"
] | [
"return",
"unrecognized",
"faces",
";"
] |
[
"<",
"p",
">",
"details",
"about",
"each",
"unrecognized",
"face",
"in",
"the",
"image",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"unrecognized",
"faces",
"=",
"=",
"null",
")",
"{",
"this",
"unrecognized",
"faces",
"=",
"null",
";",
"return",
";",
"}",
"this",
"unrecognized",
"faces",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"compared",
"face",
">",
"(",
"unr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.