docstring_tokens
list
code_tokens
list
[ "<", "p", ">", "the", "barcode", "that", "identifies", "a", "specific", "virtual", "tape", "<", "/", "p", ">" ]
[ "set", "tape", "barcode", "(", "tape", "barcode", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "size", "in", "bytes", "of", "a", "virtual", "tape", "<", "/", "p", ">" ]
[ "set", "tape", "size", "in", "bytes", "(", "tape", "size", "in", "bytes", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "tape", "<", "/", "p", ">" ]
[ "set", "tape", "status", "(", "tape", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "gateway", "use", "the", "<", "a", ">", "list", "gateways", "<", "/", "a", ">", "operation", "to", "return", "a", "list", "of", "gateways", "for", "your", "account", ...
[ "set", "gateway", "a", "r", "n", "(", "gateway", "a", "r", "n", ")", ";", "return", "this", ";" ]
[ "if", "we", "use", "injection", "we", "can", "have", "different", "arrays", "lengths", "we", "need", "synchronize", "them", "for", "consistency", "behavior", "with", "ui" ]
[ "int", "nr", "fields", "=", "(", "key", "stream", "=", "=", "null", ")", "?", "-", "1", ":", "key", "stream", "length", ";", "if", "(", "nr", "fields", "<", "=", "0", ")", "{", "return", ";", "}", "string", "[", "]", "[", "]", "rtn", "=", "...
[ "run", "query" ]
[ "grid", "query", "processor", "qry", "proc", "=", "(", "(", "ignite", "ex", ")", "node", ")", "context", "(", ")", "query", "(", ")", ";", "return", "qry", "proc", "query", "sql", "fields", "(", "new", "sql", "fields", "query", "(", "sql", "text", ...
[ "run", "query", "locally" ]
[ "grid", "query", "processor", "qry", "proc", "=", "(", "(", "ignite", "ex", ")", "node", ")", "context", "(", ")", "query", "(", ")", ";", "return", "qry", "proc", "query", "sql", "fields", "(", "new", "sql", "fields", "query", "(", "sql", "text", ...
[ "insert", "pending", "characters" ]
[ "if", "(", "remaining", "text", "string", "=", "=", "null", ")", "{", "return", ";", "}", "try", "{", "insert", "string", "(", "last", "pos", ",", "remaining", "text", "string", ",", "remaining", "text", "attr", ")", ";", "}", "catch", "(", "final", ...
[ "insert", "a", "single", "character", "into", "the", "document", "if", "the", "character", "is", "contained", "within", "the", "delimiters", "the", "previous", "word", "supposed", "to", "be", "complete", "then", "is", "checked", "against", "the", "ones", "to",...
[ "if", "(", "offs", "<", "0", ")", "{", "return", ";", "}", "try", "{", "super", "insert", "string", "(", "offs", ",", "str", ",", "normal", ")", ";", "}", "catch", "(", "final", "exception", "ex", ")", "{", "ex", "print", "stack", "trace", "(", ...
[ "write", "a", "specific", "python", "prompt", "into", "the", "given", "position", "the", "position", "is", "nearly", "always", "the", "end", "of", "the", "document" ]
[ "try", "{", "super", "insert", "string", "(", "pos", ",", "prompt", ",", "python", "prompt", "attr", ")", ";", "}", "catch", "(", "final", "exception", "ex", ")", "{", "ex", "print", "stack", "trace", "(", ")", ";", "}" ]
[ "insert", "a", "string", "of", "source", "code", "to", "be", "highlighted", "to", "the", "document", "the", "string", "is", "then", "inserted", "character", "by", "character", "if", "longer", "than", "1", "char" ]
[ "if", "(", "offs", "<", "0", ")", "{", "return", ";", "}", "if", "(", "str", "length", "(", ")", ">", "1", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "str", "length", "(", ")", ";", "i", "+", "+", ")", "{", "...
[ "set", "the", "key", "listener", "instance", "used", "by", "the", "parent", "this", "is", "needed", "in", "order", "for", "this", "class", "to", "be", "able", "to", "send", "key", "events", "to", "the", "input", "text", "pane" ]
[ "input", "key", "listener", "=", "kl", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "model", "package", "literals", "mbricklet", "co2", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "logger", "old", "logger", "=", "logger", ";", "logger", "=", "new", "logger", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model"...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "uid", "=", "uid", ";", "uid", "=", "new", "uid", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "package...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "boolean", "old", "poll", "=", "poll", ";", "poll", "=", "new", "poll", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "pa...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "atomic", "boolean", "old", "enabled", "a", "=", "enabled", "a", ";", "enabled", "a", "=", "new", "enabled", "a", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ","...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "tinkerforge", "device", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "bricklet", "c", "o", "2", "old", "tinkerforge", "device", "=", "tinkerforge", "device", ";", "tinkerforge", "device", "=", "new", "tinkerforge", "device", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "n...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "i", "p", "connection", "old", "ip", "connection", "=", "ip", "connection", ";", "ip", "connection", "=", "new", "ip", "connection", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "connected", "uid", "=", "connected", "uid", ";", "connected", "uid", "=", "new", "connected", "uid", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "char", "old", "position", "=", "position", ";", "position", "=", "new", "position", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "int", "old", "device", "identifier", "=", "device", "identifier", ";", "device", "identifier", "=", "new", "device", "identifier", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(",...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "string", "old", "name", "=", "name", ";", "name", "=", "new", "name", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "set", ",", "model", "pac...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "e", "container", "feature", "i", "d", "(", ")", "!", "=", "model", "package", "mbricklet", "co2", "brickd", ")", "return", "null", ";", "return", "(", "m", "brickd", ")", "e", "container", "(", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "e", "container", "feature", "i", "d", "(", ")", "!", "=", "model", "package", "mbricklet", "co2", "brickd", ")", "return", "null", ";", "return", "(", "m", "brickd", ")", "e", "internal", "container", "(", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "msgs", "=", "e", "basic", "set", "container", "(", "(", "internal", "e", "object", ")", "new", "brickd", ",", "model", "package", "mbricklet", "co2", "brickd", ",", "msgs", ")", ";", "return", "msgs", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "decimal", "value", "old", "sensor", "value", "=", "sensor", "value", ";", "sensor", "value", "=", "new", "sensor", "value", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "t...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "t", "f", "base", "configuration", "old", "tf", "config", "=", "tf", "config", ";", "tf", "config", "=", "new", "tf", "config", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "{", "e", "notification", "impl", "notification", "=", "new"...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "new", "tf", "config", "!", "=", "tf", "config", ")", "{", "notification", "chain", "msgs", "=", "null", ";", "if", "(", "tf", "config", "!", "=", "null", ")", "msgs", "=", "(", "(", "internal", "e", "object", ")", "tf", "config", ")",...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "long", "old", "callback", "period", "=", "callback", "period", ";", "callback", "period", "=", "new", "callback", "period", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "thi...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "big", "decimal", "old", "threshold", "=", "threshold", ";", "threshold", "=", "new", "threshold", ";", "if", "(", "e", "notification", "required", "(", ")", ")", "e", "notify", "(", "new", "e", "notification", "impl", "(", "this", ",", "notification", "...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "set", "enabled", "a", "(", "new", "atomic", "boolean", "(", ")", ")", ";", "logger", "=", "logger", "factory", "get", "logger", "(", "m", "bricklet", "c", "o", "2", "impl", "class", ")", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "try", "{", "int", "co", "2", "concentration", "=", "tinkerforge", "device", "get", "c", "o", "2", "concentration", "(", ")", ";", "decimal", "value", "value", "=", "tools", "calculate", "(", "co", "2", "concentration", ")", ";", "set", "sensor", "value"...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "listener", "!", "=", "null", ")", "{", "tinkerforge", "device", "remove", "c", "o", "2", "concentration", "listener", "(", "listener", ")", ";", "}", "tinkerforge", "device", "=", "null", ";" ]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "brickd", ":", "if", "(", "e", "internal", "container", "(", ")", "!", "=", "null", ")", "msgs", "=", "e", "basic", "remove", "from", "container", "(", "msg...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "brickd", ":", "return", "basic", "set", "brickd", "(", "null", ",", "msgs", ")", ";", "case", "model", "package", "mbricklet", "co2", "tf", "config", ":", "r...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "e", "container", "feature", "i", "d", "(", ")", ")", "{", "case", "model", "package", "mbricklet", "co2", "brickd", ":", "return", "e", "internal", "container", "(", ")", "e", "inverse", "remove", "(", "this", ",", "model", "package", "...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "logger", ":", "return", "get", "logger", "(", ")", ";", "case", "model", "package", "mbricklet", "co2", "uid", ":", "return", "get", "uid", "(", ")", ";", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "logger", ":", "set", "logger", "(", "(", "logger", ")", "new", "value", ")", ";", "return", ";", "case", "model", "package", "mbricklet", "co2", "uid", ":", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "logger", ":", "set", "logger", "(", "logger", "edefault", ")", ";", "return", ";", "case", "model", "package", "mbricklet", "co2", "uid", ":", "set", "uid", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "logger", ":", "return", "logger", "edefault", "=", "=", "null", "?", "logger", "!", "=", "null", ":", "!", "logger", "edefault", "equals", "(", "logger", ")"...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "base", "class", "=", "=", "m", "sensor", "class", ")", "{", "switch", "(", "derived", "feature", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "sensor", "value", ":", "return", "model", "package", "msensor", "sensor", ...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "base", "class", "=", "=", "m", "sensor", "class", ")", "{", "switch", "(", "base", "feature", "i", "d", ")", "{", "case", "model", "package", "msensor", "sensor", "value", ":", "return", "model", "package", "mbricklet", "co2", "sensor", "va...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "if", "(", "base", "class", "=", "=", "m", "sensor", "class", ")", "{", "switch", "(", "base", "operation", "i", "d", ")", "{", "case", "model", "package", "msensor", "fetch", "sensor", "value", ":", "return", "model", "package", "mbricklet", "co2", "f...
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "switch", "(", "operation", "i", "d", ")", "{", "case", "model", "package", "mbricklet", "co2", "init", ":", "init", "(", ")", ";", "return", "null", ";", "case", "model", "package", "mbricklet", "co2", "fetch", "sensor", "value", ":", "fetch", "sensor",...
[ "set", "-", "up", "the", "tests" ]
[ "injection", "manager", "=", "injections", "create", "injection", "manager", "(", "this", ")", ";", "executor", "providers", "register", "executor", "bindings", "(", "injection", "manager", ")", ";", "injection", "manager", "complete", "registration", "(", ")", ...
[ "todo", ":", "move", "into", "d", "histogram" ]
[ "double", "n", "=", "h", "w", "(", "b", ")", ";", "return", "n", ">", "0", "?", "sums", "[", "b", "]", "/", "n", ":", "h", "bin", "at", "(", "b", ")", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "function", "<", "/", "p", ">" ]
[ "set", "function", "name", "(", "function", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "java", "class", "that", "contains", "the", "function", "code", "<", "/", "p", ">" ]
[ "set", "class", "name", "(", "class", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "owner", "of", "the", "function", "<", "/", "p", ">" ]
[ "set", "owner", "name", "(", "owner", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "owner", "type", "<", "/", "p", ">" ]
[ "set", "owner", "type", "(", "owner", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "owner", "type", "<", "/", "p", ">" ]
[ "this", "owner", "type", "=", "owner", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "time", "at", "which", "the", "function", "was", "created", "<", "/", "p", ">" ]
[ "set", "create", "time", "(", "create", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "resource", "u", "r", "is", "for", "the", "function", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", ...
[ "if", "(", "this", "resource", "uris", "=", "=", "null", ")", "{", "set", "resource", "uris", "(", "new", "java", "util", "array", "list", "<", "resource", "uri", ">", "(", "resource", "uris", "length", ")", ")", ";", "}", "for", "(", "resource", "...
[ "<", "p", ">", "the", "resource", "u", "r", "is", "for", "the", "function", "<", "/", "p", ">" ]
[ "set", "resource", "uris", "(", "resource", "uris", ")", ";", "return", "this", ";" ]
[ "-", "-", "-", "executable", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", ...
[ "assert", "does", "not", "throw", "(", "nix", ")", ";" ]
[ "indicates", "use", "of", "rsv1", "flag", "for", "indicating", "deflation", "is", "in", "use" ]
[ "return", "true", ";" ]
[ "return", "the", "mode", "of", "operation", "for", "dropping", "(", "or", "keeping", ")", "tail", "bytes", "in", "frames", "generated", "by", "compress", "(", "outgoing", ")" ]
[ "abstract", "int", "get", "tail", "drop", "mode", "(", ")", ";" ]
[ "return", "the", "mode", "of", "operation", "for", "rsv", "flag", "use", "in", "frames", "generate", "by", "compress", "(", "outgoing", ")" ]
[ "abstract", "int", "get", "rsv", "use", "mode", "(", ")", ";" ]
[ "test", "for", "representation", "of", "boolean" ]
[ "boolean", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "byte" ]
[ "byte", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "char" ]
[ "char", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "double" ]
[ "double", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "float" ]
[ "float", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "int" ]
[ "int", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "long" ]
[ "long", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "short" ]
[ "short", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "object" ]
[ "object", "y", "=", "x", ";" ]
[ "reference", "type", ")" ]
[ "string", "y", "=", "x", ";" ]
[ "test", "for", "representation", "of", "int", "[", "]", "(", "as", "a", "token", "example", "of", "an", "array", "class", ")" ]
[ "int", "[", "]", "y", "=", "x", ";" ]
[ "we", "shouldn", "t", "use", "all", "the", "processors", "available", "because", "this", "can", "bog", "down", "the", "system", "but", "using", "n", "/", "2", "with", "an", "upper", "limit", "of", "4", "as", "the", "thread", "limit", "should", "give", ...
[ "int", "limit", "=", "math", "max", "(", "runtime", "get", "runtime", "(", ")", "available", "processors", "(", ")", "/", "2", ",", "4", ")", ";", "return", "limit", ">", "0", "?", "limit", ":", "1", ";" ]
[ "write", "edits", "log", "operation", "to", "the", "stream" ]
[ "abstract", "public", "void", "write", "(", "f", "s", "edit", "log", "op", "op", ")", "throws", "i", "o", "exception", ";" ]
[ "write", "raw", "data", "to", "an", "edit", "log", "this", "data", "should", "already", "have", "the", "transaction", "id", "checksum", "etc", "included", "it", "is", "for", "use", "within", "the", "backup", "node", "when", "replicating", "edits", "from", ...
[ "abstract", "public", "void", "write", "raw", "(", "byte", "[", "]", "bytes", ",", "int", "offset", ",", "int", "length", ")", "throws", "i", "o", "exception", ";" ]
[ "create", "and", "initialize", "underlying", "persistent", "edits", "log", "storage" ]
[ "abstract", "public", "void", "create", "(", "int", "layout", "version", ")", "throws", "i", "o", "exception", ";" ]
[ "close", "the", "journal" ]
[ "@", "override", "abstract", "public", "void", "close", "(", ")", "throws", "i", "o", "exception", ";" ]
[ "close", "the", "stream", "without", "necessarily", "flushing", "any", "pending", "data", "this", "may", "be", "called", "after", "a", "previous", "write", "or", "close", "threw", "an", "exception" ]
[ "abstract", "public", "void", "abort", "(", ")", "throws", "i", "o", "exception", ";" ]
[ "all", "data", "that", "has", "been", "written", "to", "the", "stream", "so", "far", "will", "be", "flushed", "new", "data", "can", "be", "still", "written", "to", "the", "stream", "while", "flushing", "is", "performed" ]
[ "abstract", "public", "void", "set", "ready", "to", "flush", "(", ")", "throws", "i", "o", "exception", ";" ]
[ "flush", "and", "sync", "all", "data", "that", "is", "ready", "to", "be", "flush", "{" ]
[ "abstract", "protected", "void", "flush", "and", "sync", "(", "boolean", "durable", ")", "throws", "i", "o", "exception", ";" ]
[ "flush", "data", "to", "persistent", "store", "collect", "sync", "metrics" ]
[ "flush", "(", "true", ")", ";" ]
[ "implement", "the", "policy", "when", "to", "automatically", "sync", "the", "buffered", "edits", "log", "the", "buffered", "edits", "can", "be", "flushed", "when", "the", "buffer", "becomes", "full", "or", "a", "certain", "period", "of", "time", "is", "elaps...
[ "return", "false", ";" ]
[ "return", "total", "time", "spent", "in", "{" ]
[ "return", "total", "time", "sync", ";" ]
[ "return", "number", "of", "calls", "to", "{" ]
[ "return", "num", "sync", ";" ]
[ "randomly", "return", "the", "cluster", "s", "zk", "based", "csc", "or", "http", "cluster", "provider", "based", "csc" ]
[ "return", "random", "(", ")", "next", "boolean", "(", ")", "?", "cluster", "get", "solr", "client", "(", ")", ":", "http", "based", "cloud", "solr", "client", ";" ]
[ "get", "the", "name", "of", "a", "{" ]
[ "if", "(", "bean", "name", "length", "(", ")", ">", "cache", "manager", "suffix", "length", "(", ")", "&", "&", "string", "utils", "ends", "with", "ignore", "case", "(", "bean", "name", ",", "cache", "manager", "suffix", ")", ")", "{", "return", "bea...
[ "sets", "a", "{" ]
[ "m", "input", "event", "listener", "=", "listener", ";" ]
[ "returns", "the", "display", "properties", "or", "{" ]
[ "return", "m", "display", "properties", ";" ]
[ "unbinds", "from", "the", "braille", "display", "service", "and", "deallocates", "any", "resources", "this", "method", "should", "be", "called", "when", "the", "braille", "display", "is", "no", "longer", "in", "use", "by", "this", "client" ]
[ "do", "unbind", "service", "(", ")", ";" ]
[ "merge", "entries", "from", "two", "manifests", "together", "with", "existing", "attributes", "being", "overwritten" ]
[ "attributes", "attributes", "=", "from", "get", "main", "attributes", "(", ")", ";", "if", "(", "attributes", "!", "=", "null", ")", "{", "for", "(", "map", "entry", "<", "object", ",", "object", ">", "attribute", ":", "attributes", "entry", "set", "("...
[ "get", "the", "wrapped", "instance", "by", "<", "code", ">", "reader", "<", "/", "code", ">", "as", "long", "as", "this", "reader", "is", "an", "instance", "of", "{" ]
[ "while", "(", "reader", "instanceof", "filter", "codec", "reader", ")", "{", "reader", "=", "(", "(", "filter", "codec", "reader", ")", "reader", ")", "get", "delegate", "(", ")", ";", "}", "return", "reader", ";" ]
[ "returns", "the", "wrapped", "{" ]
[ "return", "in", ";" ]
[ "aggregates", "a", "sequence", "of", "{" ]
[ "public", "abstract", "long", "run", "long", "(", "longs", "values", ")", ";" ]
[ "aggregates", "a", "sequence", "of", "{" ]
[ "public", "abstract", "double", "run", "double", "(", "doubles", "values", ")", ";" ]
[ "returns", "the", "interpolation", "method", "to", "use", "when", "working", "with", "data", "points", "across", "time", "series" ]
[ "return", "interpolation", "method", ";" ]
[ "returns", "configuration", "key", "for", "effective", "usergroups", "allowed", "for", "a", "superuser" ]
[ "return", "config", "prefix", "+", "user", "name", "+", "conf", "users", ";" ]
[ "returns", "configuration", "key", "for", "effective", "groups", "allowed", "for", "a", "superuser" ]
[ "return", "config", "prefix", "+", "user", "name", "+", "conf", "groups", ";" ]
[ "return", "configuration", "key", "for", "superuser", "ip", "addresses" ]
[ "return", "config", "prefix", "+", "user", "name", "+", "conf", "hosts", ";" ]
[ "/", "*", "returns", "true", "if", "passed", "list", "contains", "the", "same", "user", "ids", "as", "this", "list" ]
[ "if", "(", "compare", "ids", "=", "=", "null", "|", "|", "compare", "ids", "size", "(", ")", "!", "=", "this", "size", "(", ")", ")", "{", "return", "false", ";", "}", "return", "this", "contains", "all", "(", "compare", "ids", ")", ";" ]
[ "returns", "the", "thread", "-", "pool", "responsible", "for", "processing", "incoming", "requests" ]
[ "return", "query", "executor", ";" ]
[ "returns", "the", "{" ]
[ "public", "abstract", "abstract", "server", "handler", "<", "req", ",", "resp", ">", "initialize", "handler", "(", ")", ";" ]