docstring_tokens list | code_tokens list |
|---|---|
[
"delegates",
"to",
"the",
"underlying",
"file",
"type",
"map"
] | [
"return",
"get",
"file",
"type",
"map",
"(",
")",
"get",
"content",
"type",
"(",
"file",
")",
";"
] |
[
"delegates",
"to",
"the",
"underlying",
"file",
"type",
"map"
] | [
"return",
"get",
"file",
"type",
"map",
"(",
")",
"get",
"content",
"type",
"(",
"file",
"name",
")",
";"
] |
[
"<",
"p",
">",
"a",
"utf",
"-",
"8",
"text",
"string",
"each",
"string",
"should",
"contain",
"at",
"least",
"20",
"characters",
"and",
"must",
"contain",
"fewer",
"that",
"5",
"000",
"bytes",
"of",
"utf",
"-",
"8",
"encoded",
"characters",
"<",
"/",
... | [
"set",
"text",
"(",
"text",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"this",
"conf",
"=",
"configuration",
";",
"dl",
"conf",
"=",
"new",
"distributed",
"log",
"configuration",
"(",
")",
";",
"dl",
"uri",
"=",
"uri",
"create",
"(",
"configuration",
"get",
"(",
"dl",
"uri",
",",
"\"",
"\"",
")",
")",
";",
"stream",
"na... |
[
"counts",
"the",
"number",
"of",
"test",
"cases",
"that",
"will",
"be",
"run",
"by",
"this",
"test"
] | [
"int",
"count",
"=",
"0",
";",
"for",
"(",
"test",
"each",
":",
"f",
"tests",
")",
"{",
"count",
"+",
"=",
"each",
"count",
"test",
"cases",
"(",
")",
";",
"}",
"return",
"count",
";"
] |
[
"runs",
"the",
"tests",
"and",
"collects",
"their",
"result",
"in",
"a",
"test",
"result"
] | [
"for",
"(",
"test",
"each",
":",
"f",
"tests",
")",
"{",
"if",
"(",
"result",
"should",
"stop",
"(",
")",
")",
"{",
"break",
";",
"}",
"run",
"test",
"(",
"each",
",",
"result",
")",
";",
"}"
] |
[
"makes",
"a",
"call",
"to",
"the",
"operation",
"specified",
"by",
"the",
"waiter",
"by",
"taking",
"the",
"corresponding",
"request",
"and",
"returns",
"the",
"corresponding",
"result"
] | [
"return",
"client",
"describe",
"auto",
"scaling",
"groups",
"(",
"describe",
"auto",
"scaling",
"groups",
"request",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"paymentchannels",
"stored",
"server",
"payment",
"channel",
"channels",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"channels",
";"
] |
[
"<",
"code",
">",
"repeated",
"paymentchannels",
"stored",
"server",
"payment",
"channel",
"channels",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"channels",
";"
] |
[
"<",
"code",
">",
"repeated",
"paymentchannels",
"stored",
"client",
"payment",
"channel",
"channels",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"channels",
"size",
"(",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"paymentchannels",
"stored",
"server",
"payment",
"channel",
"channels",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"channels",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"paymentchannels",
"stored",
"server",
"payment",
"channel",
"channels",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"channels",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"required",
"uint",
"6",
"4",
"best",
"value",
"to",
"me",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"required",
"uint",
"6",
"4",
"best",
"value",
"to",
"me",
"=",
"1",
";",
"<",
"/",
"code",
">"
] | [
"return",
"best",
"value",
"to",
"me",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"best",
"value",
"signature",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"best",
"value",
"signature",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"best",
"value",
"signature",
";"
] |
[
"<",
"code",
">",
"required",
"uint",
"6",
"4",
"refund",
"transaction",
"unlock",
"time",
"secs",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";"
] |
[
"<",
"code",
">",
"required",
"uint",
"6",
"4",
"refund",
"transaction",
"unlock",
"time",
"secs",
"=",
"3",
";",
"<",
"/",
"code",
">"
] | [
"return",
"refund",
"transaction",
"unlock",
"time",
"secs",
";"
] |
[
"<",
"code",
">",
"required",
"bytes",
"contract",
"transaction",
"=",
"4",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
")",
";"
] |
[
"<",
"code",
">",
"required",
"bytes",
"contract",
"transaction",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"contract",
"transaction",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"client",
"output",
"=",
"5",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bytes",
"client",
"output",
"=",
"5",
";",
"<",
"/",
"code",
">"
] | [
"return",
"client",
"output",
";"
] |
[
"<",
"code",
">",
"required",
"bytes",
"my",
"key",
"=",
"6",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
"0",
")",
";"
] |
[
"<",
"pre",
">",
"deprecated",
"key",
"is",
"already",
"stored",
"in",
"the",
"wallet",
"and",
"found",
"using",
"my",
"public",
"key",
";",
"<",
"/",
"pre",
">"
] | [
"return",
"my",
"key",
";"
] |
[
"<",
"code",
">",
"optional",
"uint",
"3",
"2",
"major",
"version",
"=",
"7",
"[",
"default",
"=",
"1",
"]",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
"0",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"uint",
"3",
"2",
"major",
"version",
"=",
"9",
"[",
"default",
"=",
"1",
"]",
";",
"<",
"/",
"code",
">"
] | [
"return",
"major",
"version",
";"
] |
[
"<",
"pre",
">",
"protocol",
"version",
"2",
"only",
"-",
"the",
"p2sh",
"hash",
"doesn",
"t",
"contain",
"the",
"required",
"key",
"<",
"/",
"pre",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
"0",
")",
";"
] |
[
"gets",
"the",
"type",
"info",
"count"
] | [
"return",
"(",
"hresult",
")",
"this",
"invoke",
"native",
"object",
"(",
"3",
",",
"new",
"object",
"[",
"]",
"{",
"this",
"get",
"pointer",
"(",
")",
",",
"pctinfo",
"}",
",",
"hresult",
"class",
")",
";"
] |
[
"gets",
"the",
"type",
"info"
] | [
"return",
"(",
"hresult",
")",
"this",
"invoke",
"native",
"object",
"(",
"4",
",",
"new",
"object",
"[",
"]",
"{",
"this",
"get",
"pointer",
"(",
")",
",",
"i",
"t",
"info",
",",
"lcid",
",",
"pp",
"t",
"info",
"}",
",",
"hresult",
"class",
")",... |
[
"gets",
"the",
"ids",
"of",
"names"
] | [
"return",
"(",
"hresult",
")",
"this",
"invoke",
"native",
"object",
"(",
"5",
",",
"new",
"object",
"[",
"]",
"{",
"this",
"get",
"pointer",
"(",
")",
",",
"riid",
",",
"rgsz",
"names",
",",
"c",
"names",
",",
"lcid",
",",
"rg",
"disp",
"id",
"}... |
[
"invoke"
] | [
"return",
"(",
"hresult",
")",
"this",
"invoke",
"native",
"object",
"(",
"6",
",",
"new",
"object",
"[",
"]",
"{",
"this",
"get",
"pointer",
"(",
")",
",",
"disp",
"id",
"member",
",",
"riid",
",",
"lcid",
",",
"w",
"flags",
",",
"p",
"disp",
"p... |
[
"sets",
"the",
"rule",
"pattern"
] | [
"pattern",
"=",
"pattern",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"if",
"(",
"servlet",
"path",
"spec",
"match",
"(",
"pattern",
",",
"target",
")",
")",
"{",
"return",
"apply",
"(",
"target",
",",
"request",
",",
"response",
")",
";",
"}",
"return",
"null",
";"
] |
[
"apply",
"the",
"rule",
"to",
"the",
"request"
] | [
"protected",
"abstract",
"string",
"apply",
"(",
"string",
"target",
",",
"http",
"servlet",
"request",
"request",
",",
"http",
"servlet",
"response",
"response",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"ui",
"components",
"for",
"the",
"cldr",
"country",
"code",
"and",
"language",
"code",
"provided",
"if",
"no",
"language",
"code",
"is",
"provided",
"the",
"application",
"s",
"default",
"locale",
"is",
"used",
"instead",
"also",
"stores",
... | [
"list",
"<",
"integer",
">",
"component",
"ids",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"list",
"<",
"string",
">",
"component",
"names",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"list",
"<",
"integer",
">",
"component",... |
[
"building",
"hash",
"sorted",
"results",
"requires",
"memory",
"for",
"sorting",
"group",
"i",
"ds",
"this",
"method",
"returns",
"size",
"of",
"that",
"memory",
"requirement"
] | [
"return",
"get",
"group",
"count",
"(",
")",
"*",
"integer",
"bytes",
";"
] |
[
"add",
"custom",
"kryo",
"serialization"
] | [
"map",
"rtn",
"=",
"new",
"hash",
"map",
"(",
")",
";",
"if",
"(",
"sers",
"!",
"=",
"null",
")",
"{",
"int",
"size",
"=",
"sers",
"size",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"+",
"+",
")",
... |
[
"<",
"p",
">",
"the",
"list",
"of",
"clients",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{"... | [
"if",
"(",
"this",
"client",
"list",
"=",
"=",
"null",
")",
"{",
"set",
"client",
"list",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"client",
"list",
"length",
")",
")",
";",
"}",
"for",
"(",
"s... |
[
"<",
"p",
">",
"the",
"list",
"of",
"clients",
"<",
"/",
"p",
">"
] | [
"set",
"client",
"list",
"(",
"client",
"list",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"not",
"null",
"more",
"results",
"are",
"available",
"pass",
"this",
"to",
"<",
"code",
">",
"list",
"luna",
"clients",
"<",
"/",
"code",
">",
"to",
"retrieve",
"the",
"next",
"set",
"of",
"items",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"}"
] | [
"m",
"progress",
"start",
"(",
")",
";",
"final",
"view",
"circle",
"view",
"=",
"m",
"circle",
"view",
";",
"if",
"(",
"(",
"int",
")",
"circle",
"view",
"get",
"translation",
"y",
"(",
")",
"!",
"=",
"height",
"/",
"2",
"+",
"m",
"circle",
"dia... |
[
"detect",
"member",
"references",
"that",
"implement",
"an",
"interface",
"that",
"return",
"object",
"but",
"resolve",
"to",
"a",
"method",
"that",
"returns",
"future"
] | [
"description",
"description",
"=",
"super",
"match",
"member",
"reference",
"(",
"tree",
",",
"state",
")",
";",
"if",
"(",
"description",
"no",
"match",
"=",
"=",
"description",
")",
"{",
"if",
"(",
"all",
"of",
"(",
"(",
"t",
",",
"s",
")",
"-",
... |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"timeout",
"-",
">",
"on",
"timeout",
"-",
">",
"write",
"-",
"response",
"-",
">",
"complete"
] | [
"test",
"with",
"gzip",
"(",
"async",
"timeout",
"complete",
"write",
"default",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"timeout",
"-",
">",
"on",
"timeout",
"-",
">",
"write",
"-",
"response",
"-",
">",
"complete"
] | [
"test",
"with",
"gzip",
"(",
"async",
"timeout",
"complete",
"write",
"passed",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"timeout",
"-",
">",
"on",
"timeout",
"-",
">",
"dispatch",
"-",
">",
"write",
"-",
"response"
] | [
"test",
"with",
"gzip",
"(",
"async",
"timeout",
"dispatch",
"write",
"default",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"timeout",
"-",
">",
"on",
"timeout",
"-",
">",
"dispatch",
"-",
">",
"write",
"-",
"response"
] | [
"test",
"with",
"gzip",
"(",
"async",
"timeout",
"dispatch",
"write",
"passed",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"no",
"-",
"timeout",
"-",
">",
"scheduler",
"schedule",
"-",
">",
"dispatch",
"-",
">",
"write",
"-",
"response"
] | [
"test",
"with",
"gzip",
"(",
"async",
"scheduled",
"dispatch",
"write",
"default",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"async",
"context",
"create",
"-",
">",
"no",
"-",
"timeout",
"-",
">",
"scheduler",
"schedule",
"-",
">",
"dispatch",
"-",
">",
"write",
"-",
"response"
] | [
"test",
"with",
"gzip",
"(",
"async",
"scheduled",
"dispatch",
"write",
"passed",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"2",
")",
"get",
"output",
"stream",
"(",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"length",
"stream",
"type",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"2",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"3",
")",
"get",
"output",
"stream",
"(",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"length",
"type",
"stream",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"get",
"output",
"stream",
"(",
")",
"2",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"stream",
"length",
"type",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"get",
"output",
"stream",
"(",
")",
"2",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"stream",
"length",
"type",
"write",
"with",
"flush",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"get",
"output",
"stream",
"(",
")",
"2",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"stream",
"type",
"length",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"2",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"3",
")",
"get",
"output",
"stream",
"(",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"type",
"length",
"stream",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"1",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"2",
")",
"get",
"output",
"stream",
"(",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"4",
")",
"output"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"type",
"stream",
"length",
"write",
"class",
")",
";"
] |
[
"test",
"with",
"content",
"servlet",
"that",
"does",
":",
"2",
")",
"get",
"output",
"stream",
"(",
")",
"1",
")",
"set",
"header",
"(",
"content",
"-",
"type",
")",
"3",
")",
"set",
"header",
"(",
"content",
"-",
"length",
")",
"4",
")",
"(",
"... | [
"test",
"with",
"gzip",
"(",
"test",
"servlet",
"buffer",
"type",
"length",
"write",
"class",
")",
";"
] |
[
"this",
"method",
"tokenizes",
"a",
"string",
"by",
"space",
"characters",
"but",
"ignores",
"spaces",
"in",
"quoted",
"parts",
"that",
"are",
"parts",
"in",
"or",
"the",
"method",
"does",
"allows",
"the",
"usage",
"of",
"in",
"and",
"in",
"the",
"space",
... | [
"list",
"tokens",
"=",
"new",
"linked",
"list",
"(",
")",
";",
"int",
"first",
"=",
"0",
";",
"while",
"(",
"first",
"<",
"s",
"length",
"(",
")",
")",
"{",
"first",
"=",
"skip",
"whitespace",
"(",
"s",
",",
"first",
")",
";",
"int",
"last",
"=... |
[
"{"
] | [
"return",
"new",
"grid",
"single",
"split",
"test",
"job",
"target",
"(",
")",
"execute",
"load",
"test",
"job",
"(",
"(",
"integer",
")",
"argument",
"(",
"0",
")",
")",
";"
] |
[
"remove",
"the",
"node"
] | [
"jenkins",
"get",
"instance",
"(",
")",
"remove",
"node",
"(",
"n",
")",
";"
] |
[
"when",
"do",
"we",
"check",
"again",
"next",
"time",
"?"
] | [
"return",
"get",
"idle",
"max",
"time",
"(",
")",
"/",
"10",
";"
] |
[
"has",
"this",
"computer",
"been",
"idle",
"for",
"too",
"long",
"?"
] | [
"return",
"system",
"current",
"time",
"millis",
"(",
")",
"-",
"c",
"get",
"idle",
"start",
"milliseconds",
"(",
")",
">",
"get",
"idle",
"max",
"time",
"(",
")",
";"
] |
[
"if",
"the",
"computer",
"has",
"been",
"idle",
"longer",
"than",
"this",
"time",
"we",
"ll",
"kill",
"the",
"agent"
] | [
"return",
"timeout",
";"
] |
[
"if",
"this",
"property",
"is",
"set",
"to",
"false",
"then",
"unknown",
"mandatory",
"extensions",
"will",
"be",
"ignored",
"instead",
"of",
"causing",
"load",
"errors",
"you",
"should",
"only",
"use",
"this",
"if",
"you",
"know",
"exactly",
"what",
"you",
... | [
"require",
"mandatory",
"extensions",
"=",
"value",
";"
] |
[
"if",
"this",
"property",
"is",
"set",
"to",
"true",
"the",
"wallet",
"will",
"fail",
"to",
"load",
"if",
"any",
"found",
"extensions",
"are",
"unknown"
] | [
"require",
"all",
"extensions",
"known",
"=",
"value",
";"
] |
[
"change",
"buffer",
"size",
"for",
"writing",
"wallet",
"to",
"output",
"stream",
"default",
"is",
"{"
] | [
"this",
"wallet",
"write",
"buffer",
"size",
"=",
"wallet",
"write",
"buffer",
"size",
";"
] |
[
"formats",
"the",
"given",
"wallet",
"(",
"transactions",
"and",
"keys",
")",
"to",
"the",
"given",
"output",
"stream",
"in",
"protocol",
"buffer",
"format",
"<",
"p",
">"
] | [
"protos",
"wallet",
"wallet",
"proto",
"=",
"wallet",
"to",
"proto",
"(",
"wallet",
")",
";",
"final",
"coded",
"output",
"stream",
"coded",
"output",
"=",
"coded",
"output",
"stream",
"new",
"instance",
"(",
"output",
",",
"this",
"wallet",
"write",
"buff... |
[
"returns",
"the",
"given",
"wallet",
"formatted",
"as",
"text",
"the",
"text",
"format",
"is",
"that",
"used",
"by",
"protocol",
"buffers",
"and",
"although",
"it",
"can",
"also",
"be",
"parsed",
"using",
"{"
] | [
"protos",
"wallet",
"wallet",
"proto",
"=",
"wallet",
"to",
"proto",
"(",
"wallet",
")",
";",
"return",
"text",
"format",
"print",
"to",
"string",
"(",
"wallet",
"proto",
")",
";"
] |
[
"<",
"p",
">",
"loads",
"wallet",
"data",
"from",
"the",
"given",
"protocol",
"buffer",
"and",
"inserts",
"it",
"into",
"the",
"given",
"wallet",
"object",
"this",
"is",
"primarily",
"useful",
"when",
"you",
"wish",
"to",
"pre",
"-",
"register",
"extension... | [
"return",
"read",
"wallet",
"(",
"input",
",",
"false",
",",
"wallet",
"extensions",
")",
";"
] |
[
"<",
"p",
">",
"loads",
"wallet",
"data",
"from",
"the",
"given",
"protocol",
"buffer",
"and",
"inserts",
"it",
"into",
"the",
"given",
"wallet",
"object",
"this",
"is",
"primarily",
"useful",
"when",
"you",
"wish",
"to",
"pre",
"-",
"register",
"extension... | [
"return",
"read",
"wallet",
"(",
"params",
",",
"extensions",
",",
"wallet",
"proto",
",",
"false",
")",
";"
] |
[
"returns",
"the",
"loaded",
"protocol",
"buffer",
"from",
"the",
"given",
"byte",
"stream",
"you",
"normally",
"want",
"{"
] | [
"coded",
"input",
"stream",
"coded",
"input",
"=",
"coded",
"input",
"stream",
"new",
"instance",
"(",
"input",
")",
";",
"coded",
"input",
"set",
"size",
"limit",
"(",
"wallet",
"size",
"limit",
")",
";",
"return",
"protos",
"wallet",
"parse",
"from",
"... |
[
"{"
] | [
"object",
"resp",
"=",
"rest",
"res",
"get",
"response",
"(",
")",
";",
"if",
"(",
"resp",
"=",
"=",
"null",
")",
"return",
"grid",
"redis",
"protocol",
"parser",
"nil",
"(",
")",
";",
"return",
"(",
"!",
"(",
"boolean",
")",
"resp",
"?",
"grid",
... |
[
"resize",
"a",
"bitmap"
] | [
"return",
"resize",
"bitmap",
"(",
"input",
",",
"dest",
"width",
",",
"dest",
"height",
",",
"0",
")",
";"
] |
[
"resize",
"a",
"bitmap",
"object",
"to",
"fit",
"the",
"passed",
"width",
"and",
"height"
] | [
"int",
"dst",
"width",
"=",
"dest",
"width",
";",
"int",
"dst",
"height",
"=",
"dest",
"height",
";",
"final",
"int",
"src",
"width",
"=",
"input",
"get",
"width",
"(",
")",
";",
"final",
"int",
"src",
"height",
"=",
"input",
"get",
"height",
"(",
... |
[
"creates",
"the",
"labels",
"data",
"to",
"be",
"written",
"to",
"zookeeper"
] | [
"visibility",
"labels",
"request",
"builder",
"vis",
"req",
"builder",
"=",
"visibility",
"labels",
"request",
"new",
"builder",
"(",
")",
";",
"for",
"(",
"entry",
"<",
"string",
",",
"integer",
">",
"entry",
":",
"existing",
"labels",
"entry",
"set",
"("... |
[
"creates",
"the",
"user",
"auth",
"data",
"to",
"be",
"written",
"to",
"zookeeper"
] | [
"multi",
"user",
"authorizations",
"builder",
"builder",
"=",
"multi",
"user",
"authorizations",
"new",
"builder",
"(",
")",
";",
"for",
"(",
"entry",
"<",
"string",
",",
"list",
"<",
"integer",
">",
">",
"entry",
":",
"user",
"auths",
"entry",
"set",
"(... |
[
"reads",
"back",
"from",
"the",
"zookeeper",
"the",
"data",
"read",
"here",
"is",
"of",
"the",
"form",
"written",
"by",
"write",
"to",
"zoo",
"keeper",
"(",
"map",
"&",
"lt",
";",
"byte",
"[",
"]",
"integer",
"&",
"gt",
";",
"entries",
")"
] | [
"if",
"(",
"protobuf",
"util",
"is",
"p",
"b",
"magic",
"prefix",
"(",
"data",
")",
")",
"{",
"int",
"pblen",
"=",
"protobuf",
"util",
"length",
"of",
"p",
"b",
"magic",
"(",
")",
";",
"try",
"{",
"visibility",
"labels",
"request",
"builder",
"builde... |
[
"reads",
"back",
"user",
"auth",
"data",
"written",
"to",
"zookeeper"
] | [
"if",
"(",
"protobuf",
"util",
"is",
"p",
"b",
"magic",
"prefix",
"(",
"data",
")",
")",
"{",
"int",
"pblen",
"=",
"protobuf",
"util",
"length",
"of",
"p",
"b",
"magic",
"(",
")",
";",
"try",
"{",
"multi",
"user",
"authorizations",
"builder",
"builde... |
[
"extract",
"the",
"visibility",
"tags",
"of",
"the",
"given",
"cell",
"into",
"the",
"given",
"list"
] | [
"byte",
"serialization",
"format",
"=",
"null",
";",
"iterator",
"<",
"tag",
">",
"tags",
"iterator",
"=",
"private",
"cell",
"util",
"tags",
"iterator",
"(",
"cell",
")",
";",
"while",
"(",
"tags",
"iterator",
"has",
"next",
"(",
")",
")",
"{",
"tag",... |
[
"this",
"will",
"sort",
"the",
"passed",
"labels",
"in",
"ascending",
"oder",
"and",
"then",
"will",
"write",
"one",
"after",
"the",
"other",
"to",
"the",
"passed",
"stream"
] | [
"collections",
"sort",
"(",
"label",
"ordinals",
")",
";",
"for",
"(",
"integer",
"label",
"ordinal",
":",
"label",
"ordinals",
")",
"{",
"stream",
"utils",
"write",
"raw",
"v",
"int",
"3",
"2",
"(",
"dos",
",",
"label",
"ordinal",
")",
";",
"}"
] |
[
"determine",
"if",
"there",
"is",
"an",
"hl7",
"message",
"payload",
"associated",
"with",
"this",
"exception"
] | [
"return",
"hl",
"7",
"message",
"bytes",
"!",
"=",
"null",
"&",
"&",
"hl",
"7",
"message",
"bytes",
"length",
">",
"0",
";"
] |
[
"get",
"the",
"hl7",
"message",
"payload",
"associated",
"with",
"this",
"exception",
"if",
"any"
] | [
"return",
"hl",
"7",
"message",
"bytes",
";"
] |
[
"returns",
"the",
"org",
"bytedeco",
"javacpp",
"logger",
"debug",
"system",
"property"
] | [
"return",
"debug",
";"
] |
[
"calls",
"{"
] | [
"system",
"out",
"println",
"(",
"s",
")",
";"
] |
[
"calls",
"{"
] | [
"system",
"out",
"println",
"(",
"s",
")",
";"
] |
[
"create",
"and",
"return",
"a",
"new",
"model",
"instance",
"representing",
"the",
"given",
"item"
] | [
"protected",
"abstract",
"epoxy",
"model",
"<",
"?",
">",
"build",
"model",
"(",
"t",
"item",
")",
";"
] |
[
"todo",
":",
"obtain",
"confidential",
"port",
"from",
"elytron"
] | [
"return",
"8443",
";"
] |
[
"private",
"thread",
"counter",
"thread",
"counter",
"=",
"new",
"thread",
"counter",
"(",
")",
";"
] | [
"result",
"endpoint",
"1",
"expected",
"bodies",
"received",
"(",
"value",
")",
";",
"result",
"endpoint",
"1",
"set",
"expected",
"message",
"count",
"(",
"1",
")",
";",
"result",
"endpoint",
"2",
"expected",
"bodies",
"received",
"(",
"value",
")",
";",
... |
[
"}"
] | [
"if",
"(",
"result",
"m",
"bitmap",
"worker",
"exception",
"=",
"=",
"null",
")",
"{",
"m",
"bitmap",
"load",
"callback",
"on",
"bitmap",
"loaded",
"(",
"result",
"m",
"bitmap",
"result",
",",
"result",
"m",
"exif",
"info",
",",
"m",
"input",
"uri",
... |
[
"this",
"test",
"fails",
"but",
"that",
"s",
"ok",
"it",
"s",
"here",
"only",
"as",
"reminder",
"that",
"in",
"some",
"cases",
"we",
"can",
"have",
"ews",
"=",
"=",
"1",
"for",
"better",
"performances"
] | [
"i",
"n",
"d",
"array",
"array",
"=",
"nd",
"4j",
"create",
"(",
"32",
",",
"5",
",",
"10",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"array",
"tensor",
"along",
"dimension",
"(",
"0",
",",
"1",
",",
"2",
")",
"element",
"wise",
"stride",
"(... |
[
"copy",
"information",
"from",
"the",
"meta",
"-",
"data",
"input",
"to",
"the",
"dialog",
"fields"
] | [
"table",
"table",
"=",
"w",
"fields",
"table",
";",
"if",
"(",
"input",
"get",
"step",
"name",
"(",
")",
"length",
">",
"0",
")",
"{",
"table",
"remove",
"all",
"(",
")",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"input",
"ge... |
[
"creates",
"an",
"unexported",
"schemaless",
"provider",
"type",
"with",
"builtin",
"location"
] | [
"return",
"skylark",
"provider",
"create",
"unexported",
"schemaless",
"(",
"location",
"builtin",
")",
";"
] |
[
"creates",
"a",
"schemaful",
"instance",
"of",
"a",
"provider",
"with",
"the",
"given",
"values",
"for",
"fields",
"f",
"1",
"and",
"f",
"2",
"either",
"field",
"value",
"may",
"be",
"null",
"in",
"which",
"case",
"it",
"is",
"omitted"
] | [
"return",
"skylark",
"info",
"create",
"schemaful",
"(",
"provider",
",",
"layout",
"f",
"1",
"f",
"2",
",",
"new",
"object",
"[",
"]",
"{",
"v",
"1",
",",
"v",
"2",
"}",
",",
"location",
"builtin",
")",
";"
] |
[
"same",
"as",
"{"
] | [
"return",
"skylark",
"info",
"create",
"schemaful",
"(",
"provider",
",",
"inverted",
"layout",
"f",
"2",
"f",
"1",
",",
"new",
"object",
"[",
"]",
"{",
"v",
"2",
",",
"v",
"1",
"}",
",",
"location",
"builtin",
")",
";"
] |
[
"returns",
"a",
"double",
"values",
"source",
"bound",
"to",
"the",
"variable",
"name"
] | [
"public",
"abstract",
"double",
"values",
"source",
"get",
"double",
"values",
"source",
"(",
"string",
"name",
")",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"of",
"the",
"api",
"key",
"<",
"/",
"p",
">"
] | [
"set",
"value",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"api",
"key",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"aws",
"marketplace",
"customer",
"identifier",
"when",
"integrating",
"with",
"the",
"aws",
"saa",
"s",
"marketplace",
"<",
"/",
"p",
">"
] | [
"set",
"customer",
"id",
"(",
"customer",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"the",
"api",
"key",
"can",
"be",
"used",
"by",
"callers",
"<",
"/",
"p",
">"
] | [
"set",
"enabled",
"(",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"timestamp",
"when",
"the",
"api",
"key",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"date",
"(",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"timestamp",
"when",
"the",
"api",
"key",
"was",
"last",
"updated",
"<",
"/",
"p",
">"
] | [
"set",
"last",
"updated",
"date",
"(",
"last",
"updated",
"date",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.