docstring_tokens
sequence
code_tokens
sequence
[ "<", "p", ">", "request", "-", "specific", "information", "passed", "between", "amazon", "lex", "and", "a", "client", "application", "<", "/", "p", ">", "<", "p", ">", "the", "namespace", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "is", "reserved", "for", "special", "attributes", "don", "t", "create", "any", "request", "attributes", "with", "the", "prefix", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "lex", "/", "latest", "/", "dg", "/", "context", "-", "mgmt", "html", "#", "context", "-", "mgmt", "-", "request", "-", "attribs", ">", "setting", "request", "attributes", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "this", "request", "attributes", "=", "request", "attributes", ";" ]
[ "<", "p", ">", "request", "-", "specific", "information", "passed", "between", "amazon", "lex", "and", "a", "client", "application", "<", "/", "p", ">", "<", "p", ">", "the", "namespace", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "is", "reserved", "for", "special", "attributes", "don", "t", "create", "any", "request", "attributes", "with", "the", "prefix", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "lex", "/", "latest", "/", "dg", "/", "context", "-", "mgmt", "html", "#", "context", "-", "mgmt", "-", "request", "-", "attribs", ">", "setting", "request", "attributes", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "request", "attributes", "(", "request", "attributes", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "request", "attributes" ]
[ "this", "request", "attributes", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "text", "that", "the", "user", "entered", "(", "amazon", "lex", "interprets", "this", "text", ")", "<", "/", "p", ">" ]
[ "set", "input", "text", "(", "input", "text", ")", ";", "return", "this", ";" ]
[ "adds", "a", "new", "interface", "node", "to", "the", "graph" ]
[ "protected", "abstract", "void", "new", "interface", "node", "(", "interface", "node", "node", ")", "throws", "i", "o", "exception", ";" ]
[ "adds", "a", "new", "implementation", "node", "to", "the", "graph" ]
[ "protected", "abstract", "void", "new", "implementation", "node", "(", "implementation", "node", "node", ")", "throws", "i", "o", "exception", ";" ]
[ "adds", "a", "new", "instance", "node", "to", "the", "graph" ]
[ "protected", "abstract", "void", "new", "instance", "node", "(", "instance", "node", "node", ")", "throws", "i", "o", "exception", ";" ]
[ "adds", "a", "new", "dependency", "edge", "to", "the", "graph" ]
[ "protected", "abstract", "void", "new", "dependency", "edge", "(", "dependency", "edge", "edge", ")", "throws", "i", "o", "exception", ";" ]
[ "adds", "a", "new", "binding", "edge", "to", "the", "graph" ]
[ "protected", "abstract", "void", "new", "binding", "edge", "(", "binding", "edge", "edge", ")", "throws", "i", "o", "exception", ";" ]
[ "performs", "any", "post", "processing", "required", "after", "all", "nodes", "and", "edges", "have", "been", "added" ]
[ "protected", "abstract", "void", "post", "process", "(", ")", "throws", "i", "o", "exception", ";" ]
[ "transitively", "resolves", "aliases", "given", "aliases", "(", "x", "to", "y", ")", "and", "(", "y", "to", "z", ")", "it", "will", "return", "mappings", "(", "x", "to", "z", ")", "and", "(", "y", "to", "z", ")" ]
[ "map", "<", "node", "id", ",", "node", "id", ">", "resolved", "=", "maps", "new", "hash", "map", "(", ")", ";", "map", "<", "node", "id", ",", "set", "<", "node", "id", ">", ">", "inverse", "=", "maps", "new", "hash", "map", "(", ")", ";", "for", "(", "alias", "alias", ":", "aliases", ")", "{", "node", "id", "from", "=", "alias", "get", "from", "id", "(", ")", ";", "node", "id", "to", "=", "alias", "get", "to", "id", "(", ")", ";", "if", "(", "resolved", "contains", "key", "(", "to", ")", ")", "{", "to", "=", "resolved", "get", "(", "to", ")", ";", "}", "resolved", "put", "(", "from", ",", "to", ")", ";", "if", "(", "inverse", "get", "(", "to", ")", "=", "=", "null", ")", "{", "inverse", "put", "(", "to", ",", "sets", "<", "node", "id", ">", "new", "hash", "set", "(", ")", ")", ";", "}", "inverse", "get", "(", "to", ")", "add", "(", "from", ")", ";", "set", "<", "node", "id", ">", "prev", "=", "inverse", "get", "(", "from", ")", ";", "if", "(", "prev", "!", "=", "null", ")", "{", "for", "(", "node", "id", "id", ":", "prev", ")", "{", "resolved", "remove", "(", "id", ")", ";", "inverse", "get", "(", "from", ")", "remove", "(", "id", ")", ";", "resolved", "put", "(", "id", ",", "to", ")", ";", "inverse", "get", "(", "to", ")", "add", "(", "id", ")", ";", "}", "}", "}", "return", "resolved", ";" ]
[ "returns", "the", "bindings", "for", "the", "root", "keys", "and", "their", "transitive", "dependencies" ]
[ "set", "<", "key", "<", "?", ">", ">", "keys", "=", "sets", "new", "hash", "set", "(", "root", ")", ";", "set", "<", "key", "<", "?", ">", ">", "visited", "keys", "=", "sets", "new", "hash", "set", "(", ")", ";", "list", "<", "binding", "<", "?", ">", ">", "bindings", "=", "lists", "new", "array", "list", "(", ")", ";", "transitive", "dependency", "visitor", "key", "visitor", "=", "new", "transitive", "dependency", "visitor", "(", ")", ";", "while", "(", "!", "keys", "is", "empty", "(", ")", ")", "{", "iterator", "<", "key", "<", "?", ">", ">", "iterator", "=", "keys", "iterator", "(", ")", ";", "key", "<", "?", ">", "key", "=", "iterator", "next", "(", ")", ";", "iterator", "remove", "(", ")", ";", "if", "(", "!", "visited", "keys", "contains", "(", "key", ")", ")", "{", "binding", "<", "?", ">", "binding", "=", "injector", "get", "binding", "(", "key", ")", ";", "bindings", "add", "(", "binding", ")", ";", "visited", "keys", "add", "(", "key", ")", ";", "keys", "add", "all", "(", "binding", "accept", "target", "visitor", "(", "key", "visitor", ")", ")", ";", "}", "}", "return", "bindings", ";" ]
[ "obtain", "the", "root", "jaxb", "bound", "object" ]
[ "return", "root", ";" ]
[ "we", "use", "ascii", "since", "all", "the", "relevant", "debug", "standards", "we", "care", "about", "(", "e", "g", "dwarf", ")", "use", "it" ]
[ "public", "abstract", "void", "restore", "compilation", "directory", "(", "path", "path", ",", "path", "working", "dir", ")", "throws", "i", "o", "exception", ";" ]
[ "set", "the", "gauge", "to", "the", "given", "value" ]
[ "update", "(", "gauge", "data", "create", "(", "value", ")", ")", ";" ]
[ "find", "the", "first", "completely", "visible", "position" ]
[ "if", "(", "l", "s", "cell", "=", "=", "null", "|", "|", "starts", "=", "=", "null", "|", "|", "starts", "length", "<", "=", "0", ")", "{", "return", "0", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "starts", "length", ";", "i", "+", "+", ")", "{", "if", "(", "starts", "[", "i", "]", ">", "l", "s", "cell", "current", "distance", ")", "{", "return", "i", ";", "}", "}", "return", "0", ";" ]
[ "returns", "an", "iterator", "to", "the", "available", "bookmarks", "called", "by", "async", "task" ]
[ "return", "partner", "bookmarks", "provider", "iterator", "create", "if", "available", "(", "m", "context", "get", "content", "resolver", "(", ")", ")", ";" ]
[ "called", "when", "the", "partner", "bookmark", "needs", "to", "be", "pushed" ]
[ "return", "native", "add", "partner", "bookmark", "(", "m", "native", "partner", "bookmarks", "reader", ",", "url", ",", "title", ",", "is", "folder", ",", "parent", "id", ",", "favicon", ",", "touchicon", ")", ";" ]
[ "notifies", "the", "reader", "is", "complete", "and", "partner", "bookmarks", "should", "be", "submitted", "to", "the", "shim" ]
[ "native", "partner", "bookmarks", "creation", "complete", "(", "m", "native", "partner", "bookmarks", "reader", ")", ";", "native", "destroy", "(", "m", "native", "partner", "bookmarks", "reader", ")", ";", "m", "native", "partner", "bookmarks", "reader", "=", "0", ";" ]
[ "disables", "partner", "bookmarks", "editing" ]
[ "s", "force", "disable", "editing", "=", "true", ";", "if", "(", "s", "initialized", ")", "native", "disable", "partner", "bookmarks", "editing", "(", ")", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "vault", "<", "/", "p", ">" ]
[ "set", "vault", "a", "r", "n", "(", "vault", "a", "r", "n", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "vault", "<", "/", "p", ">" ]
[ "set", "vault", "name", "(", "vault", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "universal", "coordinated", "time", "(", "utc", ")", "date", "when", "the", "vault", "was", "created", "this", "value", "should", "be", "a", "string", "in", "the", "iso", "8601", "date", "format", "for", "example", "<", "code", ">", "2012", "-", "03", "-", "20t17", ":", "03", ":", "43", "221z", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "creation", "date", "(", "creation", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "universal", "coordinated", "time", "(", "utc", ")", "date", "when", "amazon", "glacier", "completed", "the", "last", "vault", "inventory", "this", "value", "should", "be", "a", "string", "in", "the", "iso", "8601", "date", "format", "for", "example", "<", "code", ">", "2012", "-", "03", "-", "20t17", ":", "03", ":", "43", "221z", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "last", "inventory", "date", "(", "last", "inventory", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "archives", "in", "the", "vault", "as", "of", "the", "last", "inventory", "date", "this", "field", "will", "return", "<", "code", ">", "null", "<", "/", "code", ">", "if", "an", "inventory", "has", "not", "yet", "run", "on", "the", "vault", "for", "example", "if", "you", "just", "created", "the", "vault", "<", "/", "p", ">" ]
[ "set", "number", "of", "archives", "(", "number", "of", "archives", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "total", "size", "in", "bytes", "of", "the", "archives", "in", "the", "vault", "as", "of", "the", "last", "inventory", "date", "this", "field", "will", "return", "null", "if", "an", "inventory", "has", "not", "yet", "run", "on", "the", "vault", "for", "example", "if", "you", "just", "created", "the", "vault", "<", "/", "p", ">" ]
[ "set", "size", "in", "bytes", "(", "size", "in", "bytes", ")", ";", "return", "this", ";" ]
[ "the", "stop", "(", ")", "call", "doesn", "t", "do", "that", "so", "it", "s", "probably", "not", "needed" ]
[ "executor", "service", "executor", "service", "=", "get", "lifecycle", "executor", "service", "(", ")", ";", "runnable", "r", "=", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "class", "loader", "old", "=", "wild", "fly", "security", "manager", "get", "current", "context", "class", "loader", "privileged", "(", ")", ";", "try", "{", "writable", "service", "based", "naming", "store", "push", "owner", "(", "du", "service", "name", ")", ";", "wild", "fly", "security", "manager", "set", "current", "context", "class", "loader", "privileged", "(", "to", "use", ")", ";", "unregister", "all", "(", "deployment", "name", ")", ";", "}", "finally", "{", "try", "{", "context", "failed", "(", "connector", "logger", "root", "logger", "failed", "to", "start", "ra", "deployment", "(", "cause", ",", "deployment", "name", ")", ")", ";", "}", "finally", "{", "wild", "fly", "security", "manager", "set", "current", "context", "class", "loader", "privileged", "(", "old", ")", ";", "writable", "service", "based", "naming", "store", "pop", "owner", "(", ")", ";", "}", "}", "}", "}", ";", "try", "{", "executor", "service", "execute", "(", "r", ")", ";", "}", "catch", "(", "rejected", "execution", "exception", "e", ")", "{", "r", "run", "(", ")", ";", "}", "finally", "{", "context", "asynchronous", "(", ")", ";", "}" ]
[ "stop" ]
[ "stop", "async", "(", "context", ",", "deployment", "name", ",", "deployment", "service", "name", ")", ";" ]
[ "returns", "a", "plaintext", "of", "a", "given", "size" ]
[ "byte", "[", "]", "plaintext", "=", "new", "byte", "[", "size", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "size", ";", "i", "+", "+", ")", "{", "plaintext", "[", "i", "]", "=", "(", "byte", ")", "(", "i", "%", "253", ")", ";", "}", "return", "plaintext", ";" ]
[ "returns", "a", "plaintext", "of", "a", "given", "size" ]
[ "byte", "[", "]", "plaintext", "=", "new", "byte", "[", "size", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "size", ";", "i", "+", "+", ")", "{", "plaintext", "[", "i", "]", "=", "(", "byte", ")", "(", "i", "%", "253", ")", ";", "}", "return", "plaintext", ";" ]
[ "tests", "encryption", "and", "decryption", "functionalities", "of", "{" ]
[ "test", "encryption", "and", "decryption", "(", "streaming", "aead", ",", "streaming", "aead", ")", ";" ]
[ "convenience", "method", "for", "encrypting", "some", "plaintext" ]
[ "byte", "array", "output", "stream", "bos", "=", "new", "byte", "array", "output", "stream", "(", ")", ";", "writable", "byte", "channel", "ct", "channel", "=", "channels", "new", "channel", "(", "bos", ")", ";", "ct", "channel", "write", "(", "byte", "buffer", "allocate", "(", "first", "segment", "offset", ")", ")", ";", "writable", "byte", "channel", "enc", "channel", "=", "ags", "new", "encrypting", "channel", "(", "ct", "channel", ",", "aad", ")", ";", "enc", "channel", "write", "(", "byte", "buffer", "wrap", "(", "plaintext", ")", ")", ";", "enc", "channel", "close", "(", ")", ";", "byte", "[", "]", "ciphertext", "=", "bos", "to", "byte", "array", "(", ")", ";", "return", "ciphertext", ";" ]
[ "constructs", "a", "readable", "byte", "channel", "with", "ciphertext", "from", "a", "readable", "byte", "channel", "the", "method", "constructs", "a", "new", "thread", "that", "is", "used", "to", "encrypt", "the", "plaintext", "todo", "(", "bleichen", ")", ":", "using", "piped", "input", "stream", "may", "have", "performance", "problems" ]
[ "piped", "output", "stream", "output", "=", "new", "piped", "output", "stream", "(", ")", ";", "piped", "input", "stream", "result", "=", "new", "piped", "input", "stream", "(", "output", ")", ";", "final", "writable", "byte", "channel", "ciphertext", "=", "channels", "new", "channel", "(", "output", ")", ";", "new", "thread", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "encrypt", "with", "channel", "(", "ags", ",", "plaintext", ",", "ciphertext", ",", "aad", ",", "chunk", "size", ")", ";", "}", "}", ")", "start", "(", ")", ";", "return", "channels", "new", "channel", "(", "result", ")", ";" ]
[ "call", "the", "allocate", "method", "on", "the", "load", "save", "tester", "meta", "class" ]
[ "if", "(", "some", "meta", "instanceof", "script", "values", "meta", "mod", ")", "{", "(", "(", "script", "values", "meta", "mod", ")", "some", "meta", ")", "allocate", "(", "5", ")", ";", "}" ]
[ "get", "value", "of", "private", "static", "field", "value", "data", "util", "round", "2", "mode" ]
[ "int", "value", "=", "-", "1", ";", "try", "{", "class", "<", "value", "data", "util", ">", "cls", "=", "value", "data", "util", "class", ";", "field", "f", "=", "cls", "get", "declared", "field", "(", "sys", "property", "round", "2", "mode", ")", ";", "f", "set", "accessible", "(", "true", ")", ";", "value", "=", "(", "integer", ")", "f", "get", "(", "null", ")", ";", "f", "set", "accessible", "(", "false", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}", "return", "value", ";" ]
[ "set", "new", "value", "of", "value", "of", "private", "static", "field", "value", "data", "util", "round", "2", "mode" ]
[ "try", "{", "class", "<", "value", "data", "util", ">", "cls", "=", "value", "data", "util", "class", ";", "field", "f", "=", "cls", "get", "declared", "field", "(", "sys", "property", "round", "2", "mode", ")", ";", "f", "set", "accessible", "(", "true", ")", ";", "f", "set", "(", "null", ",", "new", "value", ")", ";", "f", "set", "accessible", "(", "false", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "set", "the", "source", "set", "typically", "populated", "via", "xml", "set", "elements" ]
[ "this", "source", "set", "=", "source", "set", ";" ]
[ "*", "*", "*", "term", "to", "bytes", "ref", "attribute", "interface", "*", "*", "*" ]
[ "builder", "copy", "chars", "(", "term", "buffer", ",", "0", ",", "term", "length", ")", ";", "return", "builder", "get", "(", ")", ";" ]
[ "*", "*", "*", "char", "sequence", "interface", "*", "*", "*" ]
[ "return", "term", "length", ";" ]
[ "*", "*", "*", "attribute", "impl", "*", "*", "*" ]
[ "int", "code", "=", "term", "length", ";", "code", "=", "code", "*", "31", "+", "array", "util", "hash", "code", "(", "term", "buffer", ",", "0", ",", "term", "length", ")", ";", "return", "code", ";" ]
[ "returns", "solely", "the", "term", "text", "as", "specified", "by", "the", "{" ]
[ "return", "new", "string", "(", "term", "buffer", ",", "0", ",", "term", "length", ")", ";" ]
[ "gets", "the", "{", "@", "code", "extension", "}", "with", "the", "given", "name" ]
[ "if", "(", "name", "!", "=", "null", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "extension", "list", "size", "(", ")", ";", "i", "+", "+", ")", "{", "extension", "p", "=", "get", "extension", "(", "i", ")", ";", "if", "(", "p", "get", "name", "(", ")", "equals", "ignore", "case", "(", "name", ")", ")", "{", "return", "p", ";", "}", "}", "}", "return", "null", ";" ]
[ "gets", "the", "{", "@", "code", "extension", "}", "with", "the", "given", "class" ]
[ "if", "(", "clazz", "!", "=", "null", ")", "{", "extension", "extension", "=", "extensions", "map", "get", "(", "clazz", ")", ";", "if", "(", "extension", "!", "=", "null", ")", "{", "return", "clazz", "cast", "(", "extension", ")", ";", "}", "}", "return", "null", ";" ]
[ "hooks", "(", "adds", ")", "the", "{", "@", "code", "connect", "request", "proxy", "listener", "}", "s", "of", "the", "loaded", "extensions", "to", "the", "given", "{", "@", "code", "proxy", "}", "<", "p", ">", "<", "strong", ">", "note", ":", "<", "/", "strong", ">", "even", "if", "public", "this", "method", "is", "expected", "to", "be", "called", "only", "by", "core", "classes", "(", "for", "example", "{", "@", "code", "control", "}", ")" ]
[ "for", "(", "extension", "hook", "hook", ":", "extension", "hooks", "values", "(", ")", ")", "{", "hook", "connect", "request", "proxy", "listeners", "(", "proxy", ",", "hook", "get", "connect", "request", "proxy", "listeners", "(", ")", ")", ";", "}" ]
[ "zap", ":", "added", "support", "for", "site", "map", "listeners" ]
[ "for", "(", "extension", "hook", "hook", ":", "extension", "hooks", "values", "(", ")", ")", "{", "hook", "site", "map", "listeners", "(", "site", "map", "panel", ",", "hook", "get", "site", "map", "listener", "list", "(", ")", ")", ";", "}" ]
[ "zap", ":", "method", "called", "by", "the", "scanner", "to", "load", "all", "scanner", "hooks" ]
[ "iterator", "<", "extension", "hook", ">", "iter", "=", "extension", "hooks", "values", "(", ")", "iterator", "(", ")", ";", "while", "(", "iter", "has", "next", "(", ")", ")", "{", "extension", "hook", "hook", "=", "iter", "next", "(", ")", ";", "list", "<", "scanner", "hook", ">", "scanner", "hook", "list", "=", "hook", "get", "scanner", "hook", "list", "(", ")", ";", "for", "(", "scanner", "hook", "scanner", "hook", ":", "scanner", "hook", "list", ")", "{", "try", "{", "if", "(", "hook", "!", "=", "null", ")", "{", "scan", "add", "scanner", "hook", "(", "scanner", "hook", ")", ";", "}", "}", "catch", "(", "exception", "e", ")", "{", "logger", "error", "(", "e", "get", "message", "(", ")", ",", "e", ")", ";", "}", "}", "}" ]
[ "zap", ":", "added", "the", "type", "argument" ]
[ "string", "[", "]", "root", "=", "{", "}", ";", "for", "(", "abstract", "param", "panel", "panel", ":", "panel", "list", ")", "{", "try", "{", "dialog", "add", "param", "panel", "(", "root", ",", "panel", ",", "true", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "logger", "error", "(", "e", "get", "message", "(", ")", ",", "e", ")", ";", "}", "}" ]
[ "hook", "command", "line", "listener", "with", "the", "command", "line", "processor" ]
[ "list", "<", "command", "line", "argument", "[", "]", ">", "all", "command", "line", "list", "=", "new", "array", "list", "<", ">", "(", ")", ";", "map", "<", "string", ",", "command", "line", "listener", ">", "ext", "map", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "for", "(", "map", "entry", "<", "extension", ",", "extension", "hook", ">", "entry", ":", "extension", "hooks", "entry", "set", "(", ")", ")", "{", "extension", "hook", "hook", "=", "entry", "get", "value", "(", ")", ";", "command", "line", "argument", "[", "]", "arg", "=", "hook", "get", "command", "line", "argument", "(", ")", ";", "if", "(", "arg", "length", ">", "0", ")", "{", "all", "command", "line", "list", "add", "(", "arg", ")", ";", "}", "extension", "extension", "=", "entry", "get", "key", "(", ")", ";", "if", "(", "extension", "instanceof", "command", "line", "listener", ")", "{", "command", "line", "listener", "cli", "=", "(", "command", "line", "listener", ")", "extension", ";", "list", "<", "string", ">", "exts", "=", "cli", "get", "handled", "extensions", "(", ")", ";", "if", "(", "exts", "!", "=", "null", ")", "{", "for", "(", "string", "ext", ":", "exts", ")", "{", "ext", "map", "put", "(", "ext", ",", "cli", ")", ";", "}", "}", "}", "}", "cmd", "line", "parse", "(", "all", "command", "line", "list", ",", "ext", "map", ")", ";" ]
[ "init", "all", "extensions" ]
[ "double", "factor", "perc", "=", "progress", "factor", "/", "get", "extension", "count", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "get", "extension", "count", "(", ")", ";", "i", "+", "+", ")", "{", "extension", "extension", "=", "get", "extension", "(", "i", ")", ";", "try", "{", "extension", "init", "(", ")", ";", "extension", "database", "open", "(", "model", "get", "singleton", "(", ")", "get", "db", "(", ")", ")", ";", "if", "(", "view", "!", "=", "null", ")", "{", "view", "add", "splash", "screen", "loading", "completion", "(", "factor", "perc", ")", ";", "}", "}", "catch", "(", "throwable", "e", ")", "{", "log", "extension", "init", "error", "(", "extension", ",", "e", ")", ";", "}", "}" ]
[ "init", "all", "extensions", "with", "the", "same", "model" ]
[ "double", "factor", "perc", "=", "progress", "factor", "/", "get", "extension", "count", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "get", "extension", "count", "(", ")", ";", "i", "+", "+", ")", "{", "extension", "extension", "=", "get", "extension", "(", "i", ")", ";", "try", "{", "extension", "init", "model", "(", "model", ")", ";", "if", "(", "view", "!", "=", "null", ")", "{", "view", "add", "splash", "screen", "loading", "completion", "(", "factor", "perc", ")", ";", "}", "}", "catch", "(", "exception", "e", ")", "{", "log", "extension", "init", "error", "(", "extension", ",", "e", ")", ";", "}", "}" ]
[ "init", "all", "extensions", "with", "the", "same", "view" ]
[ "if", "(", "view", "=", "=", "null", ")", "{", "return", ";", "}", "final", "double", "factor", "perc", "=", "progress", "factor", "/", "get", "extension", "count", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "get", "extension", "count", "(", ")", ";", "i", "+", "+", ")", "{", "final", "extension", "extension", "=", "get", "extension", "(", "i", ")", ";", "try", "{", "event", "queue", "invoke", "and", "wait", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "extension", "init", "view", "(", "view", ")", ";", "view", "add", "splash", "screen", "loading", "completion", "(", "factor", "perc", ")", ";", "}", "}", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "log", "extension", "init", "error", "(", "extension", ",", "e", ")", ";", "}", "}" ]
[ "gets", "the", "names", "of", "all", "unsaved", "resources", "of", "all", "the", "extensions" ]
[ "list", "<", "string", ">", "list", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "string", ">", "l", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "get", "extension", "count", "(", ")", ";", "i", "+", "+", ")", "{", "l", "=", "get", "extension", "(", "i", ")", "get", "unsaved", "resources", "(", ")", ";", "if", "(", "l", "!", "=", "null", ")", "{", "list", "add", "all", "(", "l", ")", ";", "}", "}", "return", "list", ";" ]
[ "gets", "the", "names", "of", "all", "active", "actions", "of", "all", "the", "extensions" ]
[ "list", "<", "string", ">", "list", "=", "new", "array", "list", "<", ">", "(", ")", ";", "list", "<", "string", ">", "l", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "get", "extension", "count", "(", ")", ";", "i", "+", "+", ")", "{", "l", "=", "get", "extension", "(", "i", ")", "get", "active", "actions", "(", ")", ";", "if", "(", "l", "!", "=", "null", ")", "{", "list", "add", "all", "(", "l", ")", ";", "}", "}", "return", "list", ";" ]
[ "returns", "the", "instance" ]
[ "return", "mapper", "function", "instances", ";" ]
[ "{" ]
[ "list", "<", "input", "split", ">", "res", "=", "new", "array", "list", "<", ">", "(", ")", ";", "fake", "split", "split", "=", "new", "fake", "split", "(", "20", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "10", ";", "i", "+", "+", ")", "res", "add", "(", "split", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "return", "len", ";" ]
[ "{" ]
[ "return", "hosts", ";" ]
[ "{" ]
[ "out", "write", "int", "(", "len", ")", ";" ]
[ "{" ]
[ "len", "=", "in", "read", "int", "(", ")", ";" ]
[ "checked", "if", "shiro", "enabled", "or", "not" ]
[ "if", "(", "!", "is", "enabled", ")", "{", "return", "false", ";", "}", "return", "org", "apache", "shiro", "security", "utils", "get", "subject", "(", ")", "is", "authenticated", "(", ")", ";" ]
[ "called", "whenever", "the", "receiver", "is", "passed", "new", "midi", "data", "subclasses", "override", "this", "method", "to", "receive", "midi", "data", "may", "fail", "if", "count", "exceeds", "{", "@", "link", "#", "get", "max", "message", "size", "}" ]
[ "abstract", "public", "void", "on", "send", "(", "byte", "[", "]", "msg", ",", "int", "offset", ",", "int", "count", ",", "long", "timestamp", ")", "throws", "i", "o", "exception", ";" ]
[ "instructs", "the", "receiver", "to", "discard", "all", "pending", "midi", "data" ]
[ "on", "flush", "(", ")", ";" ]
[ "called", "when", "the", "receiver", "is", "instructed", "to", "discard", "all", "pending", "midi", "data", "subclasses", "should", "override", "this", "method", "if", "they", "maintain", "a", "list", "or", "queue", "of", "midi", "data", "to", "be", "processed", "in", "the", "future" ]
[]
[ "returns", "the", "maximum", "size", "of", "a", "message", "this", "receiver", "can", "receive" ]
[ "return", "m", "max", "message", "size", ";" ]
[ "called", "to", "send", "midi", "data", "to", "the", "receiver", "with", "a", "specified", "timestamp", "data", "will", "be", "processed", "by", "receiver", "in", "order", "first", "by", "timestamp", "then", "in", "the", "order", "sent", "data", "will", "get", "split", "into", "multiple", "calls", "to", "{", "@", "link", "#", "on", "send", "}", "if", "count", "exceeds", "{", "@", "link", "#", "get", "max", "message", "size", "}", "blocks", "until", "all", "the", "data", "is", "sent", "or", "an", "exception", "occurs", "in", "the", "latter", "case", "the", "amount", "of", "data", "sent", "prior", "to", "the", "exception", "is", "not", "provided", "to", "caller", "the", "communication", "should", "be", "considered", "corrupt", "the", "sender", "should", "reestablish", "communication", "reset", "all", "controllers", "and", "send", "all", "notes", "off" ]
[ "int", "message", "size", "=", "get", "max", "message", "size", "(", ")", ";", "while", "(", "count", ">", "0", ")", "{", "int", "length", "=", "(", "count", ">", "message", "size", "?", "message", "size", ":", "count", ")", ";", "on", "send", "(", "msg", ",", "offset", ",", "length", ",", "timestamp", ")", ";", "offset", "+", "=", "length", ";", "count", "-", "=", "length", ";", "}" ]
[ "get", "a", "list", "of", "all", "registered", "instances" ]
[ "return", "repository", "find", "all", "(", ")", ";" ]
[ "get", "a", "list", "of", "all", "registered", "application", "instances" ]
[ "return", "repository", "find", "by", "name", "(", "name", ")", ";" ]
[ "get", "a", "specific", "instance" ]
[ "return", "repository", "find", "(", "id", ")", ";" ]
[ "remove", "a", "specific", "instance", "from", "services" ]
[ "return", "repository", "compute", "if", "present", "(", "id", ",", "(", "key", ",", "instance", ")", "-", ">", "mono", "just", "(", "instance", "deregister", "(", ")", ")", ")", "map", "(", "instance", ":", ":", "get", "id", ")", ";" ]
[ "returns", "the", "segment", "that", "should", "be", "used", "for", "key", "with", "given", "hash" ]
[ "return", "segments", "[", "(", "hash", ">", ">", ">", "segment", "shift", ")", "&", "segment", "mask", "]", ";" ]
[ "{" ]
[ "super", "handle", "message", "(", ")", ";", "power", "max", "state", "updated", "state", "=", "null", ";", "if", "(", "power", "max", "comm", "driver", "get", "the", "comm", "driver", "(", ")", "get", "last", "send", "msg", "(", ")", "get", "send", "type", "(", ")", "=", "=", "power", "max", "send", "type", "exit", ")", "{", "updated", "state", "=", "new", "power", "max", "state", "(", ")", ";", "updated", "state", "set", "powerlink", "mode", "(", "true", ")", ";", "updated", "state", "set", "download", "mode", "(", "false", ")", ";", "}", "return", "updated", "state", ";" ]
[ "then", "update", "the", "state", "to", "the", "result", "of", "text", "view" ]
[ "m", "text", "view", "set", "text", "(", "state", "m", "text", ",", "buffer", "type", "editable", ")", ";", "m", "text", "view", "set", "key", "listener", "(", "m", "key", "listener", ")", ";", "m", "text", "view", "set", "selection", "(", "state", "m", "selection", "start", ",", "state", "m", "selection", "end", ")", ";", "final", "key", "event", "key", "event", "=", "key", "utils", "generate", "key", "event", "(", "key", "event", "keycode", "forward", "del", ",", "key", "event", "action", "down", ",", "modifiers", ")", ";", "m", "text", "view", "on", "key", "down", "(", "key", "event", "get", "key", "code", "(", ")", ",", "key", "event", ")", ";", "state", "m", "text", "=", "m", "text", "view", "get", "text", "(", ")", ";", "state", "m", "selection", "start", "=", "m", "text", "view", "get", "selection", "start", "(", ")", ";", "state", "m", "selection", "end", "=", "m", "text", "view", "get", "selection", "end", "(", ")", ";" ]
[ "{" ]
[ "hwm", "position", "close", "(", ")", ";", "rebuild", "position", "close", "(", ")", ";", "for", "(", "final", "readable", "position", "position", ":", "subscriber", "positions", ")", "{", "position", "close", "(", ")", ";", "}", "congestion", "control", "close", "(", ")", ";", "raw", "log", "close", "(", ")", ";" ]
[ "remove", "a", "{", "@", "link", "readable", "position", "}", "for", "a", "subscriber", "that", "has", "been", "removed", "so", "it", "is", "not", "tracked", "for", "flow", "control" ]
[ "subscriber", "positions", "=", "array", "util", "remove", "(", "subscriber", "positions", ",", "subscriber", "position", ")", ";", "subscriber", "position", "close", "(", ")", ";" ]
[ "add", "a", "new", "subscriber", "to", "this", "image", "so", "their", "position", "can", "be", "tracked", "for", "flow", "control" ]
[ "subscriber", "positions", "=", "array", "util", "add", "(", "subscriber", "positions", ",", "subscriber", "position", ")", ";" ]
[ "called", "from", "the", "{", "@", "link", "loss", "detector", "}", "when", "gap", "is", "detected", "by", "the", "{", "@", "link", "driver", "conductor", "}", "thread" ]
[ "final", "long", "change", "number", "=", "begin", "loss", "change", "+", "1", ";", "begin", "loss", "change", "=", "change", "number", ";", "loss", "term", "id", "=", "term", "id", ";", "loss", "term", "offset", "=", "term", "offset", ";", "loss", "length", "=", "length", ";", "end", "loss", "change", "=", "change", "number", ";", "if", "(", "null", "!", "=", "report", "entry", ")", "{", "report", "entry", "record", "observation", "(", "length", ",", "cached", "epoch", "clock", "time", "(", ")", ")", ";", "}", "else", "if", "(", "null", "!", "=", "loss", "report", ")", "{", "report", "entry", "=", "loss", "report", "create", "entry", "(", "length", ",", "cached", "epoch", "clock", "time", "(", ")", ",", "session", "id", ",", "stream", "id", ",", "channel", "(", ")", ",", "source", "address", "to", "string", "(", ")", ")", ";", "if", "(", "null", "=", "=", "report", "entry", ")", "{", "loss", "report", "=", "null", ";", "}", "}" ]
[ "the", "address", "of", "the", "source", "associated", "with", "the", "image" ]
[ "return", "source", "address", ";" ]
[ "return", "the", "{", "@", "link", "receive", "channel", "endpoint", "}", "that", "the", "image", "is", "attached", "to" ]
[ "return", "channel", "endpoint", ";" ]
[ "remove", "this", "image", "from", "the", "{" ]
[ "channel", "endpoint", "remove", "publication", "image", "(", "this", ")", ";" ]
[ "activate", "this", "image", "from", "the", "{" ]
[ "state", "(", "active", ")", ";" ]
[ "called", "from", "the", "{", "@", "link", "driver", "conductor", "}" ]
[ "long", "min", "subscriber", "position", "=", "long", "max", "value", ";", "long", "max", "subscriber", "position", "=", "long", "min", "value", ";", "for", "(", "final", "readable", "position", "subscriber", "position", ":", "subscriber", "positions", ")", "{", "final", "long", "position", "=", "subscriber", "position", "get", "volatile", "(", ")", ";", "min", "subscriber", "position", "=", "math", "min", "(", "min", "subscriber", "position", ",", "position", ")", ";", "max", "subscriber", "position", "=", "math", "max", "(", "max", "subscriber", "position", ",", "position", ")", ";", "}", "final", "long", "rebuild", "position", "=", "math", "max", "(", "this", "rebuild", "position", "get", "(", ")", ",", "max", "subscriber", "position", ")", ";", "final", "long", "hwm", "position", "=", "this", "hwm", "position", "get", "volatile", "(", ")", ";", "final", "long", "scan", "outcome", "=", "loss", "detector", "scan", "(", "term", "buffers", "[", "index", "by", "position", "(", "rebuild", "position", ",", "position", "bits", "to", "shift", ")", "]", ",", "rebuild", "position", ",", "hwm", "position", ",", "now", "ns", ",", "term", "length", "mask", ",", "position", "bits", "to", "shift", ",", "initial", "term", "id", ")", ";", "final", "int", "rebuild", "term", "offset", "=", "(", "int", ")", "rebuild", "position", "&", "term", "length", "mask", ";", "final", "long", "new", "rebuild", "position", "=", "(", "rebuild", "position", "-", "rebuild", "term", "offset", ")", "+", "rebuild", "offset", "(", "scan", "outcome", ")", ";", "this", "rebuild", "position", "propose", "max", "ordered", "(", "new", "rebuild", "position", ")", ";", "final", "long", "cc", "outcome", "=", "congestion", "control", "on", "track", "rebuild", "(", "now", "ns", ",", "min", "subscriber", "position", ",", "next", "sm", "position", ",", "hwm", "position", ",", "rebuild", "position", ",", "new", "rebuild", "position", ",", "loss", "found", "(", "scan", "outcome", ")", ")", ";", "final", "int", "window", "=", "congestion", "control", "util", "receiver", "window", "length", "(", "cc", "outcome", ")", ";", "final", "long", "threshold", "=", "congestion", "control", "util", "position", "threshold", "(", "window", ")", ";", "if", "(", "congestion", "control", "util", "should", "force", "status", "message", "(", "cc", "outcome", ")", "|", "|", "(", "now", "ns", ">", "(", "time", "of", "last", "status", "message", "schedule", "ns", "+", "status", "message", "timeout", "ns", ")", ")", "|", "|", "(", "min", "subscriber", "position", ">", "(", "next", "sm", "position", "+", "threshold", ")", ")", ")", "{", "schedule", "status", "message", "(", "now", "ns", ",", "min", "subscriber", "position", ",", "window", ")", ";", "clean", "buffer", "to", "(", "min", "subscriber", "position", "-", "(", "term", "length", "mask", "+", "1", ")", ")", ";", "}" ]
[ "set", "state", "to", "{" ]
[ "if", "(", "state", "active", "=", "=", "state", ")", "{", "state", "(", "state", "inactive", ")", ";", "}" ]
[ "insert", "frame", "into", "term", "buffer" ]
[ "final", "boolean", "is", "heartbeat", "=", "data", "header", "flyweight", "is", "heartbeat", "(", "buffer", ",", "length", ")", ";", "final", "long", "packet", "position", "=", "compute", "position", "(", "term", "id", ",", "term", "offset", ",", "position", "bits", "to", "shift", ",", "initial", "term", "id", ")", ";", "final", "long", "proposed", "position", "=", "is", "heartbeat", "?", "packet", "position", ":", "packet", "position", "+", "length", ";", "if", "(", "!", "is", "flow", "control", "under", "run", "(", "packet", "position", ")", "&", "&", "!", "is", "flow", "control", "over", "run", "(", "proposed", "position", ")", ")", "{", "if", "(", "is", "heartbeat", ")", "{", "if", "(", "!", "is", "end", "of", "stream", "&", "&", "data", "header", "flyweight", "is", "end", "of", "stream", "(", "buffer", ")", ")", "{", "is", "end", "of", "stream", "=", "true", ";", "log", "buffer", "descriptor", "end", "of", "stream", "position", "(", "raw", "log", "meta", "data", "(", ")", ",", "packet", "position", ")", ";", "}", "heartbeats", "received", "increment", "ordered", "(", ")", ";", "}", "else", "{", "final", "unsafe", "buffer", "term", "buffer", "=", "term", "buffers", "[", "index", "by", "position", "(", "packet", "position", ",", "position", "bits", "to", "shift", ")", "]", ";", "term", "rebuilder", "insert", "(", "term", "buffer", ",", "term", "offset", ",", "buffer", ",", "length", ")", ";", "}", "last", "packet", "timestamp", "ns", "=", "cached", "nano", "clock", "nano", "time", "(", ")", ";", "hwm", "position", "propose", "max", "ordered", "(", "proposed", "position", ")", ";", "update", "control", "address", "(", "transport", "index", ",", "src", "address", ",", "last", "packet", "timestamp", "ns", ")", ";", "}", "return", "length", ";" ]
[ "to", "be", "called", "from", "the", "{", "@", "link", "receiver", "}", "to", "see", "if", "a", "image", "should", "be", "retained" ]
[ "boolean", "is", "active", "=", "true", ";", "if", "(", "now", "ns", ">", "(", "last", "packet", "timestamp", "ns", "+", "image", "liveness", "timeout", "ns", ")", "|", "|", "(", "is", "end", "of", "stream", "&", "&", "rebuild", "position", "get", "volatile", "(", ")", ">", "=", "hwm", "position", "get", "(", ")", ")", ")", "{", "is", "active", "=", "false", ";", "}", "return", "is", "active", ";" ]
[ "called", "from", "the", "{", "@", "link", "receiver", "}", "thread", "to", "check", "for", "initiating", "an", "rtt", "measurement" ]
[ "int", "work", "count", "=", "0", ";", "if", "(", "congestion", "control", "should", "measure", "rtt", "(", "now", "ns", ")", ")", "{", "final", "long", "precise", "time", "ns", "=", "nano", "clock", "nano", "time", "(", ")", ";", "channel", "endpoint", "send", "rtt", "measurement", "(", "control", "addresses", ",", "session", "id", ",", "stream", "id", ",", "precise", "time", "ns", ",", "0", ",", "true", ")", ";", "congestion", "control", "on", "rtt", "measurement", "sent", "(", "precise", "time", "ns", ")", ";", "work", "count", "=", "1", ";", "}", "return", "work", "count", ";" ]
[ "called", "from", "the", "{", "@", "link", "receiver", "}", "upon", "receiving", "an", "rtt", "measurement", "that", "is", "a", "reply" ]
[ "final", "long", "now", "ns", "=", "nano", "clock", "nano", "time", "(", ")", ";", "final", "long", "rtt", "in", "ns", "=", "now", "ns", "-", "header", "echo", "timestamp", "ns", "(", ")", "-", "header", "reception", "delta", "(", ")", ";", "congestion", "control", "on", "rtt", "measurement", "(", "now", "ns", ",", "rtt", "in", "ns", ",", "src", "address", ")", ";" ]
[ "is", "the", "image", "in", "a", "state", "to", "accept", "new", "subscriptions", "?" ]
[ "return", "subscriber", "positions", "length", ">", "0", "&", "&", "(", "state", "=", "=", "active", "|", "|", "state", "=", "=", "init", ")", ";" ]
[ "the", "position", "up", "to", "which", "the", "current", "stream", "rebuild", "is", "complete", "for", "reception" ]
[ "return", "rebuild", "position", "get", "(", ")", ";" ]
[ "set", "the", "strict", "-", "transport", "-", "security", "max", "age" ]
[ "sts", "max", "age", "=", "sts", "max", "age", "seconds", ";", "format", "s", "t", "s", "(", ")", ";" ]
[ "convenience", "method", "to", "call", "{" ]
[ "sts", "max", "age", "=", "units", "to", "seconds", "(", "period", ")", ";", "format", "s", "t", "s", "(", ")", ";" ]
[ "customizes", "the", "request", "attributes", "for", "general", "secure", "settings", "the", "default", "impl", "calls", "{" ]
[ "request", "set", "secure", "(", "true", ")", ";", "if", "(", "sts", "field", "!", "=", "null", ")", "request", "get", "response", "(", ")", "get", "http", "fields", "(", ")", "add", "(", "sts", "field", ")", ";" ]
[ "<", "p", ">", "the", "vault", "lock", "policy", "<", "/", "p", ">" ]
[ "set", "policy", "(", "policy", ")", ";", "return", "this", ";" ]
[ "verifies", "that", "the", "is", "released", "(", ")", "check", "of", "the", "view", "checks", "the", "parent", "subpartition" ]
[ "pipelined", "subpartition", "subpartition", "=", "mock", "(", "pipelined", "subpartition", "class", ")", ";", "pipelined", "subpartition", "view", "reader", "=", "new", "pipelined", "subpartition", "view", "(", "subpartition", ",", "mock", "(", "buffer", "availability", "listener", "class", ")", ")", ";", "assert", "false", "(", "reader", "is", "released", "(", ")", ")", ";", "verify", "(", "subpartition", ",", "times", "(", "1", ")", ")", "is", "released", "(", ")", ";", "when", "(", "subpartition", "is", "released", "(", ")", ")", "then", "return", "(", "true", ")", ";", "assert", "true", "(", "reader", "is", "released", "(", ")", ")", ";", "verify", "(", "subpartition", ",", "times", "(", "2", ")", ")", "is", "released", "(", ")", ";" ]
[ "tests", "cleanup", "of", "{" ]
[ "test", "cleanup", "released", "partition", "(", "false", ")", ";" ]
[ "tests", "cleanup", "of", "{" ]
[ "test", "cleanup", "released", "partition", "(", "true", ")", ";" ]
[ "returns", "an", "array", "of", "class", "objects", "that", "represent", "the", "formal", "parameter", "types", "in", "declaration", "order", "of", "the", "constructor" ]
[ "return", "constructor", "get", "parameter", "types", "(", ")", ";" ]
[ "returns", "the", "class", "object", "representing", "the", "class", "or", "interface", "that", "declares", "the", "constructor" ]
[ "return", "constructor", "get", "declaring", "class", "(", ")", ";" ]
[ "get", "next", "compaction", "action", "to", "apply", "on", "compaction", "pipeline" ]
[ "public", "abstract", "action", "get", "action", "(", "versioned", "segments", "list", "versioned", "list", ")", ";" ]
[ "compaction", "pipeline", ")" ]
[]
[ "<", "!", "-", "-", "begin", "-", "user", "-", "doc", "-", "-", ">", "<", "!", "-", "-", "end", "-", "user", "-", "doc", "-", "-", ">" ]
[ "return", "model", "package", "literals", "mbricklet", "analog", "in", ";" ]