docstring_tokens
list
code_tokens
list
[ "typically", "used", "by", "tests", "to", "ensure", "it", "looks", "like", "a", "fresh", "name", "registry", "is", "being", "used" ]
[ "next", "type", "id", "=", "0", ";", "size", "=", "10", ";", "allocated", "ids", "=", "new", "string", "[", "size", "]", ";" ]
[ "return", "the", "id", "for", "a", "particular", "type", "this", "method", "will", "not", "allocate", "a", "new", "id", "if", "the", "type", "is", "unknown", "it", "will", "return", "-", "1", "instead" ]
[ "assert", "asserts", "assert", "not", "dotted", "(", "slashed", "class", "name", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "next", "type", "id", ";", "i", "+", "+", ")", "{", "if", "(", "allocated", "ids", "[", "i", "]", "equals", "(", "slashed", "class", "name", ")", ")", "{", "return", "i", ";", "}", "}", "return", "-", "1", ";" ]
[ "return", "the", "id", "for", "a", "particular", "type", "this", "method", "will", "not", "allocate", "a", "new", "id", "if", "the", "type", "is", "unknown", "it", "will", "return", "-", "1", "instead" ]
[ "int", "id", "=", "get", "id", "for", "(", "slashed", "class", "name", ")", ";", "if", "(", "id", "=", "=", "-", "1", ")", "{", "id", "=", "allocate", "id", "(", "slashed", "class", "name", ")", ";", "}", "return", "id", ";" ]
[ "<", "p", ">", "the", "list", "of", "matching", "on", "-", "premises", "instance", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "instance", "names", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "instance", "names", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "instance", "names", "=", "=", "null", ")", "{", "set", "instance", "names", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "instance", "names", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "instance", "names", ")", "{", "this", "instance", "names", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "matching", "on", "-", "premises", "instance", "names", "<", "/", "p", ">" ]
[ "set", "instance", "names", "(", "instance", "names", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "a", "large", "amount", "of", "information", "is", "returned", "an", "identifier", "is", "also", "returned", "it", "can", "be", "used", "in", "a", "subsequent", "list", "on", "-", "premises", "instances", "call", "to", "return", "the", "next", "set", "of", "on", "-", "premises", "instances", "in", "the", "list", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "returns", "the", "current", "session", "that", "s", "being", "tracked" ]
[ "return", "(", "session", "=", "=", "null", ")", "?", "session", "get", "active", "session", "(", ")", ":", "session", ";" ]
[ "returns", "the", "current", "session", "that", "s", "being", "tracked", "if", "it", "s", "open", "otherwise", "returns", "null" ]
[ "session", "open", "session", "=", "get", "session", "(", ")", ";", "if", "(", "open", "session", "!", "=", "null", "&", "&", "open", "session", "is", "opened", "(", ")", ")", "{", "return", "open", "session", ";", "}", "return", "null", ";" ]
[ "stop", "tracking", "the", "session", "and", "remove", "any", "callbacks", "attached", "to", "those", "sessions" ]
[ "if", "(", "!", "is", "tracking", ")", "{", "return", ";", "}", "session", "session", "=", "get", "session", "(", ")", ";", "if", "(", "session", "!", "=", "null", ")", "{", "session", "remove", "callback", "(", "callback", ")", ";", "}", "broadcast", "manager", "unregister", "receiver", "(", "receiver", ")", ";", "is", "tracking", "=", "false", ";" ]
[ "returns", "whether", "it", "s", "currently", "tracking", "the", "active", "session" ]
[ "return", "session", "=", "=", "null", ";" ]
[ "/", "*", "package" ]
[ "resources", "res", "=", "context", "get", "resources", "(", ")", ";", "if", "(", "dark", ")", "{", "m", "circle", "color", "=", "res", "get", "color", "(", "r", "color", "dark", "gray", ")", ";", "m", "dot", "color", "=", "res", "get", "color", "(", "r", "color", "light", "gray", ")", ";", "}", "else", "{", "m", "circle", "color", "=", "res", "get", "color", "(", "r", "color", "white", ")", ";", "m", "dot", "color", "=", "res", "get", "color", "(", "r", "color", "numbers", "text", "color", ")", ";", "}" ]
[ "sets", "the", "table", "reference" ]
[ "table", "reference", "table", "ref", "=", "new", "table", "reference", "(", ")", ";", "table", "ref", "set", "project", "id", "(", "project", ")", ";", "table", "ref", "set", "dataset", "id", "(", "dataset", ")", ";", "table", "ref", "set", "table", "id", "(", "table", ")", ";", "return", "table", "ref", ";" ]
[ "convert", "a", "0", "-", "ff", "scale", "value", "to", "a", "percent", "type" ]
[ "long", "value", "=", "long", "parse", "long", "(", "byte", "value", ",", "16", ")", ";", "return", "new", "percent", "type", "(", "big", "decimal", "value", "of", "(", "value", ")", "multiply", "(", "big", "decimal", "value", "of", "(", "100", ")", ")", "divide", "(", "big", "decimal", "value", "of", "(", "255", ")", ",", "0", ",", "big", "decimal", "round", "up", ")", "int", "value", "(", ")", ")", ";" ]
[ "patch", "prompt", "method" ]
[ "return", "returned", "message", ";" ]
[ "patch", "confirm", "method" ]
[ "return", "true", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "(", "(", "tcp", "discovery", "spi", ")", "cfg", "get", "discovery", "spi", "(", ")", ")", "set", "ip", "finder", "(", "ip", "finder", ")", ";", "tcp", "communication", "spi", "comm", "spi", "=", "new", "test", "communication", "spi", "(", ")", ";", "cfg", "set", "communication", "spi", "(", "comm", "spi", ")", ";", "cache", "configuration", "ccfg", "=", "new", "cache", "configuration", "(", "cache", "name", ")", ";", "ccfg", "set", "atomicity", "mode", "(", "atomicity", "mode", "(", ")", ")", ";", "ccfg", "set", "backups", "(", "1", ")", ";", "cfg", "set", "cache", "configuration", "(", "ccfg", ")", ";", "final", "transaction", "configuration", "tx", "cfg", "=", "new", "transaction", "configuration", "(", ")", ";", "tx", "cfg", "set", "default", "tx", "timeout", "(", "tx", "timeout", ")", ";", "cfg", "set", "transaction", "configuration", "(", "tx", "cfg", ")", ";", "return", "cfg", ";" ]
[ "success", "if", "user", "tx", "was", "timed", "out" ]
[ "final", "ignite", "ignite", "=", "grid", "(", "0", ")", ";", "final", "ignite", "cache", "<", "object", ",", "object", ">", "cache", "=", "ignite", "get", "or", "create", "cache", "(", "cache", "name", ")", ";", "check", "implicit", "tx", "timeout", "(", "cache", ")", ";", "check", "explicit", "tx", "timeout", "(", "cache", ",", "ignite", ")", ";" ]
[ "success", "if", "system", "caches", "weren", "t", "timed", "out" ]
[ "final", "ignite", "ignite", "=", "grid", "(", "0", ")", ";", "final", "ignite", "internal", "cache", "<", "object", ",", "object", ">", "util", "cache", "=", "get", "system", "cache", "(", "ignite", ",", "cu", "utility", "cache", "name", ")", ";", "check", "implicit", "tx", "success", "(", "util", "cache", ")", ";", "check", "start", "tx", "success", "(", "util", "cache", ")", ";" ]
[ "extract", "system", "cache", "from", "kernal" ]
[ "return", "(", "(", "ignite", "kernal", ")", "ignite", ")", "context", "(", ")", "cache", "(", ")", "cache", "(", "cache", "name", ")", ";" ]
[ "sleep", "multiple", "{", "@", "link", "#", "tx", "timeout", "}", "times" ]
[ "thread", "sleep", "(", "tx", "timeout", "*", "3", ")", ";" ]
[ "{" ]
[ "if", "(", "msg", "instanceof", "grid", "io", "message", ")", "{", "message", "msg", "0", "=", "(", "(", "grid", "io", "message", ")", "msg", ")", "message", "(", ")", ";", "if", "(", "msg", "0", "instanceof", "grid", "near", "tx", "prepare", "request", "&", "&", "delay", ")", "{", "try", "{", "u", "sleep", "(", "tx", "timeout", "*", "2", ")", ";", "}", "catch", "(", "ignite", "interrupted", "checked", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", ")", ";", "}", "}", "}", "super", "send", "message", "(", "node", ",", "msg", ",", "ack", "c", ")", ";" ]
[ "init", "custom", "attrs" ]
[ "typed", "array", "a", "=", "get", "context", "(", ")", "get", "theme", "(", ")", "obtain", "styled", "attributes", "(", "attrs", ",", "r", "styleable", "card", "options", ",", "def", "style", ",", "def", "style", ")", ";", "try", "{", "card", "header", "layout", "resource", "i", "d", "=", "a", "get", "resource", "id", "(", "r", "styleable", "card", "options", "card", "header", "layout", "resource", "i", "d", ",", "card", "header", "layout", "resource", "i", "d", ")", ";", "}", "finally", "{", "a", "recycle", "(", ")", ";", "}" ]
[ "sets", "listener", "for", "other", "button", "action" ]
[ "if", "(", "m", "card", "header", "get", "other", "button", "click", "listener", "(", ")", "!", "=", "null", ")", "{", "if", "(", "m", "image", "button", "other", "!", "=", "null", ")", "{", "m", "image", "button", "other", "set", "on", "click", "listener", "(", "new", "on", "click", "listener", "(", ")", "{", "@", "override", "public", "void", "on", "click", "(", "view", "v", ")", "{", "if", "(", "m", "card", "header", "get", "other", "button", "click", "listener", "(", ")", "!", "=", "null", ")", "m", "card", "header", "get", "other", "button", "click", "listener", "(", ")", "on", "button", "item", "click", "(", "m", "card", "header", "get", "parent", "card", "(", ")", ",", "v", ")", ";", "}", "}", ")", ";", "}", "}", "else", "{", "if", "(", "m", "image", "button", "other", "!", "=", "null", ")", "{", "m", "image", "button", "other", "set", "clickable", "(", "false", ")", ";", "}", "}" ]
[ "helper", "method", "to", "setup", "buttons", "visibility" ]
[ "if", "(", "overflow", "button", "visibility", "=", "=", "visible", "|", "|", "overflow", "button", "visibility", "=", "=", "gone", ")", "{", "if", "(", "m", "image", "button", "overflow", "!", "=", "null", ")", "{", "m", "image", "button", "overflow", "set", "visibility", "(", "overflow", "button", "visibility", ")", ";", "}", "}", "if", "(", "expand", "button", "visibility", "=", "=", "visible", "|", "|", "expand", "button", "visibility", "=", "=", "gone", ")", "{", "if", "(", "m", "image", "button", "expand", "!", "=", "null", ")", "{", "m", "image", "button", "expand", "set", "visibility", "(", "expand", "button", "visibility", ")", ";", "}", "}", "if", "(", "other", "button", "visibility", "=", "=", "visible", "|", "|", "other", "button", "visibility", "=", "=", "gone", ")", "{", "if", "(", "m", "image", "button", "other", "!", "=", "null", ")", "{", "m", "image", "button", "other", "set", "visibility", "(", "other", "button", "visibility", ")", ";", "}", "}" ]
[ "returns", "the", "{", "@", "link", "image", "button", "}", "used", "for", "overflow", "menu" ]
[ "return", "m", "image", "button", "overflow", ";" ]
[ "returns", "the", "{", "@", "link", "image", "button", "}", "used", "for", "expand", "/", "collapse" ]
[ "return", "m", "image", "button", "expand", ";" ]
[ "/", "*", "returns", "the", "{", "@", "link", "image", "button", "}", "used", "for", "other", "button" ]
[ "return", "m", "image", "button", "other", ";" ]
[ "returns", "the", "frame", "which", "contains", "the", "buttons" ]
[ "return", "m", "frame", "button", ";" ]
[ "message", "may", "be", "null", "if", "the", "response", "is", "not", "needed" ]
[ "public", "abstract", "void", "send", "(", "string", "s", ",", "message", "message", ")", ";" ]
[ "optimizes", "the", "given", "broker", "request" ]
[ "optimization", "flags", "optimization", "flags", "=", "optimization", "flags", "get", "optimization", "flags", "(", "broker", "request", ")", ";", "optimize", "filter", "query", "tree", "(", "broker", "request", ",", "time", "column", ",", "optimization", "flags", ")", ";", "return", "broker", "request", ";" ]
[ "taken", "from", "findbugs" ]
[ "hash", "map", "<", "object", ",", "object", ">", "head", "map", ";", "if", "(", "end", "<", "long", "max", "value", ")", "{", "head", "map", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "long", "tail", "end", "=", "1l", ";", "if", "(", "tail", "end", "!", "=", "null", ")", "{", "end", "=", "tail", "end", ";", "}", "if", "(", "!", "head", "map", "is", "empty", "(", ")", ")", "{", "tail", "end", "=", "(", "long", ")", "head", "map", "get", "(", "head", "map", "size", "(", ")", ")", ";", "if", "(", "tail", "end", ">", "end", ")", "{", "end", "=", "tail", "end", ";", "}", "}", "}", "head", "map", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "if", "(", "!", "head", "map", "is", "empty", "(", ")", ")", "{", "final", "int", "head", "start", "=", "head", "map", "size", "(", ")", ";", "final", "long", "head", "end", "=", "(", "long", ")", "head", "map", "get", "(", "head", "start", ")", ";", "if", "(", "head", "end", ">", "=", "start", "-", "1", ")", "{", "head", "map", "remove", "(", "head", "start", ")", ";", "start", "=", "long", "value", "of", "(", "head", "start", ")", ";", "}", "}", "head", "map", "clear", "(", ")", ";", "head", "map", "remove", "(", "end", ")", ";", "head", "map", "put", "(", "start", ",", "end", ")", ";" ]
[ "take", "a", "batched", "message", "and", "a", "filter", "and", "returns", "a", "message", "with", "the", "only", "the", "submessages", "which", "match", "the", "filter", "returns", "an", "empty", "optional", "if", "no", "messages", "match" ]
[ "check", "argument", "(", "msg", "get", "message", "id", "data", "(", ")", "get", "batch", "index", "(", ")", "=", "=", "-", "1", ")", ";", "byte", "buf", "payload", "=", "msg", "get", "headers", "and", "payload", "(", ")", ";", "message", "metadata", "metadata", "=", "commands", "parse", "message", "metadata", "(", "payload", ")", ";", "byte", "buf", "batch", "buffer", "=", "pooled", "byte", "buf", "allocator", "default", "buffer", "(", "payload", "capacity", "(", ")", ")", ";", "compression", "type", "compression", "type", "=", "metadata", "get", "compression", "(", ")", ";", "compression", "codec", "codec", "=", "compression", "codec", "provider", "get", "compression", "codec", "(", "compression", "type", ")", ";", "int", "uncompressed", "size", "=", "metadata", "get", "uncompressed", "size", "(", ")", ";", "byte", "buf", "uncompressed", "payload", "=", "codec", "decode", "(", "payload", ",", "uncompressed", "size", ")", ";", "try", "{", "int", "batch", "size", "=", "metadata", "get", "num", "messages", "in", "batch", "(", ")", ";", "int", "messages", "retained", "=", "0", ";", "single", "message", "metadata", "builder", "empty", "metadata", "builder", "=", "single", "message", "metadata", "new", "builder", "(", ")", "set", "compacted", "out", "(", "true", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "batch", "size", ";", "i", "+", "+", ")", "{", "single", "message", "metadata", "builder", "single", "message", "metadata", "builder", "=", "single", "message", "metadata", "new", "builder", "(", ")", ";", "byte", "buf", "single", "message", "payload", "=", "commands", "de", "serialize", "single", "message", "in", "batch", "(", "uncompressed", "payload", ",", "single", "message", "metadata", "builder", ",", "0", ",", "batch", "size", ")", ";", "message", "id", "id", "=", "new", "batch", "message", "id", "impl", "(", "msg", "get", "message", "id", "data", "(", ")", "get", "ledger", "id", "(", ")", ",", "msg", "get", "message", "id", "data", "(", ")", "get", "entry", "id", "(", ")", ",", "msg", "get", "message", "id", "data", "(", ")", "get", "partition", "(", ")", ",", "i", ")", ";", "if", "(", "!", "single", "message", "metadata", "builder", "has", "partition", "key", "(", ")", ")", "{", "messages", "retained", "+", "+", ";", "commands", "serialize", "single", "message", "in", "batch", "with", "payload", "(", "single", "message", "metadata", "builder", ",", "single", "message", "payload", ",", "batch", "buffer", ")", ";", "}", "else", "if", "(", "filter", "test", "(", "single", "message", "metadata", "builder", "get", "partition", "key", "(", ")", ",", "id", ")", "&", "&", "single", "message", "payload", "readable", "bytes", "(", ")", ">", "0", ")", "{", "messages", "retained", "+", "+", ";", "commands", "serialize", "single", "message", "in", "batch", "with", "payload", "(", "single", "message", "metadata", "builder", ",", "single", "message", "payload", ",", "batch", "buffer", ")", ";", "}", "else", "{", "commands", "serialize", "single", "message", "in", "batch", "with", "payload", "(", "empty", "metadata", "builder", ",", "unpooled", "empty", "buffer", ",", "batch", "buffer", ")", ";", "}", "single", "message", "metadata", "builder", "recycle", "(", ")", ";", "single", "message", "payload", "release", "(", ")", ";", "}", "empty", "metadata", "builder", "recycle", "(", ")", ";", "if", "(", "messages", "retained", ">", "0", ")", "{", "int", "new", "uncompressed", "size", "=", "batch", "buffer", "readable", "bytes", "(", ")", ";", "byte", "buf", "compressed", "payload", "=", "codec", "encode", "(", "batch", "buffer", ")", ";", "message", "metadata", "builder", "metadata", "builder", "=", "metadata", "to", "builder", "(", ")", ";", "metadata", "builder", "set", "uncompressed", "size", "(", "new", "uncompressed", "size", ")", ";", "message", "metadata", "new", "metadata", "=", "metadata", "builder", "build", "(", ")", ";", "byte", "buf", "metadata", "and", "payload", "=", "commands", "serialize", "metadata", "and", "payload", "(", "commands", "checksum", "type", "crc", "3", "2c", ",", "new", "metadata", ",", "compressed", "payload", ")", ";", "optional", "<", "raw", "message", ">", "result", "=", "optional", "of", "(", "new", "raw", "message", "impl", "(", "msg", "get", "message", "id", "data", "(", ")", ",", "metadata", "and", "payload", ")", ")", ";", "metadata", "builder", "recycle", "(", ")", ";", "new", "metadata", "recycle", "(", ")", ";", "metadata", "and", "payload", "release", "(", ")", ";", "compressed", "payload", "release", "(", ")", ";", "return", "result", ";", "}", "else", "{", "return", "optional", "empty", "(", ")", ";", "}", "}", "finally", "{", "batch", "buffer", "release", "(", ")", ";", "metadata", "recycle", "(", ")", ";", "msg", "close", "(", ")", ";", "}" ]
[ "template", "static", "constructor" ]
[ "return", "new", "db", "sql", "builder", "(", ")", ";" ]
[ "template", "static", "constructor" ]
[ "return", "new", "db", "sql", "builder", "(", ")", "append", "(", "template", ")", ";" ]
[ "resets", "the", "builder", "(", "soft", "reset", ")", "so", "it", "can", "be", "used", "again", "configuration", "is", "preserved" ]
[ "reset", "soft", "(", ")", ";", "return", "this", ";" ]
[ "hard", "reset", "of", "the", "builder", "all", "configuration", "is", "reset" ]
[ "reset", "hard", "(", ")", ";", "return", "this", ";" ]
[ "builds", "the", "query", "and", "returns", "parsed", "data", "returned", "value", "can", "be", "cached", "or", "stored", "as", "a", "constant", "value", "to", "prevent", "further", "parsing", "of", "the", "same", "code" ]
[ "return", "new", "parsed", "sql", "(", "this", ")", ";" ]
[ "specifies", "column", "alias", "type", "may", "be", "<", "code", ">", "null", "<", "/", "code", ">", "when", "column", "aliases", "are", "not", "used" ]
[ "this", "column", "alias", "type", "=", "aliases", "type", ";", "return", "this", ";" ]
[ "defines", "object", "reference", "and", "an", "object" ]
[ "set", "object", "reference", "(", "name", ",", "value", ")", ";", "return", "this", ";" ]
[ "appends", "chunk", "to", "the", "list", "chunks", "<", "b", ">", "must", "<", "/", "b", ">", "be", "added", "using", "this", "method" ]
[ "if", "(", "last", "chunk", "=", "=", "null", ")", "{", "last", "chunk", "=", "first", "chunk", "=", "chunk", ";", "}", "else", "{", "chunk", "insert", "chunk", "after", "(", "last", "chunk", ")", ";", "last", "chunk", "=", "chunk", ";", "}", "total", "chunks", "+", "+", ";", "return", "this", ";" ]
[ "parses", "provided", "text", "into", "the", "list", "of", "chunks", "and", "appends", "them", "to", "the", "list" ]
[ "template", "parser", "parse", "(", "this", ",", "text", ")", ";", "return", "this", ";" ]
[ "simply", "adds", "text", "without", "parsing", "to", "the", "query" ]
[ "add", "chunk", "(", "new", "raw", "sql", "chunk", "(", "entity", "manager", ",", "text", ")", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "if", "(", "hints", "=", "=", "null", ")", "{", "return", "null", ";", "}", "return", "hints", "to", "array", "(", "new", "string", "[", "0", "]", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "table" ]
[ "return", "add", "chunk", "(", "new", "table", "chunk", "(", "entity", "manager", ",", "entity", "name", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "columns" ]
[ "return", "add", "chunk", "(", "new", "columns", "select", "chunk", "(", "entity", "manager", ",", "db", "oom", "config", "(", ")", "get", "column", "alias", "separator", "(", ")", ",", "reference", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "reference" ]
[ "return", "add", "chunk", "(", "new", "reference", "chunk", "(", "entity", "manager", ",", "column", "ref", ")", ")", ";" ]
[ "creates", "condition", "part", "of", "the", "query", "only", "for", "existing", "columns" ]
[ "return", "add", "chunk", "(", "new", "match", "chunk", "(", "entity", "manager", ",", "table", "ref", ",", "value", ",", "sql", "chunk", "cols", "only", "existing", ")", ")", ";" ]
[ "creates", "condition", "part", "of", "the", "query", "for", "id", "columns" ]
[ "return", "add", "chunk", "(", "new", "match", "chunk", "(", "entity", "manager", ",", "table", "ref", ",", "value", ",", "sql", "chunk", "cols", "only", "ids", ")", ")", ";" ]
[ "creates", "condition", "part", "of", "the", "query", "for", "all", "columns", "including", "the", "null", "values" ]
[ "return", "add", "chunk", "(", "new", "match", "chunk", "(", "entity", "manager", ",", "table", "ref", ",", "value", ",", "sql", "chunk", "cols", "all", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "values" ]
[ "return", "add", "chunk", "(", "new", "value", "chunk", "(", "entity", "manager", ",", "name", ",", "value", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "insert" ]
[ "return", "add", "chunk", "(", "new", "insert", "chunk", "(", "entity", "manager", ",", "db", "oom", "config", "(", ")", "is", "updateable", "primary", "key", "(", ")", ",", "entity", "name", ",", "values", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "update", "set" ]
[ "return", "add", "chunk", "(", "new", "update", "set", "chunk", "(", "db", "oom", ",", "table", "ref", ",", "values", ",", "sql", "chunk", "cols", "only", "existing", ")", ")", ";" ]
[ "returns", "{" ]
[ "return", "new", "db", "oom", "query", "(", "db", "oom", ",", "this", ")", ";" ]
[ "makes", "this", "local", "h", "base", "cluster", "use", "a", "mini", "-", "dfs", "cluster", "must", "be", "called", "before", "{" ]
[ "if", "(", "test", "util", "=", "=", "null", ")", "{", "test", "util", "=", "new", "h", "base", "testing", "utility", "(", "conf", ")", ";", "}", "dfs", "cluster", "=", "test", "util", "start", "mini", "d", "f", "s", "cluster", "(", "num", "data", "nodes", ")", ";" ]
[ "generates", "a", "list", "of", "random", "port", "numbers", "in", "the", "sorted", "order", "a", "sorted", "order", "makes", "sense", "if", "we", "ever", "want", "to", "refer", "to", "these", "servers", "by", "their", "index", "in", "the", "returned", "array", "e", "g", "server", "#", "0", "#", "1", "etc" ]
[ "list", "<", "integer", ">", "ports", "=", "new", "array", "list", "<", ">", "(", "n", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n", ";", "+", "+", "i", ")", "{", "ports", "add", "(", "h", "base", "testing", "utility", "random", "free", "port", "(", ")", ")", ";", "}", "collections", "sort", "(", "ports", ")", ";", "return", "ports", ";" ]
[ "<", "p", ">", "the", "maintenance", "window", "id", "that", "includes", "the", "task", "to", "retrieve", "<", "/", "p", ">" ]
[ "set", "window", "id", "(", "window", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maintenance", "window", "task", "id", "to", "retrieve", "<", "/", "p", ">" ]
[ "set", "window", "task", "id", "(", "window", "task", "id", ")", ";", "return", "this", ";" ]
[ "test", "(", "de", ")", "serialization", "on", "all", "previous", "released", "versions" ]
[ "for", "(", "version", "version", ":", "version", "utils", "all", "released", "versions", "(", ")", ")", "{", "has", "parent", "query", "builder", "test", "query", "=", "create", "test", "query", "builder", "(", ")", ";", "assert", "serialization", "(", "test", "query", ",", "version", ")", ";", "}" ]
[ "initializes", "the", "play", "queue", "message", "buses" ]
[ "event", "broadcast", "=", "behavior", "subject", "create", "(", ")", ";", "broadcast", "receiver", "=", "event", "broadcast", "to", "flowable", "(", "backpressure", "strategy", "buffer", ")", "observe", "on", "(", "android", "schedulers", "main", "thread", "(", ")", ")", "start", "with", "(", "new", "init", "event", "(", ")", ")", ";", "if", "(", "debug", ")", "broadcast", "receiver", "subscribe", "(", "get", "self", "reporter", "(", ")", ")", ";" ]
[ "dispose", "the", "play", "queue", "by", "stopping", "all", "message", "buses" ]
[ "if", "(", "event", "broadcast", "!", "=", "null", ")", "event", "broadcast", "on", "complete", "(", ")", ";", "if", "(", "reporting", "reactor", "!", "=", "null", ")", "reporting", "reactor", "cancel", "(", ")", ";", "event", "broadcast", "=", "null", ";", "broadcast", "receiver", "=", "null", ";", "reporting", "reactor", "=", "null", ";" ]
[ "load", "partial", "queue", "in", "the", "background", "does", "nothing", "if", "the", "queue", "is", "complete" ]
[ "public", "abstract", "void", "fetch", "(", ")", ";" ]
[ "returns", "the", "current", "index", "that", "should", "be", "played" ]
[ "return", "queue", "index", "get", "(", ")", ";" ]
[ "returns", "the", "current", "item", "that", "should", "be", "played" ]
[ "return", "get", "item", "(", "get", "index", "(", ")", ")", ";" ]
[ "returns", "the", "item", "at", "the", "given", "index", "may", "throw", "{" ]
[ "if", "(", "index", "<", "0", "|", "|", "index", ">", "=", "streams", "size", "(", ")", "|", "|", "streams", "get", "(", "index", ")", "=", "=", "null", ")", "return", "null", ";", "return", "streams", "get", "(", "index", ")", ";" ]
[ "returns", "the", "current", "size", "of", "play", "queue" ]
[ "return", "streams", "size", "(", ")", ";" ]
[ "checks", "if", "the", "play", "queue", "is", "empty" ]
[ "return", "streams", "is", "empty", "(", ")", ";" ]
[ "determines", "if", "the", "current", "play", "queue", "is", "shuffled" ]
[ "return", "backup", "!", "=", "null", ";" ]
[ "returns", "an", "immutable", "view", "of", "the", "play", "queue" ]
[ "return", "collections", "unmodifiable", "list", "(", "streams", ")", ";" ]
[ "returns", "the", "play", "queue", "s", "update", "broadcast", "may", "be", "null", "if", "the", "play", "queue", "message", "bus", "is", "not", "initialized" ]
[ "return", "broadcast", "receiver", ";" ]
[ "changes", "the", "current", "playing", "index", "to", "a", "new", "index" ]
[ "final", "int", "old", "index", "=", "get", "index", "(", ")", ";", "int", "new", "index", "=", "index", ";", "if", "(", "index", "<", "0", ")", "new", "index", "=", "0", ";", "if", "(", "index", ">", "=", "streams", "size", "(", ")", ")", "new", "index", "=", "is", "complete", "(", ")", "?", "index", "%", "streams", "size", "(", ")", ":", "streams", "size", "(", ")", "-", "1", ";", "queue", "index", "set", "(", "new", "index", ")", ";", "broadcast", "(", "new", "select", "event", "(", "old", "index", ",", "new", "index", ")", ")", ";" ]
[ "changes", "the", "current", "playing", "index", "by", "an", "offset", "amount" ]
[ "set", "index", "(", "get", "index", "(", ")", "+", "offset", ")", ";" ]
[ "appends", "the", "given", "{", "@", "link", "play", "queue", "item", "}", "s", "to", "the", "current", "play", "queue" ]
[ "append", "(", "arrays", "as", "list", "(", "items", ")", ")", ";" ]
[ "appends", "the", "given", "{", "@", "link", "play", "queue", "item", "}", "s", "to", "the", "current", "play", "queue" ]
[ "list", "<", "play", "queue", "item", ">", "item", "list", "=", "new", "array", "list", "<", ">", "(", "items", ")", ";", "if", "(", "is", "shuffled", "(", ")", ")", "{", "backup", "add", "all", "(", "item", "list", ")", ";", "collections", "shuffle", "(", "item", "list", ")", ";", "}", "streams", "add", "all", "(", "item", "list", ")", ";", "broadcast", "(", "new", "append", "event", "(", "item", "list", "size", "(", ")", ")", ")", ";" ]
[ "removes", "the", "item", "at", "the", "given", "index", "from", "the", "play", "queue" ]
[ "if", "(", "index", ">", "=", "streams", "size", "(", ")", "|", "|", "index", "<", "0", ")", "return", ";", "remove", "internal", "(", "index", ")", ";", "broadcast", "(", "new", "remove", "event", "(", "index", ",", "get", "index", "(", ")", ")", ")", ";" ]
[ "report", "an", "exception", "for", "the", "item", "at", "the", "current", "index", "in", "order", "and", "the", "course", "of", "action", ":", "if", "the", "error", "can", "be", "skipped", "or", "the", "current", "item", "should", "be", "removed" ]
[ "final", "int", "index", "=", "get", "index", "(", ")", ";", "if", "(", "skippable", ")", "{", "queue", "index", "increment", "and", "get", "(", ")", ";", "}", "else", "{", "remove", "internal", "(", "index", ")", ";", "}", "broadcast", "(", "new", "error", "event", "(", "index", ",", "get", "index", "(", ")", ",", "skippable", ")", ")", ";" ]
[ "moves", "a", "queue", "item", "at", "the", "source", "index", "to", "the", "target", "index" ]
[ "if", "(", "source", "<", "0", "|", "|", "target", "<", "0", ")", "return", ";", "if", "(", "source", ">", "=", "streams", "size", "(", ")", "|", "|", "target", ">", "=", "streams", "size", "(", ")", ")", "return", ";", "final", "int", "current", "=", "get", "index", "(", ")", ";", "if", "(", "source", "=", "=", "current", ")", "{", "queue", "index", "set", "(", "target", ")", ";", "}", "else", "if", "(", "source", "<", "current", "&", "&", "target", ">", "=", "current", ")", "{", "queue", "index", "decrement", "and", "get", "(", ")", ";", "}", "else", "if", "(", "source", ">", "current", "&", "&", "target", "<", "=", "current", ")", "{", "queue", "index", "increment", "and", "get", "(", ")", ";", "}", "streams", "add", "(", "target", ",", "streams", "remove", "(", "source", ")", ")", ";", "broadcast", "(", "new", "move", "event", "(", "source", ",", "target", ")", ")", ";" ]
[ "sets", "the", "recovery", "record", "of", "the", "item", "at", "the", "index" ]
[ "if", "(", "index", "<", "0", "|", "|", "index", ">", "=", "streams", "size", "(", ")", ")", "return", ";", "streams", "get", "(", "index", ")", "set", "recovery", "position", "(", "position", ")", ";", "broadcast", "(", "new", "recovery", "event", "(", "index", ",", "position", ")", ")", ";" ]
[ "revoke", "the", "recovery", "record", "of", "the", "item", "at", "the", "index" ]
[ "set", "recovery", "(", "index", ",", "play", "queue", "item", "recovery", "unset", ")", ";" ]
[ "shuffles", "the", "current", "play", "queue" ]
[ "if", "(", "backup", "=", "=", "null", ")", "{", "backup", "=", "new", "array", "list", "<", ">", "(", "streams", ")", ";", "}", "final", "int", "origin", "index", "=", "get", "index", "(", ")", ";", "final", "play", "queue", "item", "current", "=", "get", "item", "(", ")", ";", "collections", "shuffle", "(", "streams", ")", ";", "final", "int", "new", "index", "=", "streams", "index", "of", "(", "current", ")", ";", "if", "(", "new", "index", "!", "=", "-", "1", ")", "{", "streams", "add", "(", "0", ",", "streams", "remove", "(", "new", "index", ")", ")", ";", "}", "queue", "index", "set", "(", "0", ")", ";", "broadcast", "(", "new", "reorder", "event", "(", "origin", "index", ",", "queue", "index", "get", "(", ")", ")", ")", ";" ]
[ "unshuffles", "the", "current", "play", "queue", "if", "a", "backup", "play", "queue", "exists" ]
[ "if", "(", "backup", "=", "=", "null", ")", "return", ";", "final", "int", "origin", "index", "=", "get", "index", "(", ")", ";", "final", "play", "queue", "item", "current", "=", "get", "item", "(", ")", ";", "streams", "clear", "(", ")", ";", "streams", "=", "backup", ";", "backup", "=", "null", ";", "final", "int", "new", "index", "=", "streams", "index", "of", "(", "current", ")", ";", "if", "(", "new", "index", "!", "=", "-", "1", ")", "{", "queue", "index", "set", "(", "new", "index", ")", ";", "}", "else", "{", "queue", "index", "set", "(", "0", ")", ";", "}", "broadcast", "(", "new", "reorder", "event", "(", "origin", "index", ",", "queue", "index", "get", "(", ")", ")", ")", ";" ]
[ "/", "*", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "rx", "broadcast", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "if", "(", "event", "broadcast", "!", "=", "null", ")", "{", "event", "broadcast", "on", "next", "(", "event", ")", ";", "}" ]
[ "@", "param", "conf", "optional", "configuration", "object", "for", "the", "ufs" ]
[ "return", "conf", "is", "set", "(", "property", "key", "oss", "access", "key", ")", "&", "&", "conf", "is", "set", "(", "property", "key", "oss", "secret", "key", ")", "&", "&", "conf", "is", "set", "(", "property", "key", "oss", "endpoint", "key", ")", ";" ]
[ "returns", "the", "cache", "entry", "listener", "registrations" ]
[ "return", "collections", "unmodifiable", "set", "(", "dispatch", "queues", "key", "set", "(", ")", ")", ";" ]
[ "registers", "a", "cache", "entry", "listener", "based", "on", "the", "supplied", "configuration" ]
[ "if", "(", "configuration", "get", "cache", "entry", "listener", "factory", "(", ")", "=", "=", "null", ")", "{", "return", ";", "}", "event", "type", "aware", "listener", "<", "k", ",", "v", ">", "listener", "=", "new", "event", "type", "aware", "listener", "<", ">", "(", "configuration", "get", "cache", "entry", "listener", "factory", "(", ")", "create", "(", ")", ")", ";", "cache", "entry", "event", "filter", "<", "k", ",", "v", ">", "filter", "=", "event", "-", ">", "true", ";", "if", "(", "configuration", "get", "cache", "entry", "event", "filter", "factory", "(", ")", "!", "=", "null", ")", "{", "filter", "=", "new", "event", "type", "filter", "<", ">", "(", "listener", ",", "configuration", "get", "cache", "entry", "event", "filter", "factory", "(", ")", "create", "(", ")", ")", ";", "}", "registration", "<", "k", ",", "v", ">", "registration", "=", "new", "registration", "<", ">", "(", "configuration", ",", "filter", ",", "listener", ")", ";", "dispatch", "queues", "put", "if", "absent", "(", "registration", ",", "completable", "future", "completed", "future", "(", "null", ")", ")", ";" ]
[ "deregisters", "a", "cache", "entry", "listener", "based", "on", "the", "supplied", "configuration" ]
[ "require", "non", "null", "(", "configuration", ")", ";", "dispatch", "queues", "key", "set", "(", ")", "remove", "if", "(", "registration", "-", ">", "configuration", "equals", "(", "registration", "get", "configuration", "(", ")", ")", ")", ";" ]
[ "blocks", "until", "all", "of", "the", "synchronous", "listeners", "have", "finished", "processing", "the", "events", "this", "thread", "published" ]
[ "list", "<", "completable", "future", "<", "void", ">", ">", "futures", "=", "pending", "get", "(", ")", ";", "if", "(", "futures", "is", "empty", "(", ")", ")", "{", "return", ";", "}", "try", "{", "completable", "future", "all", "of", "(", "futures", "to", "array", "(", "new", "completable", "future", "<", "?", ">", "[", "0", "]", ")", ")", "join", "(", ")", ";", "}", "catch", "(", "completion", "exception", "e", ")", "{", "logger", "log", "(", "level", "warning", ",", "null", ",", "e", ")", ";", "}", "finally", "{", "futures", "clear", "(", ")", ";", "}" ]
[ "ignores", "and", "clears", "the", "queued", "futures", "to", "the", "synchronous", "listeners", "that", "are", "processing", "events", "this", "thread", "published" ]
[ "pending", "get", "(", ")", "clear", "(", ")", ";" ]
[ "broadcasts", "the", "event", "to", "all", "of", "the", "interested", "listener", "s", "dispatch", "queues" ]
[ "if", "(", "dispatch", "queues", "is", "empty", "(", ")", ")", "{", "return", ";", "}", "j", "cache", "entry", "event", "<", "k", ",", "v", ">", "event", "=", "null", ";", "for", "(", "registration", "<", "k", ",", "v", ">", "registration", ":", "dispatch", "queues", "key", "set", "(", ")", ")", "{", "if", "(", "!", "registration", "get", "cache", "entry", "listener", "(", ")", "is", "compatible", "(", "event", "type", ")", ")", "{", "continue", ";", "}", "if", "(", "event", "=", "=", "null", ")", "{", "event", "=", "new", "j", "cache", "entry", "event", "<", ">", "(", "cache", ",", "event", "type", ",", "key", ",", "old", "value", ",", "new", "value", ")", ";", "}", "if", "(", "!", "registration", "get", "cache", "entry", "filter", "(", ")", "evaluate", "(", "event", ")", ")", "{", "continue", ";", "}", "j", "cache", "entry", "event", "<", "k", ",", "v", ">", "e", "=", "event", ";", "completable", "future", "<", "void", ">", "future", "=", "dispatch", "queues", "compute", "if", "present", "(", "registration", ",", "(", "k", ",", "queue", ")", "-", ">", "{", "runnable", "action", "=", "(", ")", "-", ">", "registration", "get", "cache", "entry", "listener", "(", ")", "dispatch", "(", "e", ")", ";", "return", "queue", "then", "run", "async", "(", "action", ",", "exectuor", ")", ";", "}", ")", ";", "if", "(", "(", "future", "!", "=", "null", ")", "&", "&", "registration", "is", "synchronous", "(", ")", "&", "&", "!", "quiet", ")", "{", "pending", "get", "(", ")", "add", "(", "future", ")", ";", "}", "}" ]
[ "{" ]
[ "super", "after", "tests", "stopped", "(", ")", ";", "system", "clear", "property", "(", "page", "memory", "tracker", "plugin", "provider", "ignite", "enable", "page", "memory", "tracker", ")", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "cfg", "set", "plugin", "configurations", "(", ")", ";", "return", "cfg", ";" ]
[ "update", "select", "photo", "view", "every", "30", "seconds" ]
[ "if", "(", "has", "permission", "(", ")", ")", "{", "if", "(", "(", "m", "last", "update", "time", "!", "=", "0", "&", "&", "system", "current", "time", "millis", "(", ")", "-", "m", "last", "update", "time", ">", "=", "30", "*", "1000", ")", "|", "|", "m", "file", "items", "size", "(", ")", "=", "=", "0", ")", "{", "new", "thread", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "if", "(", "get", "photos", "(", ")", "&", "&", "get", "videos", "(", ")", ")", "{", "collections", "sort", "(", "m", "file", "items", ")", ";", "m", "media", "handler", "send", "empty", "message", "(", "msg", "what", "scan", "success", ")", ";", "}", "else", "{", "m", "media", "handler", "send", "empty", "message", "(", "msg", "what", "scan", "failed", ")", ";", "}", "}", "}", ")", "start", "(", ")", ";", "}", "}" ]
[ "get", "the", "{", "@", "link", "streaming", "facet", "}", "s", "(", "e", "g", "{", "@", "link", "value", "facet", "}", "and", "{", "@", "link", "pivot", "facet", "}", ")", "contained", "within", "this", "grouping", "returning", "them", "through", "the", "given", "consumer" ]
[ "has", "streaming", "facets", "=", "false", ";", "facets", "for", "each", "(", "(", "name", ",", "facet", ")", "-", ">", "{", "if", "(", "facet", "instanceof", "streaming", "facet", ")", "{", "cons", "accept", "(", "(", "streaming", "facet", ")", "facet", ")", ";", "has", "streaming", "facets", "=", "true", ";", "}", "}", ")", ";", "return", "has", "streaming", "facets", ";" ]
[ "create", "the", "{", "@", "link", "facet", "value", "query", "executer", "}", "s", "for", "all", "{", "@", "link", "abstract", "solr", "query", "facet", "}", "s", "(", "e", "g", "{", "@", "link", "query", "facet", "}", "and", "{", "@", "link", "range", "facet", "}", ")", "contained", "within", "this", "grouping", "the", "executers", "are", "returned", "through", "the", "given", "consumer" ]
[ "facets", "for", "each", "(", "(", "name", ",", "facet", ")", "-", ">", "{", "if", "(", "facet", "instanceof", "abstract", "solr", "query", "facet", ")", "{", "(", "(", "abstract", "solr", "query", "facet", ")", "facet", ")", "create", "facet", "value", "executers", "(", "filter", ",", "query", "request", ",", "cons", ")", ";", "}", "}", ")", ";" ]
[ "add", "a", "facet", "to", "the", "grouping", "all", "expressions", "in", "this", "grouping", "will", "be", "computed", "over", "the", "facet" ]
[ "facet", "set", "expression", "calculator", "(", "expression", "calculator", ")", ";", "facet", "set", "reduction", "collection", "manager", "(", "reduction", "collection", "manager", ")", ";", "facets", "put", "(", "facet", "get", "name", "(", ")", ",", "facet", ")", ";" ]
[ "get", "the", "{", "@", "link", "reduction", "collection", "manager", "}", "that", "manages", "the", "collection", "of", "reduction", "data", "for", "the", "expressions", "contained", "within", "this", "grouping" ]
[ "return", "reduction", "collection", "manager", ";" ]
[ "use", "jetty", "s", "aliased", "key", "manager", "for", "consistency", "between", "server", "/", "client", "tls", "configs" ]
[ "key", "manager", "[", "]", "aliased", "managers", "=", "new", "key", "manager", "[", "delegates", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "delegates", "length", ";", "i", "+", "+", ")", "{", "if", "(", "delegates", "[", "i", "]", "instanceof", "x", "5", "0", "9", "extended", "key", "manager", ")", "{", "aliased", "managers", "[", "i", "]", "=", "new", "aliased", "x", "5", "0", "9", "extended", "key", "manager", "(", "(", "x", "5", "0", "9", "extended", "key", "manager", ")", "delegates", "[", "i", "]", ",", "cert", "alias", ")", ";", "}", "else", "{", "aliased", "managers", "[", "i", "]", "=", "delegates", "[", "i", "]", ";", "}", "}", "return", "aliased", "managers", ";" ]
[ "create", "java", "{", "@", "link", "generated", "}", "annotation", "for", "a", "class" ]
[ "annotate", "(", "cls", ",", "class", "type", ",", "location", ",", "null", ")", ";" ]
[ "max", "wait", "time", "is", "2", "seconds", "but", "should", "complete", "well", "before", "that" ]
[ "long", "step", "size", "=", "time", "unit", "milliseconds", "convert", "(", "5", "0l", ",", "time", "unit", "milliseconds", ")", ";", "long", "max", "time", "=", "time", "unit", "milliseconds", "convert", "(", "2l", ",", "time", "unit", "seconds", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "max", "time", ";", "i", "+", "=", "step", "size", ")", "{", "if", "(", "final", "count", "=", "=", "lb", "get", "server", "count", "(", "false", ")", ")", "{", "return", "true", ";", "}", "else", "{", "thread", "sleep", "(", "step", "size", ")", ";", "}", "}", "return", "false", ";" ]
[ "the", "response", "content", "note", "if", "the", "content", "is", "{" ]
[ "public", "abstract", "bytes", "reference", "content", "(", ")", ";" ]
[ "the", "rest", "status", "code" ]
[ "public", "abstract", "rest", "status", "status", "(", ")", ";" ]