docstring_tokens
list
code_tokens
list
[ "logs", "a", "message", "at", "debug", "level", "<", "br", ">", "usage", "example", ":" ]
[ "debug", "(", "null", ",", "format", ",", "args", ")", ";" ]
[ "logs", "a", "message", "at", "info", "level" ]
[ "info", "(", "null", ",", "format", ",", "args", ")", ";" ]
[ "logs", "a", "message", "at", "warn", "level" ]
[ "logger", "log", "(", "warning", ",", "message", ",", "exception", ")", ";" ]
[ "logs", "a", "message", "at", "warn", "level" ]
[ "logger", "warning", "(", "message", ")", ";" ]
[ "logs", "given", "message", "at", "given", "level" ]
[ "logger", "log", "(", "level", ",", "message", ")", ";" ]
[ "logs", "a", "message", "at", "warn", "level", "<", "br", ">", "usage", "example", ":" ]
[ "warn", "(", "null", ",", "format", ",", "args", ")", ";" ]
[ "logs", "a", "message", "at", "error", "level" ]
[ "logger", "log", "(", "severe", ",", "message", ",", "exception", ")", ";" ]
[ "logs", "a", "message", "at", "error", "level" ]
[ "logger", "severe", "(", "message", ")", ";" ]
[ "logs", "a", "message", "at", "error", "level", "the", "value", "of", "{", "@", "code", "exception", "get", "message", "(", ")", "}", "will", "be", "used", "as", "the", "log", "message", "<", "br", ">", "usage", "example", ":" ]
[ "if", "(", "logger", "is", "loggable", "(", "severe", ")", ")", "{", "logger", "log", "(", "severe", ",", "exception", "get", "message", "(", ")", ",", "exception", ")", ";", "}" ]
[ "logs", "a", "message", "at", "error", "level", "<", "br", ">", "usage", "example", ":" ]
[ "error", "(", "null", ",", "format", ",", "args", ")", ";" ]
[ "sets", "that", "there", "was", "an", "error", "during", "evaluation" ]
[ "has", "error", "=", "true", ";" ]
[ "returns", "final", "set", "of", "targets", "and", "sets", "error", "flag", "if", "required" ]
[ "precompute", "packages", "(", "walkable", "graph", ")", ";", "resolved", "targets", "builder", "<", "target", ">", "resolved", "targets", "builder", "=", "build", "internal", "(", ")", ";", "if", "(", "has", "error", ")", "{", "resolved", "targets", "builder", "set", "error", "(", ")", ";", "}", "return", "resolved", "targets", "builder", "build", "(", ")", ";" ]
[ "adds", "the", "result", "from", "expansion", "of", "positive", "target", "pattern", "(", "eg", "/", "/", "foo", ":", "all", ")" ]
[ "abstract", "void", "add", "labels", "of", "negative", "pattern", "(", "resolved", "targets", "<", "label", ">", "labels", ")", ";" ]
[ "adds", "the", "result", "from", "expansion", "of", "negative", "target", "pattern", "(", "eg", "-", "/", "/", "foo", ":", "all", ")" ]
[ "abstract", "void", "add", "labels", "of", "positive", "pattern", "(", "resolved", "targets", "<", "label", ">", "labels", ")", ";" ]
[ "returns", "{" ]
[ "abstract", "resolved", "targets", "builder", "<", "target", ">", "build", "internal", "(", ")", "throws", "target", "parsing", "exception", ";" ]
[ "returns", "target", "labels", "from", "all", "individual", "results" ]
[ "protected", "abstract", "iterable", "<", "label", ">", "get", "labels", "(", ")", ";" ]
[ "<", "p", ">", "the", "identifier", "of", "an", "amazon", "redshift", "event", "<", "/", "p", ">" ]
[ "set", "event", "id", "(", "event", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "category", "of", "an", "amazon", "redshift", "event", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "event", "categories", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "event", "categories", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "event", "categories", "=", "=", "null", ")", "{", "set", "event", "categories", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "event", "categories", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "event", "categories", ")", "{", "this", "event", "categories", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "category", "of", "an", "amazon", "redshift", "event", "<", "/", "p", ">" ]
[ "set", "event", "categories", "(", "event", "categories", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "description", "of", "the", "event", "<", "/", "p", ">" ]
[ "this", "event", "description", "=", "event", "description", ";" ]
[ "<", "p", ">", "the", "description", "of", "the", "event", "<", "/", "p", ">" ]
[ "return", "this", "event", "description", ";" ]
[ "<", "p", ">", "the", "description", "of", "an", "amazon", "redshift", "event", "<", "/", "p", ">" ]
[ "set", "event", "description", "(", "event", "description", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "severity", "of", "the", "event", "<", "/", "p", ">", "<", "p", ">", "values", ":", "error", "info", "<", "/", "p", ">" ]
[ "set", "severity", "(", "severity", ")", ";", "return", "this", ";" ]
[ "create", "sql", "parser" ]
[ "if", "(", "d", "q", "l", "statement", "is", "d", "q", "l", "(", "token", "type", ")", ")", "{", "return", "get", "d", "q", "l", "parser", "(", "db", "type", ",", "sharding", "rule", ",", "lexer", "engine", ",", "sharding", "table", "meta", "data", ")", ";", "}", "if", "(", "d", "m", "l", "statement", "is", "d", "m", "l", "(", "token", "type", ")", ")", "{", "return", "get", "d", "m", "l", "parser", "(", "db", "type", ",", "token", "type", ",", "sharding", "rule", ",", "lexer", "engine", ",", "sharding", "table", "meta", "data", ")", ";", "}", "if", "(", "t", "c", "l", "statement", "is", "t", "c", "l", "(", "token", "type", ")", ")", "{", "return", "get", "t", "c", "l", "parser", "(", "db", "type", ",", "sharding", "rule", ",", "lexer", "engine", ")", ";", "}", "if", "(", "d", "a", "l", "statement", "is", "d", "a", "l", "(", "token", "type", ")", ")", "{", "return", "get", "d", "a", "l", "parser", "(", "db", "type", ",", "(", "keyword", ")", "token", "type", ",", "sharding", "rule", ",", "lexer", "engine", ")", ";", "}", "lexer", "engine", "next", "token", "(", ")", ";", "token", "type", "secondary", "token", "type", "=", "lexer", "engine", "get", "current", "token", "(", ")", "get", "type", "(", ")", ";", "if", "(", "d", "d", "l", "statement", "is", "d", "d", "l", "(", "token", "type", ",", "secondary", "token", "type", ")", ")", "{", "return", "get", "d", "d", "l", "parser", "(", "db", "type", ",", "token", "type", ",", "sharding", "rule", ",", "lexer", "engine", ")", ";", "}", "if", "(", "d", "c", "l", "statement", "is", "d", "c", "l", "(", "token", "type", ",", "secondary", "token", "type", ")", ")", "{", "return", "get", "d", "c", "l", "parser", "(", "db", "type", ",", "token", "type", ",", "sharding", "rule", ",", "lexer", "engine", ")", ";", "}", "throw", "new", "s", "q", "l", "parsing", "unsupported", "exception", "(", "token", "type", ")", ";" ]
[ "returns", "the", "name", "of", "the", "condition", "key", "involved", "in", "this", "condition", "condition", "keys", "are", "predefined", "values", "supported", "by", "aws", "that", "provide", "input", "to", "a", "condition", "s", "evaluation", "such", "as", "the", "current", "time", "or", "the", "ip", "address", "of", "the", "incoming", "request", "<", "p", ">", "your", "policy", "is", "evaluated", "for", "each", "incoming", "request", "and", "condition", "keys", "specify", "what", "information", "to", "pull", "out", "of", "those", "incoming", "requests", "and", "plug", "into", "the", "conditions", "in", "your", "policy" ]
[ "return", "condition", "key", ";" ]
[ "sets", "the", "name", "of", "the", "condition", "key", "involved", "in", "this", "condition", "condition", "keys", "are", "predefined", "values", "supported", "by", "aws", "that", "provide", "input", "to", "a", "condition", "s", "evaluation", "such", "as", "the", "current", "time", "or", "the", "ip", "address", "of", "the", "incoming", "request", "<", "p", ">", "your", "policy", "is", "evaluated", "for", "each", "incoming", "request", "and", "condition", "keys", "specify", "what", "information", "to", "pull", "out", "of", "those", "incoming", "requests", "and", "plug", "into", "the", "conditions", "in", "your", "policy" ]
[ "this", "condition", "key", "=", "condition", "key", ";" ]
[ "fluent", "version", "of", "{" ]
[ "set", "condition", "key", "(", "key", ")", ";", "return", "this", ";" ]
[ "fluent", "version", "of", "{" ]
[ "set", "values", "(", "arrays", "as", "list", "(", "values", ")", ")", ";", "return", "this", ";" ]
[ "fluent", "version", "of", "{" ]
[ "set", "values", "(", "values", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "byte", "buffer", "put", "(", "byte", "buffer", ")", ";" ]
[ "{" ]
[ "byte", "buffer", "flip", "(", ")", ";" ]
[ "use", "it", "in", "optimizer", "{", "@", "link", "com", "facebook", "presto", "sql", "planner", "iterative", "rule", "}", "only", "if", "you", "truly", "do", "not", "have", "a", "better", "option" ]
[ "return", "new", "plan", "node", "searcher", "(", "node", ",", "lookup", ")", ";" ]
[ "tests", "the", "getters", "of", "each", "status" ]
[ "checkpoint", "stats", "status", "in", "progress", "=", "checkpoint", "stats", "status", "in", "progress", ";", "assert", "true", "(", "in", "progress", "is", "in", "progress", "(", ")", ")", ";", "assert", "false", "(", "in", "progress", "is", "completed", "(", ")", ")", ";", "assert", "false", "(", "in", "progress", "is", "failed", "(", ")", ")", ";", "checkpoint", "stats", "status", "completed", "=", "checkpoint", "stats", "status", "completed", ";", "assert", "false", "(", "completed", "is", "in", "progress", "(", ")", ")", ";", "assert", "true", "(", "completed", "is", "completed", "(", ")", ")", ";", "assert", "false", "(", "completed", "is", "failed", "(", ")", ")", ";", "checkpoint", "stats", "status", "failed", "=", "checkpoint", "stats", "status", "failed", ";", "assert", "false", "(", "failed", "is", "in", "progress", "(", ")", ")", ";", "assert", "false", "(", "failed", "is", "completed", "(", ")", ")", ";", "assert", "true", "(", "failed", "is", "failed", "(", ")", ")", ";" ]
[ "the", "delay", "for", "the", "job" ]
[ "return", "delay", "in", "ms", ";" ]
[ "the", "deadline", "in", "ms", "after", "which", "the", "job", "should", "be", "run", "even", "if", "the", "constraints", "are", "not", "match", "<", "p", ">", "if", "there", "is", "no", "deadline", "this", "will", "be", "null" ]
[ "return", "override", "deadline", "in", "ms", ";" ]
[ "binds", "(", "if", "any", ")" ]
[ "nokogiri", "x", "path", "variable", "resolver", "variable", "resolver", "=", "this", "variable", "resolver", ";", "if", "(", "variable", "resolver", "=", "=", "null", ")", "{", "variable", "resolver", "=", "nokogiri", "x", "path", "variable", "resolver", "create", "(", ")", ";", "this", "variable", "resolver", "=", "variable", "resolver", ";", "}", "variable", "resolver", "register", "variable", "(", "name", "as", "java", "string", "(", ")", ",", "value", "as", "java", "string", "(", ")", ")", ";", "return", "this", ";" ]
[ "get", "the", "percentages", "to", "calculate", "percentiles", "for", "in", "this", "aggregation" ]
[ "return", "percents", ";" ]
[ "/", "*", "convert", "the", "map", "returned", "from", "d", "f", "s", "util", "functions", "to", "an", "array", "of", "addresses", "represented", "as", "host", ":", "port" ]
[ "string", "[", "]", "ret", "=", "new", "string", "[", "list", "size", "(", ")", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "list", "size", "(", ")", ";", "i", "+", "+", ")", "{", "ret", "[", "i", "]", "=", "net", "utils", "get", "host", "port", "string", "(", "list", "get", "(", "i", ")", "get", "address", "(", ")", ")", ";", "}", "return", "ret", ";" ]
[ "using", "d", "f", "s", "util", "methods", "get", "the", "list", "of", "given", "{" ]
[ "switch", "(", "type", ")", "{", "case", "namenode", ":", "return", "d", "f", "s", "util", "get", "n", "n", "service", "rpc", "addresses", "for", "cluster", "(", "conf", ")", ";", "case", "backup", ":", "return", "d", "f", "s", "util", "get", "backup", "node", "addresses", "(", "conf", ")", ";", "case", "secondary", ":", "return", "d", "f", "s", "util", "get", "secondary", "name", "node", "addresses", "(", "conf", ")", ";", "case", "nnrpcaddresses", ":", "return", "d", "f", "s", "util", "get", "n", "n", "service", "rpc", "addresses", "for", "cluster", "(", "conf", ")", ";", "}", "return", "null", ";" ]
[ "get", "address", "list", "for", "a", "given", "type", "of", "address", "command", "expected", "to", "fail", "if", "{" ]
[ "string", "[", "]", "args", "=", "new", "string", "[", "1", "]", ";", "switch", "(", "type", ")", "{", "case", "namenode", ":", "args", "[", "0", "]", "=", "command", "namenode", "get", "name", "(", ")", ";", "break", ";", "case", "backup", ":", "args", "[", "0", "]", "=", "command", "backup", "get", "name", "(", ")", ";", "break", ";", "case", "secondary", ":", "args", "[", "0", "]", "=", "command", "secondary", "get", "name", "(", ")", ";", "break", ";", "case", "nnrpcaddresses", ":", "args", "[", "0", "]", "=", "command", "nnrpcaddresses", "get", "name", "(", ")", ";", "break", ";", "}", "return", "run", "tool", "(", "conf", ",", "args", ",", "success", ")", ";" ]
[ "define", "which", "groups", "should", "be", "reduced" ]
[ "for", "(", "search", "group", "<", "t", ">", "group", ":", "groups", ")", "{", "this", "groups", "put", "(", "group", "group", "value", ",", "new", "group", "collector", "<", ">", "(", "new", "collector", "(", ")", ")", ")", ";", "}" ]
[ "creates", "a", "new", "collector", "for", "each", "group" ]
[ "protected", "abstract", "c", "new", "collector", "(", ")", ";" ]
[ "get", "the", "collector", "for", "a", "given", "group" ]
[ "return", "groups", "get", "(", "value", ")", "collector", ";" ]
[ "collect", "a", "given", "document", "into", "a", "given", "group" ]
[ "group", "collector", "<", "c", ">", "collector", "=", "groups", "get", "(", "value", ")", ";", "collector", "leaf", "collector", "collect", "(", "doc", ")", ";" ]
[ "set", "the", "scorer", "on", "all", "group", "collectors" ]
[ "for", "(", "group", "collector", "<", "c", ">", "collector", ":", "groups", "values", "(", ")", ")", "{", "collector", "leaf", "collector", "set", "scorer", "(", "scorer", ")", ";", "}" ]
[ "called", "when", "the", "parent", "{" ]
[ "for", "(", "group", "collector", "<", "c", ">", "collector", ":", "groups", "values", "(", ")", ")", "{", "collector", "leaf", "collector", "=", "collector", "collector", "get", "leaf", "collector", "(", "ctx", ")", ";", "}" ]
[ "this", "method", "wraps", "a", "query", "runner", "the", "input", "query", "runner", "by", "contract", "will", "provide", "a", "series", "of", "result", "type", "objects", "in", "time", "order", "(", "ascending", "or", "descending", ")", "this", "method", "should", "return", "a", "new", "query", "runner", "that", "potentially", "merges", "the", "stream", "of", "ordered", "result", "type", "objects" ]
[ "public", "abstract", "query", "runner", "<", "result", "type", ">", "merge", "results", "(", "query", "runner", "<", "result", "type", ">", "runner", ")", ";" ]
[ "creates", "a", "{", "@", "link", "query", "metrics", "}", "object", "that", "is", "used", "to", "generate", "metrics", "for", "this", "specific", "query", "type", "this", "exists", "to", "allow", "for", "query", "-", "specific", "dimensions", "and", "metrics", "that", "is", "the", "tool", "chest", "is", "expected", "to", "set", "some", "meaningful", "dimensions", "for", "metrics", "given", "this", "query", "type", "examples", "might", "be", "the", "top", "n", "threshold", "for", "a", "top", "n", "query", "or", "the", "number", "of", "dimensions", "included", "for", "a", "group", "by", "query" ]
[ "public", "abstract", "query", "metrics", "<", "?", "super", "query", "type", ">", "make", "metrics", "(", "query", "type", "query", ")", ";" ]
[ "creates", "a", "function", "that", "can", "take", "in", "a", "result", "type", "and", "return", "a", "new", "result", "type", "having", "applied", "the", "metric", "manipulator", "fn", "to", "each", "of", "the", "metrics", "<", "p", ">", "this", "exists", "because", "the", "query", "tool", "chest", "is", "the", "only", "thing", "that", "understands", "the", "internal", "serialization", "format", "of", "result", "type", "so", "it", "s", "primary", "responsibility", "is", "to", "decompose", "that", "structure", "and", "apply", "the", "given", "function", "to", "all", "metrics", "<", "p", ">", "this", "function", "is", "called", "very", "early", "in", "the", "processing", "pipeline", "on", "the", "broker" ]
[ "public", "abstract", "function", "<", "result", "type", ",", "result", "type", ">", "make", "pre", "compute", "manipulator", "fn", "(", "query", "type", "query", ",", "metric", "manipulation", "fn", "fn", ")", ";" ]
[ "generally", "speaking", "this", "is", "the", "exact", "same", "thing", "as", "make", "pre", "compute", "manipulator", "fn", "it", "is", "leveraged", "in", "order", "to", "compute", "post", "aggregators", "on", "results", "after", "they", "have", "been", "completely", "merged", "together", "which", "should", "actually", "be", "done", "in", "the", "merge", "results", "(", ")", "call", "instead", "of", "here", "<", "p", ">", "this", "should", "never", "actually", "be", "overridden", "and", "it", "should", "be", "removed", "as", "quickly", "as", "possible" ]
[ "return", "make", "pre", "compute", "manipulator", "fn", "(", "query", ",", "fn", ")", ";" ]
[ "returns", "a", "type", "reference", "object", "that", "is", "just", "passed", "through", "to", "jackson", "in", "order", "to", "deserialize", "the", "results", "of", "this", "type", "of", "query" ]
[ "public", "abstract", "type", "reference", "<", "result", "type", ">", "get", "result", "type", "reference", "(", ")", ";" ]
[ "returns", "a", "cache", "strategy", "to", "be", "used", "to", "load", "data", "into", "the", "cache", "and", "remove", "it", "from", "the", "cache", "<", "p", ">", "this", "is", "optional", "if", "it", "returns", "null", "caching", "is", "effectively", "disabled", "for", "the", "query" ]
[ "return", "null", ";" ]
[ "wraps", "a", "query", "runner", "the", "input", "query", "runner", "is", "the", "query", "runner", "as", "it", "exists", "*", "before", "*", "being", "passed", "to", "merge", "results", "(", ")", "<", "p", ">", "in", "fact", "the", "return", "value", "of", "this", "method", "is", "always", "passed", "to", "merge", "results", "so", "it", "is", "equivalent", "to", "just", "implement", "this", "functionality", "as", "extra", "decoration", "on", "the", "query", "runner", "during", "merge", "results", "(", ")", "<", "p", ">", "in", "the", "interests", "of", "potentially", "simplifying", "these", "interfaces", "the", "recommendation", "is", "to", "actually", "not", "override", "this", "method", "and", "instead", "apply", "anything", "that", "might", "be", "needed", "here", "in", "the", "merge", "results", "(", ")", "call" ]
[ "return", "runner", ";" ]
[ "wraps", "a", "query", "runner", "the", "input", "query", "runner", "is", "the", "query", "runner", "as", "it", "exists", "coming", "out", "of", "merge", "results", "(", ")", "<", "p", ">", "in", "fact", "the", "input", "value", "of", "this", "method", "is", "always", "the", "return", "value", "from", "merge", "results", "so", "it", "is", "equivalent", "to", "just", "implement", "this", "functionality", "as", "extra", "decoration", "on", "the", "query", "runner", "during", "merge", "results", "(", ")", "<", "p", ">", "in", "the", "interests", "of", "potentially", "simplifying", "these", "interfaces", "the", "recommendation", "is", "to", "actually", "not", "override", "this", "method", "and", "instead", "apply", "anything", "that", "might", "be", "needed", "here", "in", "the", "merge", "results", "(", ")", "call" ]
[ "return", "runner", ";" ]
[ "this", "method", "is", "called", "to", "allow", "the", "query", "to", "prune", "segments", "that", "it", "does", "not", "believe", "need", "to", "actually", "be", "queried", "it", "can", "use", "whatever", "criteria", "it", "wants", "in", "order", "to", "do", "the", "pruning", "it", "just", "needs", "to", "return", "the", "list", "of", "segments", "it", "actually", "wants", "to", "see", "queried" ]
[ "return", "segments", ";" ]
[ "provide", "a", "new", "scheduled", "executor", "service", "instance" ]
[ "scheduled", "executor", "service", "scheduled", "executor", "service", "=", "executors", "new", "scheduled", "thread", "pool", "(", "get", "cpu", "count", "(", ")", ")", ";", "runtime", "get", "runtime", "(", ")", "add", "shutdown", "hook", "(", "new", "thread", "(", "(", ")", "-", ">", "shutdown", "(", "scheduled", "executor", "service", ")", ")", ")", ";", "return", "scheduled", "executor", "service", ";" ]
[ "{" ]
[ "return", "field", "hash", "code", "(", ")", ";" ]
[ "{" ]
[ "if", "(", "!", "(", "other", "instanceof", "field", "annotation", "struct", ")", ")", "{", "return", "false", ";", "}", "return", "field", "equals", "(", "(", "(", "field", "annotation", "struct", ")", "other", ")", "field", ")", ";" ]
[ "{" ]
[ "return", "field", "compare", "to", "(", "other", "field", ")", ";" ]
[ "{" ]
[ "field", "ids", "section", "field", "ids", "=", "file", "get", "field", "ids", "(", ")", ";", "mixed", "item", "section", "word", "data", "=", "file", "get", "word", "data", "(", ")", ";", "field", "ids", "intern", "(", "field", ")", ";", "annotations", "=", "word", "data", "intern", "(", "annotations", ")", ";" ]
[ "gets", "the", "field", "this", "item", "is", "for" ]
[ "return", "field", ";" ]
[ "add", "a", "new", "{", "@", "code", "doc", "processor", "}", "instance", "to", "the", "list", "of", "wrapped", "instances" ]
[ "doc", "processors", "add", "(", "doc", "processor", ")", ";" ]
[ "registers", "startup", "progress", "metrics", "linked", "to", "the", "given", "startup", "progress" ]
[ "new", "startup", "progress", "metrics", "(", "prog", ")", ";" ]
[ "adds", "a", "counter", "with", "a", "name", "built", "by", "using", "the", "specified", "phase", "s", "name", "as", "prefix", "and", "then", "appending", "the", "specified", "suffix" ]
[ "metrics", "info", "metrics", "info", "=", "info", "(", "phase", "get", "name", "(", ")", "+", "name", "suffix", ",", "phase", "get", "description", "(", ")", "+", "desc", "suffix", ")", ";", "builder", "add", "counter", "(", "metrics", "info", ",", "value", ")", ";" ]
[ "adds", "a", "gauge", "with", "a", "name", "built", "by", "using", "the", "specified", "phase", "s", "name", "as", "prefix", "and", "then", "appending", "the", "specified", "suffix" ]
[ "metrics", "info", "metrics", "info", "=", "info", "(", "phase", "get", "name", "(", ")", "+", "name", "suffix", ",", "phase", "get", "description", "(", ")", "+", "desc", "suffix", ")", ";", "builder", "add", "gauge", "(", "metrics", "info", ",", "value", ")", ";" ]
[ "this", "controls", "{" ]
[ "m", "default", "launcher", "checker", "=", "p", ";" ]
[ "set", "the", "default", "launcher", "this", "will", "update", "{" ]
[ "m", "default", "launcher", "put", "(", "user", "id", ",", "launcher", "activity", ")", ";", "final", "bi", "predicate", "<", "string", ",", "integer", ">", "old", "checker", "=", "m", "default", "launcher", "checker", ";", "m", "default", "launcher", "checker", "=", "(", "check", "package", "name", ",", "check", "user", "id", ")", "-", ">", "{", "if", "(", "(", "check", "user", "id", "=", "=", "user", "id", ")", "&", "&", "(", "launcher", "activity", "!", "=", "null", ")", ")", "{", "return", "launcher", "activity", "get", "package", "name", "(", ")", "equals", "(", "check", "package", "name", ")", ";", "}", "return", "old", "checker", "test", "(", "check", "package", "name", ",", "check", "user", "id", ")", ";", "}", ";" ]
[ "for", "debugging" ]
[ "dumpsys", "on", "logcat", "(", "\"", "\"", ")", ";" ]
[ "for", "debugging", "dump", "arbitrary", "file", "on", "logcat" ]
[ "dump", "file", "on", "logcat", "(", "path", ",", "\"", "\"", ")", ";" ]
[ "for", "debugging", "dump", "per", "-", "user", "state", "file", "on", "logcat" ]
[ "dump", "user", "file", "(", "user", "id", ",", "\"", "\"", ")", ";" ]
[ "make", "a", "shortcut", "with", "an", "id", "only" ]
[ "return", "new", "shortcut", "info", "builder", "(", "m", "client", "context", ",", "id", ")", "build", "(", ")", ";" ]
[ "make", "multiple", "shortcuts", "with", "i", "ds" ]
[ "final", "array", "list", "<", "shortcut", "info", ">", "ret", "=", "new", "array", "list", "(", ")", ";", "for", "(", "string", "id", ":", "ids", ")", "{", "ret", "add", "(", "make", "shortcut", "(", "id", ")", ")", ";", "}", "return", "ret", ";" ]
[ "make", "an", "intent" ]
[ "final", "intent", "intent", "=", "new", "intent", "(", "action", ")", ";", "intent", "set", "component", "(", "make", "component", "(", "clazz", ")", ")", ";", "intent", "replace", "extras", "(", "make", "bundle", "(", "bundle", "keys", "and", "values", ")", ")", ";", "return", "intent", ";" ]
[ "make", "an", "component", "name", "with", "the", "client", "context" ]
[ "return", "new", "component", "name", "(", "m", "client", "context", ",", "clazz", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "all", "of", "the", "clusters", "for", "your", "account", "in", "the", "specified", "region", "<", "/", "p", ">" ]
[ "return", "clusters", ";" ]
[ "<", "p", ">", "a", "list", "of", "all", "of", "the", "clusters", "for", "your", "account", "in", "the", "specified", "region", "<", "/", "p", ">" ]
[ "if", "(", "clusters", "=", "=", "null", ")", "{", "this", "clusters", "=", "null", ";", "return", ";", "}", "this", "clusters", "=", "new", "java", "util", "array", "list", "<", "string", ">", "(", "clusters", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "all", "of", "the", "clusters", "for", "your", "account", "in", "the", "specified", "region", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "clusters", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "clusters", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "clusters", "=", "=", "null", ")", "{", "set", "clusters", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "clusters", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "clusters", ")", "{", "this", "clusters", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "all", "of", "the", "clusters", "for", "your", "account", "in", "the", "specified", "region", "<", "/", "p", ">" ]
[ "set", "clusters", "(", "clusters", ")", ";", "return", "this", ";" ]
[ "creates", "a", "double", "data", "buffer" ]
[ "return", "create", "double", "(", "data", ",", "true", ",", "workspace", ")", ";" ]
[ "returns", "the", "first", "object", "of", "the", "given", "class", "from", "the", "given", "iterable" ]
[ "if", "(", "objects", "=", "=", "null", ")", "{", "return", "null", ";", "}", "for", "(", "object", "o", ":", "objects", ")", "{", "if", "(", "clazz", "is", "instance", "(", "o", ")", ")", "{", "return", "(", "t", ")", "o", ";", "}", "}", "return", "null", ";" ]
[ "start", "up", "the", "app" ]
[ "p", "2p", "node", "set", "node", "delegate", "(", "node", "delegate", ")", ";", "reset", "p", "2", "p", "node", "(", ")", ";" ]
[ "called", "when", "the", "activity", "is", "first", "created" ]
[ "super", "on", "create", "(", "saved", "instance", "state", ")", ";", "set", "title", "(", "r", "string", "activity", "title", ")", ";", "flip", "view", "=", "new", "flip", "view", "controller", "(", "this", ")", ";", "flip", "view", "set", "adapter", "(", "new", "base", "adapter", "(", ")", "{", "@", "override", "public", "int", "get", "count", "(", ")", "{", "return", "10", ";", "}", "@", "override", "public", "object", "get", "item", "(", "int", "position", ")", "{", "return", "position", ";", "}", "@", "override", "public", "long", "get", "item", "id", "(", "int", "position", ")", "{", "return", "position", ";", "}", "@", "override", "public", "view", "get", "view", "(", "int", "position", ",", "view", "convert", "view", ",", "view", "group", "parent", ")", "{", "number", "button", "button", ";", "if", "(", "convert", "view", "=", "=", "null", ")", "{", "final", "context", "context", "=", "parent", "get", "context", "(", ")", ";", "button", "=", "new", "number", "button", "(", "context", ",", "position", ")", ";", "button", "set", "text", "size", "(", "context", "get", "resources", "(", ")", "get", "dimension", "(", "r", "dimen", "text", "size", ")", ")", ";", "}", "else", "{", "button", "=", "(", "number", "button", ")", "convert", "view", ";", "button", "set", "number", "(", "position", ")", ";", "}", "return", "button", ";", "}", "}", ")", ";", "set", "content", "view", "(", "flip", "view", ")", ";" ]
[ "closes", "this", "browser", "view" ]
[ "i", "workbench", "page", "page", "=", "get", "site", "(", ")", "get", "page", "(", ")", ";", "i", "workbench", "window", "window", "=", "page", "get", "workbench", "window", "(", ")", ";", "page", "hide", "view", "(", "this", ")", ";" ]
[ "specify", "the", "worker", "count", "to", "use", "for", "more", "information", "about", "this", "please", "see", "the", "javadocs", "of", "{", "@", "link", "event", "loop", "group", "}" ]
[ "this", "io", "worker", "count", "=", "io", "worker", "count", ";" ]
[ "set", "the", "number", "of", "threads", "to", "use", "for", "the", "event", "executor", "for", "more", "information", "please", "see", "the", "javadocs", "of", "{", "@", "link", "event", "executor", "}", "if", "you", "want", "to", "disable", "the", "use", "of", "the", "{", "@", "link", "event", "executor", "}", "specify", "a", "value", "<", "=", "0", "this", "should", "only", "be", "done", "if", "you", "are", "100", "%", "sure", "that", "you", "don", "t", "have", "any", "blocking", "code", "in", "there" ]
[ "this", "executor", "thread", "count", "=", "executor", "thread", "count", ";" ]
[ "set", "the", "max", "request", "size", "in", "bytes", "if", "this", "size", "is", "exceed", "we", "will", "send", "a", "413", "request", "entity", "too", "large", "to", "the", "client" ]
[ "this", "max", "request", "size", "=", "max", "request", "size", ";" ]
[ "add", "additional", "{", "@", "link", "io", "netty", "channel", "channel", "handler", "}", "s", "to", "the", "{", "@", "link", "io", "netty", "bootstrap", "server", "bootstrap", "}", "<", "p", ">", "the", "additional", "channel", "handlers", "are", "being", "added", "<", "em", ">", "before", "<", "/", "em", ">", "the", "http", "handling", "<", "/", "p", ">" ]
[ "this", "channel", "handlers", "=", "channel", "handlers", "=", "=", "null", "?", "collections", "<", "channel", "handler", ">", "empty", "list", "(", ")", ":", "channel", "handlers", ";" ]
[ "add", "additional", "{", "@", "link", "io", "netty", "channel", "channel", "handler", "}", "s", "to", "the", "{", "@", "link", "io", "netty", "bootstrap", "server", "bootstrap", "}", "<", "p", ">", "the", "additional", "channel", "handlers", "are", "being", "added", "<", "em", ">", "after", "<", "/", "em", ">", "the", "http", "handling", "<", "/", "p", ">" ]
[ "this", "http", "channel", "handlers", "=", "http", "channel", "handlers", "=", "=", "null", "?", "collections", "<", "channel", "handler", ">", "empty", "list", "(", ")", ":", "http", "channel", "handlers", ";" ]
[ "add", "netty", "{", "@", "link", "io", "netty", "channel", "channel", "option", "}", "s", "to", "the", "{", "@", "link", "io", "netty", "bootstrap", "server", "bootstrap", "}" ]
[ "this", "channel", "options", "=", "channel", "options", "=", "=", "null", "?", "collections", "<", "channel", "option", ",", "object", ">", "empty", "map", "(", ")", ":", "channel", "options", ";" ]
[ "add", "child", "options", "to", "the", "{", "@", "link", "io", "netty", "bootstrap", "server", "bootstrap", "}" ]
[ "this", "child", "channel", "options", "=", "channel", "options", "=", "=", "null", "?", "collections", "<", "channel", "option", ",", "object", ">", "empty", "map", "(", ")", ":", "channel", "options", ";" ]
[ "<", "p", ">", "amazon", "route", "53", "supports", "the", "following", "continent", "codes", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "af", "<", "/", "b", ">", ":", "africa", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "an", "<", "/", "b", ">", ":", "antarctica", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "as", "<", "/", "b", ">", ":", "asia", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "eu", "<", "/", "b", ">", ":", "europe", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "oc", "<", "/", "b", ">", ":", "oceania", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "na", "<", "/", "b", ">", ":", "north", "america", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "sa", "<", "/", "b", ">", ":", "south", "america", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "continent", "code", "=", "continent", "code", ";" ]
[ "<", "p", ">", "amazon", "route", "53", "supports", "the", "following", "continent", "codes", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "af", "<", "/", "b", ">", ":", "africa", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "an", "<", "/", "b", ">", ":", "antarctica", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "as", "<", "/", "b", ">", ":", "asia", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "eu", "<", "/", "b", ">", ":", "europe", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "oc", "<", "/", "b", ">", ":", "oceania", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "na", "<", "/", "b", ">", ":", "north", "america", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "b", ">", "sa", "<", "/", "b", ">", ":", "south", "america", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "return", "this", "continent", "code", ";" ]
[ "<", "p", ">", "the", "two", "-", "letter", "code", "for", "the", "continent", "<", "/", "p", ">" ]
[ "set", "continent", "code", "(", "continent", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "full", "name", "of", "the", "continent", "<", "/", "p", ">" ]
[ "this", "continent", "name", "=", "continent", "name", ";" ]
[ "<", "p", ">", "the", "full", "name", "of", "the", "continent", "<", "/", "p", ">" ]
[ "return", "this", "continent", "name", ";" ]
[ "<", "p", ">", "the", "full", "name", "of", "the", "continent", "<", "/", "p", ">" ]
[ "set", "continent", "name", "(", "continent", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "amazon", "route", "53", "uses", "the", "two", "-", "letter", "country", "codes", "that", "are", "specified", "in", "<", "a", "href", "=", "https", ":", "/", "/", "en", "wikipedia", "org", "/", "wiki", "/", "iso", "3166", "-", "1", "alpha", "-", "2", ">", "iso", "standard", "3166", "-", "1", "alpha", "-", "2", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "country", "code", ";" ]
[ "<", "p", ">", "the", "two", "-", "letter", "code", "for", "the", "country", "<", "/", "p", ">" ]
[ "set", "country", "code", "(", "country", "code", ")", ";", "return", "this", ";" ]
[ "country", "name", "of", "the", "remote", "ip", "address" ]
[ "return", "this", "country", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "country", "<", "/", "p", ">" ]
[ "set", "country", "name", "(", "country", "name", ")", ";", "return", "this", ";" ]