docstring_tokens
list
code_tokens
list
[ "adds", "a", "new", "placeholder", "name", "and", "value", "for", "substitution" ]
[ "m", "placeholders", "put", "(", "place", "holder", "name", ",", "value", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "sets", "the", "file", "to", "use", "to", "write", "the", "merging", "report", "if", "not", "called", "the", "merging", "process", "will", "not", "write", "a", "report" ]
[ "m", "report", "file", "=", "merge", "report", ";", "return", "this", ";" ]
[ "add", "several", "library", "file", "manifests", "at", "then", "end", "of", "the", "list", "which", "will", "make", "them", "the", "lowest", "priority", "manifest", "files", "the", "relative", "priority", "between", "all", "the", "files", "passed", "as", "parameters", "will", "be", "respected" ]
[ "for", "(", "file", "file", ":", "files", ")", "{", "add", "library", "manifest", "(", "file", ")", ";", "}", "return", "this", "as", "t", "(", ")", ";" ]
[ "add", "a", "flavor", "or", "build", "type", "manifest", "file", "last", "in", "the", "list" ]
[ "this", "m", "flavors", "and", "build", "type", "files", "add", "(", "file", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "add", "several", "flavor", "or", "build", "type", "manifest", "files", "last", "in", "the", "list", "relative", "priorities", "between", "the", "passed", "files", "as", "parameters", "will", "be", "respected" ]
[ "this", "m", "flavors", "and", "build", "type", "files", "add", "(", "files", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "sets", "some", "optional", "features", "for", "the", "merge", "tool" ]
[ "m", "features", "builder", "add", "(", "features", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "sets", "a", "file", "stream", "provider", "which", "allows", "the", "client", "of", "the", "manifest", "merger", "to", "provide", "arbitrary", "content", "lookup", "for", "files", "<", "p", ">", "note", ":", "there", "should", "only", "be", "one" ]
[ "assert", "m", "file", "stream", "provider", "=", "=", "null", "|", "|", "provider", "=", "=", "null", ";", "m", "file", "stream", "provider", "=", "provider", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "<", "p", ">", "the", "id", "of", "a", "usage", "plan", "key", "<", "/", "p", ">" ]
[ "set", "id", "(", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "a", "usage", "plan", "key", "currently", "the", "valid", "key", "type", "is", "<", "code", ">", "api", "key", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "type", "(", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "value", "of", "a", "usage", "plan", "key", "<", "/", "p", ">" ]
[ "set", "value", "(", "value", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "a", "usage", "plan", "key", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "gets", "the", "delay", "in", "milliseconds", "before", "the", "next", "attempt" ]
[ "protected", "abstract", "long", "get", "delay", "ms", "(", "int", "current", "attempt", ")", ";" ]
[ "returns", "true", "is", "some", "element", "of", "path", "inside", "base", "path", "is", "a", "symlink" ]
[ "int", "name", "count", "=", "file", "get", "name", "count", "(", ")", ";", "path", "root", "=", "paths", "get", "(", "base", ")", ";", "int", "root", "count", "=", "root", "get", "name", "count", "(", ")", ";", "path", "f", "=", "file", ";", "for", "(", "int", "i", "=", "name", "count", "-", "1", ";", "i", ">", "=", "0", ";", "i", "-", "-", ")", "{", "if", "(", "files", "is", "symbolic", "link", "(", "f", ")", ")", "{", "return", "new", "symlink", "result", "(", "i", "+", "1", ">", "root", "count", ",", "f", ")", ";", "}", "f", "=", "f", "get", "parent", "(", ")", ";", "}", "return", "null", ";" ]
[ "security", "check", "for", "case", "insensitive", "file", "systems", "we", "make", "sure", "the", "case", "of", "the", "filename", "matches", "the", "case", "of", "the", "request", "this", "is", "only", "a", "check", "for", "case", "sensitivity", "not", "for", "non", "canonical", "and", "/", "which", "are", "allowed" ]
[ "string", "canonical", "name", "=", "file", "to", "real", "path", "(", ")", "to", "string", "(", ")", ";", "return", "canonical", "name", "equals", "(", "normalize", "file", ")", ";" ]
[ "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=" ]
[ "acl", "authorization", "strategy", "security", "check", "(", "this", ",", "acl", "authorization", "strategy", "change", "general", ")", ";", "verify", "ace", "index", "exists", "(", "ace", "index", ")", ";", "synchronized", "(", "aces", ")", "{", "this", "aces", "remove", "(", "ace", "index", ")", ";", "}" ]
[ "try", "to", "load", "the", "query", "results", "from", "the", "cache", "or", "execute", "the", "query", "phase", "directly", "if", "the", "cache", "cannot", "be", "used" ]
[ "final", "boolean", "can", "cache", "=", "indices", "service", "can", "cache", "(", "request", ",", "context", ")", ";", "context", "get", "query", "shard", "context", "(", ")", "freeze", "context", "(", ")", ";", "if", "(", "can", "cache", ")", "{", "indices", "service", "load", "into", "context", "(", "request", ",", "context", ",", "query", "phase", ")", ";", "}", "else", "{", "query", "phase", "execute", "(", "context", ")", ";", "}" ]
[ "returns", "the", "number", "of", "active", "contexts", "in", "this", "search", "service" ]
[ "return", "this", "active", "contexts", "size", "(", ")", ";" ]
[ "returns", "true", "iff", "the", "given", "search", "source", "builder", "can", "be", "early", "terminated", "by", "rewriting", "to", "a", "match", "none", "query", "or", "in", "other", "words", "if", "the", "execution", "of", "a", "the", "search", "request", "can", "be", "early", "terminated", "without", "executing", "it", "this", "is", "for", "instance", "not", "possible", "if", "a", "global", "aggregation", "is", "part", "of", "this", "request", "or", "if", "there", "is", "a", "suggest", "builder", "present" ]
[ "if", "(", "source", "=", "=", "null", "|", "|", "source", "query", "(", ")", "=", "=", "null", "|", "|", "source", "query", "(", ")", "instanceof", "match", "all", "query", "builder", "|", "|", "source", "suggest", "(", ")", "!", "=", "null", ")", "{", "return", "false", ";", "}", "else", "{", "aggregator", "factories", "builder", "aggregations", "=", "source", "aggregations", "(", ")", ";", "if", "(", "aggregations", "!", "=", "null", ")", "{", "if", "(", "aggregations", "must", "visit", "all", "docs", "(", ")", ")", "{", "return", "false", ";", "}", "}", "}", "return", "true", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "indices", "service", "get", "rewrite", "context", "(", "now", "in", "millis", ")", ";" ]
[ "<", "p", ">", "the", "unique", "identifier", "of", "the", "contact", "to", "end", "<", "/", "p", ">" ]
[ "set", "contact", "id", "(", "contact", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "identifier", "for", "your", "amazon", "connect", "instance", "to", "find", "the", "id", "of", "your", "instance", "open", "the", "aws", "console", "and", "select", "amazon", "connect", "select", "the", "alias", "of", "the", "instance", "in", "the", "instance", "alias", "column", "the", "instance", "id", "is", "displayed", "in", "the", "overview", "section", "of", "your", "instance", "settings", "for", "example", "the", "instance", "id", "is", "the", "set", "of", "characters", "at", "the", "end", "of", "the", "instance", "arn", "after", "instance", "/", "such", "as", "1", "0a", "4c", "4eb", "-", "f", "5", "7e", "-", "4d", "4c", "-", "b", "6", "0", "2", "-", "bf", "3", "9", "1", "7", "6ced", "0", "7", "<", "/", "p", ">" ]
[ "set", "instance", "id", "(", "instance", "id", ")", ";", "return", "this", ";" ]
[ "set", "the", "string", "value", "as", "value", "of", "the", "key", "the", "string", "can", "t", "be", "longer", "than", "1073741824", "bytes", "(", "1", "gb", ")" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "set", "(", "key", ",", "value", ",", "params", ")", ";", "return", "client", "get", "status", "code", "reply", "(", ")", ";" ]
[ "test", "if", "the", "specified", "keys", "exist", "the", "command", "returns", "the", "number", "of", "keys", "existed", "time", "complexity", ":", "o", "(", "n", ")" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "exists", "(", "keys", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", ";" ]
[ "decrby", "work", "just", "like", "{" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "decr", "by", "(", "key", ",", "integer", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", ";" ]
[ "incrby", "work", "just", "like", "{" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "incr", "by", "(", "key", ",", "integer", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", ";" ]
[ "incrbyfloat", "work", "just", "like", "{" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "incr", "by", "float", "(", "key", ",", "integer", ")", ";", "string", "dval", "=", "client", "get", "bulk", "reply", "(", ")", ";", "return", "(", "dval", "!", "=", "null", "?", "new", "double", "(", "dval", ")", ":", "null", ")", ";" ]
[ "return", "the", "specified", "elements", "of", "the", "list", "stored", "at", "the", "specified", "key", "start", "and", "end", "are", "zero", "-", "based", "indexes", "0", "is", "the", "first", "element", "of", "the", "list", "(", "the", "list", "head", ")", "1", "the", "next", "element", "and", "so", "on", "<", "p", ">", "for", "example", "lrange", "foobar", "0", "2", "will", "return", "the", "first", "three", "elements", "of", "the", "list", "<", "p", ">", "start", "and", "end", "can", "also", "be", "negative", "numbers", "indicating", "offsets", "from", "the", "end", "of", "the", "list", "for", "example", "-", "1", "is", "the", "last", "element", "of", "the", "list", "-", "2", "the", "penultimate", "element", "and", "so", "on", "<", "p", ">", "<", "b", ">", "consistency", "with", "range", "functions", "in", "various", "programming", "languages", "<", "/", "b", ">", "<", "p", ">", "note", "that", "if", "you", "have", "a", "list", "of", "numbers", "from", "0", "to", "100", "lrange", "0", "10", "will", "return", "11", "elements", "that", "is", "rightmost", "item", "is", "included", "this", "may", "or", "may", "not", "be", "consistent", "with", "behavior", "of", "range", "-", "related", "functions", "in", "your", "programming", "language", "of", "choice", "(", "think", "ruby", "s", "range", "new", "array", "#", "slice", "or", "python", "s", "range", "(", ")", "function", ")", "<", "p", ">", "lrange", "behavior", "is", "consistent", "with", "one", "of", "tcl", "<", "p", ">", "<", "b", ">", "out", "-", "of", "-", "range", "indexes", "<", "/", "b", ">", "<", "p", ">", "indexes", "out", "of", "range", "will", "not", "produce", "an", "error", ":", "if", "start", "is", "over", "the", "end", "of", "the", "list", "or", "start", "&", "gt", ";", "end", "an", "empty", "list", "is", "returned", "if", "end", "is", "over", "the", "end", "of", "the", "list", "redis", "will", "threat", "it", "just", "like", "the", "last", "element", "of", "the", "list", "<", "p", ">", "time", "complexity", ":", "o", "(", "start", "+", "n", ")", "(", "with", "n", "being", "the", "length", "of", "the", "range", "and", "start", "being", "the", "start", "offset", ")" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "lrange", "(", "key", ",", "start", ",", "end", ")", ";", "return", "client", "get", "binary", "multi", "bulk", "reply", "(", ")", ";" ]
[ "trim", "an", "existing", "list", "so", "that", "it", "will", "contain", "only", "the", "specified", "range", "of", "elements", "specified", "start", "and", "end", "are", "zero", "-", "based", "indexes", "0", "is", "the", "first", "element", "of", "the", "list", "(", "the", "list", "head", ")", "1", "the", "next", "element", "and", "so", "on", "<", "p", ">", "for", "example", "ltrim", "foobar", "0", "2", "will", "modify", "the", "list", "stored", "at", "foobar", "key", "so", "that", "only", "the", "first", "three", "elements", "of", "the", "list", "will", "remain", "<", "p", ">", "start", "and", "end", "can", "also", "be", "negative", "numbers", "indicating", "offsets", "from", "the", "end", "of", "the", "list", "for", "example", "-", "1", "is", "the", "last", "element", "of", "the", "list", "-", "2", "the", "penultimate", "element", "and", "so", "on", "<", "p", ">", "indexes", "out", "of", "range", "will", "not", "produce", "an", "error", ":", "if", "start", "is", "over", "the", "end", "of", "the", "list", "or", "start", "&", "gt", ";", "end", "an", "empty", "list", "is", "left", "as", "value", "if", "end", "over", "the", "end", "of", "the", "list", "redis", "will", "threat", "it", "just", "like", "the", "last", "element", "of", "the", "list", "<", "p", ">", "hint", ":", "the", "obvious", "use", "of", "ltrim", "is", "together", "with", "lpush", "/", "rpush", "for", "example", ":", "<", "p", ">", "{" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "ltrim", "(", "key", ",", "start", ",", "end", ")", ";", "return", "client", "get", "status", "code", "reply", "(", ")", ";" ]
[ "if", "member", "already", "exists", "in", "the", "sorted", "set", "adds", "the", "increment", "to", "its", "score", "and", "updates", "the", "position", "of", "the", "element", "in", "the", "sorted", "set", "accordingly", "if", "member", "does", "not", "already", "exist", "in", "the", "sorted", "set", "it", "is", "added", "with", "increment", "as", "score", "(", "that", "is", "like", "if", "the", "previous", "score", "was", "virtually", "zero", ")", "if", "key", "does", "not", "exist", "a", "new", "sorted", "set", "with", "the", "specified", "member", "as", "sole", "member", "is", "crated", "if", "the", "key", "exists", "but", "does", "not", "hold", "a", "sorted", "set", "value", "an", "error", "is", "returned", "<", "p", ">", "the", "score", "value", "can", "be", "the", "string", "representation", "of", "a", "double", "precision", "floating", "point", "number", "it", "s", "possible", "to", "provide", "a", "negative", "value", "to", "perform", "a", "decrement", "<", "p", ">", "for", "an", "introduction", "to", "sorted", "sets", "check", "the", "introduction", "to", "redis", "data", "types", "page", "<", "p", ">", "time", "complexity", "o", "(", "log", "(", "n", ")", ")", "with", "n", "being", "the", "number", "of", "elements", "in", "the", "sorted", "set" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "zincrby", "(", "key", ",", "score", ",", "member", ")", ";", "string", "newscore", "=", "client", "get", "bulk", "reply", "(", ")", ";", "return", "double", "value", "of", "(", "newscore", ")", ";" ]
[ "return", "the", "all", "the", "elements", "in", "the", "sorted", "set", "at", "key", "with", "a", "score", "between", "min", "and", "max", "(", "including", "elements", "with", "score", "equal", "to", "min", "or", "max", ")", "<", "p", ">", "the", "elements", "having", "the", "same", "score", "are", "returned", "sorted", "lexicographically", "as", "ascii", "strings", "(", "this", "follows", "from", "a", "property", "of", "redis", "sorted", "sets", "and", "does", "not", "involve", "further", "computation", ")", "<", "p", ">", "using", "the", "optional", "{" ]
[ "return", "zrange", "by", "score", "(", "key", ",", "to", "byte", "array", "(", "min", ")", ",", "to", "byte", "array", "(", "max", ")", ")", ";" ]
[ "return", "the", "all", "the", "elements", "in", "the", "sorted", "set", "at", "key", "with", "a", "score", "between", "min", "and", "max", "(", "including", "elements", "with", "score", "equal", "to", "min", "or", "max", ")", "<", "p", ">", "the", "elements", "having", "the", "same", "score", "are", "returned", "sorted", "lexicographically", "as", "ascii", "strings", "(", "this", "follows", "from", "a", "property", "of", "redis", "sorted", "sets", "and", "does", "not", "involve", "further", "computation", ")", "<", "p", ">", "using", "the", "optional", "{" ]
[ "return", "zrange", "by", "score", "(", "key", ",", "to", "byte", "array", "(", "min", ")", ",", "to", "byte", "array", "(", "max", ")", ",", "offset", ",", "count", ")", ";" ]
[ "return", "the", "all", "the", "elements", "in", "the", "sorted", "set", "at", "key", "with", "a", "score", "between", "min", "and", "max", "(", "including", "elements", "with", "score", "equal", "to", "min", "or", "max", ")", "<", "p", ">", "the", "elements", "having", "the", "same", "score", "are", "returned", "sorted", "lexicographically", "as", "ascii", "strings", "(", "this", "follows", "from", "a", "property", "of", "redis", "sorted", "sets", "and", "does", "not", "involve", "further", "computation", ")", "<", "p", ">", "using", "the", "optional", "{" ]
[ "return", "zrange", "by", "score", "with", "scores", "(", "key", ",", "to", "byte", "array", "(", "min", ")", ",", "to", "byte", "array", "(", "max", ")", ")", ";" ]
[ "return", "the", "all", "the", "elements", "in", "the", "sorted", "set", "at", "key", "with", "a", "score", "between", "min", "and", "max", "(", "including", "elements", "with", "score", "equal", "to", "min", "or", "max", ")", "<", "p", ">", "the", "elements", "having", "the", "same", "score", "are", "returned", "sorted", "lexicographically", "as", "ascii", "strings", "(", "this", "follows", "from", "a", "property", "of", "redis", "sorted", "sets", "and", "does", "not", "involve", "further", "computation", ")", "<", "p", ">", "using", "the", "optional", "{" ]
[ "return", "zrange", "by", "score", "with", "scores", "(", "key", ",", "to", "byte", "array", "(", "min", ")", ",", "to", "byte", "array", "(", "max", ")", ",", "offset", ",", "count", ")", ";" ]
[ "remove", "all", "elements", "in", "the", "sorted", "set", "at", "key", "with", "rank", "between", "start", "and", "end", "start", "and", "end", "are", "0", "-", "based", "with", "rank", "0", "being", "the", "element", "with", "the", "lowest", "score", "both", "start", "and", "end", "can", "be", "negative", "numbers", "where", "they", "indicate", "offsets", "starting", "at", "the", "element", "with", "the", "highest", "rank", "for", "example", ":", "-", "1", "is", "the", "element", "with", "the", "highest", "score", "-", "2", "the", "element", "with", "the", "second", "highest", "score", "and", "so", "forth", "<", "p", ">", "<", "b", ">", "time", "complexity", ":", "<", "/", "b", ">", "o", "(", "log", "(", "n", ")", ")", "+", "o", "(", "m", ")", "with", "n", "being", "the", "number", "of", "elements", "in", "the", "sorted", "set", "and", "m", "the", "number", "of", "elements", "removed", "by", "the", "operation" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "zremrange", "by", "rank", "(", "key", ",", "start", ",", "end", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", ";" ]
[ "remove", "all", "the", "elements", "in", "the", "sorted", "set", "at", "key", "with", "a", "score", "between", "min", "and", "max", "(", "including", "elements", "with", "score", "equal", "to", "min", "or", "max", ")", "<", "p", ">", "<", "b", ">", "time", "complexity", ":", "<", "/", "b", ">", "<", "p", ">", "o", "(", "log", "(", "n", ")", ")", "+", "o", "(", "m", ")", "with", "n", "being", "the", "number", "of", "elements", "in", "the", "sorted", "set", "and", "m", "the", "number", "of", "elements", "removed", "by", "the", "operation" ]
[ "return", "zremrange", "by", "score", "(", "key", ",", "to", "byte", "array", "(", "start", ")", ",", "to", "byte", "array", "(", "end", ")", ")", ";" ]
[ "retrieve", "the", "configuration", "of", "a", "running", "redis", "server", "not", "all", "the", "configuration", "parameters", "are", "supported", "<", "p", ">", "config", "get", "returns", "the", "current", "configuration", "parameters", "this", "sub", "command", "only", "accepts", "a", "single", "argument", "that", "is", "glob", "style", "pattern", "all", "the", "configuration", "parameters", "matching", "this", "parameter", "are", "reported", "as", "a", "list", "of", "key", "-", "value", "pairs", "<", "p", ">", "<", "b", ">", "example", ":", "<", "/", "b", ">" ]
[ "client", "config", "get", "(", "pattern", ")", ";", "return", "client", "get", "binary", "multi", "bulk", "reply", "(", ")", ";" ]
[ "reset", "the", "stats", "returned", "by", "info" ]
[ "client", "config", "reset", "stat", "(", ")", ";", "return", "client", "get", "status", "code", "reply", "(", ")", ";" ]
[ "alter", "the", "configuration", "of", "a", "running", "redis", "server", "not", "all", "the", "configuration", "parameters", "are", "supported", "<", "p", ">", "the", "list", "of", "configuration", "parameters", "supported", "by", "config", "set", "can", "be", "obtained", "issuing", "a", "{" ]
[ "client", "config", "set", "(", "parameter", ",", "value", ")", ";", "return", "client", "get", "binary", "bulk", "reply", "(", ")", ";" ]
[ "pop", "a", "value", "from", "a", "list", "push", "it", "to", "another", "list", "and", "return", "it", ";", "or", "block", "until", "one", "is", "available" ]
[ "client", "brpoplpush", "(", "source", ",", "destination", ",", "timeout", ")", ";", "client", "set", "timeout", "infinite", "(", ")", ";", "try", "{", "return", "client", "get", "binary", "bulk", "reply", "(", ")", ";", "}", "finally", "{", "client", "rollback", "timeout", "(", ")", ";", "}" ]
[ "sets", "or", "clears", "the", "bit", "at", "offset", "in", "the", "string", "value", "stored", "at", "key" ]
[ "client", "setbit", "(", "key", ",", "offset", ",", "value", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", "=", "=", "1", ";" ]
[ "returns", "the", "bit", "value", "at", "offset", "in", "the", "string", "value", "stored", "at", "key" ]
[ "client", "getbit", "(", "key", ",", "offset", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", "=", "=", "1", ";" ]
[ "evaluates", "scripts", "using", "the", "lua", "interpreter", "built", "into", "redis", "starting", "from", "version", "2", "6", "0", "<", "p", ">" ]
[ "return", "eval", "(", "script", ",", "to", "byte", "array", "(", "keys", "size", "(", ")", ")", ",", "get", "params", "with", "binary", "(", "keys", ",", "args", ")", ")", ";" ]
[ "syncrhonous", "replication", "of", "redis", "as", "described", "here", ":", "http", ":", "/", "/", "antirez", "com", "/", "news", "/", "66", "since", "java", "object", "class", "has", "implemented", "wait", "method", "we", "cannot", "use", "it", "so", "i", "had", "to", "change", "the", "name", "of", "the", "method", "sorry", ":", "s" ]
[ "check", "is", "in", "multi", "or", "pipeline", "(", ")", ";", "client", "wait", "replicas", "(", "replicas", ",", "timeout", ")", ";", "return", "client", "get", "integer", "reply", "(", ")", ";" ]
[ "returns", "the", "real", "rooted", "path", "of", "the", "file", "taking", "ancestor", "symlinks", "into", "account", "for", "example", "the", "rooted", "path", "[", "root", "]", "/", "[", "a", "/", "b", "]", "is", "really", "[", "root", "]", "/", "[", "c", "/", "b", "]", "if", "a", "is", "a", "symlink", "to", "c", "note", "that", "ancestor", "symlinks", "outside", "the", "root", "boundary", "are", "not", "taken", "into", "consideration" ]
[ "public", "abstract", "rooted", "path", "real", "rooted", "path", "(", ")", ";" ]
[ "returns", "the", "unresolved", "link", "target", "if", "{", "@", "link", "#", "is", "symlink", "(", ")", "}" ]
[ "throw", "new", "illegal", "state", "exception", "(", "this", "to", "string", "(", ")", ")", ";" ]
[ "send", "a", "{", "@", "link", "send", "msg", "}", "command", "to", "free", "s", "w", "i", "t", "c", "h", "this", "client", "requires", "that", "the", "{", "@", "link", "send", "msg", "}", "has", "a", "call", "uuid", "parameter" ]
[ "check", "connected", "(", ")", ";", "inbound", "client", "handler", "handler", "=", "(", "inbound", "client", "handler", ")", "channel", "get", "pipeline", "(", ")", "get", "last", "(", ")", ";", "esl", "message", "response", "=", "handler", "send", "sync", "multi", "line", "command", "(", "channel", ",", "send", "msg", "get", "msg", "lines", "(", ")", ")", ";", "return", "new", "command", "response", "(", "send", "msg", "to", "string", "(", ")", ",", "response", ")", ";" ]
[ "<", "p", ">", "the", "method", "s", "authorization", "type", "valid", "values", "are", "<", "code", ">", "none", "<", "/", "code", ">", "for", "open", "access", "<", "code", ">", "aws", "iam", "<", "/", "code", ">", "for", "using", "aws", "iam", "permissions", "<", "code", ">", "custom", "<", "/", "code", ">", "for", "using", "a", "custom", "authorizer", "or", "<", "code", ">", "cognito", "user", "pools", "<", "/", "code", ">", "for", "using", "a", "cognito", "user", "pool", "<", "/", "p", ">" ]
[ "set", "authorization", "type", "(", "authorization", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "specifies", "whether", "the", "method", "requires", "a", "valid", "<", "a", ">", "api", "key", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "api", "key", "required", "(", "api", "key", "required", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "ctx", "=", "new", "context", "(", ")", ";", "ctx", "add", "(", "new", "grid", "port", "processor", "(", "ctx", ")", ")", ";", "ctx", "start", "(", ")", ";" ]
[ "disable", "escaping", "(", "#", "3512", ")" ]
[ "if", "(", "statement", "!", "=", "null", ")", "{", "try", "{", "statement", "set", "escape", "processing", "(", "false", ")", ";", "}", "catch", "(", "throwable", "e", ")", "{", "log", "debug", "(", "e", ")", ";", "}", "}" ]
[ "for", "test", "only" ]
[ "return", "this", "launched", "containers", ";" ]
[ "{" ]
[ "igfs", "ipc", "endpoint", "configuration", "cfg", "=", "new", "igfs", "ipc", "endpoint", "configuration", "(", ")", ";", "cfg", "set", "type", "(", "igfs", "ipc", "endpoint", "type", "tcp", ")", ";", "cfg", "set", "port", "(", "dflt", "ipc", "port", "+", "get", "test", "ignite", "instance", "index", "(", "ignite", "instance", "name", ")", ")", ";", "return", "cfg", ";" ]
[ "finds", "the", "type", "parameter", "for", "the", "given", "class" ]
[ "return", "get", "type", "parameter", "(", "klass", ",", "object", "class", ")", ";" ]
[ "converts", "the", "provided", "{" ]
[ "intent", "intent", "=", "new", "intent", "(", "context", ",", "klass", ")", ";", "if", "(", "argument", "type", "equals", "(", "default", "class", ")", ")", "{", "intent", "put", "extras", "(", "conversion", "util", "to", "bundle", "(", "arguments", ")", ")", ";", "}", "else", "{", "intent", "put", "extra", "(", "key", "argument", ",", "conversion", "util", "to", "type", "(", "object", "mapper", ",", "arguments", ",", "argument", "type", ")", ")", ";", "}", "return", "intent", ";" ]
[ "returns", "a", "{" ]
[ "map", "task", "map", "task", "=", "new", "map", "task", "(", ")", "set", "stage", "name", "(", "default", "map", "stage", "name", ")", "set", "system", "name", "(", "default", "map", "system", "name", ")", "set", "instructions", "(", "instructions", ")", ";", "map", "task", "set", "factory", "(", "transport", "get", "json", "factory", "(", ")", ")", ";", "return", "map", "task", ";" ]
[ "returns", "a", "{" ]
[ "work", "item", "commit", "request", "builder", "builder", "=", "windmill", "work", "item", "commit", "request", "new", "builder", "(", ")", ";", "text", "format", "merge", "(", "output", ",", "builder", ")", ";", "return", "builder", ";" ]
[ "sets", "the", "metadata", "of", "all", "the", "contained", "messages", "in", "this", "work", "item", "commit", "request" ]
[ "if", "(", "window", "bytes", "!", "=", "null", ")", "{", "keyed", "message", "bundle", "builder", "bundles", "=", "builder", "get", "output", "messages", "builder", "(", "0", ")", "get", "bundles", "builder", "(", "0", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "bundles", "get", "messages", "count", "(", ")", ";", "i", "+", "+", ")", "{", "bundles", "get", "messages", "builder", "(", "i", ")", "set", "metadata", "(", "add", "pane", "tag", "(", "pane", ",", "window", "bytes", ")", ")", ";", "}", "}", "return", "builder", ";" ]
[ "reset", "value", "update", "timestamps", "to", "zero" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "builder", "get", "value", "updates", "count", "(", ")", ";", "i", "+", "+", ")", "{", "builder", "get", "value", "updates", "builder", "(", "i", ")", "get", "value", "builder", "(", ")", "set", "timestamp", "(", "0", ")", ";", "}", "return", "builder", ";" ]
[ "set", "the", "target", "object", "on", "which", "to", "call", "the", "target", "method", "only", "necessary", "when", "the", "target", "method", "is", "not", "static", ";", "else", "a", "target", "class", "is", "sufficient" ]
[ "this", "target", "object", "=", "target", "object", ";", "if", "(", "target", "object", "!", "=", "null", ")", "{", "this", "target", "class", "=", "target", "object", "get", "class", "(", ")", ";", "}" ]
[ "set", "the", "name", "of", "the", "method", "to", "be", "invoked", "refers", "to", "either", "a", "static", "method", "or", "a", "non", "-", "static", "method", "depending", "on", "a", "target", "object", "being", "set" ]
[ "this", "target", "method", "=", "target", "method", ";" ]
[ "return", "the", "name", "of", "the", "method", "to", "be", "invoked" ]
[ "return", "this", "target", "method", ";" ]
[ "set", "a", "fully", "qualified", "static", "method", "name", "to", "invoke", "e", "g", "example", "my", "example", "class", "my", "example", "method", "convenient", "alternative", "to", "specifying", "target", "class", "and", "target", "method" ]
[ "this", "static", "method", "=", "static", "method", ";" ]
[ "set", "arguments", "for", "the", "method", "invocation", "if", "this", "property", "is", "not", "set", "or", "the", "object", "array", "is", "of", "length", "0", "a", "method", "with", "no", "arguments", "is", "assumed" ]
[ "this", "arguments", "=", "arguments", ";" ]
[ "return", "the", "arguments", "for", "the", "method", "invocation" ]
[ "return", "(", "this", "arguments", "!", "=", "null", "?", "this", "arguments", ":", "new", "object", "[", "0", "]", ")", ";" ]
[ "resolve", "the", "given", "class", "name", "into", "a", "class", "<", "p", ">", "the", "default", "implementations", "uses", "{" ]
[ "return", "class", "utils", "for", "name", "(", "class", "name", ",", "class", "utils", "get", "default", "class", "loader", "(", ")", ")", ";" ]
[ "return", "whether", "this", "invoker", "has", "been", "prepared", "already", "i", "e", "whether", "it", "allows", "access", "to", "{" ]
[ "return", "(", "this", "method", "object", "!", "=", "null", ")", ";" ]
[ "algorithm", "that", "judges", "the", "match", "between", "the", "declared", "parameter", "types", "of", "a", "candidate", "method", "and", "a", "specific", "list", "of", "arguments", "that", "this", "method", "is", "supposed", "to", "be", "invoked", "with", "<", "p", ">", "determines", "a", "weight", "that", "represents", "the", "class", "hierarchy", "difference", "between", "types", "and", "arguments", "a", "direct", "match", "i", "e", "type", "integer", "-", ">", "arg", "of", "class", "integer", "does", "not", "increase", "the", "result", "-", "all", "direct", "matches", "means", "weight", "0", "a", "match", "between", "type", "object", "and", "arg", "of", "class", "integer", "would", "increase", "the", "weight", "by", "2", "due", "to", "the", "superclass", "2", "steps", "up", "in", "the", "hierarchy", "(", "i", "e", "object", ")", "being", "the", "last", "one", "that", "still", "matches", "the", "required", "type", "object", "type", "number", "and", "class", "integer", "would", "increase", "the", "weight", "by", "1", "accordingly", "due", "to", "the", "superclass", "1", "step", "up", "the", "hierarchy", "(", "i", "e", "number", ")", "still", "matching", "the", "required", "type", "number", "therefore", "with", "an", "arg", "of", "type", "integer", "a", "constructor", "(", "integer", ")", "would", "be", "preferred", "to", "a", "constructor", "(", "number", ")", "which", "would", "in", "turn", "be", "preferred", "to", "a", "constructor", "(", "object", ")", "all", "argument", "weights", "get", "accumulated", "<", "p", ">", "note", ":", "this", "is", "the", "algorithm", "used", "by", "method", "invoker", "itself", "and", "also", "the", "algorithm", "used", "for", "constructor", "and", "factory", "method", "selection", "in", "spring", "s", "bean", "container", "(", "in", "case", "of", "lenient", "constructor", "resolution", "which", "is", "the", "default", "for", "regular", "bean", "definitions", ")" ]
[ "int", "result", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "param", "types", "length", ";", "i", "+", "+", ")", "{", "if", "(", "!", "class", "utils", "is", "assignable", "value", "(", "param", "types", "[", "i", "]", ",", "args", "[", "i", "]", ")", ")", "{", "return", "integer", "max", "value", ";", "}", "if", "(", "args", "[", "i", "]", "!", "=", "null", ")", "{", "class", "<", "?", ">", "param", "type", "=", "param", "types", "[", "i", "]", ";", "class", "<", "?", ">", "super", "class", "=", "args", "[", "i", "]", "get", "class", "(", ")", "get", "superclass", "(", ")", ";", "while", "(", "super", "class", "!", "=", "null", ")", "{", "if", "(", "param", "type", "equals", "(", "super", "class", ")", ")", "{", "result", "=", "result", "+", "2", ";", "super", "class", "=", "null", ";", "}", "else", "if", "(", "class", "utils", "is", "assignable", "(", "param", "type", ",", "super", "class", ")", ")", "{", "result", "=", "result", "+", "2", ";", "super", "class", "=", "super", "class", "get", "superclass", "(", ")", ";", "}", "else", "{", "super", "class", "=", "null", ";", "}", "}", "if", "(", "param", "type", "is", "interface", "(", ")", ")", "{", "result", "=", "result", "+", "1", ";", "}", "}", "}", "return", "result", ";" ]
[ "<", "p", ">", "true", "if", "wi", "-", "fi", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "this", "wifi", "=", "wifi", ";" ]
[ "<", "p", ">", "true", "if", "wi", "-", "fi", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "wifi", ";" ]
[ "<", "p", ">", "true", "if", "wi", "-", "fi", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "set", "wifi", "(", "wifi", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "true", "if", "wi", "-", "fi", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "wifi", ";" ]
[ "<", "p", ">", "true", "if", "bluetooth", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "this", "bluetooth", "=", "bluetooth", ";" ]
[ "<", "p", ">", "true", "if", "bluetooth", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "bluetooth", ";" ]
[ "<", "p", ">", "true", "if", "bluetooth", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "set", "bluetooth", "(", "bluetooth", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "true", "if", "bluetooth", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "bluetooth", ";" ]
[ "<", "p", ">", "true", "if", "nfc", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "this", "nfc", "=", "nfc", ";" ]
[ "<", "p", ">", "true", "if", "nfc", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "nfc", ";" ]
[ "<", "p", ">", "true", "if", "nfc", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "set", "nfc", "(", "nfc", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "true", "if", "nfc", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "nfc", ";" ]
[ "<", "p", ">", "true", "if", "gps", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "this", "gps", "=", "gps", ";" ]
[ "<", "p", ">", "true", "if", "gps", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "gps", ";" ]
[ "<", "p", ">", "true", "if", "gps", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "set", "gps", "(", "gps", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "true", "if", "gps", "is", "enabled", "at", "the", "beginning", "of", "the", "test", ";", "otherwise", "false", "<", "/", "p", ">" ]
[ "return", "this", "gps", ";" ]
[ "encode", "a", "message", "into", "a", "{", "@", "link", "io", "netty", "buffer", "byte", "buf", "}", "this", "method", "will", "be", "called", "for", "each", "written", "message", "that", "can", "be", "handled", "by", "this", "encoder" ]
[ "writable", "byte", "channel", "writable", "byte", "channel", "=", "new", "writable", "byte", "channel", "(", ")", "{", "@", "override", "public", "int", "write", "(", "byte", "buffer", "src", ")", "throws", "i", "o", "exception", "{", "out", "write", "bytes", "(", "src", ")", ";", "return", "out", "capacity", "(", ")", ";", "}", "@", "override", "public", "boolean", "is", "open", "(", ")", "{", "return", "true", ";", "}", "@", "override", "public", "void", "close", "(", ")", "throws", "i", "o", "exception", "{", "}", "}", ";", "long", "to", "transfer", "=", "msg", "count", "(", ")", ";", "while", "(", "true", ")", "{", "long", "transferred", "=", "msg", "transfered", "(", ")", ";", "if", "(", "to", "transfer", "-", "transferred", "<", "=", "0", ")", "{", "break", ";", "}", "msg", "transfer", "to", "(", "writable", "byte", "channel", ",", "transferred", ")", ";", "}" ]
[ "<", "p", ">", "the", "names", "of", "the", "scaling", "plans", "(", "up", "to", "10", ")", "if", "you", "specify", "application", "sources", "you", "cannot", "specify", "scaling", "plan", "names", "<", "/", "p", ">" ]
[ "return", "scaling", "plan", "names", ";" ]
[ "<", "p", ">", "the", "names", "of", "the", "scaling", "plans", "(", "up", "to", "10", ")", "if", "you", "specify", "application", "sources", "you", "cannot", "specify", "scaling", "plan", "names", "<", "/", "p", ">" ]
[ "if", "(", "scaling", "plan", "names", "=", "=", "null", ")", "{", "this", "scaling", "plan", "names", "=", "null", ";", "return", ";", "}", "this", "scaling", "plan", "names", "=", "new", "java", "util", "array", "list", "<", "string", ">", "(", "scaling", "plan", "names", ")", ";" ]
[ "<", "p", ">", "the", "names", "of", "the", "scaling", "plans", "(", "up", "to", "10", ")", "if", "you", "specify", "application", "sources", "you", "cannot", "specify", "scaling", "plan", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "scaling", "plan", "names", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "scaling", "plan", "names", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "scaling", "plan", "names", "=", "=", "null", ")", "{", "set", "scaling", "plan", "names", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "scaling", "plan", "names", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "scaling", "plan", "names", ")", "{", "this", "scaling", "plan", "names", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "the", "scaling", "plans", "(", "up", "to", "10", ")", "if", "you", "specify", "application", "sources", "you", "cannot", "specify", "scaling", "plan", "names", "<", "/", "p", ">" ]
[ "set", "scaling", "plan", "names", "(", "scaling", "plan", "names", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "version", "of", "the", "scaling", "plan", "if", "you", "specify", "a", "scaling", "plan", "version", "you", "must", "also", "specify", "a", "scaling", "plan", "name", "<", "/", "p", ">" ]
[ "set", "scaling", "plan", "version", "(", "scaling", "plan", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sources", "for", "the", "applications", "(", "up", "to", "10", ")", "if", "you", "specify", "scaling", "plan", "names", "you", "cannot", "specify", "application", "sources", "<", "/", "p", ">" ]
[ "return", "application", "sources", ";" ]
[ "<", "p", ">", "the", "sources", "for", "the", "applications", "(", "up", "to", "10", ")", "if", "you", "specify", "scaling", "plan", "names", "you", "cannot", "specify", "application", "sources", "<", "/", "p", ">" ]
[ "if", "(", "application", "sources", "=", "=", "null", ")", "{", "this", "application", "sources", "=", "null", ";", "return", ";", "}", "this", "application", "sources", "=", "new", "java", "util", "array", "list", "<", "application", "source", ">", "(", "application", "sources", ")", ";" ]
[ "<", "p", ">", "the", "sources", "for", "the", "applications", "(", "up", "to", "10", ")", "if", "you", "specify", "scaling", "plan", "names", "you", "cannot", "specify", "application", "sources", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "application", "sources", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "application", "sources", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "application", "sources", "=", "=", "null", ")", "{", "set", "application", "sources", "(", "new", "java", "util", "array", "list", "<", "application", "source", ">", "(", "application", "sources", "length", ")", ")", ";", "}", "for", "(", "application", "source", "ele", ":", "application", "sources", ")", "{", "this", "application", "sources", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "sources", "for", "the", "applications", "(", "up", "to", "10", ")", "if", "you", "specify", "scaling", "plan", "names", "you", "cannot", "specify", "application", "sources", "<", "/", "p", ">" ]
[ "set", "application", "sources", "(", "application", "sources", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "scalable", "resources", "to", "return", "this", "value", "can", "be", "between", "1", "and", "50", "the", "default", "value", "is", "50", "<", "/", "p", ">" ]
[ "set", "max", "results", "(", "max", "results", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "token", "for", "the", "next", "set", "of", "results", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "adds", "all", "specified", "models", "to", "the", "{" ]
[ "this", "models", "add", "all", "(", "arrays", "as", "list", "(", "models", ")", ")", ";", "return", "this", ";" ]
[ "adds", "a", "{" ]
[ "if", "(", "models", "!", "=", "null", ")", "{", "this", "models", "add", "all", "(", "models", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "scaling", "plan", "<", "/", "p", ">" ]
[ "set", "scaling", "plan", "name", "(", "scaling", "plan", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "version", "of", "the", "scaling", "plan", "<", "/", "p", ">" ]
[ "set", "scaling", "plan", "version", "(", "scaling", "plan", "version", ")", ";", "return", "this", ";" ]
[ "returns", "the", "criterium", "cache", "of", "the", "menu" ]
[ "return", "m", "selection", "menu", "get", "criterium", "cache", "(", ")", ";" ]