docstring_tokens
sequence
code_tokens
sequence
[ "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", "<", "/", "p", ">" ]
[ "set", "text", "(", "text", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "this", "conf", "=", "configuration", ";", "dl", "conf", "=", "new", "distributed", "log", "configuration", "(", ")", ";", "dl", "uri", "=", "uri", "create", "(", "configuration", "get", "(", "dl", "uri", ",", "\"", "\"", ")", ")", ";", "stream", "name", "=", "configuration", "get", "(", "dl", "stream", ",", "\"", "\"", ")", ";", "try", "{", "namespace", "=", "b", "k", "distributed", "log", "namespace", "new", "builder", "(", ")", "conf", "(", "dl", "conf", ")", "uri", "(", "dl", "uri", ")", "build", "(", ")", ";", "dlm", "=", "namespace", "open", "log", "(", "stream", "name", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "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", "}", ",", "hresult", "class", ")", ";" ]
[ "invoke" ]
[ "return", "(", "hresult", ")", "this", "invoke", "native", "object", "(", "6", ",", "new", "object", "[", "]", "{", "this", "get", "pointer", "(", ")", ",", "disp", "id", "member", ",", "riid", ",", "lcid", ",", "w", "flags", ",", "p", "disp", "params", ",", "p", "var", "result", ",", "p", "excep", "info", ",", "pu", "arg", "err", "}", ",", "hresult", "class", ")", ";" ]
[ "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", "the", "current", "best", "language", "code", "retrievable", "via", "get", "current", "best", "language", "code", "to", "be", "used", "when", "saving", "an", "autofill", "profile" ]
[ "list", "<", "integer", ">", "component", "ids", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "string", ">", "component", "names", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "integer", ">", "component", "required", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "integer", ">", "component", "lengths", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "address", "ui", "component", ">", "ui", "components", "=", "new", "array", "list", "<", ">", "(", ")", ";", "m", "current", "best", "language", "code", "=", "native", "get", "address", "ui", "components", "(", "country", "code", ",", "language", "code", ",", "component", "ids", ",", "component", "names", ",", "component", "required", ",", "component", "lengths", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "component", "ids", "size", "(", ")", ";", "i", "+", "+", ")", "{", "ui", "components", "add", "(", "new", "address", "ui", "component", "(", "component", "ids", "get", "(", "i", ")", ",", "component", "names", "get", "(", "i", ")", ",", "component", "required", "get", "(", "i", ")", "=", "=", "1", ",", "component", "lengths", "get", "(", "i", ")", "=", "=", "1", ")", ")", ";", "}", "return", "ui", "components", ";" ]
[ "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", "+", "+", ")", "{", "if", "(", "sers", "get", "(", "i", ")", "instanceof", "map", ")", "{", "rtn", "put", "all", "(", "(", "map", ")", "sers", "get", "(", "i", ")", ")", ";", "}", "else", "{", "rtn", "put", "(", "sers", "get", "(", "i", ")", ",", "null", ")", ";", "}", "}", "}", "return", "rtn", ";" ]
[ "<", "p", ">", "the", "list", "of", "clients", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "client", "list", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "client", "list", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "client", "list", "=", "=", "null", ")", "{", "set", "client", "list", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "client", "list", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "client", "list", ")", "{", "this", "client", "list", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "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", "diameter", "/", "2", ")", "{", "circle", "view", "animate", "(", ")", "translation", "y", "(", "height", "/", "2", "+", "m", "circle", "diameter", "/", "2", ")", ";", "}" ]
[ "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", ")", "-", ">", "t", "get", "mode", "(", ")", "=", "=", "reference", "mode", "invoke", ",", "future", "return", "value", "ignored", ":", ":", "is", "object", "returning", "method", "reference", "expression", ",", "not", "(", "(", "t", ",", "s", ")", "-", ">", "is", "whitelisted", "interface", "type", "(", "(", "(", "j", "c", "member", "reference", ")", "t", ")", "type", ",", "s", ")", ")", ",", "not", "(", "(", "t", ",", "s", ")", "-", ">", "is", "throwing", "functional", "interface", "(", "s", ",", "(", "(", "j", "c", "member", "reference", ")", "t", ")", "type", ")", ")", ",", "specialized", "matcher", "(", ")", ")", "matches", "(", "tree", ",", "state", ")", ")", "{", "return", "describe", "match", "(", "tree", ")", ";", "}", "}", "return", "description", ";" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", "stream", "write", "(", ")", "(", "with", "frequent", "response", "flush", ")" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", "stream", "write", "(", ")" ]
[ "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", ")", "(", "unwrapped", ")", "http", "output", "write", "(", "byte", "buffer", ")" ]
[ "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", "character", "between", "tokens", "is", "not", "returned" ]
[ "list", "tokens", "=", "new", "linked", "list", "(", ")", ";", "int", "first", "=", "0", ";", "while", "(", "first", "<", "s", "length", "(", ")", ")", "{", "first", "=", "skip", "whitespace", "(", "s", ",", "first", ")", ";", "int", "last", "=", "scan", "token", "(", "s", ",", "first", ")", ";", "if", "(", "first", "<", "last", ")", "{", "tokens", "add", "(", "s", "substring", "(", "first", ",", "last", ")", ")", ";", "}", "first", "=", "last", ";", "}", "return", "(", "string", "[", "]", ")", "tokens", "to", "array", "(", "empty", "string", "array", ")", ";" ]
[ "{" ]
[ "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", "are", "doing", "as", "the", "extension", "data", "will", "not", "be", "round", "-", "tripped", "possibly", "resulting", "in", "a", "corrupted", "wallet", "if", "you", "save", "it", "back", "out", "again" ]
[ "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", "buffer", "size", ")", ";", "wallet", "proto", "write", "to", "(", "coded", "output", ")", ";", "coded", "output", "flush", "(", ")", ";" ]
[ "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", "objects", "note", "that", "if", "loading", "fails", "the", "provided", "wallet", "object", "may", "be", "in", "an", "indeterminate", "state", "and", "should", "be", "thrown", "away", "<", "/", "p", ">" ]
[ "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", "objects", "note", "that", "if", "loading", "fails", "the", "provided", "wallet", "object", "may", "be", "in", "an", "indeterminate", "state", "and", "should", "be", "thrown", "away", "<", "/", "p", ">" ]
[ "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", "(", "coded", "input", ")", ";" ]
[ "{" ]
[ "object", "resp", "=", "rest", "res", "get", "response", "(", ")", ";", "if", "(", "resp", "=", "=", "null", ")", "return", "grid", "redis", "protocol", "parser", "nil", "(", ")", ";", "return", "(", "!", "(", "boolean", ")", "resp", "?", "grid", "redis", "protocol", "parser", "nil", "(", ")", ":", "grid", "redis", "protocol", "parser", "o", "k", "string", "(", ")", ")", ";" ]
[ "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", "(", ")", ";", "if", "(", "rotation", "=", "=", "90", "|", "|", "rotation", "=", "=", "270", ")", "{", "dst", "width", "=", "dest", "height", ";", "dst", "height", "=", "dest", "width", ";", "}", "boolean", "needs", "resize", "=", "false", ";", "float", "p", ";", "if", "(", "(", "src", "width", ">", "dst", "width", ")", "|", "|", "(", "src", "height", ">", "dst", "height", ")", ")", "{", "needs", "resize", "=", "true", ";", "if", "(", "(", "src", "width", ">", "src", "height", ")", "&", "&", "(", "src", "width", ">", "dst", "width", ")", ")", "{", "p", "=", "(", "float", ")", "dst", "width", "/", "(", "float", ")", "src", "width", ";", "dst", "height", "=", "(", "int", ")", "(", "src", "height", "*", "p", ")", ";", "}", "else", "{", "p", "=", "(", "float", ")", "dst", "height", "/", "(", "float", ")", "src", "height", ";", "dst", "width", "=", "(", "int", ")", "(", "src", "width", "*", "p", ")", ";", "}", "}", "else", "{", "dst", "width", "=", "src", "width", ";", "dst", "height", "=", "src", "height", ";", "}", "if", "(", "needs", "resize", "|", "|", "rotation", "!", "=", "0", ")", "{", "bitmap", "output", ";", "if", "(", "rotation", "=", "=", "0", ")", "{", "output", "=", "bitmap", "create", "scaled", "bitmap", "(", "input", ",", "dst", "width", ",", "dst", "height", ",", "true", ")", ";", "}", "else", "{", "matrix", "matrix", "=", "new", "matrix", "(", ")", ";", "matrix", "post", "scale", "(", "(", "float", ")", "dst", "width", "/", "src", "width", ",", "(", "float", ")", "dst", "height", "/", "src", "height", ")", ";", "matrix", "post", "rotate", "(", "rotation", ")", ";", "output", "=", "bitmap", "create", "bitmap", "(", "input", ",", "0", ",", "0", ",", "src", "width", ",", "src", "height", ",", "matrix", ",", "true", ")", ";", "}", "return", "output", ";", "}", "else", "return", "input", ";" ]
[ "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", "(", ")", ")", "{", "visibility", "label", "builder", "vis", "lab", "builder", "=", "visibility", "label", "new", "builder", "(", ")", ";", "vis", "lab", "builder", "set", "label", "(", "byte", "string", "copy", "from", "(", "bytes", "to", "bytes", "(", "entry", "get", "key", "(", ")", ")", ")", ")", ";", "vis", "lab", "builder", "set", "ordinal", "(", "entry", "get", "value", "(", ")", ")", ";", "vis", "req", "builder", "add", "vis", "label", "(", "vis", "lab", "builder", "build", "(", ")", ")", ";", "}", "return", "protobuf", "util", "prepend", "p", "b", "magic", "(", "vis", "req", "builder", "build", "(", ")", "to", "byte", "array", "(", ")", ")", ";" ]
[ "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", "(", ")", ")", "{", "user", "authorizations", "builder", "user", "auths", "builder", "=", "user", "authorizations", "new", "builder", "(", ")", ";", "user", "auths", "builder", "set", "user", "(", "byte", "string", "copy", "from", "(", "bytes", "to", "bytes", "(", "entry", "get", "key", "(", ")", ")", ")", ")", ";", "for", "(", "integer", "label", ":", "entry", "get", "value", "(", ")", ")", "{", "user", "auths", "builder", "add", "auth", "(", "label", ")", ";", "}", "builder", "add", "user", "auths", "(", "user", "auths", "builder", "build", "(", ")", ")", ";", "}", "return", "protobuf", "util", "prepend", "p", "b", "magic", "(", "builder", "build", "(", ")", "to", "byte", "array", "(", ")", ")", ";" ]
[ "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", "builder", "=", "visibility", "labels", "request", "new", "builder", "(", ")", ";", "protobuf", "util", "merge", "from", "(", "builder", ",", "data", ",", "pblen", ",", "data", "length", "-", "pblen", ")", ";", "return", "builder", "get", "vis", "label", "list", "(", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "throw", "new", "deserialization", "exception", "(", "e", ")", ";", "}", "}", "return", "null", ";" ]
[ "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", "builder", "=", "multi", "user", "authorizations", "new", "builder", "(", ")", ";", "protobuf", "util", "merge", "from", "(", "builder", ",", "data", ",", "pblen", ",", "data", "length", "-", "pblen", ")", ";", "return", "builder", "build", "(", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "throw", "new", "deserialization", "exception", "(", "e", ")", ";", "}", "}", "return", "null", ";" ]
[ "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", "tag", "=", "tags", "iterator", "next", "(", ")", ";", "if", "(", "tag", "get", "type", "(", ")", "=", "=", "tag", "type", "visibility", "exp", "serialization", "format", "tag", "type", ")", "{", "serialization", "format", "=", "tag", "get", "value", "as", "byte", "(", "tag", ")", ";", "}", "else", "if", "(", "tag", "get", "type", "(", ")", "=", "=", "visibility", "tag", "type", ")", "{", "tags", "add", "(", "tag", ")", ";", "}", "}", "return", "serialization", "format", ";" ]
[ "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", ")", ";", "result", "endpoint", "2", "set", "expected", "message", "count", "(", "1", ")", ";", "template", "async", "send", "body", "(", "multiple", "consumers", "endpoint", "uri", ",", "value", ")", ";", "result", "endpoint", "1", "await", "(", "5", ",", "time", "unit", "seconds", ")", ";", "result", "endpoint", "1", "assert", "is", "satisfied", "(", "1", ")", ";", "result", "endpoint", "2", "await", "(", "5", ",", "time", "unit", "seconds", ")", ";", "result", "endpoint", "2", "assert", "is", "satisfied", "(", "1", ")", ";" ]
[ "}" ]
[ "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", "get", "path", "(", ")", ",", "(", "m", "output", "uri", "=", "=", "null", ")", "?", "null", ":", "m", "output", "uri", "get", "path", "(", ")", ")", ";", "}", "else", "{", "m", "bitmap", "load", "callback", "on", "failure", "(", "result", "m", "bitmap", "worker", "exception", ")", ";", "}" ]
[ "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", "get", "step", "name", "(", ")", "length", ";", "i", "+", "+", ")", "{", "table", "item", "ti", "=", "new", "table", "item", "(", "table", ",", "swt", "none", ")", ";", "ti", "set", "text", "(", "0", ",", "\"", "\"", "+", "(", "i", "+", "1", ")", ")", ";", "if", "(", "input", "get", "step", "name", "(", ")", "[", "i", "]", "!", "=", "null", ")", "{", "ti", "set", "text", "(", "1", ",", "input", "get", "step", "name", "(", ")", "[", "i", "]", ")", ";", "ti", "set", "text", "(", "2", ",", "string", "value", "of", "(", "const", "to", "int", "(", "input", "get", "step", "copy", "nr", "(", ")", "[", "i", "]", ",", "0", ")", ")", ")", ";", "ti", "set", "text", "(", "3", ",", "input", "get", "required", "steps", "desc", "(", "input", "get", "step", "required", "(", ")", "[", "i", "]", ")", ")", ";", "}", "}", "w", "fields", "remove", "empty", "rows", "(", ")", ";", "w", "fields", "set", "row", "nums", "(", ")", ";", "w", "fields", "opt", "width", "(", "true", ")", ";", "if", "(", "input", "get", "step", "name", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "stepname", "field", "set", "text", "(", "input", "get", "step", "name", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "id", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "stepid", "field", "set", "text", "(", "input", "get", "step", "id", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "input", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "linesinput", "field", "set", "text", "(", "input", "get", "step", "lines", "input", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "output", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "linesoutput", "field", "set", "text", "(", "input", "get", "step", "lines", "output", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "read", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "linesread", "field", "set", "text", "(", "input", "get", "step", "lines", "read", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "written", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "lineswritten", "field", "set", "text", "(", "input", "get", "step", "lines", "written", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "updated", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "linesupdated", "field", "set", "text", "(", "input", "get", "step", "lines", "updated", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "lines", "errors", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "lineserrors", "field", "set", "text", "(", "input", "get", "step", "lines", "errors", "field", "name", "(", ")", ")", ";", "}", "if", "(", "input", "get", "step", "seconds", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "seconds", "field", "set", "text", "(", "input", "get", "step", "seconds", "field", "name", "(", ")", ")", ";", "}", "w", "stepname", "select", "all", "(", ")", ";", "w", "stepname", "set", "focus", "(", ")", ";" ]
[ "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", ";" ]