docstring_tokens list | code_tokens list |
|---|---|
[
"to",
"configure",
"the",
"default",
"value",
"for",
"multiple",
"consumers"
] | [
"this",
"default",
"multiple",
"consumers",
"=",
"default",
"multiple",
"consumers",
";"
] |
[
"to",
"configure",
"the",
"default",
"value",
"for",
"disruptor",
"producer",
"type",
"<",
"p",
"/",
">",
"the",
"default",
"value",
"is",
"multi"
] | [
"this",
"default",
"producer",
"type",
"=",
"default",
"producer",
"type",
";"
] |
[
"to",
"configure",
"the",
"default",
"value",
"for",
"disruptor",
"wait",
"strategy",
"<",
"p",
"/",
">",
"the",
"default",
"value",
"is",
"blocking"
] | [
"this",
"default",
"wait",
"strategy",
"=",
"default",
"wait",
"strategy",
";"
] |
[
"whether",
"a",
"thread",
"that",
"sends",
"messages",
"to",
"a",
"full",
"seda",
"queue",
"will",
"block",
"until",
"the",
"queue",
"s",
"capacity",
"is",
"no",
"longer",
"exhausted",
"by",
"default",
"an",
"exception",
"will",
"be",
"thrown",
"stating",
... | [
"this",
"default",
"block",
"when",
"full",
"=",
"default",
"block",
"when",
"full",
";"
] |
[
"to",
"configure",
"the",
"ring",
"buffer",
"size"
] | [
"queue",
"size",
"=",
"size",
";"
] |
[
"to",
"configure",
"the",
"ring",
"buffer",
"size"
] | [
"buffer",
"size",
"=",
"size",
";"
] |
[
"converts",
"a",
"list",
"of",
"permission",
"action",
"shaded",
"proto",
"to",
"a",
"list",
"of",
"client",
"permission",
"action",
"objects"
] | [
"list",
"<",
"permission",
"action",
">",
"actions",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"proto",
"actions",
"size",
"(",
")",
")",
";",
"for",
"(",
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"prot... |
[
"convert",
"a",
"client",
"permission",
"to",
"a",
"permission",
"shaded",
"proto"
] | [
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"protos",
"permission",
"builder",
"ret",
"=",
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"protos",
"permission",
"new",
"b... |
[
"convert",
"a",
"shaded",
"protobuf",
"user",
"table",
"permissions",
"to",
"a",
"list",
"multimap",
"&",
"lt",
";",
"string",
"table",
"permission",
"&",
"gt",
";",
"where",
"key",
"is",
"username"
] | [
"list",
"multimap",
"<",
"string",
",",
"table",
"permission",
">",
"perms",
"=",
"array",
"list",
"multimap",
"create",
"(",
")",
";",
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"protos",
"users",
"and",
"per... |
[
"convert",
"a",
"list",
"multimap",
"&",
"lt",
";",
"string",
"table",
"permission",
"&",
"gt",
";",
"where",
"key",
"is",
"username",
"to",
"a",
"shaded",
"protobuf",
"user",
"permission"
] | [
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"protos",
"users",
"and",
"permissions",
"builder",
"builder",
"=",
"org",
"apache",
"hadoop",
"hbase",
"shaded",
"protobuf",
"generated",
"access",
"control",
"protos",
"u... |
[
"converts",
"a",
"user",
"permission",
"proto",
"to",
"a",
"client",
"user",
"permission",
"object"
] | [
"return",
"new",
"user",
"permission",
"(",
"proto",
"get",
"user",
"(",
")",
"to",
"byte",
"array",
"(",
")",
",",
"to",
"table",
"permission",
"(",
"proto",
"get",
"permission",
"(",
")",
")",
")",
";"
] |
[
"sets",
"content",
"type",
"if",
"charset",
"is",
"missing",
"current",
"value",
"is",
"reset",
"if",
"passed",
"value",
"is",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"content",
"type",
"will",
"be",
"reset",
"as",
"never",
"set"
] | [
"if",
"(",
"type",
"=",
"=",
"null",
")",
"{",
"mime",
"type",
"=",
"null",
";",
"character",
"encoding",
"=",
"null",
";",
"return",
";",
"}",
"content",
"type",
"header",
"resolver",
"content",
"type",
"resolver",
"=",
"new",
"content",
"type",
"head... |
[
"sets",
"just",
"character",
"encoding",
"setting",
"to",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"resets",
"it"
] | [
"character",
"encoding",
"=",
"charset",
";"
] |
[
"applies",
"content",
"type",
"to",
"the",
"response",
"called",
"before",
"output",
"stream",
"or",
"a",
"writer",
"are",
"used"
] | [
"if",
"(",
"mime",
"type",
"!",
"=",
"null",
")",
"{",
"super",
"set",
"content",
"type",
"(",
"mime",
"type",
")",
";",
"if",
"(",
"character",
"encoding",
"!",
"=",
"null",
")",
"{",
"super",
"set",
"character",
"encoding",
"(",
"character",
"encod... |
[
"returns",
"character",
"encoding",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"not",
"set"
] | [
"return",
"character",
"encoding",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"apply",
"content",
"type",
"(",
")",
";",
"return",
"super",
"get",
"output",
"stream",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"reason",
"provided",
"for",
"the",
"termination",
"<",
"/",
"p",
">"
] | [
"set",
"reason",
"(",
"reason",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"details",
"provided",
"for",
"the",
"termination",
"<",
"/",
"p",
">"
] | [
"set",
"details",
"(",
"details",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"policy",
"used",
"for",
"the",
"child",
"workflow",
"executions",
"of",
"this",
"workflow",
"execution",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"child",
"policies",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
"... | [
"set",
"child",
"policy",
"(",
"child",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"policy",
"used",
"for",
"the",
"child",
"workflow",
"executions",
"of",
"this",
"workflow",
"execution",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"child",
"policies",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
"... | [
"this",
"child",
"policy",
"=",
"child",
"policy",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"indicates",
"that",
"the",
"workflow",
"execution",
"was",
"automatically",
"terminated",
"and",
"specifies",
"the",
"cause",
"this",
"happens",
"if",
"the",
"parent",
"workflow",
"execution",
"times",
"out",
"or",
"is",
"terminate... | [
"set",
"cause",
"(",
"cause",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"indicates",
"that",
"the",
"workflow",
"execution",
"was",
"automatically",
"terminated",
"and",
"specifies",
"the",
"cause",
"this",
"happens",
"if",
"the",
"parent",
"workflow",
"execution",
"times",
"out",
"or",
"is",
"terminate... | [
"with",
"cause",
"(",
"cause",
")",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"indicates",
"that",
"the",
"workflow",
"execution",
"was",
"automatically",
"terminated",
"and",
"specifies",
"the",
"cause",
"this",
"happens",
"if",
"the",
"parent",
"workflow",
"execution",
"times",
"out",
"or",
"is",
"terminate... | [
"this",
"cause",
"=",
"cause",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"ignite",
"configuration",
"cfg",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"(",
"(",
"tcp",
"discovery",
"spi",
")",
"cfg",
"get",
"discovery",
"spi",
"(",
")",
")",
"set",
"ip",
"finder",
"(",
"ip",
"finder",
... |
[
"{"
] | [
"super",
"before",
"tests",
"started",
"(",
")",
";",
"start",
"grids",
"(",
"nodes",
")",
";"
] |
[
"convenience",
"operation",
"for",
"converting",
"a",
"source",
"object",
"to",
"the",
"specified",
"target",
"type",
"where",
"the",
"target",
"type",
"is",
"a",
"descriptor",
"that",
"provides",
"additional",
"conversion",
"context",
"simply",
"delegates",
"to",... | [
"return",
"convert",
"(",
"source",
",",
"type",
"descriptor",
"for",
"object",
"(",
"source",
")",
",",
"target",
"type",
")",
";"
] |
[
"template",
"method",
"to",
"convert",
"a",
"{"
] | [
"if",
"(",
"target",
"type",
"get",
"object",
"type",
"(",
")",
"=",
"=",
"optional",
"class",
")",
"{",
"return",
"optional",
"empty",
"(",
")",
";",
"}",
"return",
"null",
";"
] |
[
"hook",
"method",
"to",
"lookup",
"the",
"converter",
"for",
"a",
"given",
"source",
"type",
"/",
"target",
"type",
"pair",
"first",
"queries",
"this",
"conversion",
"service",
"s",
"converter",
"cache",
"on",
"a",
"cache",
"miss",
"then",
"performs",
"an",
... | [
"converter",
"cache",
"key",
"key",
"=",
"new",
"converter",
"cache",
"key",
"(",
"source",
"type",
",",
"target",
"type",
")",
";",
"generic",
"converter",
"converter",
"=",
"this",
"converter",
"cache",
"get",
"(",
"key",
")",
";",
"if",
"(",
"converte... |
[
"return",
"the",
"default",
"converter",
"if",
"no",
"converter",
"is",
"found",
"for",
"the",
"given",
"source",
"type",
"/",
"target",
"type",
"pair",
"<",
"p",
">",
"returns",
"a",
"no",
"op",
"converter",
"if",
"the",
"source",
"type",
"is",
"assigna... | [
"return",
"(",
"source",
"type",
"is",
"assignable",
"to",
"(",
"target",
"type",
")",
"?",
"no",
"op",
"converter",
":",
"null",
")",
";"
] |
[
"internal",
"helpers"
] | [
"resolvable",
"type",
"resolvable",
"type",
"=",
"resolvable",
"type",
"for",
"class",
"(",
"converter",
"class",
")",
"as",
"(",
"generic",
"ifc",
")",
";",
"resolvable",
"type",
"[",
"]",
"generics",
"=",
"resolvable",
"type",
"get",
"generics",
"(",
")"... |
[
"returns",
"an",
"ordered",
"class",
"hierarchy",
"for",
"the",
"given",
"type"
] | [
"list",
"<",
"class",
"<",
"?",
">",
">",
"hierarchy",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"20",
")",
";",
"set",
"<",
"class",
"<",
"?",
">",
">",
"visited",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
"20",
")",
";",
"add",
"to",
"c... |
[
"<",
"p",
">",
"the",
"url",
"of",
"the",
"amazon",
"sqs",
"queue",
"from",
"which",
"messages",
"are",
"received",
"<",
"/",
"p",
">",
"<",
"p",
">",
"queue",
"u",
"r",
"ls",
"and",
"names",
"are",
"case",
"-",
"sensitive",
"<",
"/",
"p",
">"
] | [
"set",
"queue",
"url",
"(",
"queue",
"url",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"s",
"that",
"need",
"to",
"be",
"returned",
"along",
"with",
"each",
"message",
"these",
"attributes",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all"... | [
"if",
"(",
"this",
"attribute",
"names",
"=",
"=",
"null",
")",
"{",
"set",
"attribute",
"names",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"attribute",
"names",
"length",
")",
")",
";",
"}",
"for",... |
[
"<",
"p",
">",
"a",
"list",
"of",
"s",
"that",
"need",
"to",
"be",
"returned",
"along",
"with",
"each",
"message",
"these",
"attributes",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all"... | [
"set",
"attribute",
"names",
"(",
"attribute",
"names",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"s",
"that",
"need",
"to",
"be",
"returned",
"along",
"with",
"each",
"message",
"these",
"attributes",
"include",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all"... | [
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"attribute",
"names",
"copy",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"attribute",
"names",
"length",
")",
";",
"for",
"(... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"message",
"attribute",
"where",
"<",
"i",
">",
"n",
"<",
"/",
"i",
">",
"is",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"name",
"can",
"contain",
"a... | [
"if",
"(",
"message",
"attribute",
"names",
"=",
"=",
"null",
")",
"{",
"message",
"attribute",
"names",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"message",
"attribute",
"nam... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"message",
"attribute",
"where",
"<",
"i",
">",
"n",
"<",
"/",
"i",
">",
"is",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"name",
"can",
"contain",
"a... | [
"if",
"(",
"message",
"attribute",
"names",
"=",
"=",
"null",
")",
"{",
"this",
"message",
"attribute",
"names",
"=",
"null",
";",
"return",
";",
"}",
"this",
"message",
"attribute",
"names",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"message",
"attribute",
"where",
"<",
"i",
">",
"n",
"<",
"/",
"i",
">",
"is",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"name",
"can",
"contain",
"a... | [
"if",
"(",
"this",
"message",
"attribute",
"names",
"=",
"=",
"null",
")",
"{",
"set",
"message",
"attribute",
"names",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"message",
"attribute",
"names",
"length... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"message",
"attribute",
"where",
"<",
"i",
">",
"n",
"<",
"/",
"i",
">",
"is",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"name",
"can",
"contain",
"a... | [
"set",
"message",
"attribute",
"names",
"(",
"message",
"attribute",
"names",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"messages",
"to",
"return",
"amazon",
"sqs",
"never",
"returns",
"more",
"messages",
"than",
"this",
"value",
"(",
"however",
"fewer",
"messages",
"might",
"be",
"returned",
")",
"valid",
"values",
":",
"1",... | [
"this",
"max",
"number",
"of",
"messages",
"=",
"max",
"number",
"of",
"messages",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"messages",
"to",
"return",
"amazon",
"sqs",
"never",
"returns",
"more",
"messages",
"than",
"this",
"value",
"(",
"however",
"fewer",
"messages",
"might",
"be",
"returned",
")",
"valid",
"values",
":",
"1",... | [
"return",
"this",
"max",
"number",
"of",
"messages",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"messages",
"to",
"return",
"amazon",
"sqs",
"never",
"returns",
"more",
"messages",
"than",
"this",
"value",
"(",
"however",
"fewer",
"messages",
"might",
"be",
"returned",
")",
"valid",
"values",
":",
"1",... | [
"set",
"max",
"number",
"of",
"messages",
"(",
"max",
"number",
"of",
"messages",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"duration",
"(",
"in",
"seconds",
")",
"that",
"the",
"received",
"messages",
"are",
"hidden",
"from",
"subsequent",
"retrieve",
"requests",
"after",
"being",
"retrieved",
"by",
"a",
"<",
"code",
">",
"receive",
"message",
"<",
"/",
... | [
"set",
"visibility",
"timeout",
"(",
"visibility",
"timeout",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"duration",
"(",
"in",
"seconds",
")",
"for",
"which",
"the",
"call",
"waits",
"for",
"a",
"message",
"to",
"arrive",
"in",
"the",
"queue",
"before",
"returning",
"if",
"a",
"message",
"is",
"available",
"the",
"call",
"returns",
... | [
"return",
"this",
"wait",
"time",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"duration",
"(",
"in",
"seconds",
")",
"for",
"which",
"the",
"call",
"waits",
"for",
"a",
"message",
"to",
"arrive",
"in",
"the",
"queue",
"before",
"returning",
"if",
"a",
"message",
"is",
"available",
"the",
"call",
"returns",
... | [
"set",
"wait",
"time",
"seconds",
"(",
"wait",
"time",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"applies",
"only",
"to",
"fifo",
"(",
"first",
"-",
"in",
"-",
"first",
"-",
"out",
")",
"queues",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"token",
"used",
"for",
"deduplication",
"of",
"<",
"code",
">",
"rec... | [
"this",
"receive",
"request",
"attempt",
"id",
"=",
"receive",
"request",
"attempt",
"id",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"applies",
"only",
"to",
"fifo",
"(",
"first",
"-",
"in",
"-",
"first",
"-",
"out",
")",
"queues",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"token",
"used",
"for",
"deduplication",
"of",
"<",
"code",
">",
"rec... | [
"return",
"this",
"receive",
"request",
"attempt",
"id",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"applies",
"only",
"to",
"fifo",
"(",
"first",
"-",
"in",
"-",
"first",
"-",
"out",
")",
"queues",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"token",
"used",
"for",
"deduplication",
"of",
"<",
"code",
">",
"rec... | [
"set",
"receive",
"request",
"attempt",
"id",
"(",
"receive",
"request",
"attempt",
"id",
")",
";",
"return",
"this",
";"
] |
[
"blast",
"some",
"random",
"strings",
"through",
"the",
"analyzer"
] | [
"german",
"analyzer",
"a",
"=",
"new",
"german",
"analyzer",
"(",
")",
";",
"check",
"random",
"data",
"(",
"random",
"(",
")",
",",
"a",
",",
"1000",
"*",
"random",
"multiplier",
")",
";",
"a",
"close",
"(",
")",
";"
] |
[
"sets",
"the",
"maximum",
"value",
"for",
"this",
"discrete",
"seek",
"bar",
"if",
"the",
"supplied",
"argument",
"is",
"smaller",
"than",
"the",
"current",
"min",
"value",
"the",
"min",
"value",
"will",
"be",
"set",
"to",
"max",
"-",
"1",
"<",
"p",
"/... | [
"m",
"max",
"=",
"max",
";",
"if",
"(",
"m",
"max",
"<",
"m",
"min",
")",
"{",
"set",
"min",
"(",
"m",
"max",
"-",
"1",
")",
";",
"}",
"update",
"keyboard",
"range",
"(",
")",
";",
"if",
"(",
"m",
"value",
"<",
"m",
"min",
"|",
"|",
"m",
... |
[
"sets",
"a",
"listener",
"to",
"receive",
"notifications",
"of",
"changes",
"to",
"the",
"discrete",
"seek",
"bar",
"s",
"progress",
"level",
"also",
"provides",
"notifications",
"of",
"when",
"the",
"discrete",
"seek",
"bar",
"shows",
"/",
"hides",
"the",
"... | [
"m",
"public",
"change",
"listener",
"=",
"listener",
";"
] |
[
"reset",
"all",
"states",
"to",
"zero"
] | [
"new",
"len",
"=",
"0",
";",
"old",
"len",
"=",
"0",
";",
"arrays",
"fill",
"(",
"new",
"list",
",",
"0",
")",
";",
"arrays",
"fill",
"(",
"old",
"list",
",",
"0",
")",
";"
] |
[
"copies",
"the",
"new",
"list",
"to",
"the",
"old",
"list",
"and",
"clears",
"the",
"new",
"list"
] | [
"system",
"arraycopy",
"(",
"new",
"list",
",",
"0",
",",
"old",
"list",
",",
"0",
",",
"new",
"len",
")",
";",
"old",
"len",
"=",
"new",
"len",
";",
"new",
"len",
"=",
"0",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"key",
"-",
"value",
"pairs",
"containing",
"information",
"about",
"the",
"results",
"of",
"your",
"create",
"instances",
"snapshot",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
... | [
"if",
"(",
"this",
"operations",
"=",
"=",
"null",
")",
"{",
"set",
"operations",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"operation",
">",
"(",
"operations",
"length",
")",
")",
";",
"}",
"for",
"(",
"operation",
"ele",
":",
"operations",
... |
[
"<",
"p",
">",
"an",
"array",
"of",
"key",
"-",
"value",
"pairs",
"containing",
"information",
"about",
"the",
"results",
"of",
"your",
"create",
"instances",
"snapshot",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"operations",
"(",
"operations",
")",
";",
"return",
"this",
";"
] |
[
"public",
"void",
"dispose",
"(",
")"
] | [
"return",
"surface",
"=",
"new",
"p",
"surface",
"f",
"x",
"(",
"this",
")",
";"
] |
[
"returns",
"the",
"javafx",
"scene",
"canvas",
"graphics",
"context",
"used",
"by",
"this",
"renderer"
] | [
"return",
"context",
";"
] |
[
"shape"
] | [
"shape",
"=",
"kind",
";",
"vertex",
"count",
"=",
"0",
";",
"curve",
"vertex",
"count",
"=",
"0",
";",
"work",
"path",
"reset",
"(",
")",
";",
"aux",
"path",
"reset",
"(",
")",
";",
"flush",
"pixels",
"(",
")",
";",
"if",
"(",
"drawing",
"thin",... |
[
"quadratic",
"bezier",
"vertices"
] | [
"bezier",
"vertex",
"check",
"(",
")",
";",
"work",
"path",
"quad",
"to",
"(",
"ctrl",
"x",
",",
"ctrl",
"y",
",",
"end",
"x",
",",
"end",
"y",
")",
";"
] |
[
"renderer"
] | [
"flush",
"pixels",
"(",
")",
";"
] |
[
"public",
"void",
"rect",
"(",
"float",
"a",
"float",
"b",
"float",
"c",
"float",
"d",
")"
] | [
"before",
"context",
"draw",
"(",
")",
";",
"if",
"(",
"drawing",
"thin",
"lines",
"(",
")",
")",
"{",
"x",
"1",
"+",
"=",
"0",
"5f",
";",
"x",
"2",
"+",
"=",
"0",
"5f",
";",
"y",
"1",
"+",
"=",
"0",
"5f",
";",
"y",
"2",
"+",
"=",
"0",
... |
[
"public",
"void",
"ellipse",
"(",
"float",
"a",
"float",
"b",
"float",
"c",
"float",
"d",
")"
] | [
"before",
"context",
"draw",
"(",
")",
";",
"if",
"(",
"drawing",
"thin",
"lines",
"(",
")",
")",
"{",
"x",
"+",
"=",
"0",
"5f",
";",
"y",
"+",
"=",
"0",
"5f",
";",
"}",
"if",
"(",
"fill",
")",
"context",
"fill",
"oval",
"(",
"x",
",",
"y",... |
[
"shape",
"i",
"/",
"o"
] | [
"return",
"load",
"shape",
"(",
"filename",
",",
"null",
")",
";"
] |
[
"text",
"impl"
] | [
"handle",
"text",
"font",
"(",
"which",
",",
"size",
")",
";",
"handle",
"text",
"size",
"(",
"size",
")",
";"
] |
[
"matrix",
"transforms"
] | [
"context",
"translate",
"(",
"tx",
",",
"ty",
")",
";"
] |
[
"public",
"void",
"translate",
"(",
"float",
"tx",
"float",
"ty",
"float",
"tz",
")"
] | [
"context",
"rotate",
"(",
"p",
"applet",
"degrees",
"(",
"angle",
")",
")",
";"
] |
[
"matrix",
"more"
] | [
"context",
"set",
"transform",
"(",
"new",
"affine",
"(",
")",
")",
";"
] |
[
"public",
"void",
"apply",
"matrix",
"(",
"p",
"matrix",
"2",
"d",
"source",
")"
] | [
"context",
"transform",
"(",
"n",
"0",
"0",
",",
"n",
"1",
"0",
",",
"n",
"0",
"1",
",",
"n",
"1",
"1",
",",
"n",
"0",
"2",
",",
"n",
"1",
"2",
")",
";"
] |
[
"public",
"void",
"set",
"matrix",
"(",
"p",
"matrix",
"source",
")"
] | [
"context",
"set",
"transform",
"(",
"source",
"m",
"0",
"0",
",",
"source",
"m",
"1",
"0",
",",
"source",
"m",
"0",
"1",
",",
"source",
"m",
"1",
"1",
",",
"source",
"m",
"0",
"2",
",",
"source",
"m",
"1",
"2",
")",
";"
] |
[
"screen",
"and",
"model",
"transforms"
] | [
"return",
"(",
"float",
")",
"context",
"get",
"transform",
"(",
")",
"transform",
"(",
"x",
",",
"y",
")",
"get",
"x",
"(",
")",
";"
] |
[
"stroke",
"cap",
"/",
"join",
"/",
"weight"
] | [
"super",
"stroke",
"cap",
"(",
"cap",
")",
";",
"if",
"(",
"stroke",
"cap",
"=",
"=",
"round",
")",
"{",
"context",
"set",
"line",
"cap",
"(",
"stroke",
"line",
"cap",
"round",
")",
";",
"}",
"else",
"if",
"(",
"stroke",
"cap",
"=",
"=",
"project... |
[
"no",
"stroke",
"(",
")",
"and",
"stroke",
"(",
")",
"inherited",
"from",
"p",
"graphics"
] | [
"super",
"stroke",
"from",
"calc",
"(",
")",
";",
"context",
"set",
"stroke",
"(",
"new",
"color",
"(",
"stroke",
"r",
",",
"stroke",
"g",
",",
"stroke",
"b",
",",
"stroke",
"a",
")",
")",
";"
] |
[
"no",
"fill",
"(",
")",
"and",
"fill",
"(",
")",
"inherited",
"from",
"p",
"graphics"
] | [
"super",
"fill",
"from",
"calc",
"(",
")",
";",
"context",
"set",
"fill",
"(",
"new",
"color",
"(",
"fill",
"r",
",",
"fill",
"g",
",",
"fill",
"b",
",",
"fill",
"a",
")",
")",
";"
] |
[
"pimage",
"methods"
] | [
"if",
"(",
"(",
"pixels",
"=",
"=",
"null",
")",
"|",
"|",
"(",
"pixels",
"length",
"!",
"=",
"pixel",
"width",
"*",
"pixel",
"height",
")",
")",
"{",
"pixels",
"=",
"new",
"int",
"[",
"pixel",
"width",
"*",
"pixel",
"height",
"]",
";",
"loaded",... |
[
"get",
"/",
"set",
"pixels"
] | [
"load",
"pixels",
"(",
")",
";",
"return",
"super",
"get",
"(",
"x",
",",
"y",
")",
";"
] |
[
"returns",
"list",
"of",
"currently",
"registered",
"repositories"
] | [
"return",
"this",
"repositories",
";"
] |
[
"returns",
"a",
"repository",
"with",
"a",
"given",
"name",
"or",
"null",
"if",
"such",
"repository",
"doesn",
"t",
"exist"
] | [
"for",
"(",
"repository",
"meta",
"data",
"repository",
":",
"repositories",
")",
"{",
"if",
"(",
"name",
"equals",
"(",
"repository",
"name",
"(",
")",
")",
")",
"{",
"return",
"repository",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"{"
] | [
"out",
"write",
"v",
"int",
"(",
"repositories",
"size",
"(",
")",
")",
";",
"for",
"(",
"repository",
"meta",
"data",
"repository",
":",
"repositories",
")",
"{",
"repository",
"write",
"to",
"(",
"out",
")",
";",
"}"
] |
[
"{"
] | [
"for",
"(",
"repository",
"meta",
"data",
"repository",
":",
"repositories",
")",
"{",
"to",
"x",
"content",
"(",
"repository",
",",
"builder",
",",
"params",
")",
";",
"}",
"return",
"builder",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"rule",
"<",
"/",
"p",
">"
] | [
"set",
"rule",
"arn",
"(",
"rule",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"42"
] | [
"this",
"id",
"=",
"id",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"sonar",
"-",
"administrators"
] | [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
] |
[
"todo",
":",
"make",
"these",
"all",
"build",
"the",
"proto"
] | [
"duration",
"minutes",
"=",
"duration",
"standard",
"minutes",
"(",
"94",
")",
";",
"duration",
"hours",
"=",
"duration",
"standard",
"hours",
"(",
"13",
")",
";",
"runner",
"api",
"trigger",
"trigger",
"=",
"runner",
"api",
"trigger",
"new",
"builder",
"(... |
[
"create",
"an",
"instance",
"of",
"convergence",
"checker"
] | [
"public",
"abstract",
"<",
"k",
",",
"v",
">",
"convergence",
"checker",
"<",
"k",
",",
"v",
">",
"create",
"(",
"long",
"sample",
"size",
",",
"ignite",
"function",
"<",
"double",
",",
"double",
">",
"external",
"lb",
"to",
"internal",
"mapping",
",",... |
[
"returns",
"weight",
"of",
"1",
"by",
"default"
] | [
"return",
"(",
"long",
")",
"1",
";"
] |
[
"verifies",
"if",
"a",
"set",
"is",
"a",
"majority",
"assumes",
"that",
"ack",
"set",
"contains",
"acks",
"only",
"from",
"voting",
"members"
] | [
"return",
"(",
"ack",
"set",
"size",
"(",
")",
">",
"half",
")",
";"
] |
[
"process",
"request",
"and",
"add",
"authentication",
"information",
"if",
"possible"
] | [
"final",
"digest",
"scheme",
"digest",
"scheme",
"=",
"digest",
"cache",
"get",
"(",
"request",
"get",
"uri",
"(",
")",
")",
";",
"if",
"(",
"digest",
"scheme",
"!",
"=",
"null",
")",
"{",
"final",
"http",
"authentication",
"filter",
"credentials",
"cred... |
[
"append",
"comma",
"separated",
"key",
"=",
"value",
"token",
"the",
"value",
"gets",
"enclosed",
"in",
"quotes"
] | [
"append",
"(",
"sb",
",",
"key",
",",
"value",
",",
"true",
")",
";"
] |
[
"generate",
"a",
"random",
"sequence",
"of",
"bytes",
"and",
"return",
"its",
"hex",
"representation"
] | [
"final",
"byte",
"[",
"]",
"bytes",
"=",
"new",
"byte",
"[",
"nb",
"bytes",
"]",
";",
"random",
"generator",
"next",
"bytes",
"(",
"bytes",
")",
";",
"return",
"bytes",
"to",
"hex",
"(",
"bytes",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"return",
"process",
"engine",
"name",
";"
] |
[
"get",
"the",
"max",
"num",
"docs",
"to",
"be",
"returned",
"per",
"value"
] | [
"return",
"max",
"docs",
"per",
"value",
";"
] |
[
"set",
"the",
"execution",
"hint"
] | [
"this",
"execution",
"hint",
"=",
"execution",
"hint",
";",
"return",
"this",
";"
] |
[
"return",
"the",
"message",
"payload"
] | [
"return",
"this",
"payload",
";"
] |
[
"a",
"variant",
"of",
"{"
] | [
"return",
"get",
"payload",
"as",
"text",
"(",
"standard",
"charsets",
"utf",
"8",
")",
";"
] |
[
"a",
"shortcut",
"for",
"decoding",
"the",
"raw",
"content",
"of",
"the",
"message",
"to",
"text",
"with",
"the",
"given",
"character",
"encoding",
"this",
"is",
"useful",
"for",
"text",
"web",
"socket",
"messages",
"or",
"otherwise",
"when",
"the",
"payload... | [
"byte",
"[",
"]",
"bytes",
"=",
"new",
"byte",
"[",
"this",
"payload",
"readable",
"byte",
"count",
"(",
")",
"]",
";",
"this",
"payload",
"read",
"(",
"bytes",
")",
";",
"return",
"new",
"string",
"(",
"bytes",
",",
"charset",
")",
";"
] |
[
"retain",
"the",
"data",
"buffer",
"for",
"the",
"message",
"payload",
"which",
"is",
"useful",
"on",
"runtimes",
"(",
"e",
"g",
"netty",
")",
"with",
"pooled",
"buffers",
"a",
"shortcut",
"for",
":",
"<",
"pre",
">",
"data",
"buffer",
"payload",
"=",
... | [
"data",
"buffer",
"utils",
"retain",
"(",
"this",
"payload",
")",
";",
"return",
"this",
";"
] |
[
"release",
"the",
"payload",
"{"
] | [
"data",
"buffer",
"utils",
"release",
"(",
"this",
"payload",
")",
";"
] |
[
"/",
"*",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"... | [
"espresso",
"helper",
"type",
"(",
"r",
"id",
"name",
"edit",
"text",
",",
"constants",
"name",
")",
";",
"espresso",
"helper",
"check",
"for",
"text",
"(",
"constants",
"state",
"crash",
",",
"m",
"result",
"text",
"view",
")",
";"
] |
[
"this",
"method",
"will",
"attempt",
"to",
"read",
"the",
"few",
"bytes",
"off",
"a",
"file",
"which",
"will",
"in",
"turn",
"be",
"used",
"to",
"guess",
"what",
"kind",
"of",
"parsers",
"we",
"should",
"use",
"to",
"parse",
"the",
"file"
] | [
"try",
"{",
"return",
"get",
"first",
"unzipped",
"bytes",
"checked",
"(",
"bv",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"for",
"each",
"key",
"in",
"the",
"passed",
"in",
"map",
"this",
"function",
"returns",
"true",
"if"
] | [
"if",
"(",
"null",
"=",
"=",
"input",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"collection",
"<",
"string",
">",
">",
"entry",
":",
"input",
"entry",
"set",
"(",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.