docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"region",
"that",
"the",
"stack",
"instance",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] | [
"set",
"region",
"(",
"region",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"aws",
"account",
"that",
"the",
"stack",
"instance",
"is",
"associated",
"with",
"<",
"/",
"p",
">"
] | [
"set",
"account",
"(",
"account",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"stack",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"stack",
"id",
"(",
"stack",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"stack",
"set",
"parameters",
"whose",
"values",
"you",
"want",
"to",
"override",
"in",
"the",
"selected",
"stack",
"instances",
"<",
"/",
"p",
">",
"<",
"p",
">",
"any",
"overridden",
"parameter",
"values",
"will",
"b... | [
"if",
"(",
"parameter",
"overrides",
"=",
"=",
"null",
")",
"{",
"parameter",
"overrides",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"parameter",
">",
"(",
")",
";",
"}",
"return",
"parameter",
"overrides",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"stack",
"set",
"parameters",
"whose",
"values",
"you",
"want",
"to",
"override",
"in",
"the",
"selected",
"stack",
"instances",
"<",
"/",
"p",
">",
"<",
"p",
">",
"any",
"overridden",
"parameter",
"values",
"will",
"b... | [
"if",
"(",
"parameter",
"overrides",
"=",
"=",
"null",
")",
"{",
"this",
"parameter",
"overrides",
"=",
"null",
";",
"return",
";",
"}",
"this",
"parameter",
"overrides",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"paramete... |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"from",
"the",
"stack",
"set",
"template",
"whose",
"values",
"have",
"been",
"overridden",
"in",
"this",
"stack",
"instance",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
... | [
"if",
"(",
"this",
"parameter",
"overrides",
"=",
"=",
"null",
")",
"{",
"set",
"parameter",
"overrides",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"parameter",
">",
"(",
"parameter",
"overrides",
"length",
")",
")",
";",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"from",
"the",
"stack",
"set",
"template",
"whose",
"values",
"have",
"been",
"overridden",
"in",
"this",
"stack",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"parameter",
"overrides",
"(",
"parameter",
"overrides",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"stack",
"instance",
"in",
"terms",
"of",
"its",
"synchronization",
"with",
"its",
"associated",
"stack",
"set",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"in... | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"stack",
"instance",
"in",
"terms",
"of",
"its",
"synchronization",
"with",
"its",
"associated",
"stack",
"set",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"in... | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"explanation",
"for",
"the",
"specific",
"status",
"code",
"that",
"is",
"assigned",
"to",
"this",
"stack",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"reason",
"(",
"status",
"reason",
")",
";",
"return",
"this",
";"
] |
[
"selects",
"a",
"specific",
"pid",
"from",
"within",
"a",
"source"
] | [
"set",
"pid",
"(",
"pid",
")",
";",
"return",
"this",
";"
] |
[
"transforms",
"results",
"using",
"factory",
"expression",
"if",
"result",
"transformer",
"can",
"t",
"be",
"used"
] | [
"if",
"(",
"projection",
"!",
"=",
"null",
")",
"{",
"object",
"result",
"=",
"query",
"get",
"single",
"result",
"(",
")",
";",
"if",
"(",
"result",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"!",
"result",
"get",
"class",
"(",
")",
"is",
"array",
... |
[
"clone",
"the",
"state",
"of",
"this",
"query",
"to",
"a",
"new",
"instance",
"with",
"the",
"given",
"entity",
"manager"
] | [
"public",
"abstract",
"q",
"clone",
"(",
"entity",
"manager",
"entity",
"manager",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"activities",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"service",
"helper",
"start",
"services",
"(",
"activities",
")",
";"
] |
[
"reports",
"the",
"given",
"warning"
] | [
"public",
"abstract",
"void",
"warn",
"(",
"string",
"msg",
")",
";"
] |
[
"returns",
"a",
"single",
"target",
"corresponding",
"to",
"the",
"given",
"label",
"or",
"null",
"this",
"method",
"may",
"only",
"throw",
"an",
"exception",
"if",
"the",
"current",
"thread",
"was",
"interrupted"
] | [
"public",
"abstract",
"t",
"get",
"target",
"or",
"null",
"(",
"label",
"label",
")",
"throws",
"interrupted",
"exception",
";"
] |
[
"returns",
"a",
"single",
"target",
"corresponding",
"to",
"the",
"given",
"label",
"or",
"an",
"empty",
"or",
"failed",
"result"
] | [
"public",
"abstract",
"resolved",
"targets",
"<",
"t",
">",
"get",
"explicit",
"target",
"(",
"label",
"label",
")",
"throws",
"target",
"parsing",
"exception",
",",
"interrupted",
"exception",
";"
] |
[
"returns",
"the",
"set",
"containing",
"the",
"targets",
"found",
"in",
"the",
"given",
"package",
"the",
"specified",
"directory",
"is",
"not",
"necessarily",
"a",
"valid",
"package",
"name",
"if",
"{",
"@",
"code",
"rules",
"only",
"}",
"is",
"true",
"th... | [
"public",
"abstract",
"resolved",
"targets",
"<",
"t",
">",
"get",
"targets",
"in",
"package",
"(",
"string",
"original",
"pattern",
",",
"package",
"identifier",
"package",
"identifier",
",",
"boolean",
"rules",
"only",
")",
"throws",
"target",
"parsing",
"ex... |
[
"computes",
"the",
"set",
"containing",
"the",
"targets",
"found",
"below",
"the",
"given",
"{",
"@",
"code",
"directory",
"}",
"passing",
"it",
"in",
"batches",
"to",
"{",
"@",
"code",
"callback",
"}",
"conceptually",
"this",
"method",
"should",
"look",
"... | [
"public",
"abstract",
"<",
"e",
"extends",
"exception",
">",
"void",
"find",
"targets",
"beneath",
"directory",
"(",
"repository",
"name",
"repository",
",",
"string",
"original",
"pattern",
",",
"string",
"directory",
",",
"boolean",
"rules",
"only",
",",
"im... |
[
"async",
"version",
"of",
"{",
"@",
"link",
"#",
"find",
"targets",
"beneath",
"directory",
"}"
] | [
"try",
"{",
"find",
"targets",
"beneath",
"directory",
"(",
"repository",
",",
"original",
"pattern",
",",
"directory",
",",
"rules",
"only",
",",
"blacklisted",
"subdirectories",
",",
"excluded",
"subdirectories",
",",
"callback",
",",
"exception",
"class",
")"... |
[
"returns",
"true",
"if",
"and",
"only",
"if",
"the",
"given",
"package",
"identifier",
"corresponds",
"to",
"a",
"package",
"i",
"e",
"a",
"file",
"with",
"the",
"name",
"{"
] | [
"public",
"abstract",
"boolean",
"is",
"package",
"(",
"package",
"identifier",
"package",
"identifier",
")",
"throws",
"interrupted",
"exception",
";"
] |
[
"returns",
"the",
"target",
"kind",
"of",
"the",
"given",
"target",
"for",
"example",
"{"
] | [
"public",
"abstract",
"string",
"get",
"target",
"kind",
"(",
"t",
"target",
")",
";"
] |
[
"<",
"p",
">",
"constructs",
"a",
"<",
"code",
">",
"numeric",
"entity",
"escaper",
"<",
"/",
"code",
">",
"below",
"the",
"specified",
"value",
"(",
"exclusive",
")",
"<",
"/",
"p",
">"
] | [
"return",
"outside",
"of",
"(",
"codepoint",
",",
"integer",
"max",
"value",
")",
";"
] |
[
"<",
"p",
">",
"constructs",
"a",
"<",
"code",
">",
"numeric",
"entity",
"escaper",
"<",
"/",
"code",
">",
"above",
"the",
"specified",
"value",
"(",
"exclusive",
")",
"<",
"/",
"p",
">"
] | [
"return",
"outside",
"of",
"(",
"0",
",",
"codepoint",
")",
";"
] |
[
"<",
"p",
">",
"constructs",
"a",
"<",
"code",
">",
"numeric",
"entity",
"escaper",
"<",
"/",
"code",
">",
"between",
"the",
"specified",
"values",
"(",
"inclusive",
")",
"<",
"/",
"p",
">"
] | [
"return",
"new",
"numeric",
"entity",
"escaper",
"(",
"codepoint",
"low",
",",
"codepoint",
"high",
",",
"true",
")",
";"
] |
[
"<",
"p",
">",
"constructs",
"a",
"<",
"code",
">",
"numeric",
"entity",
"escaper",
"<",
"/",
"code",
">",
"outside",
"of",
"the",
"specified",
"values",
"(",
"exclusive",
")",
"<",
"/",
"p",
">"
] | [
"return",
"new",
"numeric",
"entity",
"escaper",
"(",
"codepoint",
"low",
",",
"codepoint",
"high",
",",
"false",
")",
";"
] |
[
"gets",
"the",
"rlp",
"encoded",
"byte",
"array",
"of",
"this",
"message"
] | [
"public",
"abstract",
"byte",
"[",
"]",
"get",
"encoded",
"(",
")",
";"
] |
[
"get",
"the",
"local",
"client",
"s",
"identity",
"key",
"pair"
] | [
"if",
"(",
"identity",
"key",
"pair",
"=",
"=",
"null",
")",
"{",
"identity",
"key",
"pair",
"=",
"load",
"identity",
"key",
"pair",
"(",
")",
";",
"}",
"return",
"identity",
"key",
"pair",
";"
] |
[
"return",
"the",
"local",
"client",
"s",
"registration",
"id",
"<",
"p",
"/",
">",
"clients",
"should",
"maintain",
"a",
"registration",
"id",
"a",
"random",
"number",
"between",
"1",
"and",
"16380",
"that",
"s",
"generated",
"once",
"at",
"install",
"time... | [
"return",
"local",
"registration",
"id",
";"
] |
[
"verify",
"a",
"remote",
"client",
"s",
"identity",
"key",
"<",
"p",
"/",
">",
"determine",
"whether",
"a",
"remote",
"client",
"s",
"identity",
"is",
"trusted",
"convention",
"is",
"that",
"the",
"text",
"secure",
"protocol",
"is",
"trust",
"on",
"first",... | [
"return",
"true",
";"
] |
[
"returns",
"a",
"copy",
"of",
"the",
"{",
"@",
"link",
"session",
"record",
"}",
"corresponding",
"to",
"the",
"recipient",
"id",
"+",
"device",
"id",
"tuple",
"or",
"a",
"new",
"session",
"record",
"if",
"one",
"does",
"not",
"currently",
"exist",
"<",
... | [
"session",
"record",
"session",
"=",
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"load",
"session",
"(",
"this",
"account",
",",
"address",
")",
";",
"return",
"(",
"session",
"!",
"=",
"null",
")",
"?",
"session",
":",
"new",
"session",
... |
[
"returns",
"all",
"known",
"devices",
"with",
"active",
"sessions",
"for",
"a",
"recipient"
] | [
"return",
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"get",
"sub",
"device",
"sessions",
"(",
"account",
",",
"new",
"signal",
"protocol",
"address",
"(",
"name",
",",
"0",
")",
")",
";"
] |
[
"commit",
"to",
"storage",
"the",
"{",
"@",
"link",
"session",
"record",
"}",
"for",
"a",
"given",
"recipient",
"id",
"+",
"device",
"id",
"tuple"
] | [
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"store",
"session",
"(",
"account",
",",
"address",
",",
"record",
")",
";"
] |
[
"determine",
"whether",
"there",
"is",
"a",
"committed",
"{",
"@",
"link",
"session",
"record",
"}",
"for",
"a",
"recipient",
"id",
"+",
"device",
"id",
"tuple"
] | [
"return",
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"contains",
"session",
"(",
"account",
",",
"address",
")",
";"
] |
[
"remove",
"a",
"{",
"@",
"link",
"session",
"record",
"}",
"for",
"a",
"recipient",
"id",
"+",
"device",
"id",
"tuple"
] | [
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"delete",
"session",
"(",
"account",
",",
"address",
")",
";"
] |
[
"remove",
"the",
"{",
"@",
"link",
"session",
"record",
"}",
"s",
"corresponding",
"to",
"all",
"devices",
"of",
"a",
"recipient",
"id"
] | [
"signal",
"protocol",
"address",
"address",
"=",
"new",
"signal",
"protocol",
"address",
"(",
"name",
",",
"0",
")",
";",
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"delete",
"all",
"sessions",
"(",
"account",
",",
"address",
")",
";"
] |
[
"delete",
"a",
"pre",
"key",
"record",
"from",
"local",
"storage"
] | [
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"delete",
"pre",
"key",
"(",
"account",
",",
"pre",
"key",
"id",
")",
";"
] |
[
"load",
"all",
"local",
"signed",
"pre",
"key",
"records"
] | [
"return",
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"load",
"signed",
"pre",
"keys",
"(",
"account",
")",
";"
] |
[
"store",
"a",
"local",
"signed",
"pre",
"key",
"record"
] | [
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"store",
"signed",
"pre",
"key",
"(",
"account",
",",
"record",
")",
";"
] |
[
"delete",
"a",
"signed",
"pre",
"key",
"record",
"from",
"local",
"storage"
] | [
"m",
"xmpp",
"connection",
"service",
"database",
"backend",
"delete",
"signed",
"pre",
"key",
"(",
"account",
",",
"signed",
"pre",
"key",
"id",
")",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"role",
"the",
"drt",
"will",
"use",
"to",
"access",
"your",
"aws",
"account",
"<",
"/",
"p",
">",
"<",
"p",
">",
"prior",
"to",
"making",
"the",
"<",
"code",
">",
... | [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"if",
"the",
"class",
"to",
"be",
"loaded",
"has",
"been",
"configured",
"with",
"a",
"cache",
"then",
"lock",
"given",
"id",
"in",
"that",
"cache",
"and",
"then",
"perform",
"the",
"load"
] | [
"soft",
"lock",
"lock",
"=",
"null",
";",
"final",
"object",
"ck",
";",
"final",
"entity",
"data",
"access",
"cache",
"=",
"persister",
"get",
"cache",
"access",
"strategy",
"(",
")",
";",
"if",
"(",
"persister",
"can",
"write",
"to",
"cache",
"(",
")"... |
[
"performs",
"the",
"process",
"of",
"loading",
"an",
"entity",
"from",
"the",
"configured",
"underlying",
"datasource"
] | [
"object",
"entity",
"=",
"persister",
"load",
"(",
"event",
"get",
"entity",
"id",
"(",
")",
",",
"event",
"get",
"instance",
"to",
"load",
"(",
")",
",",
"event",
"get",
"lock",
"options",
"(",
")",
",",
"event",
"get",
"session",
"(",
")",
")",
"... |
[
"initializes",
"the",
"necessary",
"listeners",
"if",
"a",
"module",
"is",
"loaded"
] | [
"if",
"(",
"m",
"module",
"is",
"loaded",
"(",
")",
")",
"{",
"m",
"module",
"get",
"content",
"(",
")",
"get",
"view",
"container",
"(",
")",
"get",
"native",
"callgraph",
"view",
"(",
")",
"add",
"listener",
"(",
"m",
"view",
"listener",
")",
";"... |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"setter",
"/",
"getter",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"this",
"transform",
"event",
"=",
"transform",
"event",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"resources",
"you",
"want",
"to",
"associate",
"with",
"macie",
"<",
"/",
"p",
">"
] | [
"set",
"member",
"account",
"id",
"(",
"member",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"associated",
"s3",
"resources",
"returned",
"by",
"the",
"action",
"<",
"/",
"p",
">"
] | [
"return",
"s",
"3",
"resources",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"associated",
"s3",
"resources",
"returned",
"by",
"the",
"action",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"s",
"3",
"resources",
"=",
"=",
"null",
")",
"{",
"this",
"s",
"3",
"resources",
"=",
"null",
";",
"return",
";",
"}",
"this",
"s",
"3",
"resources",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
"3",
"resource",
"classificatio... |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"that",
"you",
"want",
"to",
"associate",
"with",
"amazon",
"macie",
"for",
"monitoring",
"and",
"data",
"classification",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
... | [
"if",
"(",
"this",
"s",
"3",
"resources",
"=",
"=",
"null",
")",
"{",
"set",
"s",
"3",
"resources",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
"3",
"resource",
"classification",
">",
"(",
"s",
"3",
"resources",
"length",
")",
")",
";",
... |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"that",
"you",
"want",
"to",
"associate",
"with",
"amazon",
"macie",
"for",
"monitoring",
"and",
"data",
"classification",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"3",
"resources",
"(",
"s",
"3",
"resources",
")",
";",
"return",
"this",
";"
] |
[
"whether",
"we",
"can",
"split",
"at",
"reduce",
"work",
"for",
"simplicity",
"let",
"s",
"require",
"each",
"work",
"can",
"have",
"at",
"most",
"one",
"child",
"work",
"this",
"may",
"be",
"relaxed",
"by",
"checking",
"connectivity",
"of",
"the",
"work",... | [
"for",
"(",
"base",
"work",
"base",
"work",
":",
"spark",
"work",
"get",
"all",
"work",
"unsorted",
"(",
")",
")",
"{",
"if",
"(",
"spark",
"work",
"get",
"children",
"(",
"base",
"work",
")",
"size",
"(",
")",
">",
"1",
")",
"{",
"return",
"fals... |
[
"copy",
"a",
"sub",
"-",
"graph",
"from",
"origin",
"work",
"to",
"new",
"work"
] | [
"for",
"(",
"base",
"work",
"child",
":",
"origin",
"work",
"get",
"children",
"(",
"base",
"work",
")",
")",
"{",
"if",
"(",
"!",
"new",
"work",
"contains",
"(",
"child",
")",
")",
"{",
"new",
"work",
"add",
"(",
"child",
")",
";",
"spark",
"edg... |
[
"retrieve",
"sqlite",
"database"
] | [
"ensure",
"database",
"(",
")",
";",
"return",
"m",
"db",
";"
] |
[
"gets",
"the",
"millisecond",
"instant",
"which",
"is",
"the",
"long",
"value"
] | [
"return",
"(",
"(",
"long",
")",
"object",
")",
"long",
"value",
"(",
")",
";"
] |
[
"gets",
"the",
"millisecond",
"duration",
"which",
"is",
"the",
"long",
"value"
] | [
"return",
"(",
"(",
"long",
")",
"object",
")",
"long",
"value",
"(",
")",
";"
] |
[
"returns",
"long",
"class"
] | [
"return",
"long",
"class",
";"
] |
[
"to",
"be",
"called",
"by",
"system",
"server",
"to",
"keep",
"track",
"which",
"pid",
"is",
"running",
"this",
"animation"
] | [
"m",
"calling",
"pid",
"=",
"pid",
";"
] |
[
"input",
"codec"
] | [
"set",
"codec",
"(",
"codec",
")",
";",
"return",
"this",
";"
] |
[
"input",
"codec"
] | [
"this",
"codec",
"=",
"codec",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"maximum",
"input",
"bitrate",
"categorized",
"coarsely"
] | [
"set",
"maximum",
"bitrate",
"(",
"maximum",
"bitrate",
")",
";",
"return",
"this",
";"
] |
[
"maximum",
"input",
"bitrate",
"categorized",
"coarsely"
] | [
"this",
"maximum",
"bitrate",
"=",
"maximum",
"bitrate",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"input",
"resolution",
"categorized",
"coarsely"
] | [
"set",
"resolution",
"(",
"resolution",
")",
";",
"return",
"this",
";"
] |
[
"input",
"resolution",
"categorized",
"coarsely"
] | [
"this",
"resolution",
"=",
"resolution",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"perform",
"a",
"logical",
"and",
"of",
"2",
"query",
"node",
"trees",
"if",
"q",
"1",
"and",
"q",
"2",
"are",
"a",
"n",
"d",
"query",
"node",
"nodes",
"it",
"uses",
"head",
"node",
"from",
"q",
"1",
"and",
"adds",
"the",
"children",
"of",
"q",
"... | [
"if",
"(",
"q",
"1",
"=",
"=",
"null",
")",
"return",
"q",
"2",
";",
"if",
"(",
"q",
"2",
"=",
"=",
"null",
")",
"return",
"q",
"1",
";",
"a",
"n",
"d",
"operation",
"op",
"=",
"null",
";",
"if",
"(",
"q",
"1",
"instanceof",
"and",
"query",... |
[
"gets",
"a",
"{",
"@",
"code",
"list",
"}",
"of",
"(",
"visible",
")",
"column",
"names",
"for",
"the",
"given",
"table",
"<",
"p",
">",
"called",
"when",
"exporting",
"the",
"column",
"names"
] | [
"list",
"<",
"string",
">",
"column",
"names",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"int",
"col",
"=",
"0",
";",
"col",
"<",
"get",
"table",
"(",
")",
"get",
"column",
"count",
"(",
")",
";",
"col",
"+",
"... |
[
"gets",
"the",
"cell",
"values",
"(",
"in",
"view",
"order",
")",
"for",
"the",
"given",
"row",
"<",
"p",
">",
"called",
"for",
"each",
"(",
"visible",
")",
"row",
"that",
"s",
"being",
"exported"
] | [
"list",
"<",
"object",
">",
"cells",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"int",
"col",
"=",
"0",
";",
"col",
"<",
"get",
"table",
"(",
")",
"get",
"column",
"count",
"(",
")",
";",
"col",
"+",
"+",
")",
"{",
"o... |
[
"gets",
"the",
"table",
"which",
"this",
"button",
"is",
"associated",
"with"
] | [
"return",
"export",
"table",
";"
] |
[
"sets",
"the",
"table",
"this",
"button",
"is",
"for"
] | [
"this",
"export",
"table",
"=",
"table",
";"
] |
[
"prints",
"to",
"standard",
"output",
"the",
"(",
"i",
"j",
"k",
")",
"with",
"{",
"@",
"code",
"i",
"<",
"j",
"<",
"k",
"}",
"such",
"that",
"{",
"@",
"code",
"a",
"[",
"i",
"]",
"+",
"a",
"[",
"j",
"]",
"+",
"a",
"[",
"k",
"]",
"=",
"... | [
"int",
"n",
"=",
"a",
"length",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"i",
"+",
"1",
";",
"j",
"<",
"n",
";",
"j",
"+",
"+",
")",
"{",
"for",
"(",
"int"... |
[
"returns",
"the",
"number",
"of",
"triples",
"(",
"i",
"j",
"k",
")",
"with",
"{",
"@",
"code",
"i",
"<",
"j",
"<",
"k",
"}",
"such",
"that",
"{",
"@",
"code",
"a",
"[",
"i",
"]",
"+",
"a",
"[",
"j",
"]",
"+",
"a",
"[",
"k",
"]",
"=",
"... | [
"int",
"n",
"=",
"a",
"length",
";",
"int",
"count",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"i",
"+",
"1",
";",
"j",
"<",
"n",
";",
"j",
"+",
"... |
[
"allows",
"third",
"party",
"apps",
"to",
"specify",
"the",
"camera",
"id",
"rather",
"than",
"determine",
"it",
"automatically",
"based",
"on",
"available",
"cameras",
"and",
"their",
"orientation"
] | [
"if",
"(",
"initialized",
")",
"{",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";",
"}",
"else",
"{",
"requested",
"camera",
"id",
"=",
"camera",
"id",
";",
"}"
] |
[
"return",
"the",
"name",
"of",
"the",
"package",
"holding",
"label",
"and",
"icon",
"resources"
] | [
"return",
"m",
"source",
"package",
";"
] |
[
"return",
"any",
"resource",
"identifier",
"that",
"has",
"been",
"given",
"for",
"the",
"label",
"text"
] | [
"return",
"m",
"label",
"res",
";"
] |
[
"return",
"any",
"concrete",
"text",
"that",
"has",
"been",
"given",
"for",
"the",
"label",
"text"
] | [
"return",
"m",
"non",
"localized",
"label",
";"
] |
[
"return",
"any",
"resource",
"identifier",
"that",
"has",
"been",
"given",
"for",
"the",
"label",
"icon"
] | [
"return",
"m",
"icon",
";"
] |
[
"retrieve",
"the",
"label",
"associated",
"with",
"this",
"object",
"if",
"the",
"object",
"does",
"not",
"have",
"a",
"label",
"null",
"will",
"be",
"returned",
"in",
"which",
"case",
"you",
"will",
"probably",
"want",
"to",
"load",
"the",
"label",
"from"... | [
"if",
"(",
"m",
"non",
"localized",
"label",
"!",
"=",
"null",
")",
"{",
"return",
"m",
"non",
"localized",
"label",
";",
"}",
"if",
"(",
"m",
"label",
"res",
"!",
"=",
"0",
"&",
"&",
"m",
"source",
"package",
"!",
"=",
"null",
")",
"{",
"char"... |
[
"retrieve",
"the",
"icon",
"associated",
"with",
"this",
"object",
"if",
"the",
"object",
"does",
"not",
"have",
"a",
"icon",
"null",
"will",
"be",
"returned",
"in",
"which",
"case",
"you",
"will",
"probably",
"want",
"to",
"load",
"the",
"icon",
"from",
... | [
"if",
"(",
"m",
"icon",
"!",
"=",
"0",
"&",
"&",
"m",
"source",
"package",
"!",
"=",
"null",
")",
"{",
"drawable",
"icon",
"=",
"pm",
"get",
"drawable",
"(",
"m",
"source",
"package",
",",
"m",
"icon",
",",
"null",
")",
";",
"if",
"(",
"icon",
... |
[
"{"
] | [
"u",
"write",
"string",
"(",
"out",
",",
"host",
")",
";",
"out",
"write",
"int",
"(",
"port",
")",
";",
"out",
"write",
"int",
"(",
"port",
"range",
")",
";",
"out",
"write",
"int",
"(",
"max",
"open",
"cursors",
"per",
"conn",
")",
";",
"out",
... |
[
"{"
] | [
"host",
"=",
"u",
"read",
"string",
"(",
"in",
")",
";",
"port",
"=",
"in",
"read",
"int",
"(",
")",
";",
"port",
"range",
"=",
"in",
"read",
"int",
"(",
")",
";",
"max",
"open",
"cursors",
"per",
"conn",
"=",
"in",
"read",
"int",
"(",
")",
"... |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"visor",
"client",
"connector",
"configuration",
"class",
",",
"this",
")",
";"
] |
[
"stop",
"sync",
"thread"
] | [
"if",
"(",
"!",
"stopped",
"get",
"and",
"set",
"(",
"true",
")",
")",
"{",
"if",
"(",
"syncer",
"!",
"=",
"null",
")",
"{",
"syncer",
"interrupt",
"(",
")",
";",
"}",
"matrix",
"clock",
"cache",
"map",
"clear",
"(",
")",
";",
"}"
] |
[
"remove",
"partition",
"clock",
"cache",
"for",
"a",
"matrix"
] | [
"matrix",
"clock",
"cache",
"map",
"remove",
"(",
"matrix",
"id",
")",
";"
] |
[
"add",
"matrix",
"clock",
"cache"
] | [
"if",
"(",
"!",
"matrix",
"clock",
"cache",
"map",
"contains",
"key",
"(",
"matrix",
"id",
")",
")",
"{",
"matrix",
"clock",
"cache",
"map",
"put",
"if",
"absent",
"(",
"matrix",
"id",
",",
"new",
"matrix",
"clock",
"cache",
"(",
"matrix",
"id",
",",... |
[
"get",
"a",
"matrix",
"partition",
"clock"
] | [
"matrix",
"clock",
"cache",
"matrix",
"clock",
"cache",
"=",
"matrix",
"clock",
"cache",
"map",
"get",
"(",
"matrix",
"id",
")",
";",
"if",
"(",
"matrix",
"clock",
"cache",
"=",
"=",
"null",
")",
"{",
"return",
"0",
";",
"}",
"return",
"matrix",
"clo... |
[
"get",
"a",
"matrix",
"row",
"clock"
] | [
"matrix",
"clock",
"cache",
"matrix",
"clock",
"cache",
"=",
"matrix",
"clock",
"cache",
"map",
"get",
"(",
"matrix",
"id",
")",
";",
"if",
"(",
"matrix",
"clock",
"cache",
"=",
"=",
"null",
")",
"{",
"return",
"0",
";",
"}",
"return",
"matrix",
"clo... |
[
"get",
"matrix",
"clock"
] | [
"matrix",
"clock",
"cache",
"matrix",
"clock",
"cache",
"=",
"matrix",
"clock",
"cache",
"map",
"get",
"(",
"matrix",
"id",
")",
";",
"if",
"(",
"matrix",
"clock",
"cache",
"=",
"=",
"null",
")",
"{",
"return",
"0",
";",
"}",
"return",
"matrix",
"clo... |
[
"get",
"a",
"matrix",
"clock",
"cache"
] | [
"return",
"matrix",
"clock",
"cache",
"map",
"get",
"(",
"matrix",
"id",
")",
";"
] |
[
"returns",
"a",
"list",
"of",
"causes",
"that",
"are",
"immediate",
"children",
"of",
"this",
"exception"
] | [
"return",
"causes",
";"
] |
[
"returns",
"the",
"list",
"of",
"root",
"causes",
"that",
"are",
"the",
"leaf",
"nodes",
"of",
"all",
"children",
"of",
"this",
"exception"
] | [
"list",
"<",
"throwable",
">",
"root",
"causes",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"add",
"root",
"causes",
"(",
"this",
",",
"root",
"causes",
")",
";",
"return",
"root",
"causes",
";"
] |
[
"create",
"kryo",
"serializer"
] | [
"worker",
"topology",
"context",
"worker",
"topology",
"context",
"=",
"context",
"maker",
"make",
"worker",
"topology",
"context",
"(",
"sys",
"topology",
")",
";",
"kryo",
"tuple",
"deserializer",
"kryo",
"tuple",
"deserializer",
"=",
"new",
"kryo",
"tuple",
... |
[
"private",
"concurrent",
"hash",
"map",
"<",
"integer",
"worker",
"slot",
">",
"task",
"to",
"node",
"port",
";",
"private",
"hash",
"map",
"<",
"integer",
"string",
">",
"tasks",
"to",
"component",
";",
"private",
"map",
"<",
"string",
"list",
"<",
"int... | [
"update",
"task",
"component",
"map",
"(",
")",
";",
"this",
"default",
"resources",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"this",
"user",
"resources",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"this",
"executor",
"data",
"=... |
[
"}"
] | [
"return",
"component",
"to",
"sorted",
"tasks",
";"
] |
[
"creates",
"a",
"{",
"@",
"code",
"nk",
"command",
"custom",
"callback",
"}",
"instance",
"from",
"the",
"specified",
"function",
"pointer"
] | [
"nk",
"command",
"custom",
"callback",
"i",
"instance",
"=",
"callback",
"get",
"(",
"function",
"pointer",
")",
";",
"return",
"instance",
"instanceof",
"nk",
"command",
"custom",
"callback",
"?",
"(",
"nk",
"command",
"custom",
"callback",
")",
"instance",
... |
[
"like",
"{"
] | [
"return",
"function",
"pointer",
"=",
"=",
"null",
"?",
"null",
":",
"create",
"(",
"function",
"pointer",
")",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"instance",
"instanceof",
"nk",
"command",
"custom",
"callback",
"?",
"(",
"nk",
"command",
"custom",
"callback",
")",
"instance",
":",
"new",
"container",
"(",
"instance",
"address",
"(",
")",
",",
"instance",
")",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"account",
"id",
"<",
"/",
"code",
">",
"value",
"is",
"the",
"aws",
"account",
"id",
"of",
"the",
"account",
"that",
"owns",
"the",
"vault",
"you",
"can",
"either",
"specify",
"an",
"aws",
"account",
"id",
"... | [
"set",
"account",
"id",
"(",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] | [
"set",
"vault",
"name",
"(",
"vault",
"name",
")",
";",
"return",
"this",
";"
] |
[
"checks",
"statistics",
"-",
"1",
"indicates",
"do",
"not",
"check",
"for",
"the",
"operations"
] | [
"assert",
"equals",
"(",
"read",
"ops",
",",
"d",
"f",
"s",
"test",
"util",
"get",
"statistics",
"(",
"fs",
")",
"get",
"read",
"ops",
"(",
")",
")",
";",
"assert",
"equals",
"(",
"write",
"ops",
",",
"d",
"f",
"s",
"test",
"util",
"get",
"statis... |
[
"flink",
"-",
"6629"
] | [
"final",
"configuration",
"configuration",
"=",
"new",
"configuration",
"(",
")",
";",
"final",
"testing",
"high",
"availability",
"services",
"high",
"availability",
"services",
"=",
"new",
"testing",
"high",
"availability",
"services",
"(",
")",
";",
"final",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.