docstring_tokens list | code_tokens list |
|---|---|
[
"return",
"the",
"current",
"limit",
"for",
"array",
"and",
"collection",
"auto",
"-",
"growing"
] | [
"return",
"this",
"auto",
"grow",
"collection",
"limit",
";"
] |
[
"switch",
"the",
"target",
"object",
"replacing",
"the",
"cached",
"introspection",
"results",
"only",
"if",
"the",
"class",
"of",
"the",
"new",
"object",
"is",
"different",
"to",
"that",
"of",
"the",
"replaced",
"object"
] | [
"set",
"wrapped",
"instance",
"(",
"object",
",",
"\"",
"\"",
",",
"null",
")",
";"
] |
[
"return",
"the",
"nested",
"path",
"of",
"the",
"object",
"wrapped",
"by",
"this",
"accessor"
] | [
"return",
"this",
"nested",
"path",
";"
] |
[
"return",
"the",
"class",
"of",
"the",
"root",
"object",
"at",
"the",
"top",
"of",
"the",
"path",
"of",
"this",
"accessor"
] | [
"return",
"get",
"root",
"instance",
"(",
")",
"get",
"class",
"(",
")",
";"
] |
[
"return",
"a",
"{"
] | [
"@",
"nullable",
"protected",
"abstract",
"property",
"handler",
"get",
"local",
"property",
"handler",
"(",
"string",
"property",
"name",
")",
";"
] |
[
"create",
"a",
"new",
"nested",
"property",
"accessor",
"instance",
"can",
"be",
"overridden",
"in",
"subclasses",
"to",
"create",
"a",
"property",
"accessor",
"subclass"
] | [
"protected",
"abstract",
"abstract",
"nestable",
"property",
"accessor",
"new",
"nested",
"property",
"accessor",
"(",
"object",
"object",
",",
"string",
"nested",
"path",
")",
";"
] |
[
"create",
"a",
"{"
] | [
"protected",
"abstract",
"not",
"writable",
"property",
"exception",
"create",
"not",
"writable",
"property",
"exception",
"(",
"string",
"property",
"name",
")",
";"
] |
[
"get",
"the",
"last",
"component",
"of",
"the",
"path",
"also",
"works",
"if",
"not",
"nested"
] | [
"if",
"(",
"pa",
"=",
"=",
"this",
")",
"{",
"return",
"nested",
"path",
";",
"}",
"return",
"nested",
"path",
"substring",
"(",
"property",
"accessor",
"utils",
"get",
"last",
"nested",
"property",
"separator",
"index",
"(",
"nested",
"path",
")",
"+",
... |
[
"creates",
"a",
"new",
"trace",
"and",
"saves",
"it",
"to",
"the",
"database"
] | [
"try",
"{",
"return",
"new",
"trace",
"(",
"m",
"module",
"get",
"content",
"(",
")",
"get",
"trace",
"container",
"(",
")",
"create",
"trace",
"(",
"name",
",",
"description",
")",
")",
";",
"}",
"catch",
"(",
"com",
"google",
"security",
"zynamics",
... |
[
"converts",
"internal",
"module",
"data",
"to",
"api",
"module",
"data"
] | [
"m",
"traces",
"=",
"new",
"array",
"list",
"<",
"trace",
">",
"(",
")",
";",
"for",
"(",
"final",
"trace",
"list",
"trace",
":",
"m",
"module",
"get",
"content",
"(",
")",
"get",
"trace",
"container",
"(",
")",
"get",
"traces",
"(",
")",
")",
"{... |
[
"creates",
"the",
"native",
"call",
"graph"
] | [
"final",
"directed",
"graph",
"<",
"i",
"callgraph",
"node",
",",
"i",
"callgraph",
"edge",
">",
"graph",
"=",
"m",
"module",
"get",
"content",
"(",
")",
"get",
"native",
"callgraph",
"(",
")",
";",
"final",
"list",
"<",
"function",
"block",
">",
"bloc... |
[
"adds",
"an",
"object",
"that",
"is",
"notified",
"about",
"changes",
"in",
"the",
"module"
] | [
"m",
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
] |
[
"closes",
"the",
"module",
"after",
"a",
"module",
"is",
"closed",
"using",
"its",
"content",
"leads",
"to",
"undefined",
"behaviour"
] | [
"m",
"module",
"close",
"(",
")",
";"
] |
[
"creates",
"a",
"new",
"view",
"that",
"is",
"added",
"to",
"the",
"module"
] | [
"final",
"c",
"view",
"new",
"view",
"=",
"m",
"module",
"get",
"content",
"(",
")",
"get",
"view",
"container",
"(",
")",
"create",
"view",
"(",
"name",
",",
"description",
")",
";",
"return",
"object",
"finders",
"get",
"object",
"(",
"new",
"view",
... |
[
"/"
] | [
"m",
"module",
"remove",
"listener",
"(",
"m",
"listener",
")",
";"
] |
[
"returns",
"the",
"creation",
"date",
"of",
"the",
"module",
"this",
"is",
"the",
"date",
"when",
"the",
"module",
"was",
"first",
"written",
"to",
"the",
"database"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"creation",
"date",
"(",
")",
";"
] |
[
"returns",
"the",
"database",
"the",
"project",
"belongs",
"to"
] | [
"return",
"m",
"database",
";"
] |
[
"returns",
"the",
"debugger",
"that",
"is",
"used",
"to",
"debug",
"the",
"address",
"space"
] | [
"return",
"m",
"debugger",
";"
] |
[
"returns",
"the",
"assigned",
"debugger",
"template"
] | [
"return",
"m",
"debugger",
"template",
";"
] |
[
"returns",
"the",
"description",
"of",
"the",
"module"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"description",
"(",
")",
";"
] |
[
"returns",
"the",
"file",
"base",
"of",
"the",
"module",
"this",
"is",
"the",
"base",
"address",
"of",
"the",
"module",
"according",
"to",
"the",
"header",
"of",
"the",
"original",
"input",
"file"
] | [
"return",
"new",
"address",
"(",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"file",
"base",
"(",
")",
"to",
"big",
"integer",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"database",
"id",
"of",
"the",
"module"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"id",
"(",
")",
";"
] |
[
"returns",
"the",
"image",
"base",
"of",
"the",
"module",
"this",
"is",
"the",
"base",
"address",
"of",
"the",
"module",
"as",
"it",
"really",
"occurs",
"in",
"memory",
"after",
"potential",
"relocation",
"operations"
] | [
"return",
"new",
"address",
"(",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"image",
"base",
"(",
")",
"to",
"big",
"integer",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"md5",
"hash",
"of",
"the",
"original",
"input",
"file"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"m",
"d",
"5",
"(",
")",
";"
] |
[
"returns",
"the",
"modification",
"date",
"of",
"the",
"module",
"this",
"is",
"the",
"date",
"when",
"the",
"module",
"was",
"last",
"written",
"to",
"the",
"database"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"modification",
"date",
"(",
")",
";"
] |
[
"returns",
"the",
"name",
"of",
"the",
"module"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"name",
"(",
")",
";"
] |
[
"returns",
"the",
"sha1",
"hash",
"of",
"the",
"original",
"input",
"file"
] | [
"return",
"m",
"module",
"get",
"configuration",
"(",
")",
"get",
"sha",
"1",
"(",
")",
";"
] |
[
"initialize",
"the",
"module",
"in",
"the",
"database"
] | [
"try",
"{",
"get",
"native",
"(",
")",
"initialize",
"(",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"co... |
[
"check",
"whether",
"this",
"module",
"has",
"been",
"initialized"
] | [
"return",
"get",
"native",
"(",
")",
"is",
"initialized",
"(",
")",
";"
] |
[
"returns",
"a",
"flag",
"that",
"indicates",
"whether",
"the",
"module",
"is",
"loaded"
] | [
"return",
"m",
"module",
"is",
"loaded",
"(",
")",
";"
] |
[
"loads",
"the",
"module",
"data",
"from",
"the",
"database"
] | [
"if",
"(",
"is",
"loaded",
"(",
")",
")",
"{",
"return",
";",
"}",
"try",
"{",
"m",
"module",
"load",
"(",
")",
";",
"}",
"catch",
"(",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"load",
"data",
"exception"... |
[
"removes",
"a",
"listener",
"object",
"from",
"the",
"module"
] | [
"m",
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
] |
[
"changes",
"the",
"debugger",
"template",
"of",
"the",
"module"
] | [
"try",
"{",
"m",
"module",
"get",
"configuration",
"(",
")",
"set",
"debugger",
"template",
"(",
"template",
"=",
"=",
"null",
"?",
"null",
":",
"template",
"get",
"native",
"(",
")",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
... |
[
"changes",
"the",
"description",
"of",
"the",
"module"
] | [
"try",
"{",
"m",
"module",
"get",
"configuration",
"(",
")",
"set",
"description",
"(",
"description",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
... |
[
"changes",
"the",
"file",
"base",
"of",
"the",
"module"
] | [
"try",
"{",
"m",
"module",
"get",
"configuration",
"(",
")",
"set",
"file",
"base",
"(",
"new",
"c",
"address",
"(",
"address",
"to",
"long",
"(",
")",
")",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"da... |
[
"changes",
"the",
"image",
"base",
"of",
"the",
"module"
] | [
"try",
"{",
"m",
"module",
"get",
"configuration",
"(",
")",
"set",
"image",
"base",
"(",
"new",
"c",
"address",
"(",
"address",
"to",
"long",
"(",
")",
")",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"d... |
[
"changes",
"the",
"name",
"of",
"the",
"module"
] | [
"try",
"{",
"m",
"module",
"get",
"configuration",
"(",
")",
"set",
"name",
"(",
"name",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"e",
")",
... |
[
"version",
"&",
"schema",
"-",
"specific",
"filling",
"into",
"the",
"implementation",
"object"
] | [
"water",
"meter",
"io",
"obj",
"=",
"new",
"water",
"meter",
"io",
"(",
")",
";",
"pojo",
"utils",
"copy",
"properties",
"(",
"obj",
",",
"this",
",",
"pojo",
"utils",
"field",
"naming",
"consistent",
")",
";",
"return",
"obj",
";"
] |
[
"version",
"&",
"schema",
"-",
"specific",
"filling",
"from",
"the",
"implementation",
"object"
] | [
"pojo",
"utils",
"copy",
"properties",
"(",
"this",
",",
"i",
",",
"pojo",
"utils",
"field",
"naming",
"consistent",
")",
";",
"return",
"this",
";"
] |
[
"get",
"source",
"id"
] | [
"return",
"data",
"get",
"(",
"0",
")",
";"
] |
[
"get",
"destionation",
"id"
] | [
"return",
"data",
"get",
"(",
"1",
")",
";"
] |
[
"get",
"command",
"as",
"short"
] | [
"return",
"data",
"get",
"short",
"(",
"2",
")",
";"
] |
[
"get",
"the",
"master",
"data",
"len"
] | [
"return",
"data",
"get",
"(",
"4",
")",
";"
] |
[
"get",
"master",
"crc"
] | [
"return",
"data",
"get",
"(",
"get",
"data",
"len",
"(",
")",
"+",
"5",
")",
";"
] |
[
"get",
"the",
"telegram",
"type"
] | [
"int",
"pos",
"=",
"get",
"data",
"len",
"(",
")",
"+",
"6",
";",
"byte",
"b",
"=",
"data",
"get",
"(",
"pos",
")",
";",
"if",
"(",
"b",
"=",
"=",
"syn",
")",
"{",
"return",
"type",
"broadcast",
";",
"}",
"else",
"if",
"(",
"b",
"=",
"=",
... |
[
"get",
"master",
"data",
"as",
"read",
"only",
"byte",
"buffer"
] | [
"return",
"data",
"as",
"read",
"only",
"buffer",
"(",
")",
";"
] |
[
"get",
"master",
"data",
"as",
"byte",
"array"
] | [
"int",
"l",
"=",
"get",
"data",
"len",
"(",
")",
";",
"byte",
"[",
"]",
"buffer",
"=",
"new",
"byte",
"[",
"l",
"]",
";",
"system",
"arraycopy",
"(",
"data",
"array",
"(",
")",
",",
"5",
",",
"buffer",
",",
"0",
",",
"l",
")",
";",
"return",
... |
[
"get",
"slave",
"data",
"len"
] | [
"if",
"(",
"get",
"type",
"(",
")",
"=",
"=",
"type",
"master",
"slave",
")",
"{",
"return",
"data",
"get",
"(",
"get",
"data",
"len",
"(",
")",
"+",
"7",
")",
";",
"}",
"return",
"-",
"1",
";"
] |
[
"get",
"slave",
"crc"
] | [
"if",
"(",
"get",
"type",
"(",
")",
"=",
"=",
"type",
"master",
"slave",
")",
"{",
"return",
"data",
"get",
"(",
"data",
"position",
"(",
")",
"-",
"3",
")",
";",
"}",
"return",
"-",
"1",
";"
] |
[
"get",
"slave",
"data",
"byte",
"array"
] | [
"int",
"l",
"=",
"get",
"slave",
"data",
"len",
"(",
")",
";",
"if",
"(",
"l",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"new",
"byte",
"[",
"0",
"]",
";",
"}",
"byte",
"[",
"]",
"buffer",
"=",
"new",
"byte",
"[",
"l",
"]",
";",
"system",
"... |
[
"create",
"an",
"internal",
"cache"
] | [
"assert",
"cache",
"size",
"bytes",
">",
"0",
";",
"m",
"favicon",
"cache",
"=",
"new",
"lru",
"cache",
"<",
"string",
",",
"cached",
"favicon",
">",
"(",
"cache",
"size",
"bytes",
")",
"{",
"@",
"override",
"protected",
"int",
"size",
"of",
"(",
"st... |
[
"deletes",
"the",
"c",
"+",
"+",
"side",
"of",
"this",
"class",
"this",
"must",
"be",
"called",
"when",
"this",
"object",
"is",
"no",
"longer",
"needed"
] | [
"assert",
"m",
"native",
"large",
"icon",
"bridge",
"!",
"=",
"0",
";",
"native",
"destroy",
"(",
"m",
"native",
"large",
"icon",
"bridge",
")",
";",
"m",
"native",
"large",
"icon",
"bridge",
"=",
"0",
";"
] |
[
"given",
"a",
"url",
"returns",
"a",
"large",
"icon",
"for",
"that",
"url",
"if",
"one",
"is",
"available",
"(",
"e",
"g",
"a",
"favicon",
"or",
"touch",
"icon",
")",
"if",
"none",
"is",
"available",
"a",
"fallback",
"color",
"is",
"returned",
"based",... | [
"assert",
"m",
"native",
"large",
"icon",
"bridge",
"!",
"=",
"0",
";",
"assert",
"callback",
"!",
"=",
"null",
";",
"if",
"(",
"m",
"favicon",
"cache",
"=",
"=",
"null",
")",
"{",
"return",
"native",
"get",
"large",
"icon",
"for",
"u",
"r",
"l",
... |
[
"{"
] | [
"observable",
"result",
";",
"try",
"{",
"observable",
"observable",
"=",
"to",
"observable",
"(",
"command",
"actions",
"get",
"command",
"action",
"(",
")",
"execute",
"(",
"execution",
"type",
")",
")",
";",
"result",
"=",
"observable",
"on",
"error",
"... |
[
"{"
] | [
"if",
"(",
"command",
"actions",
"has",
"fallback",
"action",
"(",
")",
")",
"{",
"meta",
"holder",
"meta",
"holder",
"=",
"command",
"actions",
"get",
"fallback",
"action",
"(",
")",
"get",
"meta",
"holder",
"(",
")",
";",
"throwable",
"cause",
"=",
"... |
[
"{"
] | [
"string",
"key",
"=",
"null",
";",
"if",
"(",
"cache",
"result",
"invocation",
"context",
"!",
"=",
"null",
")",
"{",
"hystrix",
"generated",
"cache",
"key",
"hystrix",
"generated",
"cache",
"key",
"=",
"default",
"cache",
"key",
"generator",
"generate",
"... |
[
"clears",
"cache",
"for",
"the",
"specified",
"hystrix",
"command"
] | [
"if",
"(",
"cache",
"remove",
"invocation",
"context",
"!",
"=",
"null",
")",
"{",
"hystrix",
"request",
"cache",
"manager",
"get",
"instance",
"(",
")",
"clear",
"cache",
"(",
"cache",
"remove",
"invocation",
"context",
")",
";",
"}"
] |
[
"check",
"whether",
"triggered",
"exception",
"is",
"ignorable"
] | [
"if",
"(",
"ignore",
"exceptions",
"=",
"=",
"null",
"|",
"|",
"ignore",
"exceptions",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"for",
"(",
"class",
"<",
"?",
"extends",
"throwable",
">",
"ignore",
"exception",
":",
"ignore",
"... |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"student",
"student",
"=",
"(",
"student... |
[
"for",
"tests",
"only"
] | [
"return",
"is",
"created",
";"
] |
[
"factory",
"method",
"to",
"create",
"an",
"entity",
"responsible",
"for",
"processing",
"requests",
"send",
"to",
"the",
"spice",
"service",
"the",
"default",
"implementation",
"of",
"this",
"method",
"will",
"return",
"a",
"{"
] | [
"return",
"new",
"request",
"processor",
"(",
"cache",
"manager",
",",
"request",
"progress",
"manager",
",",
"request",
"runner",
")",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"new",
"self",
"stopper",
"request",
"processor",
"listener",
"(",
")",
";"
] |
[
"for",
"testing",
"purposes",
"only"
] | [
"return",
"request",
"processor",
";"
] |
[
"method",
"to",
"create",
"a",
"request",
"progress",
"reporter",
"object",
"which",
"is",
"responsible",
"for",
"informing",
"the",
"listeners",
"of",
"the",
"current",
"state",
"of",
"each",
"request",
"you",
"can",
"use",
"this",
"method",
"to",
"modify",
... | [
"return",
"new",
"default",
"request",
"listener",
"notifier",
"(",
")",
";"
] |
[
"factory",
"method",
"to",
"create",
"an",
"entity",
"responsible",
"to",
"check",
"for",
"network",
"state",
"the",
"default",
"implementation",
"of",
"this",
"method",
"will",
"return",
"a",
"{"
] | [
"return",
"new",
"default",
"network",
"state",
"checker",
"(",
")",
";"
] |
[
"creates",
"the",
"spice",
"service",
"listener",
"notifier"
] | [
"return",
"new",
"spice",
"service",
"listener",
"notifier",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"public",
"abstract",
"cache",
"manager",
"create",
"cache",
"manager",
"(",
"application",
"application",
")",
"throws",
"cache",
"creation",
"exception",
";"
] |
[
"override",
"this",
"method",
"to",
"increase",
"the",
"number",
"of",
"threads",
"used",
"to",
"process",
"requests",
"this",
"method",
"will",
"have",
"no",
"effect",
"if",
"you",
"override",
"{"
] | [
"return",
"default",
"thread",
"count",
";"
] |
[
"override",
"this",
"method",
"to",
"increase",
"the",
"number",
"of",
"core",
"threads",
"used",
"to",
"process",
"requests",
"this",
"method",
"will",
"have",
"no",
"effect",
"if",
"you",
"override",
"{"
] | [
"return",
"get",
"thread",
"count",
"(",
")",
";"
] |
[
"override",
"this",
"method",
"to",
"increase",
"the",
"number",
"of",
"maximum",
"threads",
"used",
"to",
"process",
"requests",
"this",
"method",
"will",
"have",
"no",
"effect",
"if",
"you",
"override",
"{"
] | [
"return",
"get",
"thread",
"count",
"(",
")",
";"
] |
[
"override",
"this",
"method",
"to",
"set",
"the",
"keep",
"alive",
"time",
"for",
"core",
"threads",
"{"
] | [
"return",
"default",
"thread",
"keep",
"alive",
"time",
";"
] |
[
"override",
"this",
"method",
"to",
"disable",
"timeout",
"on",
"core",
"threads",
"this",
"is",
"only",
"taken",
"into",
"consideration",
"for",
"android",
"sdk",
"9",
"+",
"{"
] | [
"return",
"true",
";"
] |
[
"override",
"this",
"method",
"to",
"change",
"the",
"priority",
"of",
"threads",
"requests",
"this",
"method",
"will",
"have",
"no",
"effect",
"if",
"you",
"override",
"{"
] | [
"return",
"default",
"thread",
"priority",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"is",
"bound",
"=",
"true",
";",
"show",
"notification",
"if",
"not",
"bound",
"and",
"has",
"pending",
"requests",
"otherwise",
"hide",
"notification",
"(",
")",
";",
"return",
"m",
"spice",
"service",
"binder",
";"
] |
[
"there",
"is",
"a",
"bug",
"in",
"service",
"test",
"case",
":",
"a",
"call",
"to",
"set",
"foreground",
"will",
"fail"
] | [
"is",
"j",
"unit",
"=",
"b",
";"
] |
[
"returns",
"true",
"if",
"field",
"foreign",
"key",
"cols",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"foreign",
"key",
"cols",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"foreign",
"key",
"cols",
":",
"return",
"is",
"set",
"foreign",
"key",
"cols",
"(",
"... |
[
"get",
"error",
"code"
] | [
"return",
"m",
"error",
";"
] |
[
"returns",
"the",
"map",
"from",
"column",
"name",
"to",
"column",
"s",
"partition",
"metadata"
] | [
"return",
"column",
"partition",
"map",
";"
] |
[
"returns",
"the",
"partition",
"function",
"for",
"the",
"given",
"column",
"null",
"if",
"there",
"isn",
"t",
"one"
] | [
"column",
"partition",
"metadata",
"column",
"partition",
"metadata",
"=",
"column",
"partition",
"map",
"get",
"(",
"column",
")",
";",
"return",
"(",
"column",
"partition",
"metadata",
"!",
"=",
"null",
")",
"?",
"column",
"partition",
"metadata",
"get",
"... |
[
"set",
"the",
"number",
"of",
"partitions",
"for",
"the",
"specified",
"column"
] | [
"column",
"partition",
"metadata",
"column",
"partition",
"metadata",
"=",
"column",
"partition",
"map",
"get",
"(",
"column",
")",
";",
"column",
"partition",
"metadata",
"set",
"num",
"partitions",
"(",
"num",
"partitions",
")",
";"
] |
[
"given",
"a",
"json",
"string",
"de",
"-",
"serialize",
"and",
"return",
"an",
"instance",
"of",
"{",
"@",
"link",
"segment",
"partition",
"metadata",
"}"
] | [
"return",
"object",
"mapper",
"read",
"value",
"(",
"json",
"string",
",",
"segment",
"partition",
"metadata",
"class",
")",
";"
] |
[
"returns",
"the",
"json",
"equivalent",
"of",
"the",
"object"
] | [
"return",
"object",
"mapper",
"write",
"value",
"as",
"string",
"(",
"this",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"partitions",
"for",
"the",
"specified",
"column",
"returns",
"{",
"@",
"link",
"#",
"invalid",
"num",
"partitions",
"}",
"if",
"it",
"does",
"not",
"exist",
"for",
"the",
"column"
] | [
"column",
"partition",
"metadata",
"column",
"partition",
"metadata",
"=",
"column",
"partition",
"map",
"get",
"(",
"column",
")",
";",
"return",
"(",
"column",
"partition",
"metadata",
"!",
"=",
"null",
")",
"?",
"column",
"partition",
"metadata",
"get",
"... |
[
"returns",
"the",
"list",
"of",
"partition",
"ranges",
"for",
"the",
"specified",
"column",
"returns",
"null",
"if",
"the",
"column",
"is",
"not",
"partitioned"
] | [
"column",
"partition",
"metadata",
"column",
"partition",
"metadata",
"=",
"column",
"partition",
"map",
"get",
"(",
"column",
")",
";",
"return",
"(",
"column",
"partition",
"metadata",
"!",
"=",
"null",
")",
"?",
"column",
"partition",
"metadata",
"get",
"... |
[
"returns",
"all",
"concrete",
"classes",
"which",
"implement",
"{",
"@",
"link",
"identified",
"data",
"serializable",
"}",
"located",
"by",
"{",
"@",
"link",
"com",
"hazelcast",
"test",
"reflections",
"helper",
"#",
"reflections",
"}"
] | [
"set",
"<",
"class",
"<",
"?",
"extends",
"identified",
"data",
"serializable",
">",
">",
"identified",
"data",
"serializables",
"=",
"reflections",
"get",
"sub",
"types",
"of",
"(",
"identified",
"data",
"serializable",
"class",
")",
";",
"filter",
"non",
"... |
[
"returns",
"the",
"set",
"of",
"classes",
"excluded",
"from",
"the",
"conventions",
"tests"
] | [
"set",
"<",
"class",
">",
"white",
"list",
"=",
"new",
"hash",
"set",
"<",
"class",
">",
"(",
")",
";",
"white",
"list",
"add",
"(",
"event",
"object",
"class",
")",
";",
"white",
"list",
"add",
"(",
"throwable",
"class",
")",
";",
"white",
"list",... |
[
"hides",
"the",
"showing",
"popup",
"menu",
"if",
"any",
"it",
"was",
"triggered",
"by",
"the",
"passed",
"content",
"view",
"if",
"content",
"view",
"is",
"null",
"hides",
"it",
"regardless",
"of",
"which",
"content",
"view",
"triggered",
"it"
] | [
"if",
"(",
"s",
"shown",
"dialog",
"!",
"=",
"null",
"&",
"&",
"(",
"content",
"view",
"=",
"=",
"null",
"|",
"|",
"s",
"shown",
"dialog",
"m",
"content",
"view",
"core",
"=",
"=",
"content",
"view",
")",
")",
"{",
"if",
"(",
"content",
"view",
... |
[
"the",
"methods",
"below",
"are",
"used",
"by",
"tests"
] | [
"return",
"s",
"shown",
"dialog",
";"
] |
[
"returns",
"the",
"frequency",
"for",
"producing",
"inventory",
"results",
"in",
"{"
] | [
"return",
"frequency",
";"
] |
[
"<",
"p",
">",
"the",
"frequency",
"in",
"which",
"charges",
"will",
"recur",
"<",
"/",
"p",
">"
] | [
"this",
"frequency",
"=",
"frequency",
";"
] |
[
"returns",
"the",
"cache",
"name",
"to",
"which",
"this",
"config",
"applies"
] | [
"return",
"cache",
"name",
";"
] |
[
"{"
] | [
"u",
"write",
"string",
"(",
"out",
",",
"name",
")",
";",
"u",
"write",
"string",
"(",
"out",
",",
"srvc",
"cls",
")",
";",
"out",
"write",
"int",
"(",
"total",
"cnt",
")",
";",
"out",
"write",
"int",
"(",
"max",
"per",
"node",
"cnt",
")",
";"... |
[
"{"
] | [
"name",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"srvc",
"cls",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"total",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",
";",
"max",
"per",
"node",
"cnt",
"=",
"in",
"read",
"int",
"(",
")",... |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"visor",
"service",
"descriptor",
"class",
",",
"this",
")",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"region",
"where",
"the",
"connection",
"is",
"located",
"<",
"/",
"p",
">"
] | [
"this",
"region",
"=",
"region",
";"
] |
[
"<",
"p",
">",
"specify",
"the",
"trace",
"i",
"ds",
"of",
"requests",
"for",
"which",
"to",
"retrieve",
"segments",
"<",
"/",
"p",
">"
] | [
"return",
"trace",
"ids",
";"
] |
[
"<",
"p",
">",
"specify",
"the",
"trace",
"i",
"ds",
"of",
"requests",
"for",
"which",
"to",
"retrieve",
"segments",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"trace",
"ids",
"=",
"=",
"null",
")",
"{",
"this",
"trace",
"ids",
"=",
"null",
";",
"return",
";",
"}",
"this",
"trace",
"ids",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"trace",
"ids",
")",
";"
] |
[
"<",
"p",
">",
"trace",
"i",
"ds",
"of",
"requests",
"for",
"which",
"to",
"generate",
"a",
"service",
"graph",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to... | [
"if",
"(",
"this",
"trace",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"trace",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"trace",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"trace",
... |
[
"<",
"p",
">",
"trace",
"i",
"ds",
"of",
"requests",
"for",
"which",
"to",
"generate",
"a",
"service",
"graph",
"<",
"/",
"p",
">"
] | [
"set",
"trace",
"ids",
"(",
"trace",
"ids",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.