docstring_tokens list | code_tokens list |
|---|---|
[
"test",
"various",
"combinations",
"of",
"batching",
"and",
"partial",
"results",
"for",
"correctness"
] | [
"for",
"(",
"int",
"batch",
"=",
"1",
";",
"batch",
"<",
"=",
"num",
"cols",
"/",
"4",
";",
"batch",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"cells",
"per",
"partial",
"=",
"1",
";",
"cells",
"per",
"partial",
"<",
"=",
"num",
"cols",
"/",
"4"... |
[
"test",
"the",
"method",
"{"
] | [
"scan",
"scan",
"=",
"new",
"scan",
"(",
")",
";",
"test",
"partial",
"results",
"reassembly",
"(",
"scan",
")",
";",
"scan",
"set",
"reversed",
"(",
"true",
")",
";",
"test",
"partial",
"results",
"reassembly",
"(",
"scan",
")",
";"
] |
[
"examine",
"the",
"interaction",
"between",
"the",
"max",
"result",
"size",
"and",
"caching",
"if",
"the",
"caching",
"limit",
"is",
"reached",
"before",
"the",
"max",
"result",
"size",
"limit",
"we",
"should",
"not",
"see",
"partial",
"results",
"on",
"the"... | [
"for",
"(",
"int",
"caching",
"=",
"1",
";",
"caching",
"<",
"=",
"num",
"rows",
";",
"caching",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"max",
"result",
"rows",
"=",
"0",
";",
"max",
"result",
"rows",
"<",
"=",
"num",
"rows",
";",
"max",
"resul... |
[
"make",
"key",
"values",
"to",
"represent",
"each",
"possible",
"combination",
"of",
"family",
"and",
"qualifier",
"in",
"the",
"specified",
"row"
] | [
"array",
"list",
"<",
"cell",
">",
"out",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"int",
"fam",
"=",
"0",
";",
"fam",
"<",
"families",
"length",
";",
"fam",
"+",
"+",
")",
"{",
"for",
"(",
"int",
"qual",
"=",... |
[
"exhausts",
"the",
"scanner",
"by",
"calling",
"next",
"repetitively",
"once",
"completely",
"exhausted",
"close",
"scanner",
"and",
"return",
"total",
"cell",
"count"
] | [
"result",
"result",
"=",
"null",
";",
"int",
"num",
"cells",
"=",
"0",
";",
"while",
"(",
"(",
"result",
"=",
"scanner",
"next",
"(",
")",
")",
"!",
"=",
"null",
")",
"{",
"num",
"cells",
"+",
"=",
"result",
"raw",
"cells",
"(",
")",
"length",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"load",
"balancer",
"you",
"associated",
"with",
"your",
"ssl",
"/",
"tls",
"certificate",
"<",
"/",
"p",
">"
] | [
"set",
"load",
"balancer",
"name",
"(",
"load",
"balancer",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"availability",
"zone",
"for",
"the",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"availability",
"zone",
"(",
"availability",
"zone",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"affinity",
"setting",
"for",
"an",
"instance",
"on",
"a",
"dedicated",
"host",
"<",
"/",
"p",
">"
] | [
"set",
"affinity",
"(",
"affinity",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"placement",
"group",
"for",
"the",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"group",
"name",
"(",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"dedicated",
"host",
"for",
"the",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"host",
"id",
"(",
"host",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tenancy",
"of",
"the",
"instance",
"(",
"if",
"the",
"instance",
"is",
"running",
"in",
"a",
"vpc",
")",
"an",
"instance",
"with",
"a",
"tenancy",
"of",
"dedicated",
"runs",
"on",
"single",
"-",
"tenant",
"hardware",
"<",
"/",
... | [
"set",
"tenancy",
"(",
"tenancy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tenancy",
"of",
"the",
"instance",
"(",
"if",
"the",
"instance",
"is",
"running",
"in",
"a",
"vpc",
")",
"an",
"instance",
"with",
"a",
"tenancy",
"of",
"dedicated",
"runs",
"on",
"single",
"-",
"tenant",
"hardware",
"<",
"/",
... | [
"this",
"tenancy",
"=",
"tenancy",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"reserved",
"for",
"future",
"use",
"<",
"/",
"p",
">"
] | [
"this",
"spread",
"domain",
"=",
"spread",
"domain",
";"
] |
[
"<",
"p",
">",
"reserved",
"for",
"future",
"use",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"spread",
"domain",
";"
] |
[
"<",
"p",
">",
"reserved",
"for",
"future",
"use",
"<",
"/",
"p",
">"
] | [
"set",
"spread",
"domain",
"(",
"spread",
"domain",
")",
";",
"return",
"this",
";"
] |
[
"creating",
"actor",
"from",
"props"
] | [
"return",
"creator",
"create",
"(",
")",
";"
] |
[
"getting",
"supervisor",
"if",
"available"
] | [
"return",
"supervisor",
";"
] |
[
"changing",
"dispatcher"
] | [
"return",
"new",
"props",
"(",
"dispatcher",
",",
"creator",
",",
"supervisor",
")",
";"
] |
[
"changing",
"supervisor",
"of",
"an",
"actor"
] | [
"return",
"new",
"props",
"(",
"dispatcher",
",",
"creator",
",",
"supervisor",
")",
";"
] |
[
"create",
"props",
"from",
"actor",
"creator"
] | [
"return",
"new",
"props",
"(",
"null",
",",
"creator",
",",
"null",
")",
";"
] |
[
"implementations",
"for",
"member",
"visitor"
] | [
"if",
"(",
"read",
"write",
"field",
"marker",
"is",
"written",
"(",
"program",
"field",
")",
"&",
"&",
"!",
"read",
"write",
"field",
"marker",
"is",
"read",
"(",
"program",
"field",
")",
")",
"{",
"write",
"only",
"field",
"visitor",
"visit",
"progra... |
[
"invoke",
"all",
"the",
"transformations",
"one",
"-",
"by",
"-",
"one",
"and",
"alter",
"the",
"query",
"plan"
] | [
"for",
"(",
"transform",
"t",
":",
"transformations",
")",
"{",
"t",
"begin",
"perf",
"logging",
"(",
")",
";",
"pctx",
"=",
"t",
"transform",
"(",
"pctx",
")",
";",
"t",
"end",
"perf",
"logging",
"(",
"t",
"to",
"string",
"(",
")",
")",
";",
"}"... |
[
"a",
"connection",
"resource",
"is",
"an",
"interface",
"that",
"allows",
"for",
"customization",
"and",
"container",
"control",
"of",
"the",
"connection",
"factory",
"see",
"plugable",
"connection",
"resource",
"management",
"for",
"further",
"details"
] | [
"this",
"connection",
"resource",
"=",
"connection",
"resource",
";"
] |
[
"the",
"maximum",
"number",
"of",
"connections",
"available",
"to",
"endpoints",
"started",
"under",
"this",
"component"
] | [
"this",
"connection",
"count",
"=",
"max",
"connections",
";"
] |
[
"to",
"configure",
"which",
"kind",
"of",
"commit",
"strategy",
"to",
"use",
"camel",
"provides",
"two",
"implementations",
"out",
"of",
"the",
"box",
"default",
"and",
"batch"
] | [
"this",
"transaction",
"commit",
"strategy",
"=",
"commit",
"strategy",
";"
] |
[
"to",
"use",
"a",
"custom",
"timed",
"task",
"manager"
] | [
"this",
"timed",
"task",
"manager",
"=",
"timed",
"task",
"manager",
";"
] |
[
"when",
"using",
"the",
"default",
"{"
] | [
"this",
"connection",
"test",
"on",
"borrow",
"=",
"connection",
"test",
"on",
"borrow",
";"
] |
[
"the",
"max",
"wait",
"time",
"in",
"millis",
"to",
"block",
"and",
"wait",
"on",
"free",
"connection",
"when",
"the",
"pool",
"is",
"exhausted",
"when",
"using",
"the",
"default",
"{"
] | [
"this",
"connection",
"max",
"wait",
"=",
"connection",
"max",
"wait",
";"
] |
[
"{"
] | [
"return",
"new",
"async",
"filter",
"factory",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"non",
"serializable",
"async",
"filter",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"factory",
"builder",
"factory",
"of",
"(",
"noop",
"async",
"filter",
"class",
")",
";"
] |
[
"the",
"default",
"limit",
"/",
"offset",
"clause",
"in",
"most",
"dialects"
] | [
"object",
"data",
"=",
"context",
"data",
"(",
"data",
"render",
"trailing",
"limit",
"if",
"applicable",
")",
";",
"context",
"data",
"(",
"data",
"render",
"trailing",
"limit",
"if",
"applicable",
",",
"true",
")",
";",
"to",
"s",
"q",
"l",
"reference"... |
[
"this",
"method",
"renders",
"the",
"main",
"part",
"of",
"a",
"query",
"without",
"the",
"limit",
"clause",
"this",
"part",
"is",
"common",
"to",
"any",
"type",
"of",
"limited",
"query"
] | [
"to",
"s",
"q",
"l",
"reference",
"0",
"(",
"context",
",",
"null",
",",
"null",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"return",
"lazy",
"initializer",
"initialize",
"lazily",
"(",
"crypto",
"file",
"system",
",",
"(",
")",
"-",
">",
"unlock",
"crypto",
"file",
"system",
"(",
"passphrase",
")",
",",
"i",
"o",
"exception",
"class",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"return",
"state",
"get",
"(",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"return",
"objects",
"hash",
"(",
"vault",
"settings",
")",
";"
] |
[
"/",
"*",
"create",
"a",
"file",
"write",
"all",
"data",
"at",
"once"
] | [
"f",
"s",
"data",
"output",
"stream",
"stm",
"=",
"file",
"sys",
"create",
"(",
"name",
",",
"true",
",",
"file",
"sys",
"get",
"conf",
"(",
")",
"get",
"int",
"(",
"io",
"file",
"buffer",
"size",
"key",
",",
"4096",
")",
",",
"num",
"of",
"datan... |
[
"/",
"*",
"create",
"a",
"file",
"write",
"data",
"chunk",
"by",
"chunk"
] | [
"f",
"s",
"data",
"output",
"stream",
"stm",
"=",
"file",
"sys",
"create",
"(",
"name",
",",
"true",
",",
"file",
"sys",
"get",
"conf",
"(",
")",
"get",
"int",
"(",
"io",
"file",
"buffer",
"size",
"key",
",",
"4096",
")",
",",
"num",
"of",
"datan... |
[
"/",
"*",
"create",
"a",
"file",
"write",
"data",
"with",
"variable",
"amount",
"of",
"data"
] | [
"f",
"s",
"data",
"output",
"stream",
"stm",
"=",
"file",
"sys",
"create",
"(",
"name",
",",
"true",
",",
"file",
"sys",
"get",
"conf",
"(",
")",
"get",
"int",
"(",
"io",
"file",
"buffer",
"size",
"key",
",",
"4096",
")",
",",
"num",
"of",
"datan... |
[
"{"
] | [
"u",
"close",
"quiet",
"(",
"conn",
")",
";",
"ignite",
"(",
"0",
")",
"cache",
"(",
"default",
"cache",
"name",
")",
"clear",
"(",
")",
";",
"super",
"after",
"test",
"(",
")",
";"
] |
[
"returns",
"true",
"iff",
"<",
"code",
">",
"o",
"<",
"/",
"code",
">",
"is",
"a",
"int",
"writable",
"with",
"the",
"same",
"value"
] | [
"if",
"(",
"o",
"instanceof",
"byte",
"writable",
")",
"{",
"byte",
"writable",
"other",
"=",
"(",
"byte",
"writable",
")",
"o",
";",
"return",
"this",
"value",
"=",
"=",
"other",
"get",
"(",
")",
";",
"}",
"if",
"(",
"o",
"instanceof",
"int",
"wri... |
[
"compares",
"two",
"int",
"writables"
] | [
"int",
"this",
"value",
"=",
"this",
"value",
";",
"int",
"that",
"value",
"=",
"(",
"(",
"int",
"writable",
")",
"o",
")",
"value",
";",
"return",
"(",
"this",
"value",
"<",
"that",
"value",
"?",
"-",
"1",
":",
"(",
"this",
"value",
"=",
"=",
... |
[
"filter",
"on",
"method",
"arguments",
"that",
"don",
"t",
"have",
"the",
"given",
"annotations"
] | [
"this",
"filters",
"add",
"(",
"param",
"-",
">",
"(",
"annotation",
"types",
"length",
">",
"0",
"?",
"arrays",
"stream",
"(",
"annotation",
"types",
")",
"none",
"match",
"(",
"param",
":",
":",
"has",
"parameter",
"annotation",
")",
":",
"param",
"g... |
[
"the",
"egl",
"major",
"version",
"number",
"of",
"this",
"device"
] | [
"if",
"(",
"!",
"s",
"g",
"l",
"checked",
")",
"check",
"g",
"l",
"version",
"(",
")",
";",
"return",
"m",
"e",
"g",
"l",
"major",
"version",
";"
] |
[
"the",
"egl",
"minor",
"version",
"number",
"of",
"this",
"device"
] | [
"if",
"(",
"!",
"s",
"g",
"l",
"checked",
")",
"check",
"g",
"l",
"version",
"(",
")",
";",
"return",
"m",
"e",
"g",
"l",
"minor",
"version",
";"
] |
[
"the",
"highest",
"gl",
"es",
"major",
"version",
"number",
"supported",
"by",
"this",
"device"
] | [
"if",
"(",
"!",
"s",
"g",
"l",
"checked",
")",
"check",
"g",
"l",
"version",
"(",
")",
";",
"return",
"m",
"g",
"l",
"e",
"s",
"major",
"version",
";"
] |
[
"fetch",
"the",
"list",
"of",
"extension",
"strings",
"this",
"device",
"supports"
] | [
"return",
"m",
"extensions",
";"
] |
[
"a",
"rough",
"estimate",
"of",
"the",
"largest",
"texture",
"that",
"open",
"g",
"l",
"can",
"handle"
] | [
"return",
"m",
"max",
"texture",
"size",
";"
] |
[
"the",
"maximum",
"supported",
"texture",
"image",
"units",
"that",
"can",
"be",
"used",
"to",
"access",
"texture",
"maps",
"from",
"the",
"vertex",
"shader",
"and",
"the",
"fragment",
"processor",
"combined",
"if",
"both",
"the",
"vertex",
"shader",
"and",
... | [
"return",
"m",
"max",
"combined",
"texture",
"image",
"units",
";"
] |
[
"the",
"value",
"gives",
"a",
"rough",
"estimate",
"of",
"the",
"largest",
"cube",
"-",
"map",
"texture",
"that",
"the",
"gl",
"can",
"handle",
"the",
"value",
"must",
"be",
"at",
"least",
"1024"
] | [
"return",
"m",
"max",
"cube",
"map",
"texture",
"size",
";"
] |
[
"the",
"maximum",
"number",
"of",
"individual",
"4",
"-",
"vectors",
"of",
"floating",
"-",
"point",
"integer",
"or",
"boolean",
"values",
"that",
"can",
"be",
"held",
"in",
"uniform",
"variable",
"storage",
"for",
"a",
"fragment",
"shader"
] | [
"return",
"m",
"max",
"fragment",
"uniform",
"vectors",
";"
] |
[
"indicates",
"the",
"maximum",
"supported",
"size",
"for",
"renderbuffers"
] | [
"return",
"m",
"max",
"renderbuffer",
"size",
";"
] |
[
"the",
"maximum",
"supported",
"texture",
"image",
"units",
"that",
"can",
"be",
"used",
"to",
"access",
"texture",
"maps",
"from",
"the",
"fragment",
"shader"
] | [
"return",
"m",
"max",
"texture",
"image",
"units",
";"
] |
[
"the",
"maximum",
"number",
"of",
"4",
"-",
"vectors",
"for",
"varying",
"variables"
] | [
"return",
"m",
"max",
"varying",
"vectors",
";"
] |
[
"the",
"maximum",
"number",
"of",
"4",
"-",
"component",
"generic",
"vertex",
"attributes",
"accessible",
"to",
"a",
"vertex",
"shader"
] | [
"return",
"m",
"max",
"vertex",
"attribs",
";"
] |
[
"the",
"maximum",
"supported",
"texture",
"image",
"units",
"that",
"can",
"be",
"used",
"to",
"access",
"texture",
"maps",
"from",
"the",
"vertex",
"shader"
] | [
"return",
"m",
"max",
"vertex",
"texture",
"image",
"units",
";"
] |
[
"the",
"maximum",
"number",
"of",
"4",
"-",
"vectors",
"that",
"may",
"be",
"held",
"in",
"uniform",
"variable",
"storage",
"for",
"the",
"vertex",
"shader"
] | [
"return",
"m",
"max",
"vertex",
"uniform",
"vectors",
";"
] |
[
"the",
"maximum",
"supported",
"viewport",
"width"
] | [
"return",
"m",
"max",
"viewport",
"width",
";"
] |
[
"the",
"maximum",
"supported",
"viewport",
"height"
] | [
"return",
"m",
"max",
"viewport",
"height",
";"
] |
[
"indicates",
"the",
"minimum",
"width",
"supported",
"for",
"aliased",
"lines"
] | [
"return",
"m",
"min",
"aliased",
"line",
"width",
";"
] |
[
"indicates",
"the",
"maximum",
"width",
"supported",
"for",
"aliased",
"lines"
] | [
"return",
"m",
"max",
"aliased",
"line",
"width",
";"
] |
[
"indicates",
"the",
"minimum",
"size",
"supported",
"for",
"aliased",
"points"
] | [
"return",
"m",
"min",
"aliased",
"point",
"size",
";"
] |
[
"indicates",
"the",
"maximum",
"size",
"supported",
"for",
"aliased",
"points"
] | [
"return",
"m",
"max",
"aliased",
"point",
"size",
";"
] |
[
"check",
"whether",
"the",
"given",
"result",
"code",
"is",
"recoverable",
"by",
"retry"
] | [
"return",
"keeper",
"exception",
"code",
"connectionloss",
"int",
"value",
"(",
")",
"=",
"=",
"rc",
"|",
"|",
"keeper",
"exception",
"code",
"operationtimeout",
"int",
"value",
"(",
")",
"=",
"=",
"rc",
"|",
"|",
"keeper",
"exception",
"code",
"sessionmov... |
[
"check",
"whether",
"the",
"given",
"exception",
"is",
"recoverable",
"by",
"retry"
] | [
"return",
"is",
"recoverable",
"exception",
"(",
"exception",
"code",
"(",
")",
"int",
"value",
"(",
")",
")",
";"
] |
[
"/",
"*",
"return",
"git",
"repo",
"model",
"on",
"this",
"git",
"repo",
"renderer"
] | [
"return",
"grm",
";"
] |
[
"/",
"*",
"return",
"git",
"{",
"user",
"}",
"name"
] | [
"return",
"pp",
"user",
";"
] |
[
"/",
"*",
"return",
"git",
"{",
"repo",
"}",
"name"
] | [
"return",
"pp",
"repo",
";"
] |
[
"/",
"*",
"return",
"git",
"{",
"branch",
"}",
"name"
] | [
"return",
"pp",
"branch",
";"
] |
[
"/",
"*",
"return",
"pitch",
"slideshow",
"theme"
] | [
"return",
"pp",
"theme",
";"
] |
[
"/",
"*",
"return",
"pitch",
"slideshow",
"grs"
] | [
"return",
"pp",
"grs",
";"
] |
[
"/",
"*",
"return",
"true",
"is",
"branch",
"is",
"git",
"master"
] | [
"return",
"pp",
"is",
"master",
"(",
")",
";"
] |
[
"/",
"*",
"return",
"pitch",
"slideshow",
"theme",
"css"
] | [
"return",
"pp",
"theme",
"+",
"css",
";"
] |
[
"/",
"*",
"return",
"relative",
"url",
"to",
"slideshow"
] | [
"return",
"slideshow",
"u",
"r",
"l",
";"
] |
[
"/",
"*",
"return",
"relative",
"url",
"to",
"slideshow"
] | [
"return",
"com",
"gitpitch",
"controllers",
"routes",
"pitch",
"controller",
"slideshow",
"(",
"grm",
"owner",
"(",
")",
",",
"grm",
"name",
"(",
")",
",",
"pp",
"branch",
",",
"pp",
"grs",
",",
"theme",
",",
"pp",
"pitchme",
",",
"pp",
"notes",
",",
... |
[
"/",
"*",
"return",
"absolute",
"url",
"to",
"slideshow"
] | [
"return",
"com",
"gitpitch",
"controllers",
"routes",
"pitch",
"controller",
"slideshow",
"(",
"pp",
"user",
",",
"pp",
"repo",
",",
"pp",
"branch",
",",
"pp",
"grs",
",",
"pp",
"theme",
",",
"pp",
"pitchme",
",",
"pp",
"notes",
",",
"null",
",",
"null... |
[
"/",
"*",
"return",
"relative",
"url",
"to",
"pitchme",
"md",
"markdown"
] | [
"return",
"markdown",
"u",
"r",
"l",
";"
] |
[
"/",
"*",
"return",
"https",
":",
"/",
"/",
"{",
"grs",
"}",
"/",
"{",
"user",
"}"
] | [
"return",
"org",
"hub",
";"
] |
[
"/",
"*",
"return",
"https",
":",
"/",
"/",
"{",
"grs",
"}",
"/",
"{",
"user",
"}",
"/",
"{",
"repo",
"}"
] | [
"return",
"repo",
"hub",
";"
] |
[
"/",
"*",
"return",
"https",
":",
"/",
"/",
"github",
"com",
"/",
"{",
"user",
"}",
"/",
"{",
"repo",
"}",
"/",
"stargazers"
] | [
"return",
"star",
"hub",
";"
] |
[
"/",
"*",
"return",
"https",
":",
"/",
"/",
"github",
"com",
"/",
"{",
"user",
"}",
"/",
"{",
"repo",
"}",
"/",
"network"
] | [
"return",
"fork",
"hub",
";"
] |
[
"/",
"*",
"return",
"number",
"of",
"git",
"repository",
"stargazers"
] | [
"return",
"(",
"grm",
"!",
"=",
"null",
")",
"?",
"grm",
"stargazers",
"(",
")",
":",
"0",
";"
] |
[
"/",
"*",
"return",
"number",
"of",
"git",
"repository",
"forks"
] | [
"return",
"(",
"grm",
"!",
"=",
"null",
")",
"?",
"grm",
"forks",
"(",
")",
":",
"0",
";"
] |
[
"/",
"*",
"return",
"git",
"repository",
"language"
] | [
"string",
"repo",
"lang",
"=",
"null",
";",
"if",
"(",
"grm",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"grm",
"lang",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"grm",
"lang",
"(",
")",
"length",
"(",
")",
">",
"0",
")",
"{",
"repo",
"lang",
"=",
... |
[
"/",
"*",
"return",
"true",
"if",
"view",
"model",
"represents",
"a",
"valid",
"repository",
"on",
"git"
] | [
"return",
"grm",
"!",
"=",
"null",
";"
] |
[
"/",
"*",
"return",
"the",
"best",
"fit",
"repo",
"language",
"or",
"branch",
"name",
"when",
"rendering",
"the",
"presentation"
] | [
"if",
"(",
"!",
"is",
"valid",
"(",
")",
")",
"{",
"return",
"pp",
"branch",
";",
"}",
"else",
"if",
"(",
"is",
"master",
"(",
")",
"&",
"&",
"repo",
"lang",
"(",
")",
"!",
"=",
"null",
")",
"{",
"return",
"repo",
"lang",
"(",
")",
";",
"}"... |
[
"/",
"*",
"return",
"string",
"representation",
"of",
"view",
"model"
] | [
"return",
"slideshow",
"u",
"r",
"l",
";"
] |
[
"create",
"an",
"ndarray",
"with",
"the",
"given",
"data",
"layout"
] | [
"return",
"new",
"j",
"cublas",
"n",
"d",
"array",
"(",
"data",
")",
";"
] |
[
"creates",
"an",
"ndarray",
"with",
"the",
"specified",
"shape"
] | [
"return",
"new",
"j",
"cublas",
"n",
"d",
"array",
"(",
"data",
",",
"shape",
",",
"stride",
",",
"offset",
")",
";"
] |
[
"creates",
"an",
"ndarray",
"with",
"the",
"specified",
"shape"
] | [
"return",
"new",
"j",
"cublas",
"n",
"d",
"array",
"(",
"data",
",",
"shape",
",",
"stride",
",",
"offset",
")",
";"
] |
[
"creates",
"an",
"ndarray",
"with",
"the",
"specified",
"shape"
] | [
"if",
"(",
"order",
"=",
"=",
"fortran",
")",
"return",
"new",
"j",
"cublas",
"n",
"d",
"array",
"(",
"list",
",",
"shape",
",",
"array",
"util",
"calc",
"strides",
"fortran",
"(",
"shape",
")",
")",
";",
"else",
"return",
"new",
"j",
"cublas",
"n"... |
[
"this",
"method",
"averages",
"input",
"arrays",
"and",
"returns",
"averaged",
"array"
] | [
"return",
"average",
"(",
"target",
",",
"arrays",
"to",
"array",
"(",
"new",
"i",
"n",
"d",
"array",
"[",
"0",
"]",
")",
")",
";"
] |
[
"in",
"place",
"shuffle",
"of",
"an",
"ndarray",
"along",
"a",
"specified",
"set",
"of",
"dimensions"
] | [
"shuffle",
"(",
"collections",
"singleton",
"list",
"(",
"array",
")",
",",
"rnd",
",",
"dimension",
")",
";"
] |
[
"symmetric",
"in",
"place",
"shuffle",
"of",
"an",
"ndarray",
"along",
"a",
"specified",
"set",
"of",
"dimensions",
"all",
"arrays"
] | [
"shuffle",
"(",
"new",
"array",
"list",
"<",
"i",
"n",
"d",
"array",
">",
"(",
"source",
"arrays",
")",
",",
"rnd",
",",
"collections",
"singleton",
"list",
"(",
"dimension",
")",
")",
";"
] |
[
"for",
"a",
"given",
"type",
"of",
"input",
"to",
"this",
"layer",
"what",
"is",
"the",
"type",
"of",
"the",
"output",
"?"
] | [
"public",
"abstract",
"input",
"type",
"get",
"output",
"type",
"(",
"int",
"layer",
"index",
",",
"input",
"type",
"input",
"type",
")",
";"
] |
[
"set",
"the",
"n",
"in",
"value",
"(",
"number",
"of",
"inputs",
"or",
"input",
"channels",
"for",
"c",
"n",
"ns",
")",
"based",
"on",
"the",
"given",
"input",
"type"
] | [
"public",
"abstract",
"void",
"set",
"n",
"in",
"(",
"input",
"type",
"input",
"type",
",",
"boolean",
"override",
")",
";"
] |
[
"for",
"the",
"given",
"type",
"of",
"input",
"to",
"this",
"layer",
"what",
"preprocessor",
"(",
"if",
"any",
")",
"is",
"required",
"?",
"<",
"br",
">",
"returns",
"null",
"if",
"no",
"preprocessor",
"is",
"required",
"otherwise",
"returns",
"an",
"app... | [
"public",
"abstract",
"input",
"pre",
"processor",
"get",
"pre",
"processor",
"for",
"input",
"type",
"(",
"input",
"type",
"input",
"type",
")",
";"
] |
[
"get",
"the",
"l1",
"coefficient",
"for",
"the",
"given",
"parameter",
"different",
"parameters",
"may",
"have",
"different",
"l1",
"values",
"even",
"for",
"a",
"single",
"l",
"1",
"(",
"x",
")",
"configuration",
"for",
"example",
"biases",
"generally",
"ar... | [
"public",
"abstract",
"double",
"get",
"l",
"1",
"by",
"param",
"(",
"string",
"param",
"name",
")",
";"
] |
[
"get",
"the",
"l2",
"coefficient",
"for",
"the",
"given",
"parameter",
"different",
"parameters",
"may",
"have",
"different",
"l2",
"values",
"even",
"for",
"a",
"single",
"l",
"2",
"(",
"x",
")",
"configuration",
"for",
"example",
"biases",
"generally",
"ar... | [
"public",
"abstract",
"double",
"get",
"l",
"2",
"by",
"param",
"(",
"string",
"param",
"name",
")",
";"
] |
[
"is",
"the",
"specified",
"parameter",
"a",
"layerwise",
"pretraining",
"only",
"parameter",
"?",
"<",
"br",
">",
"for",
"example",
"visible",
"bias",
"params",
"in",
"an",
"autoencoder",
"(",
"or",
"decoder",
"params",
"in",
"a",
"variational",
"autoencoder",... | [
"public",
"abstract",
"boolean",
"is",
"pretrain",
"param",
"(",
"string",
"param",
"name",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.