docstring_tokens
list
code_tokens
list
[ "flushes", "and", "refreshes", "all", "indices", "in", "the", "cluster" ]
[ "protected", "final", "void", "flush", "and", "refresh", "(", "string", "indices", ")", "{", "flush", "(", "indices", ")", ";", "refresh", "(", "indices", ")", ";", "}" ]
[ "block", "iterator", "iterates", "over", "all", "blocks", "belonging", "to", "datanode", "descriptor", "through", "multiple", "storages", "the", "test", "verifies", "that", "block", "iterator", "can", "be", "set", "to", "start", "iterating", "from", "a", "partic...
[ "void", "test", "block", "iterator", "(", "mini", "d", "f", "s", "cluster", "cluster", ")", "{", "f", "s", "namesystem", "ns", "=", "cluster", "get", "namesystem", "(", ")", ";", "string", "d", "id", "=", "cluster", "get", "data", "nodes", "(", ")", ...
[ "returns", "the", "current", "status", "string" ]
[ "public", "string", "get", "status", "(", ")", "{", "return", "status", ";", "}" ]
[ "return", "the", "name", "of", "the", "bound", "object" ]
[ "public", "string", "get", "object", "name", "(", ")", "{", "return", "this", "object", "name", ";", "}" ]
[ "like", "{", "@", "link", "#", "cross", "check", "vertical", "(", "int", ",", "int", ",", "int", ",", "int", ")", "}", ",", "and", "in", "fact", "is", "basically", "identical", ",", "except", "it", "reads", "horizontally", "instead", "of", "vertically"...
[ "private", "float", "cross", "check", "horizontal", "(", "int", "start", "j", ",", "int", "center", "i", ",", "int", "max", "count", ",", "int", "original", "state", "count", "total", ")", "{", "bit", "matrix", "image", "=", "this", "image", ";", "int"...
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", "...
[ "updates", "a", "pet", "in", "the", "store", "with", "form", "data" ]
[ "public", "void", "update", "pet", "with", "form", "(", "long", "pet", "id", ",", "string", "name", ",", "string", "status", ")", "throws", "api", "exception", "{", "update", "pet", "with", "form", "with", "http", "info", "(", "pet", "id", ",", "name",...
[ "find", "the", "fields", "constant", "that", "matches", "field", "id", ",", "or", "null", "if", "its", "not", "found" ]
[ "public", "static", "fields", "find", "by", "thrift", "id", "(", "int", "field", "id", ")", "{", "switch", "(", "field", "id", ")", "{", "case", "0", ":", "/", "/", "success", "return", "success", ";", "default", ":", "return", "null", ";", "}", "}...
[ "builds", "the", "list", "cell", "renderer", "for", "the", "autocompletion", "list", "a", "programmer", "may", "override", "this", "if", "the", "various", "{", "@", "code", "get", "completion", "}", "methods", "prove", "insufficient", "for", "customizing", "th...
[ "protected", "list", "cell", "renderer", "<", "?", "super", "t", ">", "build", "list", "cell", "renderer", "(", ")", "{", "return", "new", "autocompletion", "cell", "renderer", "<", ">", "(", "this", ")", ";", "}" ]
[ "returns", "a", "string", "representation", "of", "x", ",", "where", "x", "is", "treated", "as", "unsigned" ]
[ "public", "static", "string", "to", "string", "(", "long", "x", ")", "{", "return", "to", "string", "(", "x", ",", "10", ")", ";", "}" ]
[ "returns", "an", "integer", "array", "of", "all", "the", "different", "angles", "the", "chart", "slices", "have", "the", "angles", "in", "the", "returned", "array", "determine", "how", "much", "space", "(", "of", "360", "°", ")", "each", "slice", "takes" ]
[ "public", "float", "[", "]", "get", "draw", "angles", "(", ")", "{", "return", "m", "draw", "angles", ";", "}" ]
[ "determine", "the", "create", "method", "of", "the", "given", "ejb", "home", "object" ]
[ "protected", "method", "get", "create", "method", "(", "object", "home", ")", "throws", "ejb", "access", "exception", "{", "try", "{", "/", "/", "cache", "the", "ejb", "create", "(", ")", "method", "that", "must", "be", "declared", "on", "the", "home", ...
[ "round", "a", "long", "value", "up", "to", "a", "multiple", "of", "a", "factor" ]
[ "public", "static", "long", "round", "up", "to", "multiple", "(", "long", "val", ",", "int", "factor", ")", "{", "assert", "(", "factor", ">", "1", ")", ";", "long", "c", "=", "(", "val", "+", "factor", "-", "1", ")", "/", "factor", ";", "return"...
[ "disposes", "of", "any", "system", "resources", "or", "security", "-", "sensitive", "information", "sasl", "might", "be", "using", "@", "exception", "sasl", "exception", "if", "a", "sasl", "error", "occurs" ]
[ "private", "void", "dispose", "sasl", "(", ")", "throws", "sasl", "exception", "{", "if", "(", "sasl", "client", "!", "=", "null", ")", "{", "sasl", "client", "dispose", "(", ")", ";", "}", "if", "(", "sasl", "server", "!", "=", "null", ")", "{", ...
[ "test", "the", "property", "'", "prefix", "ns", "boolean", "'" ]
[ "public", "void", "prefix", "ns", "boolean", "test", "(", ")", "{", "/", "/", "todo", ":", "test", "prefix", "ns", "boolean", "}" ]
[ "infer", "the", "type", "parameterization", "'", "p", "'" ]
[ "private", "class", "<", "p", ">", "get", "p", "(", ")", "{", "return", "functions", "get", "type", "parameter", "(", "get", "class", "(", ")", ",", "descriptor", "class", ",", "0", ")", ";", "}" ]
[ "reads", "a", "bitset", "from", "the", "stream", "that", "has", "been", "written", "with", "{", "@", "link", "#", "write", "bit", "set", "(", "data", "output", ",", "int", ",", "bit", "set", ")", "}" ]
[ "private", "static", "final", "void", "read", "bit", "set", "(", "data", "input", "stream", ",", "int", "nbits", ",", "bit", "set", "bit", "set", ")", "throws", "i", "o", "exception", "{", "bit", "set", "clear", "(", ")", ";", "long", "initial", "bit...
[ "is", "the", "joint", "motor", "enabled", "?" ]
[ "public", "boolean", "is", "motor", "enabled", "(", ")", "{", "return", "m", "enable", "motor", ";", "}" ]
[ "updates", "a", "pet", "in", "the", "store", "with", "form", "data" ]
[ "public", "api", "response", "<", "void", ">", "update", "pet", "with", "form", "with", "http", "info", "(", "long", "pet", "id", ",", "string", "name", ",", "string", "status", ")", "throws", "api", "exception", "{", "http", "request", "builder", "local...
[ "adds", "a", "row", "to", "the", "model" ]
[ "public", "void", "add", "row", "(", "string", "row", ",", "int", "index", ",", "boolean", "notify", ")", "{", "string", "date", "=", "get", "date", "(", "row", ")", ";", "dates", "add", "(", "index", ",", "date", ")", ";", "row", "=", "row", "re...
[ "remove", "the", "entity", "from", "cache" ]
[ "public", "void", "remove", "(", "string", "path", ")", "{", "write", "lock", "lock", "(", ")", ";", "try", "{", "this", "cache", "remove", "(", "path", ")", ";", "}", "finally", "{", "write", "lock", "unlock", "(", ")", ";", "}", "}" ]
[ "the", "shard", "is", "in", "started", "mode" ]
[ "public", "boolean", "started", "(", ")", "{", "return", "state", "=", "=", "shard", "routing", "state", "started", ";", "}" ]
[ "enables", "disables", "both", "vertical", "and", "horizontal", "highlight", "-", "indicators" ]
[ "public", "void", "set", "draw", "highlight", "indicators", "(", "boolean", "enabled", ")", "{", "set", "draw", "vertical", "highlight", "indicator", "(", "enabled", ")", ";", "set", "draw", "horizontal", "highlight", "indicator", "(", "enabled", ")", ";", "...
[ "calls", "{", "@", "link", "channel", "handler", "context", "#", "fire", "exception", "caught", "(", "throwable", ")", "}", "to", "forward", "to", "the", "next", "{", "@", "link", "channel", "handler", "}", "in", "the", "{", "@", "link", "channel", "pi...
[ "public", "void", "exception", "caught", "(", "channel", "handler", "context", "ctx", ",", "throwable", "cause", ")", "throws", "exception", "{", "ctx", "fire", "exception", "caught", "(", "cause", ")", ";", "}" ]
[ "instantiate", "mock", "client", "with", "the", "results", "and", "errors", "requested" ]
[ "public", "static", "amazon", "s", "3", "new", "mock", "s", "3", "client", "(", "final", "client", "results", "results", ",", "final", "client", "errors", "errors", ")", "{", "amazon", "s", "3", "client", "mock", "client", "=", "mock", "(", "amazon", "...
[ "test", "that", "that", "writes", "to", "an", "incomplete", "block", "are", "available", "to", "a", "reader" ]
[ "public", "void", "test", "unfinished", "block", "read", "(", ")", "throws", "i", "o", "exception", "{", "/", "/", "create", "a", "new", "file", "in", "the", "root", ",", "write", "data", ",", "do", "no", "close", "path", "file", "1", "=", "new", "...
[ "unions", "two", "{", "@", "link", "table", "}", "s", "similar", "to", "a", "sql", "union", "all", "the", "fields", "of", "the", "two", "union", "operations", "must", "fully", "overlap", "note", ":", "both", "tables", "must", "be", "bound", "to", "the"...
[ "table", "union", "all", "(", "table", "right", ")", ";" ]
[ "create", "the", "configuration", "to", "use", "when", "creating", "a", "test", "account", "subclasses", "can", "override", "this", "to", "tune", "the", "test", "account", "configuration" ]
[ "public", "configuration", "create", "configuration", "(", ")", "{", "return", "azure", "blob", "storage", "test", "account", "create", "test", "configuration", "(", ")", ";", "}" ]
[ "extracts", "the", "-", "xmx", "heap", "option", "from", "the", "specified", "string" ]
[ "public", "static", "void", "extract", "max", "heap", "opts", "(", "final", "string", "java", "options", ",", "list", "<", "string", ">", "heap", "opts", ",", "list", "<", "string", ">", "others", ")", "{", "for", "(", "string", "opt", ":", "java", "...
[ "get", "the", "default", "tools", "from", "the", "default", "tools", "location" ]
[ "private", "void", "add", "default", "tools", "(", ")", "{", "import", "ghidra", "tools", "dialog", "dialog", "=", "new", "import", "ghidra", "tools", "dialog", "(", "tool", ")", ";", "dialog", "show", "dialog", "(", ")", ";", "if", "(", "dialog", "is"...
[ "binds", "this", "vertex", "buffer", "object", "for", "rendering", "via", "gl", "draw", "arrays", "or", "gl", "draw", "elements" ]
[ "public", "void", "bind", "(", "final", "shader", "program", "shader", ")", "{", "bind", "(", "shader", ",", "null", ")", ";", "}" ]
[ "check", "for", "a", "previously", "{", "@", "link", "url", "path", "helper", "#", "resolve", "and", "cache", "lookup", "path", "resolved", "}", "string", "lookup", "path", "or", "a", "previously", "{", "@", "link", "#", "parse", "and", "cache", "parsed"...
[ "public", "static", "boolean", "has", "cached", "path", "(", "servlet", "request", "request", ")", "{", "return", "(", "request", "get", "attribute", "(", "path", "attribute", ")", "!", "=", "null", "|", "|", "request", "get", "attribute", "(", "url", "p...
[ "convert", "a", "json", "map", "to", "a", "token", "of", "block", "token", "identifier" ]
[ "static", "token", "<", "block", "token", "identifier", ">", "to", "block", "token", "(", "final", "map", "<", "?", ",", "?", ">", "m", ")", "throws", "i", "o", "exception", "{", "return", "(", "token", "<", "block", "token", "identifier", ">", ")", ...
[ "gets", "the", "list", "of", "all", "case", "values" ]
[ "public", "int", "list", "get", "values", "(", ")", "{", "return", "values", ";", "}" ]
[ "returns", "the", "equates", "defined", "at", "the", "operand", "index", "of", "the", "instruction" ]
[ "public", "final", "list", "<", "equate", ">", "get", "equates", "(", "instruction", "instruction", ",", "int", "operand", "index", ")", "{", "return", "current", "program", "get", "equate", "table", "(", ")", "get", "equates", "(", "instruction", "get", "...
[ "implementations", "must", "implement", "this", "method", "to", "map", "each", "row", "of", "data", "in", "the", "result", "set", "this", "method", "should", "not", "call", "{", "@", "code", "next", "(", ")", "}", "on", "the", "result", "set", ";", "it...
[ "t", "map", "row", "(", "result", "set", "rs", ",", "int", "row", "num", ")", "throws", "s", "q", "l", "exception", ";" ]
[ "set", "new", "base", "offset", "relative", "to", "the", "associated", "mem", "buffer", "'", "s", "address" ]
[ "private", "void", "set", "base", "offset", "(", "int", "offset", ")", "throws", "address", "out", "of", "bounds", "exception", "{", "this", "address", "=", "mem", "buffer", "get", "address", "(", ")", "add", "(", "offset", ")", ";", "this", "base", "o...
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", "...
[ "check", "that", "a", "licensed", "plugin", "can", "be", "installed", "when", "the", "distribution", "type", "is", "default" ]
[ "public", "void", "test", "install", "plugin", "command", "on", "default", "(", ")", "throws", "exception", "{", "mock", "terminal", "terminal", "=", "new", "mock", "terminal", "(", ")", ";", "plugin", "info", "plugin", "info", "=", "build", "info", "(", ...
[ "uses", "a", "hash", "-", "based", "{", "@", "code", "set", "}", "to", "store", "value", "collections" ]
[ "public", "set", "multimap", "builder", "<", "k0", ",", "object", ">", "hash", "set", "values", "(", ")", "{", "return", "hash", "set", "values", "(", "default", "expected", "values", "per", "key", ")", ";", "}" ]
[ "creates", "an", "instance", "using", "provided", "certificate", "chain", "and", "private", "key", "generally", "they", "should", "be", "pem", "-", "encoded", "and", "the", "key", "is", "an", "unencrypted", "pkcs", "#", "8", "key", "(", "file", "headers", ...
[ "public", "builder", "key", "manager", "(", "input", "stream", "cert", "chain", ",", "input", "stream", "private", "key", ")", "throws", "i", "o", "exception", "{", "return", "key", "manager", "(", "cert", "chain", ",", "private", "key", ",", "null", ")"...
[ "get", "pet", "id" ]
[ "public", "long", "get", "pet", "id", "(", ")", "{", "return", "pet", "id", ";", "}" ]
[ "throw", "{", "@", "link", "illegal", "state", "exception", "}", "if", "the", "{", "@", "link", "physical", "transformation", "}", "'", "s", "uid", "or", "hash", "is", "not", "set", "when", "auto", "generate", "uid", "is", "disabled" ]
[ "public", "static", "void", "validate", "transformation", "uid", "(", "stream", "graph", "stream", "graph", ",", "transformation", "<", "?", ">", "transformation", ")", "{", "if", "(", "!", "stream", "graph", "get", "execution", "config", "(", ")", "has", ...
[ "tests", "that", "an", "already", "registered", "allocation", "id", "can", "be", "reused", "after", "the", "initial", "slot", "request", "has", "been", "freed" ]
[ "public", "void", "test", "accepting", "duplicate", "slot", "request", "after", "allocation", "release", "(", ")", "throws", "exception", "{", "final", "resource", "manager", "id", "resource", "manager", "id", "=", "resource", "manager", "id", "generate", "(", ...
[ "throws", "if", "rewinding", "is", "enabled", "and", "lost", "inputs", "have", "been", "detected" ]
[ "void", "check", "for", "lost", "inputs", "(", ")", "throws", "lost", "inputs", "exec", "exception", ";" ]
[ "test", "verifies", "watcher", "type", "any", "-", "removes", "only", "the", "configured", "data", "watcher", "function" ]
[ "public", "void", "test", "remove", "any", "data", "watcher", "(", "boolean", "use", "async", ")", "throws", "exception", "{", "zk", "1", "create", "(", "\"", "/", "node", "1", "\"", ",", "null", ",", "ids", "open", "acl", "unsafe", ",", "create", "m...
[ "sets", "a", "static", "lookup", "table", "that", "maps", "from", "old", "deprecated", "(", "language", ",", "encoding", ")", "index", "values", "to", "a", "charset", "name", "the", "old", "index", "values", "were", "used", "by", "old", "-", "style", "mb...
[ "public", "static", "void", "set", "static", "encoding", "mapping", "values", "(", "map", "<", "long", ",", "list", "<", "string", ">", ">", "mapping", "values", ")", "{", "language", "to", "charset", "index", "map", "clear", "(", ")", ";", "language", ...
[ "xid", "and", "branch", "id", "provider", "object", "[", "]", "[", "]" ]
[ "static", "stream", "<", "arguments", ">", "xid", "and", "branch", "id", "provider", "(", ")", "throws", "exception", "{", "string", "xid", "=", "core", "begin", "(", "application", "id", ",", "tx", "service", "group", ",", "tx", "name", ",", "timeout", ...
[ "creates", "get", "api", "key", "request", "for", "given", "api", "key", "id" ]
[ "public", "static", "get", "api", "key", "request", "using", "api", "key", "id", "(", "string", "api", "key", "id", ",", "boolean", "owned", "by", "authenticated", "user", ")", "{", "return", "new", "get", "api", "key", "request", "(", "null", ",", "nu...
[ "checks", "whether", "the", "cosmosdb", "conf", "are", "set", "properly", "in", "yarn", "-", "site", "xml", "conf" ]
[ "public", "static", "void", "validate", "cosmos", "d", "b", "conf", "(", "configuration", "conf", ")", "throws", "yarn", "exception", "{", "if", "(", "conf", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", "\"", "configur...
[ "get", "prefix", "ns", "number" ]
[ "public", "big", "decimal", "get", "prefix", "ns", "number", "(", ")", "{", "return", "prefix", "ns", "number", ";", "}" ]
[ "returns", "any", "stored", "request", "using", "{", "@", "link", "android", "view", "view", "#", "get", "tag", "(", ")", "}" ]
[ "public", "final", "request", "get", "request", "(", ")", "{", "object", "tag", "=", "get", "tag", "(", ")", ";", "if", "(", "tag", "!", "=", "null", ")", "{", "if", "(", "tag", "instanceof", "request", ")", "{", "return", "(", "request", ")", "t...
[ "{", "@", "inherit", "doc", "}" ]
[ "public", "boolean", "equals", "(", "object", "other", ")", "{", "if", "(", "!", "(", "other", "instanceof", "annotations", ")", ")", "{", "return", "false", ";", "}", "annotations", "other", "annotations", "=", "(", "annotations", ")", "other", ";", "re...
[ "begin", "statistics", "collection" ]
[ "default", "connector", "table", "handle", "begin", "statistics", "collection", "(", "connector", "session", "session", ",", "connector", "table", "handle", "table", "handle", ")", "{", "throw", "new", "presto", "exception", "(", "generic", "internal", "error", ...
[ "get", "the", "effective", "permission", "for", "the", "acl", "entry", "<", "br", ">", "recommended", "to", "use", "this", "api", "only", "if", "client", "communicates", "with", "the", "old", "name", "node", ",", "needs", "to", "pass", "the", "permission",...
[ "public", "fs", "action", "get", "effective", "permission", "(", "acl", "entry", "entry", ",", "fs", "permission", "perm", "arg", ")", "throws", "illegal", "argument", "exception", "{", "/", "/", "at", "least", "one", "permission", "bits", "should", "be", ...
[ "finds", "the", "repository", "instance", "for", "a", "given", "class", "it", "is", "important", "that", "all", "test", "cases", "in", "a", "class", "share", "the", "same", "repository", "instance", "this", "ensures", "that", ",", "if", "two", "or", "more"...
[ "public", "static", "synchronized", "diff", "repository", "lookup", "(", "class", "clazz", ",", "diff", "repository", "base", "repository", ",", "filter", "filter", ")", "{", "diff", "repository", "diff", "repository", "=", "map", "class", "to", "repository", ...
[ "whether", "user", "credentials", "are", "supported", "by", "default", "this", "is", "not", "set", "(", "i", "e", "user", "credentials", "are", "not", "supported", ")" ]
[ "public", "void", "set", "allow", "credentials", "(", "@", "nullable", "boolean", "allow", "credentials", ")", "{", "this", "allow", "credentials", "=", "allow", "credentials", ";", "}" ]
[ "find", "the", "meta", "annotations", "from", "the", "the", "the", "annotated", "element", "by", "meta", "annotation", "type" ]
[ "static", "<", "a", "extends", "annotation", ">", "list", "<", "a", ">", "find", "meta", "annotations", "(", "annotated", "element", "annotated", "element", ",", "class", "<", "a", ">", "meta", "annotation", "type", ")", "{", "list", "<", "a", ">", "me...
[ "applies", "a", "transformation", "on", "the", "current", "edge", "value", "and", "the", "value", "of", "the", "matched", "tuple", "of", "the", "input", "data", "set" ]
[ "ev", "edge", "join", "(", "ev", "edge", "value", ",", "t", "input", "value", ")", "throws", "exception", ";" ]
[ "return", "the", "j", "s", "o", "n", "array", "in", "cache" ]
[ "public", "j", "s", "o", "n", "array", "get", "j", "s", "o", "n", "array", "(", "@", "non", "null", "final", "string", "key", ")", "{", "return", "get", "j", "s", "o", "n", "array", "(", "key", ",", "null", ")", ";", "}" ]
[ "tests", "the", "following", "sequence", "of", "steps", ":", "1", "start", "snapshot", "of", "two", "shards", "(", "both", "located", "on", "separate", "data", "nodes", ")", "2", "have", "one", "of", "the", "shards", "snapshot", "completely", "and", "the",...
[ "public", "void", "test", "correct", "counts", "for", "done", "shards", "(", ")", "throws", "exception", "{", "final", "string", "index", "one", "=", "\"", "index", "-", "1", "\"", ";", "final", "string", "index", "two", "=", "\"", "index", "-", "2", ...
[ "child", "class", "implements", "this", "method", "to", "realize", "{", "@", "code", "array", "(", ")", "}" ]
[ "abstract", "double", "[", "]", "protected", "array", "(", ")", ";" ]
[ "the", "version", "of", "the", "response", "data", "<", "code", ">", "string", "version", "info", "=", "1", ";", "<", "code", ">" ]
[ "public", "com", "google", "protobuf", "byte", "string", "get", "version", "info", "bytes", "(", ")", "{", "java", "lang", "object", "ref", "=", "version", "info", ";", "if", "(", "ref", "instanceof", "java", "lang", "string", ")", "{", "com", "google", ...
[ "like", "{", "{", "@", "link", "#", "get", "revision", "id", "(", "object", "metadata", ",", "string", ")", "}", "}", ",", "but", "retrieves", "the", "revision", "identifier", "from", "{", "@", "link", "s", "3", "object", "attributes", "}" ]
[ "public", "abstract", "string", "get", "revision", "id", "(", "s", "3", "object", "attributes", "s", "3", "attributes", ")", ";" ]
[ "multiplies", "two", "long", "values", "and", "caps", "the", "product", "at", "{", "@", "link", "long", "#", "max", "value", "}" ]
[ "public", "static", "long", "multiply", "cap", "(", "long", "a", ",", "long", "b", ")", "{", "long", "u", "=", "a", "*", "b", ";", "if", "(", "(", "(", "a", "|", "b", ")", ">", ">", ">", "31", ")", "!", "=", "0", ")", "{", "if", "(", "u...
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", "...
[ "checks", "for", "any", "nodes", "which", "are", "in", "maintenance", "and", "if", "maintenance", "has", "expired", ",", "the", "node", "will", "be", "moved", "back", "to", "in", "service", "(", "or", "dead", ")", "as", "required" ]
[ "private", "void", "process", "maintenance", "nodes", "(", ")", "{", "/", "/", "check", "for", "any", "maintenance", "state", "nodes", "which", "need", "to", "be", "expired", "namesystem", "write", "lock", "(", ")", ";", "try", "{", "for", "(", "datanode...
[ "truncate", "the", "file", "in", "the", "indicated", "path", "to", "the", "indicated", "size", "fails", "if", "path", "is", "a", "directory", "fails", "if", "path", "does", "not", "exist", "fails", "if", "path", "is", "not", "closed", "fails", "if", "new...
[ "public", "boolean", "truncate", "(", "path", "f", ",", "long", "new", "length", ")", "throws", "i", "o", "exception", "{", "throw", "new", "unsupported", "operation", "exception", "(", "\"", "not", "implemented", "by", "the", "\"", "+", "get", "class", ...
[ "returns", "the", "contents", "of", "an", "object", "as", "an", "unparsed", "bytes", "reference", "this", "is", "useful", "for", "things", "like", "mappings", "where", "we", "'", "re", "copying", "bytes", "around", "but", "don", "'", "t", "actually", "need...
[ "public", "static", "bytes", "reference", "child", "bytes", "(", "x", "content", "parser", "parser", ")", "throws", "i", "o", "exception", "{", "if", "(", "parser", "current", "token", "(", ")", "!", "=", "x", "content", "parser", "token", "start", "obje...
[ "gets", "the", "version", "of", "the", "dyld", "slide", "info" ]
[ "public", "int", "get", "version", "(", ")", "{", "return", "version", ";", "}" ]
[ "right", "outer", "join" ]
[ "public", "t", "right", "outer", "join", "(", "string", "joins", ")", "{", "sql", "(", ")", "right", "outer", "join", "add", "all", "(", "arrays", "as", "list", "(", "joins", ")", ")", ";", "return", "get", "self", "(", ")", ";", "}" ]
[ "sets", "the", "writer", "where", "json", "output", "will", "be", "written", "this", "is", "only", "necessary", "when", "not", "using", "the", "to", "json", "methods" ]
[ "public", "void", "set", "writer", "(", "writer", "writer", ")", "{", "if", "(", "!", "(", "writer", "instanceof", "json", "writer", ")", ")", "writer", "=", "new", "json", "writer", "(", "writer", ")", ";", "this", "writer", "=", "(", "json", "write...
[ "get", "pet", "id" ]
[ "public", "long", "get", "pet", "id", "(", ")", "{", "return", "pet", "id", ";", "}" ]
[ "returns", "the", "first", "record", "in", "the", "specified", "{", "@", "code", "section", "}", "of", "this", "dns", "message", "when", "the", "specified", "{", "@", "code", "section", "}", "is", "{", "@", "link", "dns", "section", "#", "question", "}...
[ "<", "t", "extends", "dns", "record", ">", "t", "record", "at", "(", "dns", "section", "section", ")", ";" ]
[ "finds", "pets", "by", "tags", "multiple", "tags", "can", "be", "provided", "with", "comma", "separated", "strings", "use", "tag", "1", ",", "tag", "2", ",", "tag", "3", "for", "testing" ]
[ "public", "void", "find", "pets", "by", "tags", "test", "(", ")", "throws", "api", "exception", "{", "/", "/", "list", "<", "string", ">", "tags", "=", "null", ";", "/", "/", "list", "<", "pet", ">", "response", "=", "api", "find", "pets", "by", ...
[ "get", "the", "comments", "for", "this", "history", "object" ]
[ "public", "string", "get", "comments", "(", ")", "{", "return", "comments", ";", "}" ]
[ "the", "emitter", "for", "a", "transactional", "spout", "runs", "as", "many", "tasks", "across", "the", "cluster", "emitters", "are", "responsible", "for", "emitting", "batches", "of", "tuples", "for", "a", "transaction", "and", "must", "ensure", "that", "the"...
[ "emitter", "<", "t", ">", "get", "emitter", "(", "map", "conf", ",", "topology", "context", "context", ")", ";" ]
[ "tests", "that", "the", "unregister", "cause", "is", "being", "forwarded", "when", "failing", "allocations" ]
[ "public", "void", "unregister", "task", "manager", "with", "allocated", "slot", "fails", "allocations", "with", "cause", "(", ")", "throws", "exception", "{", "completable", "future", "<", "exception", ">", "allocation", "failure", "cause", "=", "new", "completa...
[ "parses", "an", "annotation", "value" ]
[ "private", "constant", "parse", "value", "(", ")", "throws", "i", "o", "exception", "{", "int", "tag", "=", "input", "read", "unsigned", "byte", "(", ")", ";", "if", "(", "observer", "!", "=", "null", ")", "{", "cst", "string", "human", "tag", "=", ...
[ "model", "tests", "for", "outer", "enum" ]
[ "public", "void", "test", "outer", "enum", "(", ")", "{", "/", "/", "todo", ":", "test", "outer", "enum", "}" ]
[ "specify", "the", "{", "@", "link", "document", "loader", "}", "to", "use", "the", "default", "implementation", "is", "{", "@", "link", "default", "document", "loader", "}", "which", "loads", "{", "@", "link", "document", "}", "instances", "using", "jaxp" ...
[ "public", "void", "set", "document", "loader", "(", "@", "nullable", "document", "loader", "document", "loader", ")", "{", "this", "document", "loader", "=", "(", "document", "loader", "!", "=", "null", "?", "document", "loader", ":", "new", "default", "do...
[ "returns", "a", "string", "representing", "all", "items", "selected", "in", "the", "pulldown", "if", "multiple", "items", "are", "selected", ",", "they", "will", "be", "comma", "-", "delimited" ]
[ "private", "string", "get", "selection", "text", "(", ")", "{", "list", "<", "string", ">", "values", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "t", "t", ":", "selected", "values", ")", "{", "values", "add", "(", "data", "...
[ "gets", "the", "private", "dependencies", "of", "the", "bundle" ]
[ "private", "map", "<", "string", ",", "set", "<", "string", ">", ">", "get", "bundle", "provided", "map", "(", "configuration", "bundle", "classpath", ")", "{", "map", "<", "string", ",", "set", "<", "string", ">", ">", "bundle", "map", "=", "new", "...
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", "...
[ "model", "tests", "for", "additional", "properties", "object" ]
[ "public", "void", "test", "additional", "properties", "object", "(", ")", "{", "/", "/", "todo", ":", "test", "additional", "properties", "object", "}" ]
[ "get", "package", "configs" ]
[ "public", "string", "get", "package", "config", "by", "name", "(", "string", "name", ")", "{", "if", "(", "package", "config", "!", "=", "null", ")", "{", "return", "package", "config", "get", "(", "name", ")", ";", "}", "return", "null", ";", "}" ]
[ "returns", "all", "{", "@", "link", "cached", "entity", "}", "instances", "for", "the", "given", "type", "the", "difference", "with", "{", "@", "link", "#", "find", "in", "cache", "(", "class", ")", "}", "is", "that", "here", "the", "whole", "{", "@"...
[ "<", "t", ">", "collection", "<", "cached", "entity", ">", "find", "in", "cache", "as", "cached", "objects", "(", "class", "<", "t", ">", "entity", "class", ")", ";" ]
[ "register", "a", "listener", "that", "will", "be", "called", "when", "this", "model", "visibility", "has", "changed", "the", "listener", "will", "contribute", "to", "this", "model", "'", "s", "hash", "code", "state", "per", "the", "{", "@", "link", "com", ...
[ "public", "saved", "state", "view", "model", "on", "visibility", "changed", "(", "on", "model", "visibility", "changed", "listener", "<", "saved", "state", "view", "model", ",", "saved", "state", "view", ">", "listener", ")", "{", "on", "mutation", "(", ")...
[ "same", "as", "{", "@", "link", "#", "new", "restorable", "context", "(", "boolean", ")", "}", "but", "wraps", "an", "existing", "context", "to", "restore" ]
[ "public", "supplier", "<", "stored", "context", ">", "wrap", "restorable", "(", "stored", "context", "stored", "context", ")", "{", "return", "(", ")", "-", ">", "{", "stored", "context", "context", "=", "new", "stored", "context", "(", "false", ")", ";"...
[ "return", "the", "assigned", "{", "@", "link", "byte", "buf", "allocator", "}", "which", "will", "be", "used", "to", "allocate", "{", "@", "link", "byte", "buf", "}", "s" ]
[ "byte", "buf", "allocator", "alloc", "(", ")", ";" ]
[ "returns", "an", "immutable", "copy", "of", "the", "current", "contents", "of", "this", "set", "view", "does", "not", "support", "null", "elements", "<", "b", ">", "warning", ":", "<", "b", ">", "this", "may", "have", "unexpected", "results", "if", "a", ...
[ "public", "immutable", "set", "<", "e", ">", "immutable", "copy", "(", ")", "{", "return", "immutable", "set", "copy", "of", "(", "this", ")", ";", "}" ]
[ "return", "the", "sub", "-", "event", "type", "for", "this", "change", "record", "a", "value", "of", "0", "is", "the", "default", "if", "unspecified" ]
[ "public", "int", "get", "sub", "event", "type", "(", ")", "{", "return", "sub", "event", "type", ";", "}" ]
[ "callback", "hook", "for", "nested", "spring", ":", "param", "tags", "to", "pass", "their", "value", "to", "the", "parent", "tag" ]
[ "void", "add", "param", "(", "param", "param", ")", ";" ]
[ "create", "a", "new", "{", "@", "code", "bean", "definition", "builder", "}", "used", "to", "construct", "a", "{", "@", "link", "root", "bean", "definition", "}" ]
[ "public", "static", "bean", "definition", "builder", "root", "bean", "definition", "(", "string", "bean", "class", "name", ",", "@", "nullable", "string", "factory", "method", "name", ")", "{", "bean", "definition", "builder", "builder", "=", "new", "bean", ...
[ "used", "as", "a", "hook", "to", "inject", "intercept", "when", "b", "p", "offer", "service", "hold", "lock" ]
[ "public", "void", "delay", "when", "offer", "service", "hold", "lock", "(", ")", "{", "}" ]
[ "subtract", "two", "varnodes", "to", "get", "a", "new", "value", "this", "could", "create", "a", "new", "space", "and", "return", "a", "varnode", "pointed", "into", "that", "space" ]
[ "public", "varnode", "subtract", "(", "varnode", "val", "1", ",", "varnode", "val", "2", ",", "context", "evaluator", "evaluator", ")", "throws", "not", "found", "exception", "{", "/", "/", "degenerate", "case", ",", "don", "'", "t", "need", "to", "know"...
[ "returns", "a", "{", "@", "link", "session", "command", "group", "}", "with", "custom", "commands", "to", "publish", "to", "the", "controller", ",", "or", "{", "@", "code", "null", "}", "if", "no", "custom", "commands", "should", "be", "published" ]
[ "session", "command", "group", "get", "custom", "commands", "(", "media", "session", "session", ",", "controller", "info", "controller", "info", ")", ";" ]
[ "loads", "settings", "from", "the", "actual", "string", "content", "that", "represents", "them", "using", "{", "@", "link", "#", "from", "x", "content", "(", "x", "content", "parser", ")", "}" ]
[ "public", "builder", "load", "from", "source", "(", "string", "source", ",", "x", "content", "type", "x", "content", "type", ")", "{", "try", "(", "x", "content", "parser", "parser", "=", "x", "content", "factory", "x", "content", "(", "x", "content", ...
[ "the", "n", "recent", "valid", "snapshots" ]
[ "public", "list", "<", "file", ">", "find", "n", "valid", "snapshots", "(", "int", "n", ")", "throws", "i", "o", "exception", "{", "file", "snap", "snaplog", "=", "new", "file", "snap", "(", "snap", "dir", ")", ";", "return", "snaplog", "find", "n", ...
[ "examine", "the", "returned", "expiry", "time", "and", "validate", "it", "against", "expectations", "allows", "for", "some", "flexibility", "in", "local", "clock", ",", "but", "not", "much" ]
[ "public", "void", "test", "session", "token", "expiry", "(", ")", "throws", "exception", "{", "configuration", "conf", "=", "new", "configuration", "(", "get", "contract", "(", ")", "get", "conf", "(", ")", ")", ";", "marshalled", "credentials", "sc", "=",...