docstring_tokens list | code_tokens list |
|---|---|
[
"accessor",
"for",
"checking",
"whether",
"configuration",
"indicates",
"that",
"root",
"wrapping",
"(",
"use",
"of",
"an",
"extra",
"property",
"/",
"name",
"pair",
"at",
"root",
"level",
")",
"is",
"expected",
"or",
"not"
] | [
"public",
"abstract",
"boolean",
"use",
"root",
"wrapping",
"(",
")",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"public",
"abstract",
"class",
"introspector",
"get",
"class",
"introspector",
"(",
")",
";"
] |
[
"method",
"for",
"getting",
"{"
] | [
"if",
"(",
"is",
"enabled",
"(",
"mapper",
"feature",
"use",
"annotations",
")",
")",
"{",
"return",
"base",
"get",
"annotation",
"introspector",
"(",
")",
";",
"}",
"return",
"nop",
"annotation",
"introspector",
"instance",
";"
] |
[
"method",
"called",
"to",
"locate",
"a",
"type",
"info",
"handler",
"for",
"types",
"that",
"do",
"not",
"have",
"one",
"explicitly",
"declared",
"via",
"annotations",
"(",
"or",
"other",
"configuration",
")",
"if",
"such",
"a",
"default",
"handler",
"is",
... | [
"return",
"base",
"get",
"default",
"typer",
"(",
")",
";"
] |
[
"helper",
"method",
"that",
"will",
"construct",
"{"
] | [
"public",
"abstract",
"java",
"type",
"construct",
"type",
"(",
"class",
"<",
"?",
">",
"cls",
")",
";"
] |
[
"helper",
"method",
"that",
"will",
"construct",
"{"
] | [
"public",
"abstract",
"java",
"type",
"construct",
"type",
"(",
"type",
"reference",
"<",
"?",
">",
"value",
"type",
"ref",
")",
";"
] |
[
"accessor",
"for",
"getting",
"bean",
"description",
"that",
"only",
"contains",
"class",
"annotations",
":",
"useful",
"if",
"no",
"getter",
"/",
"setter",
"/",
"creator",
"information",
"is",
"needed"
] | [
"return",
"introspect",
"class",
"annotations",
"(",
"construct",
"type",
"(",
"cls",
")",
")",
";"
] |
[
"accessor",
"for",
"getting",
"bean",
"description",
"that",
"only",
"contains",
"class",
"annotations",
":",
"useful",
"if",
"no",
"getter",
"/",
"setter",
"/",
"creator",
"information",
"is",
"needed"
] | [
"return",
"get",
"class",
"introspector",
"(",
")",
"for",
"class",
"annotations",
"(",
"this",
",",
"type",
",",
"this",
")",
";"
] |
[
"accessor",
"for",
"getting",
"bean",
"description",
"that",
"only",
"contains",
"immediate",
"class",
"annotations",
":",
"ones",
"from",
"the",
"class",
"and",
"its",
"direct",
"mix",
"-",
"in",
"if",
"any",
"but",
"not",
"from",
"super",
"types"
] | [
"return",
"get",
"class",
"introspector",
"(",
")",
"for",
"direct",
"class",
"annotations",
"(",
"this",
",",
"type",
",",
"this",
")",
";"
] |
[
"accessor",
"for",
"finding",
"{",
"@",
"link",
"config",
"override",
"}",
"to",
"use",
"for",
"properties",
"of",
"given",
"type",
"if",
"any",
"exist",
";",
"or",
"return",
"null",
"if",
"not",
"<",
"p",
">",
"note",
"that",
"only",
"directly",
"asso... | [
"public",
"abstract",
"config",
"override",
"find",
"config",
"override",
"(",
"class",
"<",
"?",
">",
"type",
")",
";"
] |
[
"accessor",
"for",
"finding",
"{",
"@",
"link",
"config",
"override",
"}",
"to",
"use",
"for",
"properties",
"of",
"given",
"type",
"if",
"any",
"exist",
";",
"or",
"if",
"none",
"return",
"an",
"immutable",
"empty",
"instance",
"with",
"no",
"overrides",
... | [
"public",
"abstract",
"config",
"override",
"get",
"config",
"override",
"(",
"class",
"<",
"?",
">",
"type",
")",
";"
] |
[
"accessor",
"for",
"default",
"property",
"inclusion",
"to",
"use",
"for",
"serialization",
"used",
"unless",
"overridden",
"by",
"per",
"-",
"type",
"or",
"per",
"-",
"property",
"overrides"
] | [
"public",
"abstract",
"json",
"include",
"value",
"get",
"default",
"property",
"inclusion",
"(",
")",
";"
] |
[
"accessor",
"for",
"default",
"property",
"inclusion",
"to",
"use",
"for",
"serialization",
"considering",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"base",
"type",
"<",
"br",
">",
"note",
":",
"if",
"no",
"override",
"found",
"defaults",
"... | [
"public",
"abstract",
"json",
"include",
"value",
"get",
"default",
"property",
"inclusion",
"(",
"class",
"<",
"?",
">",
"base",
"type",
")",
";"
] |
[
"accessor",
"for",
"default",
"property",
"inclusion",
"to",
"use",
"for",
"serialization",
"considering",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"base",
"type",
";",
"but",
"if",
"none",
"found",
"returning",
"given",
"<",
"code",
">",
... | [
"json",
"include",
"value",
"v",
"=",
"get",
"config",
"override",
"(",
"base",
"type",
")",
"get",
"include",
"(",
")",
";",
"if",
"(",
"v",
"!",
"=",
"null",
")",
"{",
"return",
"v",
";",
"}",
"return",
"default",
"incl",
";"
] |
[
"accessor",
"for",
"default",
"property",
"inclusion",
"to",
"use",
"for",
"serialization",
"considering",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"base",
"type",
"and",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"property",
... | [
"public",
"abstract",
"json",
"include",
"value",
"get",
"default",
"inclusion",
"(",
"class",
"<",
"?",
">",
"base",
"type",
",",
"class",
"<",
"?",
">",
"property",
"type",
")",
";"
] |
[
"accessor",
"for",
"default",
"property",
"inclusion",
"to",
"use",
"for",
"serialization",
"considering",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"base",
"type",
"and",
"possible",
"per",
"-",
"type",
"override",
"for",
"given",
"property",
... | [
"json",
"include",
"value",
"base",
"override",
"=",
"get",
"config",
"override",
"(",
"base",
"type",
")",
"get",
"include",
"(",
")",
";",
"json",
"include",
"value",
"prop",
"override",
"=",
"get",
"config",
"override",
"(",
"property",
"type",
")",
"... |
[
"accessor",
"for",
"default",
"property",
"ignorals",
"to",
"use",
"if",
"any",
"for",
"given",
"base",
"type",
"based",
"on",
"config",
"overrides",
"settings",
"(",
"see",
"{"
] | [
"public",
"abstract",
"json",
"ignore",
"properties",
"value",
"get",
"default",
"property",
"ignorals",
"(",
"class",
"<",
"?",
">",
"base",
"type",
")",
";"
] |
[
"helper",
"method",
"that",
"may",
"be",
"called",
"to",
"see",
"if",
"there",
"are",
"property",
"ignoral",
"definitions",
"from",
"annotations",
"(",
"via",
"{"
] | [
"public",
"abstract",
"json",
"ignore",
"properties",
"value",
"get",
"default",
"property",
"ignorals",
"(",
"class",
"<",
"?",
">",
"base",
"type",
",",
"annotated",
"class",
"actual",
"class",
")",
";"
] |
[
"accessor",
"for",
"object",
"used",
"for",
"determining",
"whether",
"specific",
"property",
"elements",
"(",
"method",
"constructors",
"fields",
")",
"can",
"be",
"auto",
"-",
"detected",
"based",
"on",
"their",
"visibility",
"(",
"access",
"modifiers",
")",
... | [
"public",
"abstract",
"visibility",
"checker",
"get",
"default",
"visibility",
"checker",
"(",
")",
";"
] |
[
"accessor",
"for",
"object",
"used",
"for",
"determining",
"whether",
"specific",
"property",
"elements",
"(",
"method",
"constructors",
"fields",
")",
"can",
"be",
"auto",
"-",
"detected",
"based",
"on",
"their",
"visibility",
"(",
"access",
"modifiers",
")",
... | [
"public",
"abstract",
"visibility",
"checker",
"get",
"default",
"visibility",
"checker",
"(",
"class",
"<",
"?",
">",
"base",
"type",
",",
"annotated",
"class",
"actual",
"class",
")",
";"
] |
[
"accessor",
"for",
"the",
"baseline",
"setter",
"info",
"used",
"as",
"the",
"global",
"baseline",
"not",
"considering",
"possible",
"per",
"-",
"type",
"overrides"
] | [
"public",
"abstract",
"json",
"setter",
"value",
"get",
"default",
"null",
"handling",
"(",
")",
";"
] |
[
"accessor",
"for",
"the",
"baseline",
"merge",
"info",
"used",
"as",
"the",
"global",
"baseline",
"not",
"considering",
"possible",
"per",
"-",
"type",
"overrides"
] | [
"public",
"abstract",
"boolean",
"get",
"default",
"mergeable",
"(",
")",
";"
] |
[
"accessor",
"for",
"the",
"baseline",
"merge",
"info",
"used",
"for",
"given",
"type",
"including",
"global",
"defaults",
"if",
"no",
"type",
"-",
"specific",
"overrides",
"defined"
] | [
"public",
"abstract",
"boolean",
"get",
"default",
"mergeable",
"(",
"class",
"<",
"?",
">",
"base",
"type",
")",
";"
] |
[
"method",
"for",
"accessing",
"currently",
"configured",
"(",
"textual",
")",
"date",
"format",
"that",
"will",
"be",
"used",
"for",
"reading",
"or",
"writing",
"date",
"values",
"(",
"in",
"case",
"of",
"writing",
"only",
"if",
"textual",
"output",
"is",
... | [
"return",
"base",
"get",
"date",
"format",
"(",
")",
";"
] |
[
"method",
"for",
"accessing",
"the",
"default",
"{"
] | [
"return",
"base",
"get",
"locale",
"(",
")",
";"
] |
[
"method",
"for",
"accessing",
"the",
"default",
"{"
] | [
"return",
"base",
"get",
"time",
"zone",
"(",
")",
";"
] |
[
"accessor",
"for",
"locating",
"currently",
"active",
"view",
"if",
"any",
";",
"returns",
"null",
"if",
"no",
"view",
"has",
"been",
"set"
] | [
"public",
"abstract",
"class",
"<",
"?",
">",
"get",
"active",
"view",
"(",
")",
";"
] |
[
"method",
"called",
"during",
"deserialization",
"if",
"base",
"6",
"4",
"encoded",
"content",
"needs",
"to",
"be",
"decoded",
"default",
"version",
"just",
"returns",
"default",
"jackson",
"uses",
"which",
"is",
"modified",
"-",
"mime",
"which",
"does",
"not"... | [
"return",
"base",
"get",
"base",
"6",
"4",
"variant",
"(",
")",
";"
] |
[
"method",
"for",
"accessing",
"per",
"-",
"instance",
"shared",
"(",
"baseline",
"/",
"default",
")",
"attribute",
"values",
";",
"these",
"are",
"used",
"as",
"the",
"basis",
"for",
"per",
"-",
"call",
"attributes"
] | [
"public",
"abstract",
"context",
"attributes",
"get",
"attributes",
"(",
")",
";"
] |
[
"method",
"that",
"can",
"be",
"called",
"to",
"obtain",
"an",
"instance",
"of",
"<",
"code",
">",
"type",
"id",
"resolver",
"<",
"/",
"code",
">",
"of",
"specified",
"type"
] | [
"handler",
"instantiator",
"hi",
"=",
"get",
"handler",
"instantiator",
"(",
")",
";",
"if",
"(",
"hi",
"!",
"=",
"null",
")",
"{",
"type",
"resolver",
"builder",
"<",
"?",
">",
"builder",
"=",
"hi",
"type",
"resolver",
"builder",
"instance",
"(",
"thi... |
[
"method",
"that",
"can",
"be",
"called",
"to",
"obtain",
"an",
"instance",
"of",
"<",
"code",
">",
"type",
"id",
"resolver",
"<",
"/",
"code",
">",
"of",
"specified",
"type"
] | [
"handler",
"instantiator",
"hi",
"=",
"get",
"handler",
"instantiator",
"(",
")",
";",
"if",
"(",
"hi",
"!",
"=",
"null",
")",
"{",
"type",
"id",
"resolver",
"builder",
"=",
"hi",
"type",
"id",
"resolver",
"instance",
"(",
"this",
",",
"annotated",
","... |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"try",
"{",
"begin",
"transaction",
"(",
")",
";",
"create",
"table",
"if",
"not",
"exist",
"(",
"entity",
"get",
"class",
"(",
")",
")",
";",
"save",
"or",
"update",
"without",
"transaction",
"(",
"entity",
")",
";",
"set",
"transaction",
"successful",
... |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"private",
"operations",
"with",
"out",
"transaction",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
... | [
"table",
"table",
"=",
"table",
"get",
"(",
"this",
",",
"entity",
"get",
"class",
"(",
")",
")",
";",
"id",
"id",
"=",
"table",
"id",
";",
"if",
"(",
"id",
"is",
"auto",
"increment",
"(",
")",
")",
"{",
"if",
"(",
"id",
"get",
"column",
"value... |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"exec",
"sql",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/"... | [
"if",
"(",
"debug",
")",
"{",
"log",
"utils",
"d",
"(",
"sql",
")",
";",
"}"
] |
[
"select",
"username",
"password",
"from",
"logins",
"where",
"id",
"=",
"1"
] | [
"s",
"q",
"lite",
"query",
"builder",
"qb",
"=",
"new",
"s",
"q",
"lite",
"query",
"builder",
"(",
")",
";",
"qb",
"set",
"tables",
"(",
"table",
"name",
")",
";",
"cursor",
"cursor",
"=",
"qb",
"query",
"(",
"sql",
"d",
"b",
",",
"projection",
"... |
[
"find",
"first",
"delimiter",
"in",
"order",
"to",
"achieve",
"this",
"we",
"have",
"to",
"rewind",
"the",
"stream",
"until",
"we",
"find",
"the",
"delimiter",
"which",
"stands",
"at",
"least",
"[",
"max",
"delim",
"len",
"]",
"from",
"the",
"start",
"se... | [
"state",
"state",
";",
"delimiter",
"delim",
";",
"long",
"cur",
"pos",
"=",
"math",
"max",
"(",
"0",
",",
"start",
"pos",
"-",
"max",
"delim",
"len",
")",
";",
"while",
"(",
"true",
")",
"{",
"stream",
"seek",
"(",
"cur",
"pos",
")",
";",
"state... |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"igfs",
"byte",
"delimiter",
"record",
"resolver",
"class",
",",
"this",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"delims",
"!",
"=",
"null",
")",
"{",
"out",
"write",
"boolean",
"(",
"true",
")",
";",
"out",
"write",
"int",
"(",
"delims",
"length",
")",
";",
"for",
"(",
"byte",
"[",
"]",
"delim",
":",
"delims",
")",
"u",
"write",
"byte",
"array",... |
[
"{"
] | [
"if",
"(",
"in",
"read",
"boolean",
"(",
")",
")",
"{",
"int",
"len",
"=",
"in",
"read",
"int",
"(",
")",
";",
"delims",
"=",
"new",
"byte",
"[",
"len",
"]",
"[",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"len",
";",
"i",... |
[
"checks",
"if",
"our",
"host",
"user",
"name",
"and",
"password",
"are",
"set"
] | [
"return",
"host",
"!",
"=",
"null",
"&",
"&",
"username",
"!",
"=",
"null",
"&",
"&",
"password",
"!",
"=",
"null",
";"
] |
[
"small",
"utility",
"methods"
] | [
"method",
"optimization",
"info",
"info",
"=",
"method",
"optimization",
"info",
"get",
"method",
"optimization",
"info",
"(",
"method",
")",
";",
"if",
"(",
"info",
"!",
"=",
"null",
")",
"{",
"info",
"set",
"catches",
"exceptions",
"(",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"production",
"variant",
"<",
"/",
"p",
">"
] | [
"this",
"variant",
"name",
"=",
"variant",
"name",
";"
] |
[
"marks",
"the",
"present",
"position",
"in",
"the",
"stream",
"subsequent",
"calls",
"to",
"reset",
"(",
")",
"will",
"attempt",
"to",
"reposition",
"the",
"stream",
"to",
"this",
"point"
] | [
"line",
"mark",
"=",
"line",
";",
"column",
"mark",
"=",
"column",
";",
"super",
"mark",
"(",
"read",
"ahead",
"limit",
")",
";"
] |
[
"resets",
"the",
"stream",
"to",
"the",
"most",
"recent",
"mark"
] | [
"line",
"=",
"line",
"mark",
";",
"column",
"=",
"column",
"mark",
";",
"super",
"reset",
"(",
")",
";"
] |
[
"reads",
"characters",
"into",
"a",
"portion",
"of",
"an",
"array"
] | [
"for",
"(",
"int",
"i",
"=",
"start",
"offset",
";",
"i",
"<",
"=",
"start",
"offset",
"+",
"length",
";",
"i",
"+",
"+",
")",
"{",
"int",
"read",
"int",
"=",
"read",
"(",
")",
";",
"if",
"(",
"read",
"int",
"=",
"=",
"-",
"1",
")",
"return... |
[
"reads",
"a",
"line",
"of",
"text",
"a",
"line",
"is",
"considered",
"to",
"be",
"terminated",
"by",
"any",
"one",
"of",
"a",
"line",
"feed",
"(",
"\\",
"n",
")",
"a",
"carriage",
"return",
"(",
"\\",
"r",
")",
"or",
"a",
"carriage",
"return",
"fol... | [
"string",
"builder",
"result",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"for",
"(",
";",
";",
")",
"{",
"int",
"int",
"read",
"=",
"read",
"(",
")",
";",
"if",
"(",
"int",
"read",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"result",
"length... |
[
"skips",
"characters"
] | [
"for",
"(",
"long",
"i",
"=",
"0",
";",
"i",
"<",
"to",
"skip",
";",
"i",
"+",
"+",
")",
"{",
"int",
"int",
"read",
"=",
"read",
"(",
")",
";",
"if",
"(",
"int",
"read",
"=",
"=",
"-",
"1",
")",
"return",
"i",
";",
"}",
"return",
"to",
... |
[
"reads",
"characters",
"into",
"an",
"array",
"this",
"method",
"will",
"block",
"until",
"some",
"input",
"is",
"available",
"an",
"i",
"/",
"o",
"error",
"occurs",
"or",
"the",
"end",
"of",
"the",
"stream",
"is",
"reached"
] | [
"return",
"read",
"(",
"chars",
",",
"0",
",",
"chars",
"length",
"-",
"1",
")",
";"
] |
[
"recreates",
"the",
"job",
"used",
"to",
"create",
"the",
"new",
"version",
"savepoint"
] | [
"protected",
"abstract",
"void",
"create",
"migration",
"job",
"(",
"stream",
"execution",
"environment",
"env",
")",
";"
] |
[
"creates",
"a",
"modified",
"version",
"of",
"the",
"job",
"used",
"to",
"create",
"the",
"new",
"version",
"savepoint"
] | [
"protected",
"abstract",
"void",
"create",
"restored",
"job",
"(",
"stream",
"execution",
"environment",
"env",
")",
";"
] |
[
"returns",
"the",
"name",
"of",
"the",
"savepoint",
"directory",
"to",
"use",
"relative",
"to",
"resources",
"/",
"operatorstate"
] | [
"protected",
"abstract",
"string",
"get",
"migration",
"savepoint",
"name",
"(",
")",
";"
] |
[
"<",
"p",
">",
"object",
"that",
"describes",
"the",
"newly",
"created",
"matchmaking",
"rule",
"set",
"<",
"/",
"p",
">"
] | [
"this",
"rule",
"set",
"=",
"rule",
"set",
";"
] |
[
"<",
"p",
">",
"object",
"that",
"describes",
"the",
"newly",
"created",
"matchmaking",
"rule",
"set",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"rule",
"set",
";"
] |
[
"<",
"p",
">",
"object",
"that",
"describes",
"the",
"newly",
"created",
"matchmaking",
"rule",
"set",
"<",
"/",
"p",
">"
] | [
"set",
"rule",
"set",
"(",
"rule",
"set",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"u",
"write",
"map",
"(",
"out",
",",
"conflicts",
")",
";"
] |
[
"{"
] | [
"conflicts",
"=",
"u",
"read",
"map",
"(",
"in",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"visor",
"idle",
"verify",
"task",
"result",
"class",
",",
"this",
")",
";"
] |
[
"returns",
"a",
"new",
"instance",
"of",
"<",
"code",
">",
"wikipedia",
"k",
"a",
"<",
"/",
"code",
">",
"a",
"new",
"instance",
"is",
"created",
"for",
"each",
"query"
] | [
"knowledge",
"annotator",
"ka",
"=",
"new",
"wikipedia",
"k",
"a",
"(",
"name",
",",
"q",
"patterns",
",",
"q",
"contents",
")",
";",
"return",
"ka",
";"
] |
[
"rethrows",
"<",
"code",
">",
"t",
"<",
"/",
"code",
">",
"(",
"identical",
"object",
")"
] | [
"new",
"rethrower",
"<",
"error",
">",
"(",
")",
"rethrow",
"(",
"t",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"load",
"balancer",
"<",
"/",
"p",
">"
] | [
"set",
"load",
"balancer",
"name",
"(",
"load",
"balancer",
"name",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"accessibility",
"node",
"info",
"node",
"=",
"accessibility",
"node",
"info",
"obtain",
"(",
"view",
")",
";",
"write",
"data",
"write",
"data",
"=",
"new",
"write",
"data",
"(",
")",
";",
"write",
"data",
"m",
"accessibility",
"node",
"info",
"=",
"nod... |
[
"sets",
"the",
"text",
"to",
"be",
"displayed",
"when",
"the",
"accessibility",
"node",
"associated",
"with",
"this",
"instance",
"has",
"focus",
"if",
"this",
"method",
"is",
"not",
"called",
"(",
"or",
"{"
] | [
"m",
"text",
"=",
"text",
";",
"return",
"this",
";"
] |
[
"text",
"content"
] | [
"return",
"m",
"text",
";"
] |
[
"sets",
"the",
"start",
"position",
"in",
"the",
"text",
"of",
"a",
"text",
"selection",
"or",
"cursor",
"that",
"should",
"be",
"marked",
"on",
"the",
"display",
"a",
"negative",
"value",
"(",
"the",
"default",
")",
"means",
"no",
"selection",
"will",
"... | [
"writable",
"properties",
"(",
")",
"put",
"int",
"(",
"prop",
"selection",
"start",
",",
"v",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"end",
"of",
"the",
"text",
"selection",
"to",
"be",
"marked",
"on",
"the",
"display",
"this",
"value",
"should",
"only",
"be",
"non",
"-",
"negative",
"if",
"the",
"selection",
"start",
"is",
"non",
"-",
"negative",
"if",
"this",
"value",... | [
"writable",
"properties",
"(",
")",
"put",
"int",
"(",
"prop",
"selection",
"end",
",",
"v",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"exec",
"id",
";"
] |
[
"{"
] | [
"return",
"cache",
"name",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"service",
"context",
"impl",
"class",
",",
"this",
")",
";"
] |
[
"gets",
"the",
"capacity",
"of",
"the",
"event",
"journal",
"the",
"capacity",
"is",
"the",
"total",
"number",
"of",
"items",
"that",
"the",
"event",
"journal",
"can",
"hold",
"at",
"any",
"moment",
"the",
"actual",
"number",
"of",
"items",
"contained",
"i... | [
"return",
"capacity",
";"
] |
[
"get",
"index",
"in",
"the",
"internal",
"table",
"for",
"a",
"given",
"hash"
] | [
"return",
"hash",
"code",
"&",
"hash",
"mask",
";"
] |
[
"all",
"all",
"elements",
"in",
"the",
"collection",
"expand",
"if",
"necessary"
] | [
"boolean",
"changed",
"=",
"false",
";",
"for",
"(",
"t",
"elem",
":",
"to",
"add",
")",
"{",
"changed",
"|",
"=",
"add",
"elem",
"(",
"elem",
")",
";",
"}",
"expand",
"if",
"necessary",
"(",
")",
";",
"return",
"changed",
";"
] |
[
"add",
"given",
"element",
"to",
"the",
"hash",
"table",
"expand",
"table",
"if",
"necessary"
] | [
"boolean",
"added",
"=",
"add",
"elem",
"(",
"element",
")",
";",
"expand",
"if",
"necessary",
"(",
")",
";",
"return",
"added",
";"
] |
[
"remove",
"and",
"return",
"n",
"elements",
"from",
"the",
"hashtable",
"the",
"order",
"in",
"which",
"entries",
"are",
"removed",
"is",
"unspecified",
"and",
"and",
"may",
"not",
"correspond",
"to",
"the",
"order",
"in",
"which",
"they",
"were",
"inserted"... | [
"if",
"(",
"n",
">",
"=",
"size",
")",
"{",
"return",
"poll",
"all",
"(",
")",
";",
"}",
"list",
"<",
"t",
">",
"ret",
"list",
"=",
"new",
"array",
"list",
"<",
"t",
">",
"(",
"n",
")",
";",
"if",
"(",
"n",
"=",
"=",
"0",
")",
"{",
"ret... |
[
"remove",
"all",
"elements",
"from",
"the",
"set",
"and",
"return",
"them",
"clear",
"the",
"entries"
] | [
"list",
"<",
"t",
">",
"ret",
"list",
"=",
"new",
"array",
"list",
"<",
"t",
">",
"(",
"size",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"entries",
"length",
";",
"i",
"+",
"+",
")",
"{",
"linked",
"element",
"<",
"t",
">",... |
[
"compute",
"capacity",
"given",
"initial",
"capacity"
] | [
"if",
"(",
"initial",
"<",
"minimum",
"capacity",
")",
"{",
"return",
"minimum",
"capacity",
";",
"}",
"if",
"(",
"initial",
">",
"maximum",
"capacity",
")",
"{",
"return",
"maximum",
"capacity",
";",
"}",
"int",
"capacity",
"=",
"1",
";",
"while",
"("... |
[
"checks",
"if",
"we",
"need",
"to",
"shrink",
"and",
"shrinks",
"if",
"necessary"
] | [
"if",
"(",
"size",
"<",
"this",
"shrink",
"threshold",
"&",
"&",
"capacity",
">",
"initial",
"capacity",
")",
"{",
"resize",
"(",
"capacity",
"/",
"expand",
"multiplier",
")",
";",
"}"
] |
[
"checks",
"if",
"we",
"need",
"to",
"expand",
"and",
"expands",
"if",
"necessary"
] | [
"if",
"(",
"size",
">",
"this",
"expand",
"threshold",
"&",
"&",
"capacity",
"<",
"maximum",
"capacity",
")",
"{",
"resize",
"(",
"capacity",
"*",
"expand",
"multiplier",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"newly",
"-",
"configured",
"availability",
"options",
"indicates",
"whether",
"multi",
"-",
"az",
"is",
"enabled",
"for",
"the",
"domain",
"<",
"/",
"p",
">"
] | [
"this",
"availability",
"options",
"=",
"availability",
"options",
";"
] |
[
"<",
"p",
">",
"the",
"newly",
"-",
"configured",
"availability",
"options",
"indicates",
"whether",
"multi",
"-",
"az",
"is",
"enabled",
"for",
"the",
"domain",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"availability",
"options",
";"
] |
[
"<",
"p",
">",
"the",
"availability",
"options",
"configured",
"for",
"the",
"domain",
"indicates",
"whether",
"multi",
"-",
"az",
"is",
"enabled",
"for",
"the",
"domain",
"<",
"/",
"p",
">"
] | [
"set",
"availability",
"options",
"(",
"availability",
"options",
")",
";",
"return",
"this",
";"
] |
[
"called",
"inside",
"of",
"{",
"@",
"link",
"com",
"orientechnologies",
"orient",
"core",
"storage",
"impl",
"local",
"paginated",
"base",
"o",
"durable",
"component",
"}",
"to",
"notify",
"that",
"component",
"started",
"to",
"perform",
"operation",
"on",
"da... | [
"final",
"component",
"current",
"component",
"=",
"components",
"stack",
"peek",
"(",
")",
";",
"if",
"(",
"current",
"component",
"!",
"=",
"null",
"&",
"&",
"component",
"name",
"equals",
"(",
"current",
"component",
"name",
")",
")",
"{",
"current",
... |
[
"indicates",
"that",
"the",
"most",
"earliest",
"component",
"in",
"stack",
"of",
"components",
"has",
"completed",
"it",
"s",
"operation",
"so",
"performance",
"data",
"for",
"this",
"component",
"is",
"stopped",
"to",
"be",
"gathered"
] | [
"final",
"component",
"current",
"component",
"=",
"components",
"stack",
"peek",
"(",
")",
";",
"if",
"(",
"current",
"component",
"=",
"=",
"null",
")",
"return",
";",
"current",
"component",
"operation",
"count",
"-",
"-",
";",
"if",
"(",
"current",
"... |
[
"read",
"speed",
"of",
"data",
"in",
"pages",
"per",
"second",
"on",
"cache",
"level",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"read",
"speed",
"from",
"cache",
"in",
"pages",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",... |
[
"read",
"speed",
"of",
"data",
"from",
"file",
"system",
"in",
"pages",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
"will",
"be",
... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"read",
"speed",
"from",
"file",
"in",
"pages",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",
... |
[
"amount",
"of",
"pages",
"read",
"from",
"cache",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
"will",
"be",
"returned",
"if",
"data... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"amount",
"of",
"pages",
"read",
"from",
"cache",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by"... |
[
"amount",
"of",
"pages",
"are",
"read",
"from",
"file",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
"will",
"be",
"returned",
"if",... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"amount",
"of",
"pages",
"read",
"from",
"file",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",... |
[
"write",
"speed",
"of",
"data",
"in",
"pages",
"per",
"second",
"on",
"cache",
"level",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"write",
"speed",
"in",
"cache",
"in",
"pages",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",
... |
[
"amount",
"of",
"pages",
"written",
"to",
"cache",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
"will",
"be",
"returned",
"if",
"dat... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"amount",
"of",
"pages",
"written",
"in",
"cache",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by... |
[
"percent",
"of",
"cache",
"hits",
"for",
"component",
"name",
"of",
"which",
"is",
"passed",
"as",
"method",
"argument",
"if",
"null",
"value",
"is",
"passed",
"then",
"value",
"for",
"whole",
"system",
"will",
"be",
"returned",
"if",
"data",
"for",
"compo... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"return",
"performance",
"counters",
"holder",
"get",
"cache",
"hits",
"(",
")",
";",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",
"component",
"get",
"(",
"compo... |
[
"average",
"amount",
"of",
"pages",
"which",
"were",
"read",
"from",
"cache",
"for",
"component",
"with",
"given",
"name",
"during",
"single",
"data",
"operation",
"<",
"p",
">",
"if",
"null",
"value",
"is",
"passed",
"or",
"data",
"for",
"component",
"wit... | [
"if",
"(",
"component",
"name",
"=",
"=",
"null",
")",
"{",
"return",
"-",
"1",
";",
"}",
"final",
"performance",
"counters",
"holder",
"c",
"holder",
"=",
"counters",
"by",
"component",
"get",
"(",
"component",
"name",
")",
";",
"if",
"(",
"c",
"hol... |
[
"takes",
"performance",
"data",
"are",
"split",
"by",
"components",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"retur... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
";",
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"performance",
"counters",
"holder",
">",
"entry",
":",
"snapshot",
"counters",
"by",
"component",
"entry",
"set",
"(",
")",
")",
"{",
"final",... |
[
"takes",
"write",
"cache",
"performance",
"data",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"returned",
"inside",
"o... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"snapshot",
"writ",
"cache",
"counters",
"holder",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"holder",
"=",
"=",
"null",
")",
"holder",
"=",
"new",
"... |
[
"takes",
"storage",
"performance",
"data",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"returned",
"inside",
"of",
"pa... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"snapshot",
"storage",
"counters",
"holder",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"holder",
"=",
"=",
"null",
")",
"holder",
"=",
"new",
"storage"... |
[
"takes",
"write",
"ahead",
"log",
"data",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"returned",
"inside",
"of",
"p... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"snapshot",
"wal",
"counters",
"holder",
"=",
"=",
"null",
")",
"return",
"holder",
";",
"if",
"(",
"holder",
"=",
"=",
"null",
")",
"holder",
"=",
"new",
"w",
"a",
... |
[
"takes",
"performance",
"data",
"for",
"whole",
"system",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"returned",
"ins... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
";",
"snapshot",
"performance",
"counters",
"holder",
"push",
"data",
"(",
"holder",
")",
";"
] |
[
"takes",
"performance",
"data",
"for",
"component",
"from",
"last",
"snapshot",
"and",
"aggregates",
"them",
"with",
"data",
"passed",
"inside",
"method",
"as",
"parameter",
"result",
"of",
"aggregation",
"of",
"performance",
"data",
"is",
"returned",
"inside",
... | [
"if",
"(",
"snapshot",
"=",
"=",
"null",
")",
"return",
";",
"final",
"performance",
"counters",
"holder",
"counters",
"holder",
"=",
"snapshot",
"counters",
"by",
"component",
"get",
"(",
"name",
")",
";",
"if",
"(",
"counters",
"holder",
"!",
"=",
"nul... |
[
"increments",
"counter",
"of",
"page",
"accesses",
"from",
"cache",
"<",
"p",
">",
"if",
"you",
"wish",
"to",
"gather",
"statistic",
"for",
"current",
"durable",
"component",
"please",
"call",
"{"
] | [
"performance",
"counters",
"holder",
"cache",
"access",
"count",
"+",
"+",
";",
"if",
"(",
"cache",
"hit",
")",
"performance",
"counters",
"holder",
"cache",
"hit",
"+",
"+",
";",
"for",
"(",
"component",
"component",
":",
"components",
"stack",
")",
"{",
... |
[
"starts",
"timer",
"which",
"counts",
"how",
"much",
"time",
"was",
"spent",
"on",
"read",
"of",
"page",
"from",
"file",
"system"
] | [
"push",
"timer",
"(",
")",
";"
] |
[
"stops",
"and",
"records",
"results",
"of",
"timer",
"which",
"counts",
"how",
"much",
"time",
"was",
"spent",
"on",
"read",
"of",
"page",
"from",
"file",
"system",
"<",
"p",
">",
"if",
"you",
"wish",
"to",
"gather",
"statistic",
"for",
"current",
"durab... | [
"final",
"long",
"end",
"ts",
"=",
"nano",
"timer",
"get",
"nano",
"(",
")",
";",
"final",
"long",
"time",
"diff",
"=",
"(",
"end",
"ts",
"-",
"time",
"stamps",
"pop",
"(",
")",
")",
";",
"performance",
"counters",
"holder",
"page",
"read",
"from",
... |
[
"starts",
"timer",
"which",
"counts",
"how",
"much",
"time",
"was",
"spent",
"on",
"operation",
"of",
"flush",
"pages",
"in",
"write",
"cache"
] | [
"push",
"timer",
"(",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.