docstring_tokens list | code_tokens list |
|---|---|
[
"read",
"-",
"only",
":",
"no",
"-",
"op"
] | [] |
[
"produces",
"a",
"specified",
"number",
"of",
"constant",
"sized",
"events",
";",
"sets",
"up",
"writer",
"/",
"reader",
"event",
"buffer",
"over",
"a",
"pipe",
";",
"and",
"sends",
"the",
"events",
"generated",
"to",
"the",
"reader",
"thread"
] | [
"return",
"run",
"const",
"events",
"reader",
"writer",
"(",
"src",
"test",
"events",
",",
"dst",
"test",
"events",
",",
"input",
",",
"emitter",
"stats",
",",
"stream",
"stats",
",",
"client",
"stats",
",",
"false",
")",
";"
] |
[
"the",
"size",
"of",
"events",
"to",
"generate"
] | [
"event",
"size",
"=",
"event",
"size",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"for",
"(",
"pattern",
"pattern",
":",
"action",
"patterns",
")",
"{",
"if",
"(",
"pattern",
"matcher",
"(",
"(",
"(",
"http",
"servlet",
"request",
")",
"request",
")",
"get",
"request",
"u",
"r",
"i",
"(",
")",
")",
"matches",
"(",
")",
")",
"{",... |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"take",
"offer",
"succeeded",
"handler",
"=",
"result",
"handler",
";",
"take",
"offer",
"requested",
"=",
"true",
";",
"show",
"transaction",
"published",
"screen",
"set",
"(",
"false",
")",
";",
"data",
"model",
"on",
"take",
"offer",
"(",
"trade",
"-",
... |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"set",
"amount",
"to",
"model",
"(",
")",
";",
"data",
"model",
"calculate",
"volume",
"(",
")",
";"
] |
[
"compare",
"two",
"object"
] | [
"return",
"actual",
"=",
"=",
"expected",
"|",
"|",
"(",
"actual",
"=",
"=",
"null",
"?",
"expected",
"=",
"=",
"null",
":",
"actual",
"equals",
"(",
"expected",
")",
")",
";"
] |
[
"null",
"object",
"to",
"empty",
"string"
] | [
"return",
"(",
"str",
"=",
"=",
"null",
"?",
"\"",
"\"",
":",
"(",
"str",
"instanceof",
"string",
"?",
"(",
"string",
")",
"str",
":",
"str",
"to",
"string",
"(",
")",
")",
")",
";"
] |
[
"convert",
"long",
"array",
"to",
"long",
"array"
] | [
"long",
"[",
"]",
"destin",
"=",
"new",
"long",
"[",
"source",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"source",
"length",
";",
"i",
"+",
"+",
")",
"{",
"destin",
"[",
"i",
"]",
"=",
"source",
"[",
"i",
"]",
";"... |
[
"convert",
"long",
"array",
"to",
"long",
"array"
] | [
"long",
"[",
"]",
"destin",
"=",
"new",
"long",
"[",
"source",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"source",
"length",
";",
"i",
"+",
"+",
")",
"{",
"destin",
"[",
"i",
"]",
"=",
"source",
"[",
"i",
"]",
";"... |
[
"convert",
"int",
"array",
"to",
"integer",
"array"
] | [
"integer",
"[",
"]",
"destin",
"=",
"new",
"integer",
"[",
"source",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"source",
"length",
";",
"i",
"+",
"+",
")",
"{",
"destin",
"[",
"i",
"]",
"=",
"source",
"[",
"i",
"]",... |
[
"convert",
"integer",
"array",
"to",
"int",
"array"
] | [
"int",
"[",
"]",
"destin",
"=",
"new",
"int",
"[",
"source",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"source",
"length",
";",
"i",
"+",
"+",
")",
"{",
"destin",
"[",
"i",
"]",
"=",
"source",
"[",
"i",
"]",
";",
... |
[
"traditional",
"static",
"generator",
"method"
] | [
"return",
"aeron",
"connection",
"information",
"builder",
"(",
")",
"connection",
"host",
"(",
"connection",
"host",
")",
"connection",
"port",
"(",
"connection",
"port",
")",
"stream",
"id",
"(",
"stream",
"id",
")",
"build",
"(",
")",
";"
] |
[
"close",
"the",
"given",
"jms",
"connection",
"and",
"ignore",
"any",
"thrown",
"exception",
"this",
"is",
"useful",
"for",
"typical",
"{"
] | [
"close",
"connection",
"(",
"con",
",",
"false",
")",
";"
] |
[
"returns",
"a",
"list",
"of",
"jobs",
"that",
"this",
"job",
"runner",
"will",
"wait",
"upon",
"to",
"finish",
"before",
"starting",
"it",
"is",
"only",
"relevant",
"if",
"pipeline",
"is",
"turned",
"on"
] | [
"return",
"this",
"pipeline",
"jobs",
";"
] |
[
"used",
"to",
"handle",
"non",
"-",
"ready",
"and",
"special",
"status",
"s",
"(",
"i",
"e",
"killed",
")",
"returns",
"true",
"if",
"they",
"handled",
"anything"
] | [
"synchronized",
"(",
"this",
"sync",
"object",
")",
"{",
"status",
"node",
"status",
"=",
"this",
"node",
"get",
"status",
"(",
")",
";",
"boolean",
"quick",
"finish",
"=",
"false",
";",
"final",
"long",
"time",
"=",
"system",
"current",
"time",
"millis"... |
[
"prepare",
"dates",
"for",
"navigation",
"to",
"past",
"and",
"to",
"future"
] | [
"date",
"today",
"=",
"new",
"date",
"(",
")",
";",
"calendar",
"cal",
"past",
"=",
"calendar",
"get",
"instance",
"(",
")",
";",
"calendar",
"cal",
"future",
"=",
"calendar",
"get",
"instance",
"(",
")",
";",
"cal",
"past",
"set",
"time",
"(",
"toda... |
[
"indicate",
"that",
"a",
"block",
"has",
"been",
"uploaded"
] | [
"synchronized",
"(",
"blocks",
"written",
"lock",
")",
"{",
"all",
"blocks",
"written",
"add",
"(",
"new",
"block",
"transfer",
"window",
"(",
"start",
"date",
",",
"end",
"date",
",",
"length",
")",
")",
";",
"}"
] |
[
"indicate",
"that",
"a",
"block",
"has",
"been",
"downloaded"
] | [
"synchronized",
"(",
"blocks",
"read",
"lock",
")",
"{",
"all",
"blocks",
"read",
"add",
"(",
"new",
"block",
"transfer",
"window",
"(",
"start",
"date",
",",
"end",
"date",
",",
"length",
")",
")",
";",
"}"
] |
[
"creates",
"a",
"new",
"array",
"list",
"to",
"hold",
"incoming",
"block",
"transfer",
"notifications",
"before",
"they",
"re",
"processed"
] | [
"return",
"new",
"array",
"list",
"<",
"block",
"transfer",
"window",
">",
"(",
"process",
"queue",
"initial",
"capacity",
")",
";"
] |
[
"update",
"the",
"metrics",
"source",
"gauge",
"for",
"how",
"many",
"bytes",
"were",
"transferred",
"during",
"the",
"last",
"time",
"window"
] | [
"if",
"(",
"update",
"write",
")",
"{",
"instrumentation",
"update",
"bytes",
"written",
"in",
"last",
"second",
"(",
"bytes",
")",
";",
"}",
"else",
"{",
"instrumentation",
"update",
"bytes",
"read",
"in",
"last",
"second",
"(",
"bytes",
")",
";",
"}"
] |
[
"update",
"the",
"metrics",
"source",
"gauge",
"for",
"what",
"the",
"current",
"transfer",
"rate",
"is"
] | [
"if",
"(",
"update",
"write",
")",
"{",
"instrumentation",
"current",
"upload",
"bytes",
"per",
"second",
"(",
"bytes",
"per",
"second",
")",
";",
"}",
"else",
"{",
"instrumentation",
"current",
"download",
"bytes",
"per",
"second",
"(",
"bytes",
"per",
"s... |
[
"for",
"unit",
"test",
"purposes",
"suppresses",
"auto",
"-",
"update",
"of",
"the",
"metrics",
"from",
"the",
"dedicated",
"thread"
] | [
"suppress",
"auto",
"update",
"=",
"true",
";"
] |
[
"resumes",
"auto",
"-",
"update",
"(",
"undo",
"suppress",
"auto",
"update",
")"
] | [
"suppress",
"auto",
"update",
"=",
"false",
";"
] |
[
"returns",
"the",
"number",
"of",
"bytes",
"completed",
"in",
"the",
"associated",
"transfer"
] | [
"return",
"bytes",
"transferred",
";"
] |
[
"scale",
"and",
"start",
"to",
"pan",
"the",
"image",
"background"
] | [
"if",
"(",
"m",
"is",
"panning",
")",
"{",
"return",
";",
"}",
"m",
"is",
"panning",
"=",
"true",
";",
"final",
"runnable",
"panning",
"runnable",
"=",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"anim... |
[
"set",
"s",
"the",
"image",
"view",
"s",
"scale",
"type",
"to",
"matrix"
] | [
"if",
"(",
"null",
"!",
"=",
"image",
"view",
"&",
"&",
"!",
"(",
"image",
"view",
"instanceof",
"panning",
"view",
")",
")",
"{",
"image",
"view",
"set",
"scale",
"type",
"(",
"image",
"view",
"scale",
"type",
"matrix",
")",
";",
"}"
] |
[
"sets",
"the",
"id",
"of",
"this",
"rule",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"method",
"chaining"
] | [
"return",
"max",
"age",
"seconds",
";"
] |
[
"returns",
"the",
"content",
"type",
"(",
"without",
"charset",
"declaration",
")",
"of",
"the",
"mime",
"type"
] | [
"return",
"content",
"type",
";"
] |
[
"returns",
"true",
"if",
"the",
"request",
"contains",
"conditions",
"that",
"save",
"the",
"server",
"from",
"sending",
"a",
"response",
"that",
"the",
"client",
"has",
"locally",
"when",
"the",
"caller",
"adds",
"conditions",
"this",
"cache",
"won",
"t",
"... | [
"return",
"if",
"modified",
"since",
"!",
"=",
"null",
"|",
"|",
"if",
"none",
"match",
"!",
"=",
"null",
";"
] |
[
"return",
"whether",
"the",
"two",
"maps",
"have",
"the",
"same",
"keys",
"and",
"values"
] | [
"if",
"(",
"prev",
"=",
"=",
"next",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"prev",
"=",
"=",
"null",
"|",
"|",
"next",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"prev",
"size",
"(",
")",
"!",
"=",
"next"... |
[
"convenient",
"factory",
"method"
] | [
"return",
"new",
"position",
"(",
"line",
",",
"column",
")",
";"
] |
[
"check",
"if",
"the",
"position",
"is",
"usable",
"does",
"not",
"know",
"what",
"it",
"is",
"pointing",
"at",
"so",
"it",
"can",
"t",
"check",
"if",
"the",
"position",
"is",
"after",
"the",
"end",
"of",
"the",
"source"
] | [
"return",
"line",
">",
"0",
"&",
"&",
"column",
">",
"0",
";"
] |
[
"{"
] | [
"constant",
"cst",
"=",
"get",
"constant",
"(",
")",
";",
"string",
"constant",
"string",
"=",
"cst",
"to",
"human",
"(",
")",
";",
"if",
"(",
"cst",
"instanceof",
"cst",
"string",
")",
"{",
"constant",
"string",
"=",
"(",
"(",
"cst",
"string",
")",
... |
[
"{"
] | [
"return",
"catches",
";"
] |
[
"{"
] | [
"visitor",
"visit",
"throwing",
"cst",
"insn",
"(",
"this",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"throwing",
"cst",
"insn",
"(",
"get",
"opcode",
"(",
")",
",",
"get",
"position",
"(",
")",
",",
"get",
"sources",
"(",
")",
",",
"catches",
"with",
"added",
"type",
"(",
"type",
")",
",",
"get",
"constant",
"(",
")",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"throwing",
"cst",
"insn",
"(",
"get",
"opcode",
"(",
")",
",",
"get",
"position",
"(",
")",
",",
"get",
"sources",
"(",
")",
"with",
"offset",
"(",
"delta",
")",
",",
"catches",
",",
"get",
"constant",
"(",
")",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"throwing",
"cst",
"insn",
"(",
"get",
"opcode",
"(",
")",
",",
"get",
"position",
"(",
")",
",",
"sources",
",",
"catches",
",",
"get",
"constant",
"(",
")",
")",
";"
] |
[
"invocations",
"of",
"start",
"servers",
"within",
"one",
"test",
"in",
"some",
"cases"
] | [
"for",
"(",
"int",
"node",
"id",
":",
"node",
"ids",
")",
"{",
"if",
"(",
"node",
"id",
"<",
"num",
"servers",
")",
"{",
"servers",
"[",
"node",
"id",
"]",
"=",
"server",
"test",
"utils",
"start",
"voldemort",
"server",
"(",
"socket",
"store",
"fac... |
[
"return",
"the",
"service",
"type",
"of",
"service",
"discovery",
"response"
] | [
"return",
"m",
"service",
"type",
";"
] |
[
"{"
] | [
"super",
"process",
"binding",
"configuration",
"(",
"context",
",",
"item",
",",
"binding",
"config",
")",
";",
"pilight",
"binding",
"config",
"config",
"=",
"parse",
"binding",
"config",
"(",
"item",
",",
"binding",
"config",
")",
";",
"if",
"(",
"confi... |
[
"<",
"p",
">",
"the",
"fully",
"qualified",
"domain",
"name",
"in",
"the",
"certificate",
"request",
"<",
"/",
"p",
">"
] | [
"this",
"domain",
"name",
"=",
"domain",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"fully",
"qualified",
"domain",
"name",
"in",
"the",
"certificate",
"request",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"domain",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"domain",
"for",
"which",
"you",
"want",
"to",
"get",
"a",
"list",
"of",
"tags",
"<",
"/",
"p",
">"
] | [
"set",
"domain",
"name",
"(",
"domain",
"name",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"net",
"execution",
"time",
"of",
"the",
"job",
"i",
"e",
"the",
"execution",
"time",
"in",
"the",
"parallel",
"system",
"without",
"the",
"pre",
"-",
"flight",
"steps",
"like",
"the",
"optimizer"
] | [
"return",
"this",
"net",
"runtime",
";"
] |
[
"gets",
"the",
"net",
"execution",
"time",
"of",
"the",
"job",
"i",
"e",
"the",
"execution",
"time",
"in",
"the",
"parallel",
"system",
"without",
"the",
"pre",
"-",
"flight",
"steps",
"like",
"the",
"optimizer",
"in",
"a",
"desired",
"time",
"unit"
] | [
"return",
"desired",
"unit",
"convert",
"(",
"get",
"net",
"runtime",
"(",
")",
",",
"time",
"unit",
"milliseconds",
")",
";"
] |
[
"gets",
"all",
"accumulators",
"produced",
"by",
"the",
"job",
"the",
"map",
"contains",
"the",
"accumulators",
"as",
"mappings",
"from",
"the",
"accumulator",
"name",
"to",
"the",
"accumulator",
"value"
] | [
"return",
"accumulator",
"results",
"entry",
"set",
"(",
")",
"stream",
"(",
")",
"collect",
"(",
"collectors",
"to",
"map",
"(",
"map",
"entry",
":",
":",
"get",
"key",
",",
"entry",
"-",
">",
"entry",
"get",
"value",
"(",
")",
"get",
"unchecked",
"... |
[
"returns",
"a",
"dummy",
"object",
"for",
"wrapping",
"a",
"job",
"submission",
"result"
] | [
"return",
"new",
"job",
"execution",
"result",
"(",
"result",
"get",
"job",
"i",
"d",
"(",
")",
",",
"-",
"1",
",",
"null",
")",
";"
] |
[
"get",
"the",
"algorithm",
"from",
"the",
"cipher"
] | [
"int",
"slash",
"=",
"cipher",
"index",
"of",
"(",
"'",
"/",
"'",
")",
";",
"if",
"(",
"slash",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"cipher",
";",
"}",
"else",
"{",
"return",
"cipher",
"substring",
"(",
"0",
",",
"slash",
")",
";",
"}"
] |
[
"serialize",
"the",
"metadata",
"to",
"a",
"set",
"of",
"bytes"
] | [
"byte",
"array",
"output",
"stream",
"buffer",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
")",
";",
"json",
"writer",
"writer",
"=",
"new",
"json",
"writer",
"(",
"new",
"output",
"stream",
"writer",
"(",
"buffer",
",",
"charsets",
"utf",
"8",... |
[
"a",
"helper",
"function",
"to",
"create",
"an",
"options",
"object"
] | [
"return",
"new",
"options",
"(",
"conf",
")",
";"
] |
[
"indicates",
"whether",
"this",
"provider",
"represents",
"a",
"store",
"that",
"is",
"intended",
"for",
"transient",
"use",
"-",
"such",
"as",
"the",
"user",
"provider",
"is",
"these",
"providers",
"are",
"generally",
"used",
"to",
"provide",
"job",
"access",... | [
"return",
"false",
";"
] |
[
"get",
"the",
"key",
"material",
"for",
"a",
"specific",
"version",
"of",
"the",
"key",
"this",
"method",
"is",
"used",
"when",
"decrypting",
"data"
] | [
"public",
"abstract",
"key",
"version",
"get",
"key",
"version",
"(",
"string",
"version",
"name",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"the",
"key",
"names",
"for",
"all",
"keys"
] | [
"public",
"abstract",
"list",
"<",
"string",
">",
"get",
"keys",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"key",
"metadata",
"in",
"bulk"
] | [
"metadata",
"[",
"]",
"result",
"=",
"new",
"metadata",
"[",
"names",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"names",
"length",
";",
"+",
"+",
"i",
")",
"{",
"result",
"[",
"i",
"]",
"=",
"get",
"metadata",
"(",
... |
[
"get",
"the",
"key",
"material",
"for",
"all",
"versions",
"of",
"a",
"specific",
"key",
"name"
] | [
"public",
"abstract",
"list",
"<",
"key",
"version",
">",
"get",
"key",
"versions",
"(",
"string",
"name",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"the",
"current",
"version",
"of",
"the",
"key",
"which",
"should",
"be",
"used",
"for",
"encrypting",
"new",
"data"
] | [
"metadata",
"meta",
"=",
"get",
"metadata",
"(",
"name",
")",
";",
"if",
"(",
"meta",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"return",
"get",
"key",
"version",
"(",
"build",
"version",
"name",
"(",
"name",
",",
"meta",
"get",
"vers... |
[
"get",
"metadata",
"about",
"the",
"key"
] | [
"public",
"abstract",
"metadata",
"get",
"metadata",
"(",
"string",
"name",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"create",
"a",
"new",
"key",
"the",
"given",
"key",
"must",
"not",
"already",
"exist"
] | [
"public",
"abstract",
"key",
"version",
"create",
"key",
"(",
"string",
"name",
",",
"byte",
"[",
"]",
"material",
",",
"options",
"options",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"the",
"algorithm",
"from",
"the",
"cipher"
] | [
"int",
"slash",
"=",
"cipher",
"index",
"of",
"(",
"'",
"/",
"'",
")",
";",
"if",
"(",
"slash",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"cipher",
";",
"}",
"else",
"{",
"return",
"cipher",
"substring",
"(",
"0",
",",
"slash",
")",
";",
"}"
] |
[
"generates",
"a",
"key",
"material"
] | [
"algorithm",
"=",
"get",
"algorithm",
"(",
"algorithm",
")",
";",
"key",
"generator",
"key",
"generator",
"=",
"key",
"generator",
"get",
"instance",
"(",
"algorithm",
")",
";",
"key",
"generator",
"init",
"(",
"size",
")",
";",
"byte",
"[",
"]",
"key",
... |
[
"create",
"a",
"new",
"key",
"generating",
"the",
"material",
"for",
"it",
"the",
"given",
"key",
"must",
"not",
"already",
"exist",
"<",
"p",
"/",
">",
"this",
"implementation",
"generates",
"the",
"key",
"material",
"and",
"calls",
"the",
"{",
"@",
"li... | [
"byte",
"[",
"]",
"material",
"=",
"generate",
"key",
"(",
"options",
"get",
"bit",
"length",
"(",
")",
",",
"options",
"get",
"cipher",
"(",
")",
")",
";",
"return",
"create",
"key",
"(",
"name",
",",
"material",
",",
"options",
")",
";"
] |
[
"delete",
"the",
"given",
"key"
] | [
"public",
"abstract",
"void",
"delete",
"key",
"(",
"string",
"name",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"roll",
"a",
"new",
"version",
"of",
"the",
"given",
"key"
] | [
"public",
"abstract",
"key",
"version",
"roll",
"new",
"version",
"(",
"string",
"name",
",",
"byte",
"[",
"]",
"material",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"roll",
"a",
"new",
"version",
"of",
"the",
"given",
"key",
"generating",
"the",
"material",
"for",
"it",
"<",
"p",
"/",
">",
"this",
"implementation",
"generates",
"the",
"key",
"material",
"and",
"calls",
"the",
"{",
"@",
"link",
"#",
"roll",
"new",
... | [
"metadata",
"meta",
"=",
"get",
"metadata",
"(",
"name",
")",
";",
"byte",
"[",
"]",
"material",
"=",
"generate",
"key",
"(",
"meta",
"get",
"bit",
"length",
"(",
")",
",",
"meta",
"get",
"cipher",
"(",
")",
")",
";",
"return",
"roll",
"new",
"vers... |
[
"ensures",
"that",
"any",
"changes",
"to",
"the",
"credentials",
"are",
"written",
"to",
"persistent",
"store"
] | [
"public",
"abstract",
"void",
"flush",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"create",
"a",
"session",
"handle"
] | [
"string",
"user",
"name",
"=",
"get",
"user",
"name",
"(",
"req",
")",
";",
"string",
"ip",
"address",
"=",
"get",
"ip",
"address",
"(",
")",
";",
"t",
"protocol",
"version",
"protocol",
"=",
"get",
"min",
"version",
"(",
"c",
"l",
"i",
"service",
... |
[
"{"
] | [
"@",
"override",
"public",
"abstract",
"void",
"accept",
"(",
"t",
"value",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"subject",
"has",
"any",
"observers",
"<",
"p",
">",
"the",
"method",
"is",
"thread",
"-",
"safe"
] | [
"public",
"abstract",
"boolean",
"has",
"observers",
"(",
")",
";"
] |
[
"wraps",
"this",
"relay",
"and",
"serializes",
"the",
"calls",
"to",
"{"
] | [
"if",
"(",
"this",
"instanceof",
"serialized",
"relay",
")",
"{",
"return",
"this",
";",
"}",
"return",
"new",
"serialized",
"relay",
"<",
"t",
">",
"(",
"this",
")",
";"
] |
[
"end",
":",
":",
"solrj",
"-",
"techproduct",
"-",
"value",
"-",
"type",
"[",
"]"
] | [
"expected",
"lines",
"add",
"(",
"expected",
"line",
")",
";"
] |
[
"writes",
"a",
"specific",
"integer",
"value",
"(",
"4",
"bytes",
")",
"to",
"the",
"output",
"stream"
] | [
"out",
"write",
"(",
"(",
"byte",
")",
"(",
"0xff",
"&",
"(",
"v",
">",
">",
"24",
")",
")",
")",
";",
"out",
"write",
"(",
"(",
"byte",
")",
"(",
"0xff",
"&",
"(",
"v",
">",
">",
"16",
")",
")",
")",
";",
"out",
"write",
"(",
"(",
"byt... |
[
"writes",
"a",
"specific",
"long",
"value",
"(",
"8",
"bytes",
")",
"to",
"the",
"output",
"stream"
] | [
"out",
"write",
"(",
"(",
"byte",
")",
"(",
"0xff",
"&",
"(",
"v",
">",
">",
"56",
")",
")",
")",
";",
"out",
"write",
"(",
"(",
"byte",
")",
"(",
"0xff",
"&",
"(",
"v",
">",
">",
"48",
")",
")",
")",
";",
"out",
"write",
"(",
"(",
"byt... |
[
"{"
] | [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"tcp",
"discovery",
"spi",
"disco",
"spi",
"=",
"new",
"tcp",
"discovery",
"spi",
"(",
")",
";",
"disco",
"spi",
"set",
"ip",
"finder",
"... |
[
"{"
] | [
"exec",
"cntr",
"set",
"(",
"0",
")",
";"
] |
[
"{"
] | [
"throw",
"new",
"class",
"not",
"found",
"exception",
"(",
")",
";"
] |
[
"{"
] | [
"thread",
"sleep",
"(",
"job",
"sleep",
")",
";",
"return",
"null",
";"
] |
[
"called",
"when",
"the",
"filter",
"is",
"closed",
"subclasses",
"can",
"override",
"this",
"to",
"perform",
"any",
"kind",
"of",
"post",
"-",
"processing",
"steps",
"processing",
"will",
"not",
"resume",
"until",
"{",
"@",
"link",
"#",
"on",
"open",
"(",
... | [] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"ca",
"certificate",
"<",
"/",
"p",
">"
] | [
"set",
"certificate",
"arn",
"(",
"certificate",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"certificate",
"<",
"/",
"p",
">"
] | [
"this",
"certificate",
"id",
"=",
"certificate",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"certificate",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"certificate",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"ca",
"certificate",
"<",
"/",
"p",
">"
] | [
"set",
"certificate",
"id",
"(",
"certificate",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"ca",
"certificate",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"status",
"value",
"register",
"inactive",
"is",
"deprecated",
"and",
"should",
"not",
"be",
"used",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"a",
"ca",
"certificate",
"<",
"/",
"p",
">"
] | [
"with",
"status",
"(",
"status",
")",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"ca",
"certificate",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"status",
"value",
"register",
"inactive",
"is",
"deprecated",
"and",
"should",
"not",
"be",
"used",
"<",
"/",
"p",
">"
] | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"the",
"ca",
"certificate",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"creation",
"date",
"(",
"creation",
"date",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"super",
"on",
"create",
"(",
"saved",
"instance",
"state",
")",
";",
"subscription",
"service",
"=",
"subscription",
"service",
"get",
"instance",
"(",
"activity",
")",
";",
"feed",
"load",
"count",
"=",
"how",
"many",
"items",
"to",
"load",
"(",
")",
"... |
[
"/",
"*",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"super",
"write",
"to",
"(",
"objects",
"to",
"save",
")",
";",
"objects",
"to",
"save",
"add",
"(",
"all",
"items",
"loaded",
")",
";",
"objects",
"to",
"save",
"add",
"(",
"items",
"loaded",
")",
";"
] |
[
"/",
"*",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"reset",
"fragment",
"(",
")",
";",
"super",
"show",
"error",
"(",
"message",
",",
"show",
"retry",
"button",
")",
";"
] |
[
"returns",
"a",
"recyclable",
"m",
"p",
"point",
"f",
"instance",
"calculates",
"the",
"position",
"around",
"a",
"center",
"point",
"depending",
"on",
"the",
"distance",
"from",
"the",
"center",
"and",
"the",
"angle",
"of",
"the",
"position",
"around",
"the... | [
"m",
"p",
"point",
"f",
"p",
"=",
"m",
"p",
"point",
"f",
"get",
"instance",
"(",
"0",
",",
"0",
")",
";",
"get",
"position",
"(",
"center",
",",
"dist",
",",
"angle",
",",
"p",
")",
";",
"return",
"p",
";"
] |
[
"returns",
"the",
"x",
"index",
"for",
"the",
"given",
"angle",
"around",
"the",
"center",
"of",
"the",
"chart",
"returns",
"-",
"1",
"if",
"not",
"found",
"/",
"outofbounds"
] | [
"public",
"abstract",
"int",
"get",
"index",
"for",
"angle",
"(",
"float",
"angle",
")",
";"
] |
[
"set",
"an",
"offset",
"for",
"the",
"rotation",
"of",
"the",
"radar",
"chart",
"in",
"degrees",
"default",
"2",
"7",
"0f",
"-",
"-",
">",
"top",
"(",
"north",
")"
] | [
"m",
"raw",
"rotation",
"angle",
"=",
"angle",
";",
"m",
"rotation",
"angle",
"=",
"utils",
"get",
"normalized",
"angle",
"(",
"m",
"raw",
"rotation",
"angle",
")",
";"
] |
[
"gets",
"the",
"raw",
"version",
"of",
"the",
"current",
"rotation",
"angle",
"of",
"the",
"pie",
"chart",
"the",
"returned",
"value",
"could",
"be",
"any",
"value",
"negative",
"or",
"positive",
"outside",
"of",
"the",
"360",
"degrees",
"this",
"is",
"use... | [
"return",
"m",
"raw",
"rotation",
"angle",
";"
] |
[
"gets",
"a",
"normalized",
"version",
"of",
"the",
"current",
"rotation",
"angle",
"of",
"the",
"pie",
"chart",
"which",
"will",
"always",
"be",
"between",
"0",
"0",
"<",
"360",
"0"
] | [
"return",
"m",
"rotation",
"angle",
";"
] |
[
"set",
"this",
"to",
"true",
"to",
"enable",
"the",
"rotation",
"/",
"spinning",
"of",
"the",
"chart",
"by",
"touch",
"set",
"it",
"to",
"false",
"to",
"disable",
"it",
"default",
":",
"true"
] | [
"m",
"rotate",
"enabled",
"=",
"enabled",
";"
] |
[
"returns",
"true",
"if",
"rotation",
"of",
"the",
"chart",
"by",
"touch",
"is",
"enabled",
"false",
"if",
"not"
] | [
"return",
"m",
"rotate",
"enabled",
";"
] |
[
"gets",
"the",
"minimum",
"offset",
"(",
"padding",
")",
"around",
"the",
"chart",
"defaults",
"to",
"15",
"f"
] | [
"return",
"m",
"min",
"offset",
";"
] |
[
"sets",
"the",
"minimum",
"offset",
"(",
"padding",
")",
"around",
"the",
"chart",
"defaults",
"to",
"15",
"f"
] | [
"m",
"min",
"offset",
"=",
"min",
"offset",
";"
] |
[
"returns",
"the",
"diameter",
"of",
"the",
"pie",
"-",
"or",
"radar",
"-",
"chart"
] | [
"rect",
"f",
"content",
"=",
"m",
"view",
"port",
"handler",
"get",
"content",
"rect",
"(",
")",
";",
"content",
"left",
"+",
"=",
"get",
"extra",
"left",
"offset",
"(",
")",
";",
"content",
"top",
"+",
"=",
"get",
"extra",
"top",
"offset",
"(",
")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.