docstring_tokens
list
code_tokens
list
[ "<", "p", ">", "the", "string", "that", "contains", "the", "json", "input", "data", "for", "the", "state", "<", "/", "p", ">" ]
[ "set", "input", "(", "input", ")", ";", "return", "this", ";" ]
[ "returns", "the", "hash", "code", "for", "the", "key" ]
[ "return", "key", ";" ]
[ "{" ]
[ "multibinder", "<", "project", "importer", ">", "project", "importer", "multibinder", "=", "multibinder", "new", "set", "binder", "(", "binder", "(", ")", ",", "project", "importer", "class", ")", ";", "project", "importer", "multibinder", "add", "binding", "(", ")", "to", "(", "git", "project", "importer", "class", ")", ";", "multibinder", "new", "set", "binder", "(", "binder", "(", ")", ",", "project", "type", "def", "class", ")", "add", "binding", "(", ")", "to", "(", "git", "project", "type", "class", ")", ";", "bind", "(", "git", "configuration", "checker", "class", ")", "as", "eager", "singleton", "(", ")", ";", "multibinder", "<", "vcs", "status", "provider", ">", "vcs", "status", "provider", "multibinder", "=", "new", "set", "binder", "(", "binder", "(", ")", ",", "vcs", "status", "provider", "class", ")", ";", "vcs", "status", "provider", "multibinder", "add", "binding", "(", ")", "to", "(", "cached", "git", "status", "provider", "class", ")", ";", "multibinder", "<", "value", "provider", "factory", ">", "multi", "binder", "=", "multibinder", "new", "set", "binder", "(", "binder", "(", ")", ",", "value", "provider", "factory", "class", ")", ";", "multi", "binder", "add", "binding", "(", ")", "to", "(", "git", "value", "provider", "factory", "class", ")", ";", "bind", "(", "git", "user", "resolver", "class", ")", "to", "(", "local", "git", "user", "resolver", "class", ")", ";", "bind", "(", "git", "service", "class", ")", ";", "bind", "(", "git", "exception", "mapper", "class", ")", ";", "bind", "(", "branch", "list", "writer", "class", ")", ";", "bind", "(", "commit", "message", "writer", "class", ")", ";", "bind", "(", "merge", "result", "writer", "class", ")", ";", "bind", "(", "remote", "list", "writer", "class", ")", ";", "bind", "(", "status", "page", "writer", "class", ")", ";", "bind", "(", "tag", "list", "writer", "class", ")", ";", "bind", "(", "git", "json", "rpc", "messenger", "class", ")", ";", "multibinder", "new", "set", "binder", "(", "binder", "(", ")", ",", "credentials", "provider", "class", ")", "add", "binding", "(", ")", "to", "(", "git", "basic", "authentication", "credentials", "provider", "class", ")", ";", "bind", "(", "git", "checkout", "detector", "class", ")", "as", "eager", "singleton", "(", ")", ";", "bind", "(", "git", "changes", "detector", "class", ")", "as", "eager", "singleton", "(", ")", ";", "bind", "(", "git", "status", "changed", "detector", "class", ")", "as", "eager", "singleton", "(", ")", ";" ]
[ "just", "to", "satisfy", "bean", "/", "de", "|", "encoder", "stuff" ]
[ "return", "collections", "unmodifiable", "map", "(", "cmds", ")", ";" ]
[ "@", "see", "org", "opengrok", "indexer", "web", "messages", "messages", "container" ]
[ "return", "message", "limit", ";" ]
[ "gets", "the", "configuration", "s", "ctags", "command", "default", "is", "null" ]
[ "return", "ctags", ";" ]
[ "gets", "the", "configuration", "s", "mandoc", "command", "default", "is", "{" ]
[ "return", "mandoc", ";" ]
[ "should", "the", "history", "be", "enabled", "?" ]
[ "return", "history", "enabled", ";" ]
[ "should", "the", "history", "log", "be", "cached", "?" ]
[ "return", "history", "cache", ";" ]
[ "set", "whether", "history", "should", "be", "cached" ]
[ "this", "history", "cache", "=", "history", "cache", ";" ]
[ "how", "long", "can", "a", "history", "request", "take", "before", "it", "s", "cached", "?", "if", "the", "time", "is", "exceeded", "the", "result", "is", "cached", "this", "setting", "only", "affects", "{", "@", "code", "file", "history", "cache", "}" ]
[ "return", "history", "cache", "time", ";" ]
[ "set", "the", "maximum", "time", "a", "history", "request", "can", "take", "before", "it", "s", "cached", "this", "setting", "is", "only", "respected", "if", "{", "@", "code", "file", "history", "cache", "}", "is", "used" ]
[ "this", "history", "cache", "time", "=", "history", "cache", "time", ";" ]
[ "if", "{" ]
[ "return", "include", "root", "!", "=", "null", "?", "include", "root", ":", "data", "root", ";" ]
[ "set", "size", "of", "memory", "to", "be", "used", "for", "flushing", "docs", "(", "default", "16", "mb", ")", "(", "this", "can", "improve", "index", "speed", "a", "lot", ")", "note", "that", "this", "is", "per", "thread", "(", "lucene", "uses", "8", "threads", "by", "default", "in", "4", "x", ")" ]
[ "this", "ram", "buffer", "size", "=", "ram", "buffer", "size", ";" ]
[ "set", "the", "bug", "pattern", "to", "a", "new", "value" ]
[ "if", "(", "!", "bug", "pattern", "matches", "(", "pattern", "single", "group", ")", ")", "{", "throw", "new", "pattern", "syntax", "exception", "(", "pattern", "must", "contain", "group", ",", "bug", "pattern", ",", "0", ")", ";", "}", "this", "bug", "pattern", "=", "pattern", "compile", "(", "bug", "pattern", ")", "to", "string", "(", ")", ";" ]
[ "set", "the", "review", "pattern", "to", "a", "new", "value" ]
[ "if", "(", "!", "review", "pattern", "matches", "(", "pattern", "single", "group", ")", ")", "{", "throw", "new", "pattern", "syntax", "exception", "(", "pattern", "must", "contain", "group", ",", "review", "pattern", ",", "0", ")", ";", "}", "this", "review", "pattern", "=", "pattern", "compile", "(", "review", "pattern", ")", "to", "string", "(", ")", ";" ]
[ "get", "the", "contents", "of", "the", "footer", "include", "file" ]
[ "if", "(", "footer", "=", "=", "null", "|", "|", "force", ")", "{", "footer", "=", "get", "file", "content", "(", "new", "file", "(", "get", "include", "root", "(", ")", ",", "footer", "include", "file", ")", ")", ";", "}", "return", "footer", ";" ]
[ "get", "the", "contents", "of", "the", "header", "include", "file" ]
[ "if", "(", "header", "=", "=", "null", "|", "|", "force", ")", "{", "header", "=", "get", "file", "content", "(", "new", "file", "(", "get", "include", "root", "(", ")", ",", "header", "include", "file", ")", ")", ";", "}", "return", "header", ";" ]
[ "get", "the", "contents", "of", "the", "body", "include", "file" ]
[ "if", "(", "body", "=", "=", "null", "|", "|", "force", ")", "{", "body", "=", "get", "file", "content", "(", "new", "file", "(", "get", "include", "root", "(", ")", ",", "body", "include", "file", ")", ")", ";", "}", "return", "body", ";" ]
[ "get", "the", "contents", "of", "the", "page", "for", "forbidden", "error", "page", "(", "403", "forbidden", ")", "include", "file" ]
[ "if", "(", "eforbidden", "content", "=", "=", "null", "|", "|", "force", ")", "{", "eforbidden", "content", "=", "get", "file", "content", "(", "new", "file", "(", "get", "include", "root", "(", ")", ",", "e", "forbidden", "include", "file", ")", ")", ";", "}", "return", "eforbidden", "content", ";" ]
[ "get", "the", "eftar", "file", "which", "contains", "definition", "tags", "for", "path", "descriptions" ]
[ "if", "(", "dtags", "eftar", "=", "=", "null", ")", "{", "file", "tmp", "=", "get", "dtags", "eftar", "path", "(", ")", "to", "file", "(", ")", ";", "if", "(", "tmp", "can", "read", "(", ")", ")", "{", "dtags", "eftar", "=", "tmp", ";", "}", "}", "return", "dtags", "eftar", ";" ]
[ "write", "the", "current", "configuration", "to", "a", "file" ]
[ "try", "(", "file", "output", "stream", "out", "=", "new", "file", "output", "stream", "(", "file", ")", ")", "{", "this", "encode", "object", "(", "out", ")", ";", "}" ]
[ "further", "customize", "the", "proto", "output" ]
[]
[ "filter", "out", "some", "attributes" ]
[ "return", "rule", "attribute", "predicate", "apply", "(", "attr", "get", "name", "(", ")", ")", ";" ]
[ "allow", "filtering", "of", "aspect", "attributes" ]
[ "return", "true", ";" ]
[ "passes", "the", "{" ]
[ "consumer", "accept", "(", "max", "sample", "location", "grid", "size", "(", ")", ")", ";", "return", "this", ";" ]
[ "returns", "the", "value", "at", "the", "specified", "index", "of", "the", "{" ]
[ "return", "nsample", "location", "coordinate", "range", "(", "address", "(", ")", ",", "index", ")", ";" ]
[ "initializes", "this", "struct", "with", "the", "specified", "values" ]
[ "s", "type", "(", "s", "type", ")", ";", "p", "next", "(", "p", "next", ")", ";", "return", "this", ";" ]
[ "copies", "the", "specified", "struct", "data", "to", "this", "struct" ]
[ "mem", "copy", "(", "src", "address", "(", ")", ",", "address", "(", ")", ",", "sizeof", ")", ";", "return", "this", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "class", ",", "address", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "class", ",", "address", ")", ";" ]
[ "create", "a", "{", "@", "link", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "buffer", "}", "instance", "at", "the", "specified", "memory" ]
[ "return", "wrap", "(", "buffer", "class", ",", "address", ",", "capacity", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "buffer", "class", ",", "address", ",", "capacity", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "stype", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "get", "address", "(", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "pnext", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "samplelocationsamplecounts", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "vk", "extent", "2", "d", "create", "(", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "maxsamplelocationgridsize", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "float", "buffer", "(", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "samplelocationcoordinaterange", ",", "2", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "float", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "samplelocationcoordinaterange", "+", "check", "(", "index", ",", "2", ")", "*", "4", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "samplelocationsubpixelbits", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "variablesamplelocations", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "stype", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "pnext", ",", "value", ")", ";" ]
[ "returns", "a", "{" ]
[ "return", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "nmax", "sample", "location", "grid", "size", "(", "address", "(", ")", ")", ";" ]
[ "passes", "the", "{" ]
[ "consumer", "accept", "(", "max", "sample", "location", "grid", "size", "(", ")", ")", ";", "return", "this", ";" ]
[ "returns", "the", "value", "at", "the", "specified", "index", "of", "the", "{" ]
[ "return", "vk", "physical", "device", "sample", "locations", "properties", "e", "x", "t", "nsample", "location", "coordinate", "range", "(", "address", "(", ")", ",", "index", ")", ";" ]
[ "returns", "registered", "repository", "<", "p", ">", "this", "method", "is", "called", "only", "on", "the", "master", "node" ]
[ "repository", "repository", "=", "repositories", "get", "(", "repository", "name", ")", ";", "if", "(", "repository", "!", "=", "null", ")", "{", "return", "repository", ";", "}", "throw", "new", "repository", "missing", "exception", "(", "repository", "name", ")", ";" ]
[ "sets", "repository", "settings" ]
[ "this", "settings", "=", "settings", ";", "return", "this", ";" ]
[ "/", "*" ]
[ "return", "visit", "literal", "(", "node", ")", ";" ]
[ "/", "*" ]
[ "return", "visit", "literal", "(", "node", ")", ";" ]
[ "/", "*" ]
[ "return", "visit", "literal", "(", "node", ")", ";" ]
[ "/", "*" ]
[ "f", "token", "update", "(", "node", ")", ";", "for", "(", "int", "i", "=", "0", ",", "n", "=", "f", "job", "semantic", "highlightings", "length", ";", "i", "<", "n", ";", "i", "+", "+", ")", "{", "semantic", "highlighting", "semantic", "highlighting", "=", "f", "job", "semantic", "highlightings", "[", "i", "]", ";", "if", "(", "semantic", "highlighting", "consumes", "(", "f", "token", ")", ")", "{", "int", "offset", "=", "node", "get", "start", "position", "(", ")", ";", "int", "length", "=", "node", "get", "length", "(", ")", ";", "if", "(", "offset", ">", "-", "1", "&", "&", "length", ">", "0", ")", "add", "position", "(", "offset", ",", "length", ",", "semantic", "highlighting", ")", ";", "break", ";", "}", "}", "f", "token", "clear", "(", ")", ";", "return", "false", ";" ]
[ "add", "a", "position", "with", "the", "given", "range", "and", "highlighting", "iff", "it", "does", "not", "exist", "already" ]
[ "highlighted", "position", "highlighted", "position", "=", "dto", "factory", "get", "instance", "(", ")", "create", "dto", "(", "highlighted", "position", "class", ")", ";", "highlighted", "position", "set", "length", "(", "length", ")", ";", "highlighted", "position", "set", "offset", "(", "offset", ")", ";", "highlighted", "position", "set", "type", "(", "highlighting", "get", "type", "(", ")", ")", ";", "f", "added", "positions", "get", "(", ")", "add", "(", "highlighted", "position", ")", ";" ]
[ "returns", "the", "maximum", "size", "of", "this", "pool", "in", "byte", "unit", "the", "returned", "value", "can", "be", "somewhat", "different", "from", "what", "was", "specified", "in", "the", "constructor" ]
[ "return", "max", "buffer", "count", "*", "max", "packet", "size", ";" ]
[ "returns", "the", "number", "of", "bytes", "which", "were", "allocated", "but", "have", "not", "been", "acquired", "yet", "you", "can", "estimate", "how", "optimal", "the", "specified", "maximum", "pool", "size", "is", "from", "this", "value", "if", "it", "keeps", "returning", "{" ]
[ "return", "index", "*", "max", "packet", "size", ";" ]
[ "acquire", "a", "new", "{", "@", "link", "byte", "buffer", "}", "out", "of", "the", "{", "@", "link", "ssl", "buffer", "pool", "}" ]
[ "if", "(", "index", "=", "=", "0", ")", "{", "return", "byte", "buffer", "allocate", "(", "max", "packet", "size", ")", ";", "}", "else", "{", "return", "(", "byte", "buffer", ")", "pool", "[", "-", "-", "index", "]", "clear", "(", ")", ";", "}" ]
[ "will", "get", "removed", "please", "use", "{", "@", "link", "#", "acquire", "buffer", "(", ")", "}" ]
[ "return", "acquire", "buffer", "(", ")", ";" ]
[ "release", "a", "previous", "acquired", "{" ]
[ "if", "(", "index", "<", "max", "buffer", "count", ")", "{", "pool", "[", "index", "+", "+", "]", "=", "buffer", ";", "}" ]
[ "creates", "a", "{", "@", "code", "extent", "merge", "}", "instance", "from", "the", "specified", "function", "pointer" ]
[ "extent", "merge", "i", "instance", "=", "callback", "get", "(", "function", "pointer", ")", ";", "return", "instance", "instanceof", "extent", "merge", "?", "(", "extent", "merge", ")", "instance", ":", "new", "container", "(", "function", "pointer", ",", "instance", ")", ";" ]
[ "like", "{" ]
[ "return", "function", "pointer", "=", "=", "null", "?", "null", ":", "create", "(", "function", "pointer", ")", ";" ]
[ "creates", "a", "{" ]
[ "return", "instance", "instanceof", "extent", "merge", "?", "(", "extent", "merge", ")", "instance", ":", "new", "container", "(", "instance", "address", "(", ")", ",", "instance", ")", ";" ]
[ "<", "p", ">", "name", "of", "the", "crawler", "whose", "schedule", "to", "update", "<", "/", "p", ">" ]
[ "set", "crawler", "name", "(", "crawler", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "updated", "<", "code", ">", "cron", "<", "/", "code", ">", "expression", "used", "to", "specify", "the", "schedule", "(", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "glue", "/", "latest", "/", "dg", "/", "monitor", "-", "data", "-", "warehouse", "-", "schedule", "html", ">", "time", "-", "based", "schedules", "for", "jobs", "and", "crawlers", "<", "/", "a", ">", "for", "example", "to", "run", "something", "every", "day", "at", "12", ":", "15", "utc", "you", "would", "specify", ":", "<", "code", ">", "cron", "(", "15", "12", "*", "*", "?", "*", ")", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "schedule", "(", "schedule", ")", ";", "return", "this", ";" ]
[ "returns", "true", "if", "field", "unique", "constraint", "cols", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "unique", "constraint", "cols", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "corresponding", "to", "field", "i", "d", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "if", "(", "field", "=", "=", "null", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}", "switch", "(", "field", ")", "{", "case", "unique", "constraint", "cols", ":", "return", "is", "set", "unique", "constraint", "cols", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]
[ "returns", "the", "literal", "value" ]
[ "return", "string", ";" ]
[ "{" ]
[ "if", "(", "obj", "=", "=", "this", ")", "return", "true", ";", "if", "(", "!", "(", "obj", "instanceof", "marshaller", "mapping", "item", ")", ")", "return", "false", ";", "marshaller", "mapping", "item", "that", "=", "(", "marshaller", "mapping", "item", ")", "obj", ";", "return", "platform", "id", "=", "=", "that", "platform", "id", "&", "&", "type", "id", "=", "=", "that", "type", "id", "&", "&", "(", "cls", "name", "!", "=", "null", "?", "cls", "name", "equals", "(", "that", "cls", "name", ")", ":", "that", "cls", "name", "=", "=", "null", ")", ";" ]
[ "{" ]
[ "return", "31", "*", "31", "*", "(", "(", "int", ")", "platform", "id", ")", "+", "31", "*", "type", "id", "+", "(", "cls", "name", "!", "=", "null", "?", "cls", "name", "hash", "code", "(", ")", ":", "0", ")", ";" ]
[ "return", "workers", "not", "assigned", "to", "any", "affinity", "pool", "at", "all" ]
[ "return", "immutable", "map", "copy", "of", "(", "maps", "filter", "keys", "(", "worker", "map", ",", "worker", "host", "-", ">", "!", "affinity", "config", "get", "affinity", "workers", "(", ")", "contains", "(", "worker", "host", ")", ")", ")", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "scheduled", "activity", "<", "/", "p", ">" ]
[ "set", "resource", "(", "resource", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "json", "data", "input", "to", "the", "activity", "task", "<", "/", "p", ">" ]
[ "set", "input", "(", "input", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "of", "the", "lambda", "function", "<", "/", "p", ">" ]
[ "this", "timeout", "in", "seconds", "=", "timeout", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "of", "the", "lambda", "function", "<", "/", "p", ">" ]
[ "return", "this", "timeout", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "of", "the", "activity", "task", "<", "/", "p", ">" ]
[ "set", "timeout", "in", "seconds", "(", "timeout", "in", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "between", "two", "heartbeats", "for", "the", "activity", "task", "<", "/", "p", ">" ]
[ "this", "heartbeat", "in", "seconds", "=", "heartbeat", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "between", "two", "heartbeats", "for", "the", "activity", "task", "<", "/", "p", ">" ]
[ "return", "this", "heartbeat", "in", "seconds", ";" ]
[ "<", "p", ">", "the", "maximum", "allowed", "duration", "between", "two", "heartbeats", "for", "the", "activity", "task", "<", "/", "p", ">" ]
[ "set", "heartbeat", "in", "seconds", "(", "heartbeat", "in", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "utf", "-", "8", "text", "string", "each", "string", "must", "contain", "fewer", "that", "5", "000", "bytes", "of", "utf", "-", "8", "encoded", "characters", "<", "/", "p", ">" ]
[ "set", "text", "(", "text", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "of", "the", "input", "documents", "you", "can", "specify", "english", "(", "en", ")", "or", "spanish", "(", "es", ")", "all", "documents", "must", "be", "in", "the", "same", "language", "<", "/", "p", ">" ]
[ "set", "language", "code", "(", "language", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "of", "the", "input", "documents", "you", "can", "specify", "english", "(", "en", ")", "or", "spanish", "(", "es", ")", "all", "documents", "must", "be", "in", "the", "same", "language", "<", "/", "p", ">" ]
[ "this", "language", "code", "=", "language", "code", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "new", "test", "java", "object", "no", "default", "ctor", "(", "f", "boolean", ",", "f", "byte", ",", "f", "short", ",", "f", "char", ",", "f", "int", ",", "f", "long", ",", "f", "float", ",", "f", "double", ",", "f", "obj", ",", "f", "int", "boxed", ",", "node", ")", ";" ]
[ "/", "*" ]
[ "completion", "proposal", "collector", "collector", "=", "super", "create", "collector", "(", "context", ")", ";", "collector", "set", "ignored", "(", "completion", "proposal", "type", "ref", ",", "false", ")", ";", "return", "collector", ";" ]
[ "returns", "<", "code", ">", "true", "<", "/", "code", ">", "if", "generic", "proposals", "should", "be", "allowed", "<", "code", ">", "false", "<", "/", "code", ">", "if", "not", "note", "that", "even", "though", "code", "(", "in", "a", "library", ")", "may", "be", "referenced", "that", "uses", "generics", "it", "is", "still", "possible", "that", "the", "current", "source", "does", "not", "allow", "generics" ]
[ "string", "source", "version", ";", "if", "(", "project", "!", "=", "null", ")", "source", "version", "=", "project", "get", "option", "(", "java", "core", "compiler", "source", ",", "true", ")", ";", "else", "source", "version", "=", "java", "core", "get", "option", "(", "java", "core", "compiler", "source", ")", ";", "return", "source", "version", "!", "=", "null", "&", "&", "java", "core", "version", "1", "5", "compare", "to", "(", "source", "version", ")", "<", "=", "0", ";" ]
[ "measure", "the", "time", "for", "the", "{" ]
[ "final", "benchmark", "state", "state", "=", "m", "perf", "status", "reporter", "get", "benchmark", "state", "(", ")", ";", "state", "pause", "timing", "(", ")", ";", "canvas", "free", "text", "layout", "caches", "(", ")", ";", "final", "char", "sequence", "text", "=", "create", "random", "text", "(", ")", ";", "if", "(", "m", "cached", ")", "boring", "layout", "is", "boring", "(", "text", ",", "m", "text", "paint", ")", ";", "state", "resume", "timing", "(", ")", ";", "while", "(", "state", "keep", "running", "(", ")", ")", "{", "state", "pause", "timing", "(", ")", ";", "if", "(", "!", "m", "cached", ")", "canvas", "free", "text", "layout", "caches", "(", ")", ";", "state", "resume", "timing", "(", ")", ";", "boring", "layout", "is", "boring", "(", "text", ",", "m", "text", "paint", ")", ";", "}" ]
[ "entry", "point", "to", "command", "-", "line", "-", "driven", "operation", "user", "may", "specify", "options", "and", "start", "fsimage", "viewer", "from", "the", "command", "line", "program", "will", "process", "image", "file", "and", "exit", "cleanly", "or", "if", "an", "error", "is", "encountered", "inform", "user", "and", "exit" ]
[ "int", "status", "=", "run", "(", "args", ")", ";", "system", "exit", "(", "status", ")", ";" ]
[ "print", "application", "usage", "instructions" ]
[ "system", "out", "println", "(", "usage", ")", ";" ]
[ "defines", "a", "default", "way", "of", "delaying", "the", "polling", "bound", "by", "the", "default", "delay", "associated", "with", "the", "corresponding", "waiter", "definition" ]
[ "thread", "sleep", "(", "default", "delay", "in", "seconds", "*", "1000", ")", ";" ]
[ "{" ]
[ "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "0", ",", "e", "j", "b", "3", "subsystem", "1", "0", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "1", ",", "e", "j", "b", "3", "subsystem", "1", "1", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "2", ",", "e", "j", "b", "3", "subsystem", "1", "2", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "3", ",", "e", "j", "b", "3", "subsystem", "1", "3", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "4", ",", "e", "j", "b", "3", "subsystem", "1", "4", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "1", "5", ",", "e", "j", "b", "3", "subsystem", "1", "5", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "2", "0", ",", "e", "j", "b", "3", "subsystem", "2", "0", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "3", "0", ",", "e", "j", "b", "3", "subsystem", "3", "0", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "4", "0", ",", "e", "j", "b", "3", "subsystem", "4", "0", "parser", ":", ":", "new", ")", ";", "context", "set", "subsystem", "xml", "mapping", "(", "subsystem", "name", ",", "namespace", "5", "0", ",", "e", "j", "b", "3", "subsystem", "5", "0", "parser", ":", ":", "new", ")", ";" ]
[ "creates", "specified", "route" ]
[ "put", "label", "(", "route", ",", "che", "workspace", "id", "label", ",", "workspace", "id", ")", ";", "try", "{", "return", "client", "factory", "create", "o", "c", "(", "workspace", "id", ")", "routes", "(", ")", "in", "namespace", "(", "namespace", ")", "create", "(", "route", ")", ";", "}", "catch", "(", "kubernetes", "client", "exception", "e", ")", "{", "throw", "new", "kubernetes", "infrastructure", "exception", "(", "e", ")", ";", "}" ]
[ "returns", "all", "existing", "routes" ]
[ "try", "{", "return", "client", "factory", "create", "o", "c", "(", "workspace", "id", ")", "routes", "(", ")", "in", "namespace", "(", "namespace", ")", "with", "label", "(", "che", "workspace", "id", "label", ",", "workspace", "id", ")", "list", "(", ")", "get", "items", "(", ")", ";", "}", "catch", "(", "kubernetes", "client", "exception", "e", ")", "{", "throw", "new", "kubernetes", "infrastructure", "exception", "(", "e", ")", ";", "}" ]
[ "deletes", "all", "existing", "routes" ]
[ "try", "{", "client", "factory", "create", "o", "c", "(", "workspace", "id", ")", "routes", "(", ")", "in", "namespace", "(", "namespace", ")", "with", "label", "(", "che", "workspace", "id", "label", ",", "workspace", "id", ")", "delete", "(", ")", ";", "}", "catch", "(", "kubernetes", "client", "exception", "e", ")", "{", "throw", "new", "kubernetes", "infrastructure", "exception", "(", "e", ")", ";", "}" ]
[ "convert", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "input", "t", ">", "}", "into", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "row", ">", "}" ]
[ "return", "to", "(", "row", "class", ")", ";" ]
[ "convert", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "row", ">", "}", "into", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "output", "t", ">", "}" ]
[ "return", "to", "(", "clazz", ")", ";" ]
[ "convert", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "row", ">", "}", "into", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "row", ">", "}" ]
[ "return", "to", "(", "type", "descriptor", ")", ";" ]
[ "convert", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "input", "t", ">", "}", "to", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "output", "t", ">", "}" ]
[ "return", "to", "(", "type", "descriptor", "of", "(", "clazz", ")", ")", ";" ]
[ "convert", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "input", "t", ">", "}", "to", "a", "{", "@", "link", "p", "collection", "}", "{", "@", "literal", "<", "output", "t", ">", "}" ]
[ "return", "new", "convert", "transform", "<", ">", "(", "type", "descriptor", ")", ";" ]
[ "get", "theme", "used", "for", "page", "rendering" ]
[ "return", "session", "theme", "(", ")", "get", "theme", "(", "theme", "type", "account", ")", ";" ]
[ "helper", "method", "to", "retrieving", "the", "json", "content", "based", "on", "the", "entity", "type" ]
[ "switch", "(", "entity", "type", ")", "{", "case", "json", "serializable", ":", "return", "(", "(", "json", "serializable", ")", "entity", ")", "to", "json", "(", ")", ";", "case", "string", ":", "return", "(", "string", ")", "entity", ";", "default", ":", "return", "null", ";", "}" ]
[ "updates", "view", "with", "all", "running", "processes" ]
[ "view", "clear", "list", "(", ")", ";", "running", "processes", "clear", "(", ")", ";", "final", "workspace", "impl", "workspace", "=", "app", "context", "get", "workspace", "(", ")", ";", "final", "runtime", "impl", "runtime", "=", "workspace", "get", "runtime", "(", ")", ";", "if", "(", "runtime", "=", "=", "null", ")", "{", "return", ";", "}", "for", "(", "machine", "impl", "machine", ":", "runtime", "get", "machines", "(", ")", "values", "(", ")", ")", "{", "exec", "agent", "client", "get", "processes", "(", "machine", "get", "name", "(", ")", ",", "false", ")", "on", "success", "(", "processes", "-", ">", "{", "for", "(", "get", "processes", "response", "dto", "p", ":", "processes", ")", "{", "final", "process", "process", "=", "new", "process", "impl", "(", "p", "get", "name", "(", ")", ",", "p", "get", "command", "line", "(", ")", ",", "p", "get", "pid", "(", ")", ",", "p", "is", "alive", "(", ")", ",", "machine", "get", "name", "(", ")", ")", ";", "running", "processes", "put", "(", "process", "get", "pid", "(", ")", ",", "process", ")", ";", "view", "add", "process", "(", "process", ")", ";", "}", "}", ")", ";", "}" ]
[ "adds", "process", "to", "the", "view" ]
[ "exec", "agent", "client", "get", "process", "(", "machine", "name", ",", "pid", ")", "on", "success", "(", "process", "dto", "-", ">", "{", "final", "process", "process", "=", "new", "process", "impl", "(", "process", "dto", "get", "name", "(", ")", ",", "process", "dto", "get", "command", "line", "(", ")", ",", "process", "dto", "get", "pid", "(", ")", ",", "process", "dto", "is", "alive", "(", ")", ",", "machine", "name", ")", ";", "running", "processes", "put", "(", "process", "get", "pid", "(", ")", ",", "process", ")", ";", "view", "add", "process", "(", "process", ")", ";", "}", ")", ";" ]