docstring_tokens
list
code_tokens
list
[ "checks", "that", "the", "elements", "of", "the", "iterable", "are", "calculated", "on", "the", "fly", "concretely", ",", "that", "means", "that", "{", "@", "link", "successors", "function", "#", "successors", "(", "object", ")", "}", "can", "only", "be", ...
[ "public", "void", "for", "graph", "breadth", "first", "iterable", "empty", "graph", "(", ")", "{", "assert", "equal", "char", "nodes", "(", "traverser", "for", "graph", "(", "create", "directed", "graph", "(", ")", ")", "breadth", "first", "(", "characters...
[ "parse", "the", "expected", "and", "actual", "strings", "as", "json", "and", "assert", "the", "two", "are", "\"", "similar", "\"", "-", "i", "e", "they", "contain", "the", "same", "attribute", "-", "value", "pairs", "regardless", "of", "formatting", "with"...
[ "public", "result", "matcher", "json", "(", "string", "json", "content", ")", "{", "return", "json", "(", "json", "content", ",", "false", ")", ";", "}" ]
[ "this", "bridge", "method", "is", "to", "maintain", "binary", "compatibility", "with", "{", "@", "link", "top", "level", "item", "#", "get", "parent", "(", ")", "}" ]
[ "@", "override", "public", "@", "non", "null", "item", "group", "get", "parent", "(", ")", "{", "if", "(", "parent", "=", "=", "null", ")", "{", "throw", "new", "illegal", "state", "exception", "(", "\"", "no", "parent", "set", "on", "\"", "+", "ge...
[ "gets", "symbol", "id", "groups", "for", "each", "library", "symbol", "that", "is", "new", "in", "the", "my", "program", "(", "symbol", "wasn", "'", "t", "in", "the", "original", "program", ")", "<", "br", ">", "note", ":", "this", "method", "excludes"...
[ "private", "list", "<", "i", "d", "group", ">", "get", "groups", "for", "my", "new", "libs", "(", ")", "{", "list", "<", "i", "d", "group", ">", "id", "groups", "=", "new", "array", "list", "<", ">", "(", ")", ";", "string", "[", "]", "my", "...
[ "returns", "{", "@", "link", "invokable", "}", "of", "{", "@", "code", "method", "}" ]
[ "public", "static", "invokable", "<", "?", ",", "object", ">", "from", "(", "method", "method", ")", "{", "return", "new", "method", "invokable", "<", ">", "(", "method", ")", ";", "}" ]
[ "starts", "loading", "a", "{", "@", "link", "loadable", "}", "the", "calling", "thread", "must", "be", "a", "{", "@", "link", "looper", "}", "thread", ",", "which", "is", "the", "thread", "on", "which", "the", "{", "@", "link", "callback", "}", "will...
[ "public", "<", "t", "extends", "loadable", ">", "long", "start", "loading", "(", "t", "loadable", ",", "callback", "<", "t", ">", "callback", ",", "int", "default", "min", "retry", "count", ")", "{", "looper", "looper", "=", "assertions", "check", "state...
[ "the", "replication", "factor", "for", "the", "new", "topic", "or", "-", "1", "if", "a", "replica", "assignment", "has", "been", "specified" ]
[ "public", "short", "replication", "factor", "(", ")", "{", "return", "replication", "factor", "or", "else", "(", "create", "topics", "request", "no", "replication", "factor", ")", ";", "}" ]
[ "returns", "restore", "information", "if", "snapshot", "was", "completed", "before", "this", "method", "returned", ",", "null", "otherwise" ]
[ "public", "restore", "info", "get", "restore", "info", "(", ")", "{", "return", "restore", "info", ";", "}" ]
[ "generate", "the", "bytecode", "for", "this", "node", "into", "the", "supplied", "visitor", "context", "info", "about", "the", "current", "expression", "being", "compiled", "is", "available", "in", "the", "codeflow", "object", ",", "e", "g", "including", "info...
[ "public", "void", "generate", "code", "(", "method", "visitor", "mv", ",", "code", "flow", "cf", ")", "{", "throw", "new", "illegal", "state", "exception", "(", "get", "class", "(", ")", "get", "name", "(", ")", "+", "\"", "has", "no", "generate", "c...
[ "returns", "a", "view", "of", "{", "@", "code", "network", "}", "with", "the", "direction", "(", "if", "any", ")", "of", "every", "edge", "reversed", "all", "other", "properties", "remain", "intact", ",", "and", "further", "updates", "to", "{", "@", "c...
[ "public", "static", "<", "n", ",", "e", ">", "network", "<", "n", ",", "e", ">", "transpose", "(", "network", "<", "n", ",", "e", ">", "network", ")", "{", "if", "(", "!", "network", "is", "directed", "(", ")", ")", "{", "return", "network", ";...
[ "check", "if", "act", "as", "restful", "destroy", "method" ]
[ "public", "boolean", "is", "restful", "destroy", "(", ")", "{", "return", "\"", "delete", "\"", "equals", "ignore", "case", "(", "http", "method", ")", "&", "&", "is", "member", "path", "(", ")", ";", "}" ]
[ "model", "tests", "for", "capitalization" ]
[ "public", "void", "test", "capitalization", "(", ")", "{", "/", "/", "todo", ":", "test", "capitalization", "}" ]
[ "writes", "all", "the", "remaining", "ints", "of", "the", "{", "@", "code", "src", "}", "int", "buffer", "to", "this", "buffer", "'", "s", "current", "position", ",", "and", "increases", "both", "buffers", "'", "position", "by", "the", "number", "of", ...
[ "public", "int", "buffer", "put", "(", "int", "buffer", "src", ")", "{", "if", "(", "src", "=", "=", "this", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}", "if", "(", "src", "remaining", "(", ")", ">", "remaining"...
[ "<", "code", ">", "optional", "aapt", "pb", "raw", "string", "raw", "str", "=", "3", ";", "<", "code", ">" ]
[ "private", "void", "clear", "raw", "str", "(", ")", "{", "raw", "str", "=", "null", ";", "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "0", "4", ")", ";", "}" ]
[ "returns", "the", "default", "settings", "for", "the", "cluster", "(", "only", "if", "{", "@", "code", "include", "defaults", "}", "was", "set", "to", "true", "in", "the", "request", ")" ]
[ "public", "settings", "get", "default", "settings", "(", ")", "{", "return", "default", "settings", ";", "}" ]
[ "overridden", "so", "that", "our", "text", "area", "will", "properly", "consume", "key", "events", "for", "registered", "actions", "by", "default", "the", "j", "components", "will", "not", "process", "a", "keystroke", "with", "an", "assigned", "keybinding", "i...
[ "protected", "boolean", "process", "key", "binding", "(", "key", "stroke", "ks", ",", "key", "event", "e", ",", "int", "condition", ",", "boolean", "pressed", ")", "{", "input", "map", "map", "=", "get", "input", "map", "(", "condition", ")", ";", "act...
[ "called", "when", "there", "is", "a", "state", "change", "in", "the", "connection" ]
[ "void", "state", "changed", "(", "client", "client", ",", "int", "new", "state", ")", ";" ]
[ "returns", "the", "regular", "expressions", "for", "exclusion", "matching" ]
[ "public", "string", "[", "]", "get", "excluded", "patterns", "(", ")", "{", "return", "this", "excluded", "patterns", ";", "}" ]
[ "return", "the", "files", "'", "path", "in", "zip", "file" ]
[ "public", "static", "list", "<", "string", ">", "get", "files", "path", "(", "final", "file", "zip", "file", ")", "throws", "i", "o", "exception", "{", "if", "(", "zip", "file", "=", "=", "null", ")", "return", "null", ";", "list", "<", "string", "...
[ "set", "optional", "message", "arguments", "for", "this", "tag", ",", "as", "a", "comma", "-", "delimited", "string", "(", "each", "string", "argument", "can", "contain", "jsp", "el", ")", ",", "an", "object", "array", "(", "used", "as", "argument", "arr...
[ "public", "void", "set", "arguments", "(", "object", "arguments", ")", "{", "this", "arguments", "=", "arguments", ";", "}" ]
[ "add", "a", "bdo", "(", "bidirectional", "override", ")", "element" ]
[ "special", "bdo", "(", "dir", "dir", ",", "string", "cdata", ")", ";" ]
[ "test", "to", "reconfigure", "enabledisable", "ipc", "backoff" ]
[ "public", "void", "test", "reconfigure", "i", "p", "c", "backoff", "(", ")", "throws", "reconfiguration", "exception", "{", "final", "name", "node", "name", "node", "=", "cluster", "get", "name", "node", "(", ")", ";", "name", "node", "rpc", "server", "n...
[ "create", "a", "new", "index", "on", "the", "singleton", "node", "with", "the", "provided", "index", "settings" ]
[ "protected", "index", "service", "create", "index", "(", "string", "index", ",", "settings", "settings", ")", "{", "return", "create", "index", "(", "index", ",", "settings", ",", "null", ")", ";", "}" ]
[ "helper", "method", "to", "get", "field", "mapped", "to", "this", "field", "pattern" ]
[ "private", "static", "collection", "<", "string", ">", "get", "mapped", "field", "(", "query", "shard", "context", "context", ",", "string", "field", "pattern", ")", "{", "if", "(", "context", "is", "field", "mapped", "(", "field", "names", "field", "mappe...
[ "add", "access", "to", "path", "with", "direct", "andor", "recursive", "access", "this", "also", "creates", "the", "directory", "if", "it", "does", "not", "exist" ]
[ "public", "static", "void", "add", "directory", "path", "(", "permissions", "policy", ",", "string", "configuration", "name", ",", "path", "path", ",", "string", "permissions", ",", "boolean", "recursive", "access", "only", ")", "throws", "i", "o", "exception"...
[ "return", "the", "original", "consumer", "record", "that", "this", "sink", "record", "represents" ]
[ "public", "consumer", "record", "<", "byte", "[", "]", ",", "byte", "[", "]", ">", "original", "record", "(", ")", "{", "return", "original", "record", ";", "}" ]
[ "specify", "the", "desired", "number", "of", "partitions", "for", "the", "topic" ]
[ "public", "new", "topic", "builder", "partitions", "(", "int", "num", "partitions", ")", "{", "this", "num", "partitions", "=", "num", "partitions", ";", "return", "this", ";", "}" ]
[ "invoked", "when", "computation", "produces", "its", "potentially", "null", "value", "successfully", "when", "this", "is", "called", ",", "{", "@", "link", "#", "on", "error", "}", "won", "'", "t", "be" ]
[ "void", "on", "success", "(", "@", "nullable", "v", "value", ")", ";" ]
[ "quick", "validation", "on", "the", "input", "to", "check", "some", "obvious", "fail", "conditions", "(", "fail", "fast", ")", "check", "if", "the", "provided", "{", "@", "link", "sub", "cluster", "register", "request", "}", "for", "registration", "a", "ne...
[ "public", "static", "void", "validate", "(", "sub", "cluster", "register", "request", "request", ")", "throws", "federation", "state", "store", "invalid", "input", "exception", "{", "/", "/", "check", "if", "the", "request", "is", "present", "if", "(", "requ...
[ "write", "configuration", "to", "a", "site", "file", "under", "hadoop", "configuration", "dir" ]
[ "private", "void", "write", "conf", "(", "configuration", "conf", ",", "string", "sitename", ")", "throws", "exception", "{", "file", "home", "dir", "=", "test", "dir", "helper", "get", "test", "dir", "(", ")", ";", "/", "/", "hdfs", "configuration", "fi...
[ "this", "test", "triggers", "two", "checkpoints", "and", "then", "sends", "a", "decline", "message", "from", "one", "of", "the", "tasks", "for", "the", "first", "checkpoint", "this", "should", "discard", "the", "first", "checkpoint", "while", "not", "triggerin...
[ "public", "void", "test", "trigger", "and", "decline", "checkpoint", "complex", "(", ")", "{", "try", "{", "final", "job", "i", "d", "job", "id", "=", "new", "job", "i", "d", "(", ")", ";", "/", "/", "create", "some", "mock", "execution", "vertices",...
[ "enters", "the", "username", "into", "the", "username", "input", "text", "field" ]
[ "public", "login", "page", "enter", "username", "(", "string", "username", ")", "{", "var", "username", "input", "text", "field", "=", "(", "html", "text", "input", ")", "page", "get", "element", "by", "id", "(", "\"", "username", "\"", ")", ";", "user...
[ "controls", "whether", "the", "first", "action", "added", "will", "automatically", "fire", "an", "event", "or", "not" ]
[ "public", "multi", "state", "action", "builder", "<", "t", ">", "fire", "first", "action", "(", "boolean", "fire", "first", "action", ")", "{", "this", "fire", "first", "action", "=", "fire", "first", "action", ";", "return", "self", "(", ")", ";", "}"...
[ "checks", "that", "a", "certain", "event", "sequence", "is", "recognized" ]
[ "public", "void", "test", "simple", "pattern", "c", "e", "p", "(", ")", "throws", "exception", "{", "stream", "execution", "environment", "env", "=", "stream", "execution", "environment", "get", "execution", "environment", "(", ")", ";", "data", "stream", "<...
[ "execute", "test", "group", "parameters", "request" ]
[ "public", "void", "execute", "(", ")", "throws", "api", "exception", "{", "test", "group", "parameters", "with", "http", "info", "(", "required", "string", "group", ",", "required", "boolean", "group", ",", "required", "int", "6", "4", "group", ",", "strin...
[ "check", "if", "a", "pair", "(", "server", "id", ",", "zxid", ")", "succeeds", "our", "current", "vote" ]
[ "protected", "boolean", "total", "order", "predicate", "(", "long", "new", "id", ",", "long", "new", "zxid", ",", "long", "new", "epoch", ",", "long", "cur", "id", ",", "long", "cur", "zxid", ",", "long", "cur", "epoch", ")", "{", "log", "debug", "("...
[ "the", "minimum", "length", "a", "suggest", "text", "term", "must", "have", "in", "order", "to", "be", "corrected", "defaults", "to", "{", "@", "code", "4", "}" ]
[ "public", "direct", "candidate", "generator", "builder", "min", "word", "length", "(", "int", "min", "word", "length", ")", "{", "this", "min", "word", "length", "=", "min", "word", "length", ";", "return", "this", ";", "}" ]
[ "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", "\"", "...
[ "get", "enum", "integer" ]
[ "public", "enum", "integer", "enum", "get", "enum", "integer", "(", ")", "{", "return", "enum", "integer", ";", "}" ]
[ "asserts", "that", "the", "specified", "download", "is", "removed" ]
[ "public", "void", "assert", "removed", "(", "string", "id", ")", "{", "assert", "state", "internal", "(", "id", ",", "state", "removed", ")", ";", "}" ]
[ "returns", "the", "name" ]
[ "public", "string", "get", "name", "(", ")", "{", "return", "name", ";", "}" ]
[ "check", "whether", "the", "given", "block", "is", "under", "recovery" ]
[ "synchronized", "boolean", "is", "under", "recovery", "(", "block", "info", "b", ")", "{", "block", "recovery", "attempt", "recovery", "attempt", "=", "recovery", "timeouts", "get", "element", "(", "new", "block", "recovery", "attempt", "(", "b", ")", ")", ...
[ "returns", "the", "index", "of", "the", "first", "appearance", "of", "the", "value", "{", "@", "code", "target", "}", "in", "{", "@", "code", "array", "}" ]
[ "public", "static", "int", "index", "of", "(", "byte", "[", "]", "array", ",", "byte", "target", ")", "{", "return", "index", "of", "(", "array", ",", "target", ",", "0", ",", "array", "length", ")", ";", "}" ]
[ "the", "set", "menu", "path", "method", "should", "fail", "to", "set", "an", "invalid", "(", "empty", ")", "menu", "path" ]
[ "public", "void", "test", "break", "menu", "path", "(", ")", "{", "menu", "data", "menu", "data", "=", "new", "menu", "data", "(", "new", "string", "[", "]", "{", "\"", "one", "\"", ",", "\"", "two", "\"", ",", "\"", "three", "\"", "}", ")", ";...
[ "sets", "the", "value", "of", "the", "given", "{", "@", "code", "entry", "}" ]
[ "void", "set", "value", "(", "e", "entry", ",", "v", "value", ")", "{", "this", "map", "entry", "helper", "set", "value", "(", "self", "(", ")", ",", "entry", ",", "value", ")", ";", "}" ]
[ "returns", "whether", "{", "@", "code", "cache", "folder", "}", "is", "locked", "by", "a", "{", "@", "link", "simple", "cache", "}", "instance", "to", "unlock", "the", "folder", "the", "{", "@", "link", "simple", "cache", "}", "instance", "should", "be...
[ "public", "static", "synchronized", "boolean", "is", "cache", "folder", "locked", "(", "file", "cache", "folder", ")", "{", "return", "locked", "cache", "dirs", "contains", "(", "cache", "folder", "get", "absolute", "file", "(", ")", ")", ";", "}" ]
[ "intended", "for", "use", "by", "{", "@", "link", "com", "google", "devtools", "build", "lib", "skyframe", "package", "function", "}", "only" ]
[ "public", "package", "finish", "build", "(", ")", "{", "if", "(", "already", "built", ")", "{", "return", "pkg", ";", "}", "/", "/", "freeze", "targets", "and", "distributions", "for", "(", "target", "t", ":", "targets", "values", "(", ")", ")", "{",...
[ "get", "integer", "minimum", ":", "10", "maximum", ":", "100" ]
[ "public", "integer", "get", "integer", "(", ")", "{", "return", "integer", ";", "}" ]
[ "recursively", "expand", "the", "path", "into", "the", "supplied", "string", "builder", ",", "increasing", "the", "indentation", "by", "{", "@", "link", "#", "indent", "}", "as", "it", "proceeds", "(", "depth", "first", ")", "down", "the", "tree" ]
[ "private", "void", "expand", "(", "string", "builder", "builder", ",", "string", "path", ",", "int", "indent", ")", "{", "try", "{", "get", "children", "builder", "children", "builder", "=", "curator", "get", "children", "(", ")", ";", "list", "<", "stri...
[ "implements", "{", "@", "link", "#", "convert", "(", "string", ")", "}" ]
[ "public", "t", "convert", "(", "string", "input", ")", "throws", "options", "parsing", "exception", "{", "for", "(", "t", "value", ":", "enum", "type", "get", "enum", "constants", "(", ")", ")", "{", "if", "(", "value", "to", "string", "(", ")", "equ...
[ "get", "the", "server", "name" ]
[ "public", "string", "get", "server", "name", "(", ")", "{", "return", "name", "field", "get", "text", "(", ")", ";", "}" ]
[ "reads", "a", "template", "file", "and", "substitutes", "variables", "of", "the", "format", "$", "{", "foo", "}" ]
[ "public", "static", "string", "read", "template", "contents", "(", "string", "template", "file", "path", ",", "final", "map", "<", "string", ",", "string", ">", "variables", ")", "throws", "build", "encyclopedia", "doc", "exception", ",", "i", "o", "exceptio...
[ "just", "test", "for", "replace", "fastjson", "with", "jackson" ]
[ "public", "void", "test", "login", "(", ")", "{", "string", "example", "=", "\"", "{", "\\", "\"", "access", "token", "\\", "\"", ":", "\\", "\"", "ttttttttttttttttt", "\\", "\"", ",", "\\", "\"", "token", "ttl", "\\", "\"", ":", "1000", "}", "\"",...
[ "return", "the", "bazel", "information", "associated", "with", "the", "specified", "starlark", "thread" ]
[ "public", "static", "bazel", "starlark", "context", "from", "(", "starlark", "thread", "thread", ")", "{", "return", "thread", "get", "thread", "local", "(", "bazel", "starlark", "context", "class", ")", ";", "}" ]
[ "test", "if", "the", "router", "client", "r", "m", "forwards", "all", "the", "requests", "to", "the", "mock", "r", "m", "and", "get", "back", "the", "responses" ]
[ "public", "void", "test", "router", "client", "r", "m", "service", "e", "2", "e", "(", ")", "throws", "exception", "{", "string", "user", "=", "\"", "test", "1", "\"", ";", "log", "info", "(", "\"", "test", "router", "client", "r", "m", "service", ...
[ "this", "method", "will", "signal", "to", "the", "users", "if", "a", "filter", "is", "currently", "applied", "(", "has", "text", ")", "for", "example", ",", "the", "default", "implementation", "will", "'", "flash", "'", "the", "filter", "by", "changing", ...
[ "public", "void", "alert", "(", ")", "{", "alert", "(", "false", ")", ";", "}" ]
[ "returns", "the", "{", "@", "link", "com", "google", "gson", "stream", "json", "token", "#", "number", "int", "}", "value", "of", "the", "next", "token", ",", "consuming", "it", "if", "the", "next", "token", "is", "a", "string", ",", "this", "method", ...
[ "public", "int", "next", "int", "(", ")", "throws", "i", "o", "exception", "{", "int", "p", "=", "peeked", ";", "if", "(", "p", "=", "=", "peeked", "none", ")", "{", "p", "=", "do", "peek", "(", ")", ";", "}", "int", "result", ";", "if", "(",...
[ "get", "class", "name" ]
[ "public", "string", "get", "class", "name", "(", ")", "{", "return", "class", "name", ";", "}" ]
[ "closes", "this", "cache", "stored", "values", "will", "remain", "on", "the", "filesystem" ]
[ "public", "synchronized", "void", "close", "(", ")", "throws", "i", "o", "exception", "{", "if", "(", "journal", "writer", "=", "=", "null", ")", "{", "return", ";", "/", "/", "already", "closed", "}", "for", "(", "entry", "entry", ":", "new", "array...
[ "returns", "the", "job", "name", "for", "the", "execution", "graph" ]
[ "string", "get", "job", "name", "(", ")", ";" ]
[ "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", "\"", "...
[ "test", "the", "property", "'", "category", "'" ]
[ "public", "void", "category", "test", "(", ")", "{", "/", "/", "todo", ":", "test", "category", "}" ]
[ "returns", "the", "defined", "data", "after", "the", "specified", "data", "or", "null", "if", "no", "data", "exists" ]
[ "public", "final", "data", "get", "data", "after", "(", "data", "data", ")", "{", "return", "get", "data", "after", "(", "data", "get", "max", "address", "(", ")", ")", ";", "}" ]
[ "test", "the", "property", "'", "int", "3", "2", "'" ]
[ "public", "void", "int", "3", "2", "test", "(", ")", "{", "/", "/", "todo", ":", "test", "int", "3", "2", "}" ]
[ "get", "the", "lookup", "to", "use", "during", "the", "search" ]
[ "public", "search", "lookup", "lookup", "(", ")", "{", "if", "(", "this", "lookup", "=", "=", "null", ")", "{", "this", "lookup", "=", "new", "search", "lookup", "(", "this", ":", ":", "get", "field", "type", ",", "(", "field", "type", ",", "search...
[ "convert", "an", "extended", "block", "to", "a", "json", "map" ]
[ "private", "static", "map", "<", "string", ",", "object", ">", "to", "json", "map", "(", "final", "extended", "block", "extendedblock", ")", "{", "if", "(", "extendedblock", "=", "=", "null", ")", "{", "return", "null", ";", "}", "final", "map", "<", ...
[ "implementors", "should", "return", "a", "list", "of", "{", "@", "link", "values", "source", "type", "}", "that", "the", "aggregator", "supports", "this", "is", "used", "to", "test", "the", "matrix", "of", "supportedunsupported", "field", "types", "against", ...
[ "protected", "list", "<", "values", "source", "type", ">", "get", "supported", "values", "source", "types", "(", ")", "{", "/", "/", "if", "aggs", "don", "'", "t", "override", "this", "method", ",", "an", "empty", "list", "allows", "the", "test", "to",...
[ "returns", "an", "immutable", "array", "containing", "the", "given", "values", ",", "in", "order", "the", "array", "{", "@", "code", "rest", "}", "must", "not", "be", "longer", "than", "{", "@", "code", "integer", "max", "value", "-", "1", "}" ]
[ "public", "static", "immutable", "int", "array", "of", "(", "int", "first", ",", "int", "rest", ")", "{", "check", "argument", "(", "rest", "length", "<", "=", "integer", "max", "value", "-", "1", ",", "\"", "the", "total", "number", "of", "elements", ...
[ "get", "$", "special", "property", "name" ]
[ "public", "long", "get", "$", "special", "property", "name", "(", ")", "{", "return", "$", "special", "property", "name", ";", "}" ]
[ "simulates", "a", "user", "typing", "a", "single", "key", "this", "method", "should", "used", "for", "the", "special", "keyboard", "keys", "(", "arrow", ",", "f1", ",", "end", ",", "etc", ")", "and", "alpha", "keys", "when", "associated", "with", "action...
[ "public", "static", "void", "trigger", "action", "key", "(", "component", "c", ",", "int", "modifiers", ",", "int", "key", "code", ")", "{", "trigger", "key", "(", "c", ",", "modifiers", ",", "key", "code", ",", "key", "event", "char", "undefined", ")"...
[ "return", "whether", "to", "globally", "mark", "an", "existing", "transaction", "as", "rollback", "-", "only", "after", "a", "participating", "transaction", "failed" ]
[ "public", "final", "boolean", "is", "global", "rollback", "on", "participation", "failure", "(", ")", "{", "return", "this", "global", "rollback", "on", "participation", "failure", ";", "}" ]
[ "the", "index", "of", "the", "string", "path", "within", "the", "source", "string", "pool", "of", "a", "resource", "table", "<", "code", ">", "optional", "uint", "3", "2", "path", "idx", "=", "1", ";", "<", "code", ">" ]
[ "public", "builder", "clear", "path", "idx", "(", ")", "{", "copy", "on", "write", "(", ")", ";", "instance", "clear", "path", "idx", "(", ")", ";", "return", "this", ";", "}" ]
[ "select", "the", "content", "-", "type", "header", "'", "s", "value", "from", "the", "given", "array", ":", "if", "json", "exists", "in", "the", "given", "array", ",", "use", "it", ";", "otherwise", "use", "the", "first", "one", "of", "the", "array" ]
[ "public", "string", "select", "header", "content", "type", "(", "string", "[", "]", "content", "types", ")", "{", "if", "(", "content", "types", "length", "=", "=", "0", "|", "|", "content", "types", "[", "0", "]", "equals", "(", "\"", "*", "/", "*...
[ "incrementing", "integer", "values" ]
[ "public", "void", "test", "increment", "int", "(", ")", "{", "assert", "equals", "(", "0", ",", "exec", "(", "\"", "int", "x", "=", "0", ";", "return", "x", "+", "+", ";", "\"", ")", ")", ";", "assert", "equals", "(", "0", ",", "exec", "(", "...
[ "test", "org", "apache", "hadoop", "mapred", "pipes", "pipes", "reducer", "test", "the", "transfer", "of", "data", ":", "key", "and", "value" ]
[ "public", "void", "test", "pipes", "reduser", "(", ")", "throws", "exception", "{", "file", "[", "]", "psw", "=", "clean", "token", "password", "file", "(", ")", ";", "job", "conf", "conf", "=", "new", "job", "conf", "(", ")", ";", "try", "{", "tok...
[ "returns", "a", "{", "@", "link", "query", "task", "future", "}", "representing", "the", "successful", "computation", "of", "{", "@", "code", "value", "}", "the", "returned", "{", "@", "link", "query", "task", "future", "}", "is", "considered", "\"", "su...
[ "abstract", "<", "r", ">", "query", "task", "future", "<", "r", ">", "immediate", "successful", "future", "(", "r", "value", ")", ";" ]
[ "main", "(", ")", "has", "some", "simple", "utility", "methods" ]
[ "public", "static", "void", "main", "(", "string", "argv", "[", "]", ")", "throws", "exception", "{", "fs", "shell", "shell", "=", "new", "shell", "instance", "(", ")", ";", "configuration", "conf", "=", "new", "configuration", "(", ")", ";", "conf", "...
[ "put", "the", "data", "to", "occupy", "the", "next", "byte", "sequence", "in", "the", "byte", "array" ]
[ "public", "void", "put", "bytes", "(", "byte", "[", "]", "bytes", ",", "int", "num", ")", "{", "output", "stream", "write", "(", "bytes", ",", "0", ",", "num", ")", ";", "}" ]
[ "if", "this", "storage", "corresponds", "to", "a", "auto", "-", "parameter", ",", "return", "the", "type", "associated", "with", "the", "auto", "-", "parameter" ]
[ "public", "auto", "parameter", "type", "get", "auto", "parameter", "type", "(", ")", "{", "return", "null", ";", "}" ]
[ "removes", "a", "listener", "from", "the", "root" ]
[ "public", "boolean", "remove", "capture", "listener", "(", "event", "listener", "listener", ")", "{", "return", "root", "remove", "capture", "listener", "(", "listener", ")", ";", "}" ]
[ "fulfills", "the", "promise", "with", "the", "provided", "value" ]
[ "public", "void", "fulfill", "(", "t", "value", ")", "{", "super", "fulfill", "(", "value", ")", ";", "post", "fulfillment", "(", ")", ";", "}" ]
[ "populates", "auxiliary", "data", "structures", "used", "by", "the", "container", "scheduler", "on", "recovery" ]
[ "public", "void", "recover", "active", "container", "(", "container", "container", ",", "recovered", "container", "state", "rcs", ")", "{", "execution", "type", "exec", "type", "=", "container", "get", "container", "token", "identifier", "(", ")", "get", "exec...
[ "allocate", "a", "heap", "{", "@", "link", "composite", "byte", "buf", "}" ]
[ "composite", "byte", "buf", "composite", "heap", "buffer", "(", ")", ";" ]
[ "sets", "the", "<", "code", ">", "anytype", "3", "<", "code", ">", "property" ]
[ "public", "additional", "properties", "class", "anytype", "3", "(", "object", "anytype", "3", ")", "{", "this", "anytype", "3", "=", "anytype", "3", ";", "return", "this", ";", "}" ]
[ "set", "the", "value", "of", "<", "code", ">", "name", "<", "code", ">", "to", "the", "given", "time", "duration", "this", "is", "equivalent", "to", "<", "code", ">", "set", "(", "&", "lt", ";", "name", "&", "gt", ";", ",", "value", "+", "&", "...
[ "public", "void", "set", "time", "duration", "(", "string", "name", ",", "long", "value", ",", "time", "unit", "unit", ")", "{", "set", "(", "name", ",", "value", "+", "parsed", "time", "duration", "unit", "for", "(", "unit", ")", "suffix", "(", ")",...
[ "returns", "a", "list", "of", "additional", "settings", "filter", "for", "this", "plugin" ]
[ "public", "list", "<", "string", ">", "get", "settings", "filter", "(", ")", "{", "return", "collections", "empty", "list", "(", ")", ";", "}" ]
[ "verifies", "that", "we", "can", "uninstall", "an", "extension" ]
[ "public", "void", "test", "uninstall", "extension", "(", ")", "throws", "extension", "exception", ",", "i", "o", "exception", "{", "/", "/", "create", "an", "extension", "and", "install", "it", "resource", "file", "r", "file", "=", "new", "resource", "file...
[ "get", "direct", "map" ]
[ "public", "map", "<", "string", ",", "boolean", ">", "get", "direct", "map", "(", ")", "{", "return", "direct", "map", ";", "}" ]
[ "serialize", "the", "attributes", "of", "this", "session", "into", "an", "object", "that", "can", "be", "turned", "into", "a", "byte", "array", "with", "standard", "java", "serialization" ]
[ "public", "serializable", "serialize", "state", "(", ")", "{", "hash", "map", "<", "string", ",", "serializable", ">", "state", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "for", "(", "iterator", "<", "map", "entry", "<", "string", ",", "obje...
[ "get", "the", "appropriate", "decoder", "for", "the", "given", "decode", "format", "and", "application", "mode" ]
[ "public", "static", "dwarf", "e", "h", "decoder", "get", "decoder", "(", "dwarf", "e", "h", "data", "decode", "format", "decode", "format", ",", "dwarf", "e", "h", "data", "application", "mode", "app", "format", ",", "boolean", "is", "indirect", ")", "{"...
[ "quote", "a", "string", "with", "double", "quotes" ]
[ "private", "string", "quote", "(", "string", "string", ")", "{", "/", "/", "todo", "(", "bazel", "-", "team", ")", ":", "this", "is", "doesn", "'", "t", "really", "work", "if", "the", "string", "contains", "quotes", "or", "a", "newline", "/", "/", ...
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "static", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n",...
[ "start", "the", "activity" ]
[ "public", "static", "void", "start", "activity", "(", "@", "non", "null", "final", "string", "pkg", ",", "@", "non", "null", "final", "string", "cls", ")", "{", "start", "activity", "(", "get", "top", "activity", "or", "app", "(", ")", ",", "null", "...
[ "gets", "called", "by", "{", "@", "code", "jdbc", "template", "execute", "}", "with", "an", "active", "jdbc", "prepared", "statement", "does", "not", "need", "to", "care", "about", "closing", "the", "statement", "or", "the", "connection", ",", "or", "about...
[ "t", "do", "in", "prepared", "statement", "(", "prepared", "statement", "ps", ")", "throws", "s", "q", "l", "exception", ",", "data", "access", "exception", ";" ]
[ "get", "my", "string" ]
[ "public", "string", "get", "my", "string", "(", ")", "{", "return", "my", "string", ";", "}" ]
[ "test", "inline", "additional", "properties", "<", "b", ">", "200", "<", "b", ">", "-", "successful", "operation" ]
[ "public", "void", "test", "inline", "additional", "properties", "(", "map", "<", "string", ",", "string", ">", "param", ")", "throws", "rest", "client", "exception", "{", "test", "inline", "additional", "properties", "with", "http", "info", "(", "param", ")"...
[ "return", "the", "hash", "code", "of", "objects" ]
[ "public", "static", "int", "hash", "codes", "(", "object", "values", ")", "{", "return", "arrays", "hash", "code", "(", "values", ")", ";", "}" ]
[ "write", "a", "json", "representable", "type", "as", "a", "string", ",", "optionally", "pretty", "print", "it", "by", "spanning", "multiple", "lines", "and", "indenting" ]
[ "public", "static", "string", "dump", "(", "object", "data", ",", "boolean", "pretty", ")", "throws", "i", "o", "exception", "{", "x", "content", "builder", "builder", "=", "json", "x", "content", "content", "builder", "(", ")", ";", "if", "(", "pretty",...
[ "parses", "the", "query", "provided", "as", "bytes", "argument", "and", "compares", "it", "with", "the", "expected", "result", "provided", "as", "argument", "as", "a", "{", "@", "link", "query", "builder", "}" ]
[ "private", "void", "assert", "parsed", "query", "(", "x", "content", "parser", "parser", ",", "query", "builder", "expected", "query", ")", "throws", "i", "o", "exception", "{", "query", "builder", "new", "query", "=", "parse", "query", "(", "parser", ")",...
[ "adds", "mapping", "that", "will", "be", "added", "when", "the", "index", "gets", "created" ]
[ "public", "put", "index", "template", "request", "mapping", "(", "bytes", "reference", "source", ",", "x", "content", "type", "x", "content", "type", ")", "{", "objects", "require", "non", "null", "(", "x", "content", "type", ")", ";", "map", "<", "strin...