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", ";", "cells", "per", "partial", "+", "+", ")", "{", "test", "partial", "results", "and", "batch", "(", "batch", ",", "cells", "per", "partial", ")", ";", "}", "}" ]
[ "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", "other", "hand", "if", "the", "max", "result", "size", "limit", "is", "reached", "before", "the", "caching", "limit", "it", "is", "likely", "that", "partial", "results", "will", "be", "seen" ]
[ "for", "(", "int", "caching", "=", "1", ";", "caching", "<", "=", "num", "rows", ";", "caching", "+", "+", ")", "{", "for", "(", "int", "max", "result", "rows", "=", "0", ";", "max", "result", "rows", "<", "=", "num", "rows", ";", "max", "result", "rows", "+", "+", ")", "{", "test", "partial", "results", "and", "caching", "(", "max", "result", "rows", ",", "caching", ")", ";", "}", "}" ]
[ "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", "=", "0", ";", "qual", "<", "qualifiers", "length", ";", "qual", "+", "+", ")", "{", "out", "list", "add", "(", "new", "key", "value", "(", "row", ",", "families", "[", "fam", "]", ",", "qualifiers", "[", "qual", "]", ",", "qual", ",", "value", ")", ")", ";", "}", "}", "return", "out", "list", ";" ]
[ "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", ";", "}", "scanner", "close", "(", ")", ";", "return", "num", "cells", ";" ]
[ "<", "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", "<", "/", "p", ">" ]
[ "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", "<", "/", "p", ">" ]
[ "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", "program", "field", "(", "program", "class", ",", "program", "field", ")", ";", "}" ]
[ "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", "(", ")", ")", ";", "}", "return", "pctx", ";" ]
[ "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", "0", "(", "context", ")", ";", "if", "(", "data", "=", "=", "null", ")", "context", "data", "(", ")", "remove", "(", "data", "render", "trailing", "limit", "if", "applicable", ")", ";", "else", "context", "data", "(", "data", "render", "trailing", "limit", "if", "applicable", ",", "data", ")", ";" ]
[ "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", "datanodes", ",", "block", "size", ")", ";", "stm", "write", "(", "expected", ")", ";", "stm", "close", "(", ")", ";", "check", "file", "(", "name", ")", ";", "cleanup", "file", "(", "name", ")", ";" ]
[ "/", "*", "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", "datanodes", ",", "block", "size", ")", ";", "int", "i", "=", "0", ";", "for", "(", ";", "i", "<", "file", "size", "-", "bytes", "per", "checksum", ";", "i", "+", "=", "bytes", "per", "checksum", ")", "{", "stm", "write", "(", "expected", ",", "i", ",", "bytes", "per", "checksum", ")", ";", "}", "stm", "write", "(", "expected", ",", "i", ",", "file", "size", "-", "3", "*", "bytes", "per", "checksum", ")", ";", "stm", "close", "(", ")", ";", "check", "file", "(", "name", ")", ";", "cleanup", "file", "(", "name", ")", ";" ]
[ "/", "*", "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", "datanodes", ",", "block", "size", ")", ";", "stm", "write", "(", "expected", ",", "0", ",", "half", "chunk", "size", ")", ";", "stm", "write", "(", "expected", ",", "half", "chunk", "size", ",", "bytes", "per", "checksum", "+", "2", ")", ";", "stm", "write", "(", "expected", ",", "half", "chunk", "size", "+", "bytes", "per", "checksum", "+", "2", ",", "2", ")", ";", "stm", "write", "(", "expected", ",", "half", "chunk", "size", "+", "bytes", "per", "checksum", "+", "4", ",", "half", "chunk", "size", ")", ";", "stm", "write", "(", "expected", ",", "block", "size", "+", "4", ",", "bytes", "per", "checksum", "-", "4", ")", ";", "stm", "write", "(", "expected", ",", "block", "size", "+", "bytes", "per", "checksum", ",", "file", "size", "-", "3", "*", "bytes", "per", "checksum", ")", ";", "stm", "close", "(", ")", ";", "check", "file", "(", "name", ")", ";", "cleanup", "file", "(", "name", ")", ";" ]
[ "{" ]
[ "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", "writable", ")", "{", "int", "writable", "other", "=", "(", "int", "writable", ")", "o", ";", "return", "this", "value", "=", "=", "other", "get", "(", ")", ";", "}", "if", "(", "o", "instanceof", "long", "writable", ")", "{", "long", "writable", "other", "=", "(", "long", "writable", ")", "o", ";", "return", "this", "value", "=", "=", "other", "get", "(", ")", ";", "}", "else", "{", "return", "false", ";", "}" ]
[ "compares", "two", "int", "writables" ]
[ "int", "this", "value", "=", "this", "value", ";", "int", "that", "value", "=", "(", "(", "int", "writable", ")", "o", ")", "value", ";", "return", "(", "this", "value", "<", "that", "value", "?", "-", "1", ":", "(", "this", "value", "=", "=", "that", "value", "?", "0", ":", "1", ")", ")", ";" ]
[ "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", "get", "parameter", "annotations", "(", ")", "length", "=", "=", "0", ")", ")", ";", "return", "this", ";" ]
[ "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", "the", "fragment", "processing", "stage", "access", "the", "same", "texture", "image", "unit", "then", "that", "counts", "as", "using", "two", "texture", "image", "units", "against", "this", "limit" ]
[ "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", "sessionmoved", "int", "value", "(", ")", "=", "=", "rc", "|", "|", "keeper", "exception", "code", "sessionexpired", "int", "value", "(", ")", "=", "=", "rc", ";" ]
[ "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", ",", "null", ",", "null", ",", "null", ")", "to", "string", "(", ")", ";" ]
[ "/", "*", "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", ",", "null", ")", "absolute", "u", "r", "l", "(", "is", "encrypted", "(", ")", ",", "hostname", "(", ")", ")", ";" ]
[ "/", "*", "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", "=", "grm", "lang", "(", ")", ";", "}", "}", "return", "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", "(", ")", ";", "}", "else", "{", "return", "pp", "branch", ";", "}" ]
[ "/", "*", "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", "d", "array", "(", "list", ",", "shape", ")", ";" ]
[ "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", "appropriate", "{", "@", "link", "input", "pre", "processor", "}", "for", "this", "layer", "such", "as", "a", "{", "@", "link", "org", "deeplearning", "4j", "nn", "conf", "preprocessor", "cnn", "to", "feed", "forward", "pre", "processor", "}" ]
[ "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", "aren", "t", "l1", "regularized", "even", "if", "weights", "are" ]
[ "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", "aren", "t", "l1", "regularized", "even", "if", "weights", "are" ]
[ "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", ")", "aren", "t", "used", "during", "supervised", "backprop", "<", "br", ">", "layers", "(", "like", "dense", "layer", "etc", ")", "with", "no", "pretrainable", "parameters", "will", "return", "false", "for", "all", "(", "valid", ")", "inputs" ]
[ "public", "abstract", "boolean", "is", "pretrain", "param", "(", "string", "param", "name", ")", ";" ]