docstring_tokens list | code_tokens list |
|---|---|
[
"on",
"value",
"getter"
] | [
"return",
"on",
"value",
";"
] |
[
"<",
"p",
">",
"check",
"the",
"availability",
"of",
"multiple",
"image",
"layers",
"in",
"a",
"specified",
"registry",
"and",
"repository",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"operation",
"is",
"used",
"by",
"the",
"amazon",
... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"batch",
"check",
"layer",
"availability",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"deletes",
"a",
"list",
"of",
"specified",
"images",
"within",
"a",
"specified",
"repository",
"images",
"are",
"specified",
"with",
"either",
"<",
"code",
">",
"image",
"tag",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"image",
"dig... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"batch",
"delete",
"image",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"gets",
"detailed",
"information",
"for",
"specified",
"images",
"within",
"a",
"specified",
"repository",
"images",
"are",
"specified",
"with",
"either",
"<",
"code",
">",
"image",
"tag",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"im... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"batch",
"get",
"image",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"informs",
"amazon",
"ecr",
"that",
"the",
"image",
"layer",
"upload",
"has",
"completed",
"for",
"a",
"specified",
"registry",
"repository",
"name",
"and",
"upload",
"id",
"you",
"can",
"optionally",
"provide",
"a",
"<",
"code",
">",
"sha",... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"complete",
"layer",
"upload",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"creates",
"a",
"new",
"empty",
"repository",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"create",
"repository",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"deletes",
"the",
"specified",
"lifecycle",
"policy",
"and",
"halts",
"the",
"automated",
"operations",
"that",
"the",
"policy",
"specified",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"delete",
"lifecycle",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"deletes",
"a",
"repository",
"if",
"a",
"specified",
"repository",
"was",
"already",
"deleted",
"a",
"null",
"repository",
"id",
"will",
"be",
"returned",
"<",
"/",
"p",
">",
"<",
"important",
">",
"<",
"p",
">",
"deleting",
"a",
"repos... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"delete",
"repository",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"deletes",
"the",
"repository",
"policy",
"from",
"a",
"specified",
"repository",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"delete",
"repository",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"retrieves",
"a",
"list",
"that",
"describes",
"one",
"or",
"more",
"specified",
"images",
"if",
"the",
"image",
"names",
"or",
"image",
"a",
"r",
"ns",
"are",
"provided",
"otherwise",
"all",
"images",
"in",
"the",
"account",
"are",
"descr... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"images",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"describes",
"image",
"repositories",
"in",
"a",
"registry",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"describe",
"repositories",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"retrieves",
"a",
"token",
"that",
"is",
"valid",
"for",
"a",
"specified",
"registry",
"for",
"12",
"hours",
"this",
"command",
"allows",
"you",
"to",
"use",
"the",
"<",
"code",
">",
"docker",
"<",
"/",
"code",
">",
"cli",
"to",
"push"... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"authorization",
"token",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"retrieves",
"the",
"pre",
"-",
"signed",
"amazon",
"s3",
"download",
"url",
"corresponding",
"to",
"an",
"image",
"layer",
"you",
"can",
"only",
"get",
"u",
"r",
"ls",
"for",
"image",
"layers",
"that",
"are",
"referenced",
"in",
"an",
"... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"download",
"url",
"for",
"layer",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"gets",
"detailed",
"information",
"about",
"the",
"specified",
"lifecycle",
"policy",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"lifecycle",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"retrieves",
"the",
"results",
"of",
"the",
"specified",
"lifecycle",
"policy",
"preview",
"request",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"lifecycle",
"policy",
"preview",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"retrieves",
"the",
"repository",
"policy",
"for",
"a",
"specified",
"repository",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"get",
"repository",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"notify",
"amazon",
"ecr",
"that",
"you",
"intend",
"to",
"upload",
"an",
"image",
"layer",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"operation",
"is",
"used",
"by",
"the",
"amazon",
"ecr",
"proxy",
"and",
"it",
... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"initiate",
"layer",
"upload",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"lists",
"all",
"the",
"image",
"i",
"ds",
"for",
"a",
"given",
"repository",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"filter",
"images",
"based",
"on",
"whether",
"or",
"not",
"they",
"are",
"tagged",
"by",
"setting",
"the"... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"list",
"images",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"creates",
"or",
"updates",
"the",
"image",
"manifest",
"and",
"tags",
"associated",
"with",
"an",
"image",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"operation",
"is",
"used",
"by",
"the",
"amazon",
"ecr",
"proxy",
... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"put",
"image",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"creates",
"or",
"updates",
"a",
"lifecycle",
"policy",
"for",
"information",
"about",
"lifecycle",
"policy",
"syntax",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazon",
"e",
"c",
"r",
... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"put",
"lifecycle",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"applies",
"a",
"repository",
"policy",
"on",
"a",
"specified",
"repository",
"to",
"control",
"access",
"permissions",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"set",
"repository",
"policy",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"starts",
"a",
"preview",
"of",
"the",
"specified",
"lifecycle",
"policy",
"this",
"allows",
"you",
"to",
"see",
"the",
"results",
"before",
"creating",
"the",
"lifecycle",
"policy",
"<",
"/",
"p",
">"
] | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"start",
"lifecycle",
"policy",
"preview",
"(",
"request",
")",
";"
] |
[
"<",
"p",
">",
"uploads",
"an",
"image",
"layer",
"part",
"to",
"amazon",
"ecr",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"this",
"operation",
"is",
"used",
"by",
"the",
"amazon",
"ecr",
"proxy",
"and",
"it",
"is",
"not",
"intended",
... | [
"request",
"=",
"before",
"client",
"execution",
"(",
"request",
")",
";",
"return",
"execute",
"upload",
"layer",
"part",
"(",
"request",
")",
";"
] |
[
"returns",
"additional",
"metadata",
"for",
"a",
"previously",
"executed",
"successful",
"request",
"typically",
"used",
"for",
"debugging",
"issues",
"where",
"a",
"service",
"isn",
"t",
"acting",
"as",
"expected",
"this",
"data",
"isn",
"t",
"considered",
"par... | [
"return",
"client",
"get",
"response",
"metadata",
"for",
"request",
"(",
"request",
")",
";"
] |
[
"normal",
"invoke",
"with",
"authentication",
"credentials",
"are",
"required",
"and",
"may",
"be",
"overriden",
"at",
"the",
"request",
"level"
] | [
"return",
"invoke",
"(",
"request",
",",
"response",
"handler",
",",
"execution",
"context",
",",
"null",
")",
";"
] |
[
"normal",
"invoke",
"with",
"authentication",
"credentials",
"are",
"required",
"and",
"may",
"be",
"overriden",
"at",
"the",
"request",
"level"
] | [
"execution",
"context",
"set",
"credentials",
"provider",
"(",
"credential",
"utils",
"get",
"credentials",
"provider",
"(",
"request",
"get",
"original",
"request",
"(",
")",
",",
"aws",
"credentials",
"provider",
")",
")",
";",
"return",
"do",
"invoke",
"(",... |
[
"invoke",
"with",
"no",
"authentication",
"credentials",
"are",
"not",
"required",
"and",
"any",
"credentials",
"set",
"on",
"the",
"client",
"or",
"request",
"will",
"be",
"ignored",
"for",
"this",
"operation"
] | [
"return",
"do",
"invoke",
"(",
"request",
",",
"response",
"handler",
",",
"execution",
"context",
",",
"null",
")",
";"
] |
[
"used",
"just",
"by",
"l",
"d",
"a",
"p",
"federation",
"mapper",
"bridge"
] | [
"protected",
"abstract",
"abstract",
"l",
"d",
"a",
"p",
"storage",
"mapper",
"create",
"mapper",
"(",
"component",
"model",
"mapper",
"model",
",",
"l",
"d",
"a",
"p",
"storage",
"provider",
"federation",
"provider",
")",
";"
] |
[
"/",
"*",
"creates",
"an",
"array",
"that",
"is",
"distinct",
"and",
"sorted"
] | [
"int",
"[",
"]",
"array",
"=",
"assorted",
"methods",
"random",
"array",
"(",
"size",
",",
"-",
"1",
"*",
"size",
",",
"size",
")",
";",
"arrays",
"sort",
"(",
"array",
")",
";",
"for",
"(",
"int",
"i",
"=",
"1",
";",
"i",
"<",
"array",
"length... |
[
"<",
"p",
">",
"the",
"id",
"of",
"a",
"set",
"of",
"one",
"or",
"more",
"attachments",
"for",
"the",
"communication",
"to",
"add",
"to",
"the",
"case",
"create",
"the",
"set",
"by",
"calling",
"<",
"a",
">",
"add",
"attachments",
"to",
"set",
"<",
... | [
"this",
"attachment",
"set",
"id",
"=",
"attachment",
"set",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"a",
"set",
"of",
"one",
"or",
"more",
"attachments",
"for",
"the",
"communication",
"to",
"add",
"to",
"the",
"case",
"create",
"the",
"set",
"by",
"calling",
"<",
"a",
">",
"add",
"attachments",
"to",
"set",
"<",
... | [
"return",
"this",
"attachment",
"set",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"attachment",
"set",
"if",
"an",
"<",
"code",
">",
"attachment",
"set",
"id",
"<",
"/",
"code",
">",
"was",
"not",
"specified",
"a",
"new",
"attachment",
"set",
"is",
"created",
"and",
"the",
"id",
"of",
"th... | [
"set",
"attachment",
"set",
"id",
"(",
"attachment",
"set",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"and",
"date",
"when",
"the",
"attachment",
"set",
"expires",
"<",
"/",
"p",
">"
] | [
"this",
"expiry",
"time",
"=",
"expiry",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"and",
"date",
"when",
"the",
"attachment",
"set",
"expires",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"expiry",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"and",
"date",
"when",
"the",
"attachment",
"set",
"expires",
"<",
"/",
"p",
">"
] | [
"set",
"expiry",
"time",
"(",
"expiry",
"time",
")",
";",
"return",
"this",
";"
] |
[
"resets",
"policy",
"stats"
] | [] |
[
"sets",
"new",
"values",
"to",
"all",
"fields",
"of",
"the",
"tuple"
] | [
"this",
"f",
"0",
"=",
"value",
"0",
";",
"this",
"f",
"1",
"=",
"value",
"1",
";",
"this",
"f",
"2",
"=",
"value",
"2",
";",
"this",
"f",
"3",
"=",
"value",
"3",
";",
"this",
"f",
"4",
"=",
"value",
"4",
";",
"this",
"f",
"5",
"=",
"valu... |
[
"creates",
"a",
"new",
"tuple",
"and",
"assigns",
"the",
"given",
"values",
"to",
"the",
"tuple",
"s",
"fields",
"this",
"is",
"more",
"convenient",
"than",
"using",
"the",
"constructor",
"because",
"the",
"compiler",
"can",
"infer",
"the",
"generic",
"type"... | [
"return",
"new",
"tuple",
"1",
"1",
"<",
">",
"(",
"value",
"0",
",",
"value",
"1",
",",
"value",
"2",
",",
"value",
"3",
",",
"value",
"4",
",",
"value",
"5",
",",
"value",
"6",
",",
"value",
"7",
",",
"value",
"8",
",",
"value",
"9",
",",
... |
[
"sets",
"the",
"value",
"at",
"the",
"specified",
"row",
"and",
"column",
"private",
"internal",
"version",
":",
"does",
"not",
"check",
"args"
] | [
"if",
"(",
"row",
">",
"=",
"m",
"row",
"gap",
"start",
")",
"{",
"row",
"+",
"=",
"m",
"row",
"gap",
"length",
";",
"}",
"int",
"[",
"]",
"valuegap",
"=",
"m",
"value",
"gap",
";",
"if",
"(",
"row",
">",
"=",
"valuegap",
"[",
"column",
"]",
... |
[
"grows",
"the",
"value",
"and",
"gap",
"arrays",
"to",
"be",
"large",
"enough",
"to",
"store",
"at",
"least",
"one",
"more",
"than",
"the",
"current",
"number",
"of",
"rows"
] | [
"final",
"int",
"columns",
"=",
"m",
"columns",
";",
"int",
"[",
"]",
"newvalues",
"=",
"array",
"utils",
"new",
"unpadded",
"int",
"array",
"(",
"growing",
"array",
"utils",
"grow",
"size",
"(",
"size",
"(",
")",
")",
"*",
"columns",
")",
";",
"int"... |
[
"<",
"p",
">",
"a",
"list",
"of",
"1",
"-",
"60",
"identities",
"that",
"you",
"want",
"to",
"delete",
"<",
"/",
"p",
">"
] | [
"return",
"identity",
"ids",
"to",
"delete",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"1",
"-",
"60",
"identities",
"that",
"you",
"want",
"to",
"delete",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"identity",
"ids",
"to",
"delete",
"=",
"=",
"null",
")",
"{",
"this",
"identity",
"ids",
"to",
"delete",
"=",
"null",
";",
"return",
";",
"}",
"this",
"identity",
"ids",
"to",
"delete",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"1",
"-",
"60",
"identities",
"that",
"you",
"want",
"to",
"delete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the... | [
"if",
"(",
"this",
"identity",
"ids",
"to",
"delete",
"=",
"=",
"null",
")",
"{",
"set",
"identity",
"ids",
"to",
"delete",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"identity",
"ids",
"to",
"delete",
"length",
")",
")",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"1",
"-",
"60",
"identities",
"that",
"you",
"want",
"to",
"delete",
"<",
"/",
"p",
">"
] | [
"set",
"identity",
"ids",
"to",
"delete",
"(",
"identity",
"ids",
"to",
"delete",
")",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter"
] | [
"this",
"license",
"=",
"license",
";",
"return",
"this",
";"
] |
[
"by",
"default",
"library",
"will",
"switch",
"the",
"color",
"of",
"icon",
"provided",
"(",
"in",
"between",
"active",
"and",
"in",
"-",
"active",
"icons",
")",
"this",
"method",
"is",
"used",
"if",
"people",
"need",
"to",
"set",
"different",
"icons",
"... | [
"if",
"(",
"m",
"inactive",
"icon",
"!",
"=",
"null",
")",
"{",
"this",
"m",
"inactive",
"icon",
"=",
"m",
"inactive",
"icon",
";",
"in",
"active",
"icon",
"available",
"=",
"true",
";",
"}",
"return",
"this",
";"
] |
[
"by",
"default",
"library",
"will",
"switch",
"the",
"color",
"of",
"icon",
"provided",
"(",
"in",
"between",
"active",
"and",
"in",
"-",
"active",
"icons",
")",
"this",
"method",
"is",
"used",
"if",
"people",
"need",
"to",
"set",
"different",
"icons",
"... | [
"this",
"m",
"inactive",
"icon",
"resource",
"=",
"m",
"inactive",
"icon",
"resource",
";",
"in",
"active",
"icon",
"available",
"=",
"true",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"log",
"group",
"<",
"/",
"p",
">"
] | [
"this",
"log",
"group",
"name",
"=",
"log",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"log",
"group",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"log",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"log",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"log",
"group",
"name",
"(",
"log",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"if",
"(",
"in",
"scope",
"(",
"match",
")",
")",
"{",
"f",
"collection",
"add",
"(",
"match",
")",
";",
"}"
] |
[
"/",
"*",
"jni",
"#",
"include",
"<",
"o",
"i",
"s",
"joy",
"stick",
"h",
">",
"#",
"include",
"<",
"o",
"i",
"s",
"input",
"manager",
"h",
">",
"#",
"include",
"<",
"sstream",
">"
] | [
"private",
"native",
"long",
"create",
"input",
"manager",
"(",
"long",
"hwnd",
")",
";"
] |
[
"/",
"*",
"ois",
":",
":",
"param",
"list",
"params",
";",
"#",
"ifndef",
"apple",
"std",
":",
":",
"ostringstream",
"hwnd",
"str",
";",
"hwnd",
"str",
"<",
"<",
"hwnd",
";",
"params",
"insert",
"(",
"std",
":",
":",
"make",
"pair",
"(",
"window",
... | [
"private",
"native",
"string",
"[",
"]",
"get",
"joystick",
"names",
"(",
"long",
"input",
"manager",
"ptr",
")",
";"
] |
[
"/",
"*",
"ois",
":",
":",
"input",
"manager",
"*",
"input",
"manager",
"=",
"(",
"ois",
":",
":",
"input",
"manager",
"*",
")",
"input",
"manager",
"ptr",
";",
"ois",
":",
":",
"device",
"list",
"map",
"=",
"input",
"manager",
"-",
">",
"list",
... | [
"private",
"native",
"int",
"get",
"version",
"number",
"(",
"long",
"input",
"manager",
"ptr",
")",
";"
] |
[
"/",
"*",
"ois",
":",
":",
"input",
"manager",
"*",
"input",
"manager",
"=",
"(",
"ois",
":",
":",
"input",
"manager",
"*",
")",
"input",
"manager",
"ptr",
";",
"return",
"input",
"manager",
"-",
">",
"get",
"version",
"number",
"(",
")",
";"
] | [
"private",
"native",
"string",
"get",
"version",
"name",
"(",
"long",
"input",
"manager",
"ptr",
")",
";"
] |
[
"/",
"*",
"ois",
":",
":",
"input",
"manager",
"*",
"input",
"manager",
"=",
"(",
"ois",
":",
":",
"input",
"manager",
"*",
")",
"input",
"manager",
"ptr",
";",
"return",
"env",
"-",
">",
"new",
"string",
"u",
"t",
"f",
"(",
"input",
"manager",
"... | [
"private",
"native",
"string",
"get",
"input",
"system",
"name",
"(",
"long",
"input",
"manager",
"ptr",
")",
";"
] |
[
"/",
"*",
"ois",
":",
":",
"input",
"manager",
"*",
"input",
"manager",
"=",
"(",
"ois",
":",
":",
"input",
"manager",
"*",
")",
"input",
"manager",
"ptr",
";",
"return",
"env",
"-",
">",
"new",
"string",
"u",
"t",
"f",
"(",
"input",
"manager",
"... | [
"private",
"native",
"long",
"create",
"joystick",
"(",
"long",
"input",
"manager",
"ptr",
")",
";"
] |
[
"returns",
"whether",
"this",
"particular",
"event",
"should",
"be",
"logged"
] | [
"if",
"(",
"m",
"sample",
"rate",
"<",
"=",
"1",
")",
"{",
"return",
"true",
";",
"}",
"else",
"{",
"return",
"m",
"rng",
"next",
"int",
"(",
"m",
"sample",
"rate",
")",
"=",
"=",
"0",
";",
"}"
] |
[
"writes",
"a",
"log",
"event",
"for",
"the",
"given",
"stats"
] | [
"final",
"log",
"maker",
"log",
"=",
"new",
"log",
"maker",
"(",
"metrics",
"event",
"text",
"classifier",
"generate",
"links",
")",
"set",
"package",
"name",
"(",
"calling",
"package",
"name",
")",
"add",
"tagged",
"data",
"(",
"metrics",
"event",
"field"... |
[
"retrieve",
"the",
"pitch",
"in",
"degrees"
] | [
"return",
"pitch",
";"
] |
[
"retrieve",
"the",
"yaw",
"in",
"degrees"
] | [
"return",
"yaw",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"object",
"mapper",
"m",
"=",
"json",
"mapper",
"builder",
"(",
")",
"annotation",
"introspector",
"(",
"new",
"name",
"mangler",
"(",
")",
")",
"build",
"(",
")",
";",
"return",
"m",
";"
] |
[
"todo",
":",
"delete",
"this",
"?"
] | [
"return",
"new",
"intent",
"(",
")",
"put",
"extra",
"(",
"react",
"native",
"intents",
"extra",
"is",
"dismiss",
",",
"true",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"provided",
"intent",
"will",
"launch",
"a",
"react",
"native",
"activity",
"false",
"otherwise"
] | [
"string",
"class",
"name",
"=",
"intent",
"get",
"component",
"(",
")",
"get",
"class",
"name",
"(",
")",
";",
"return",
"react",
"native",
"activity",
"class",
"get",
"name",
"(",
")",
"equals",
"(",
"class",
"name",
")",
";"
] |
[
"compares",
"the",
"two",
"pairs",
"for",
"equality",
"if",
"the",
"incoming",
"object",
"reference",
"is",
"the",
"same",
"the",
"result",
"is",
"true",
"then",
"{"
] | [
"if",
"(",
"object",
"=",
"=",
"this",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"object",
"instanceof",
"pair",
"<",
"?",
",",
"?",
">",
")",
"{",
"final",
"pair",
"<",
"?",
",",
"?",
">",
"other",
"pair",
"=",
"(",
"pair",
"<",
"?",
... |
[
"{"
] | [
"write",
"byte",
"(",
"b",
")",
";"
] |
[
"{"
] | [
"grid",
"unsafe",
"copy",
"heap",
"offheap",
"(",
"b",
",",
"grid",
"unsafe",
"byte",
"arr",
"off",
"+",
"off",
",",
"move",
"(",
"len",
")",
",",
"len",
")",
";"
] |
[
"{"
] | [
"write",
"byte",
"(",
"v",
"?",
"1",
":",
"0",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"byte",
"(",
"move",
"(",
"1",
")",
",",
"(",
"byte",
")",
"v",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"short",
"(",
"move",
"(",
"2",
")",
",",
"(",
"short",
")",
"v",
")",
";"
] |
[
"{"
] | [
"write",
"short",
"(",
"v",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"int",
"(",
"move",
"(",
"4",
")",
",",
"v",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"long",
"(",
"move",
"(",
"8",
")",
",",
"v",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"float",
"(",
"move",
"(",
"4",
")",
",",
"v",
")",
";"
] |
[
"{"
] | [
"mem",
"write",
"double",
"(",
"move",
"(",
"8",
")",
",",
"v",
")",
";"
] |
[
"{"
] | [
"write",
"u",
"t",
"f",
"(",
"s",
")",
";"
] |
[
"{"
] | [
"write",
"u",
"t",
"f",
"(",
"s",
")",
";"
] |
[
"{"
] | [
"byte",
"[",
"]",
"b",
"=",
"s",
"get",
"bytes",
"(",
"standard",
"charsets",
"utf",
"8",
")",
";",
"write",
"int",
"(",
"b",
"length",
")",
";",
"write",
"(",
"b",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"j",
"button",
"remove",
"button",
"=",
"buttons",
"get",
"(",
"button",
"remove",
")",
";",
"j",
"button",
"up",
"button",
"=",
"buttons",
"get",
"(",
"button",
"up",
")",
";",
"j",
"button",
"down",
"button",
"=",
"buttons",
"get",
"(",
"button",
"... |
[
"should",
"not",
"be",
"reported",
"by",
"no",
"finalizer",
"check"
] | [] |
[
"@",
"param",
"value",
"an",
"sql",
"literal",
"null",
"or",
"not",
"null"
] | [
"values",
"add",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"log",
"an",
"ip",
"connectivity",
"event"
] | [
"connectivity",
"metrics",
"event",
"ev",
"=",
"make",
"ev",
"(",
"data",
")",
";",
"ev",
"timestamp",
"=",
"timestamp",
";",
"return",
"log",
"(",
"ev",
")",
";"
] |
[
"log",
"an",
"ip",
"connectivity",
"event"
] | [
"connectivity",
"metrics",
"event",
"ev",
"=",
"make",
"ev",
"(",
"data",
")",
";",
"ev",
"ifname",
"=",
"ifname",
";",
"return",
"log",
"(",
"ev",
")",
";"
] |
[
"log",
"an",
"ip",
"connectivity",
"event"
] | [
"connectivity",
"metrics",
"event",
"ev",
"=",
"make",
"ev",
"(",
"data",
")",
";",
"ev",
"net",
"id",
"=",
"netid",
";",
"ev",
"transports",
"=",
"bit",
"utils",
"pack",
"bits",
"(",
"transports",
")",
";",
"return",
"log",
"(",
"ev",
")",
";"
] |
[
"log",
"an",
"ip",
"connectivity",
"event"
] | [
"return",
"log",
"(",
"make",
"ev",
"(",
"data",
")",
")",
";"
] |
[
"tests",
"whether",
"a",
"given",
"property",
"with",
"the",
"name",
"exists"
] | [
"enumeration",
"<",
"?",
">",
"en",
"=",
"jms",
"message",
"get",
"property",
"names",
"(",
")",
";",
"while",
"(",
"en",
"has",
"more",
"elements",
"(",
")",
")",
"{",
"string",
"key",
"=",
"(",
"string",
")",
"en",
"next",
"element",
"(",
")",
... |
[
"gets",
"a",
"jms",
"property"
] | [
"object",
"value",
"=",
"jms",
"message",
"get",
"object",
"property",
"(",
"name",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"value",
"=",
"jms",
"message",
"get",
"string",
"property",
"(",
"name",
")",
";",
"}",
"return",
"value",
... |
[
"whether",
"the",
"destination",
"name",
"has",
"either",
"queue",
"or",
"temp",
"queue",
"prefix"
] | [
"if",
"(",
"object",
"helper",
"is",
"empty",
"(",
"destination",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"destination",
"starts",
"with",
"(",
"jms",
"constants",
"queue",
"prefix",
")",
"|",
"|",
"destination",
"starts",
"with",
"(",
"jms... |
[
"whether",
"the",
"destination",
"name",
"has",
"either",
"topic",
"or",
"temp",
"topic",
"prefix"
] | [
"if",
"(",
"object",
"helper",
"is",
"empty",
"(",
"destination",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"destination",
"starts",
"with",
"(",
"jms",
"constants",
"topic",
"prefix",
")",
"|",
"|",
"destination",
"starts",
"with",
"(",
"jms... |
[
"convenience",
"method",
"to",
"take",
"all",
"of",
"the",
"non",
"-",
"null",
"matching",
"groups",
"in",
"a",
"regex",
"matcher",
"and",
"return",
"them",
"as",
"a",
"concatenated",
"string"
] | [
"string",
"builder",
"b",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"final",
"int",
"num",
"groups",
"=",
"matcher",
"group",
"count",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"1",
";",
"i",
"<",
"=",
"num",
"groups",
";",
"i",
"+",
"+... |
[
"convenience",
"method",
"to",
"return",
"only",
"the",
"digits",
"and",
"plus",
"signs",
"in",
"the",
"matching",
"string"
] | [
"string",
"builder",
"buffer",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"string",
"matching",
"region",
"=",
"matcher",
"group",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"size",
"=",
"matching",
"region",
"length",
"(",
")",
";",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"server",
"where",
"the",
"endpoint",
"database",
"resides",
"<",
"/",
"p",
">"
] | [
"this",
"server",
"name",
"=",
"server",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"server",
"where",
"the",
"endpoint",
"database",
"resides",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"server",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"server",
"that",
"you",
"want",
"to",
"back",
"up",
"<",
"/",
"p",
">"
] | [
"set",
"server",
"name",
"(",
"server",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"user",
"-",
"defined",
"description",
"of",
"the",
"backup",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"shutdown",
"orient",
"engine"
] | [
"try",
"{",
"orient",
"instance",
"(",
")",
"shutdown",
"(",
")",
";",
"}",
"finally",
"{",
"o",
"log",
"manager",
"instance",
"(",
")",
"shutdown",
"(",
")",
";",
"}"
] |
[
"creates",
"{"
] | [
"execute",
"command",
"button",
"button",
"=",
"button",
"factory",
"new",
"button",
"(",
"goal",
",",
"delegate",
",",
"get",
"key",
"binding",
"(",
"goal",
")",
")",
";",
"goal",
"buttons",
"put",
"(",
"goal",
"get",
"id",
"(",
")",
",",
"button",
... |
[
"unauthenticated",
"resource",
"that",
"returns",
"btc",
"to",
"fiat",
"(",
"and",
"vice",
"versus",
")",
"exchange",
"rates",
"in",
"various",
"currencies"
] | [
"return",
"coinbase",
"get",
"currency",
"exchange",
"rates",
"(",
")",
";"
] |
[
"unauthenticated",
"resource",
"that",
"tells",
"you",
"the",
"total",
"price",
"in",
"usd",
"to",
"buy",
"1",
"bitcoin"
] | [
"return",
"get",
"coinbase",
"buy",
"price",
"(",
"null",
",",
"null",
")",
";"
] |
[
"unauthenticated",
"resource",
"that",
"tells",
"you",
"the",
"total",
"price",
"in",
"usd",
"to",
"buy",
"some",
"quantity",
"of",
"bitcoin"
] | [
"return",
"get",
"coinbase",
"buy",
"price",
"(",
"quantity",
",",
"null",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.