docstring_tokens
sequence
code_tokens
sequence
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "a", "request", "body", "according", "to", "the", "configured", "<", "a", ">", "model", "<", "/", "a", ">", "schema", "<", "/", "p", ">" ]
[ "this", "validate", "request", "body", "=", "validate", "request", "body", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "a", "request", "body", "according", "to", "the", "configured", "<", "a", ">", "model", "<", "/", "a", ">", "schema", "<", "/", "p", ">" ]
[ "return", "this", "validate", "request", "body", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "a", "request", "body", "according", "to", "the", "configured", "<", "a", ">", "model", "<", "/", "a", ">", "schema", "<", "/", "p", ">" ]
[ "set", "validate", "request", "body", "(", "validate", "request", "body", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "a", "request", "body", "according", "to", "the", "configured", "<", "a", ">", "model", "<", "/", "a", ">", "schema", "<", "/", "p", ">" ]
[ "return", "this", "validate", "request", "body", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "request", "parameters", "(", "<", "code", ">", "true", "<", "/", "code", ">", ")", "or", "not", "(", "<", "code", ">", "false", "<", "/", "code", ">", ")", "<", "/", "p", ">" ]
[ "this", "validate", "request", "parameters", "=", "validate", "request", "parameters", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "request", "parameters", "(", "<", "code", ">", "true", "<", "/", "code", ">", ")", "or", "not", "(", "<", "code", ">", "false", "<", "/", "code", ">", ")", "<", "/", "p", ">" ]
[ "return", "this", "validate", "request", "parameters", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "request", "parameters", "(", "<", "code", ">", "true", "<", "/", "code", ">", ")", "or", "not", "(", "<", "code", ">", "false", "<", "/", "code", ">", ")", "<", "/", "p", ">" ]
[ "set", "validate", "request", "parameters", "(", "validate", "request", "parameters", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "boolean", "flag", "to", "indicate", "whether", "to", "validate", "request", "parameters", "(", "<", "code", ">", "true", "<", "/", "code", ">", ")", "or", "not", "(", "<", "code", ">", "false", "<", "/", "code", ">", ")", "<", "/", "p", ">" ]
[ "return", "this", "validate", "request", "parameters", ";" ]
[ "creates", "a", "{", "@", "code", "extent", "destroy", "}", "instance", "from", "the", "specified", "function", "pointer" ]
[ "extent", "destroy", "i", "instance", "=", "callback", "get", "(", "function", "pointer", ")", ";", "return", "instance", "instanceof", "extent", "destroy", "?", "(", "extent", "destroy", ")", "instance", ":", "new", "container", "(", "function", "pointer", ",", "instance", ")", ";" ]
[ "like", "{" ]
[ "return", "function", "pointer", "=", "=", "null", "?", "null", ":", "create", "(", "function", "pointer", ")", ";" ]
[ "creates", "a", "{" ]
[ "return", "instance", "instanceof", "extent", "destroy", "?", "(", "extent", "destroy", ")", "instance", ":", "new", "container", "(", "instance", "address", "(", ")", ",", "instance", ")", ";" ]
[ "called", "on", "the", "primary", "with", "a", "reference", "to", "the", "primary", "{", "@", "linkplain", "index", "shard", "}", "to", "modify" ]
[ "@", "override", "protected", "abstract", "write", "primary", "result", "<", "replica", "request", ",", "response", ">", "shard", "operation", "on", "primary", "(", "request", "request", ",", "index", "shard", "primary", ")", "throws", "exception", ";" ]
[ "called", "once", "per", "replica", "with", "a", "reference", "to", "the", "replica", "{", "@", "linkplain", "index", "shard", "}", "to", "modify" ]
[ "@", "override", "protected", "abstract", "write", "replica", "result", "<", "replica", "request", ">", "shard", "operation", "on", "replica", "(", "replica", "request", "request", ",", "index", "shard", "replica", ")", "throws", "exception", ";" ]
[ "respond", "if", "the", "refresh", "has", "occurred", "and", "the", "listener", "is", "ready", "always", "called", "while", "synchronized", "on", "{" ]
[ "if", "(", "finished", "async", "actions", "&", "&", "listener", "!", "=", "null", ")", "{", "if", "(", "ex", "=", "=", "null", ")", "{", "super", "respond", "(", "listener", ")", ";", "}", "else", "{", "listener", "on", "failure", "(", "ex", ")", ";", "}", "}" ]
[ "executes", "the", "document", "command", "on", "the", "specified", "document" ]
[ "if", "(", "f", "length", "=", "=", "0", "&", "&", "f", "text", "=", "=", "null", ")", "return", ";", "if", "(", "f", "owner", "!", "=", "null", ")", "document", "remove", "document", "listener", "(", "f", "owner", ")", ";", "document", "replace", "(", "f", "offset", ",", "f", "length", ",", "f", "text", ")", ";", "if", "(", "f", "owner", "!", "=", "null", ")", "document", "add", "document", "listener", "(", "f", "owner", ")", ";" ]
[ "/", "*" ]
[ "return", "f", "list", "iterator", "has", "previous", "(", ")", ";" ]
[ "/", "*" ]
[ "return", "f", "list", "iterator", "previous", "(", ")", ";" ]
[ "/", "*" ]
[ "return", "f", "command", "!", "=", "null", "|", "|", "f", "iterator", "has", "next", "(", ")", ";" ]
[ "/", "*" ]
[ "if", "(", "!", "has", "next", "(", ")", ")", "throw", "new", "no", "such", "element", "exception", "(", ")", ";", "if", "(", "f", "command", "=", "=", "null", ")", "return", "f", "iterator", "next", "(", ")", ";", "if", "(", "!", "f", "iterator", "has", "next", "(", ")", ")", "{", "final", "command", "temp", "command", "=", "f", "command", ";", "f", "command", "=", "null", ";", "return", "temp", "command", ";", "}", "final", "command", "command", "=", "(", "command", ")", "f", "iterator", "next", "(", ")", ";", "final", "int", "compare", "value", "=", "command", "compare", "to", "(", "f", "command", ")", ";", "if", "(", "(", "compare", "value", "<", "0", ")", "^", "!", "f", "forward", ")", "{", "return", "command", ";", "}", "else", "if", "(", "(", "compare", "value", ">", "0", ")", "^", "!", "f", "forward", ")", "{", "final", "command", "temp", "command", "=", "f", "command", ";", "f", "command", "=", "command", ";", "return", "temp", "command", ";", "}", "else", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}" ]
[ "returns", "an", "iterator", "over", "the", "commands", "in", "ascending", "position", "order", "the", "iterator", "includes", "the", "original", "document", "command", "commands", "cannot", "be", "removed" ]
[ "command", "command", "=", "new", "command", "(", "offset", ",", "length", ",", "text", ",", "owner", ")", ";", "return", "new", "command", "iterator", "(", "f", "commands", ",", "command", ",", "true", ")", ";" ]
[ "returns", "the", "number", "of", "commands", "including", "the", "original", "document", "command" ]
[ "return", "1", "+", "f", "commands", "size", "(", ")", ";" ]
[ "returns", "<", "code", ">", "true", "<", "/", "code", ">", "if", "the", "caret", "offset", "should", "be", "updated", "<", "code", ">", "false", "<", "/", "code", ">", "otherwise" ]
[ "return", "shifts", "caret", "&", "&", "caret", "offset", "!", "=", "-", "1", ";" ]
[ "returns", "the", "position", "category", "for", "the", "caret", "offset", "position" ]
[ "return", "to", "string", "(", ")", ";" ]
[ "returns", "the", "{", "@", "link", "com", "marshalchen", "common", "uimodule", "drag", "sort", "list", "view", "simple", "drag", "sort", "cursor", "adapter", "view", "binder", "}", "used", "to", "bind", "data", "to", "views" ]
[ "return", "m", "view", "binder", ";" ]
[ "sets", "the", "binder", "used", "to", "bind", "data", "to", "views" ]
[ "m", "view", "binder", "=", "view", "binder", ";" ]
[ "called", "by", "bind", "view", "(", ")", "to", "set", "the", "image", "for", "an", "image", "view", "but", "only", "if", "there", "is", "no", "existing", "view", "binder", "or", "if", "the", "existing", "view", "binder", "cannot", "handle", "binding", "to", "an", "image", "view" ]
[ "try", "{", "v", "set", "image", "resource", "(", "integer", "parse", "int", "(", "value", ")", ")", ";", "}", "catch", "(", "number", "format", "exception", "nfe", ")", "{", "v", "set", "image", "u", "r", "i", "(", "uri", "parse", "(", "value", ")", ")", ";", "}" ]
[ "called", "by", "bind", "view", "(", ")", "to", "set", "the", "text", "for", "a", "text", "view", "but", "only", "if", "there", "is", "no", "existing", "view", "binder", "or", "if", "the", "existing", "view", "binder", "cannot", "handle", "binding", "to", "a", "text", "view" ]
[ "v", "set", "text", "(", "text", ")", ";" ]
[ "return", "the", "index", "of", "the", "column", "used", "to", "get", "a", "string", "representation", "of", "the", "cursor" ]
[ "return", "m", "string", "conversion", "column", ";" ]
[ "defines", "the", "index", "of", "the", "column", "in", "the", "cursor", "used", "to", "get", "a", "string", "representation", "of", "that", "cursor", "the", "column", "is", "used", "to", "convert", "the", "cursor", "to", "a", "string", "only", "when", "the", "current", "cursor", "to", "string", "converter", "is", "null" ]
[ "m", "string", "conversion", "column", "=", "string", "conversion", "column", ";" ]
[ "returns", "the", "converter", "used", "to", "convert", "the", "filtering", "cursor", "into", "a", "string" ]
[ "return", "m", "cursor", "to", "string", "converter", ";" ]
[ "sets", "the", "converter", "used", "to", "convert", "the", "filtering", "cursor", "into", "a", "string" ]
[ "m", "cursor", "to", "string", "converter", "=", "cursor", "to", "string", "converter", ";" ]
[ "returns", "a", "char", "sequence", "representation", "of", "the", "specified", "cursor", "as", "defined", "by", "the", "current", "cursor", "to", "string", "converter", "if", "no", "cursor", "to", "string", "converter", "has", "been", "set", "the", "string", "conversion", "column", "is", "used", "instead", "if", "the", "conversion", "column", "is", "-", "1", "the", "returned", "string", "is", "empty", "if", "the", "cursor", "is", "null", "or", "cursor", "to", "string", "(", ")" ]
[ "if", "(", "m", "cursor", "to", "string", "converter", "!", "=", "null", ")", "{", "return", "m", "cursor", "to", "string", "converter", "convert", "to", "string", "(", "cursor", ")", ";", "}", "else", "if", "(", "m", "string", "conversion", "column", ">", "-", "1", ")", "{", "return", "cursor", "get", "string", "(", "m", "string", "conversion", "column", ")", ";", "}", "return", "super", "convert", "to", "string", "(", "cursor", ")", ";" ]
[ "create", "a", "map", "from", "an", "array", "of", "strings", "to", "an", "array", "of", "column", "-", "id", "integers", "in", "cursor", "c", "if", "c", "is", "null", "the", "array", "will", "be", "discarded" ]
[ "if", "(", "c", "!", "=", "null", ")", "{", "int", "i", ";", "int", "count", "=", "from", "length", ";", "if", "(", "m", "from", "=", "=", "null", "|", "|", "m", "from", "length", "!", "=", "count", ")", "{", "m", "from", "=", "new", "int", "[", "count", "]", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "+", "+", ")", "{", "m", "from", "[", "i", "]", "=", "c", "get", "column", "index", "or", "throw", "(", "from", "[", "i", "]", ")", ";", "}", "}", "else", "{", "m", "from", "=", "null", ";", "}" ]
[ "gets", "the", "contents", "of", "the", "brewing", "stand" ]
[ "return", "contents", ";" ]
[ "processes", "the", "cache", "quota", "list", "upon", "receiving", "a", "list", "of", "requests" ]
[ "public", "abstract", "list", "<", "cache", "quota", "hint", ">", "on", "compute", "cache", "quota", "hints", "(", "list", "<", "cache", "quota", "hint", ">", "requests", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[]
[ "<", "p", ">", "the", "name", "of", "an", "endpoint", "configuration", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "sagemaker", "/", "latest", "/", "dg", "/", "api", "create", "endpoint", "config", "html", ">", "create", "endpoint", "config", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "this", "endpoint", "config", "name", "=", "endpoint", "config", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "an", "endpoint", "configuration", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "sagemaker", "/", "latest", "/", "dg", "/", "api", "create", "endpoint", "config", "html", ">", "create", "endpoint", "config", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "endpoint", "config", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "endpoint", "configuration", "that", "you", "want", "to", "delete", "<", "/", "p", ">" ]
[ "set", "endpoint", "config", "name", "(", "endpoint", "config", "name", ")", ";", "return", "this", ";" ]
[ "get", "the", "list", "of", "u", "r", "is", "the", "editlog", "is", "using", "for", "storage" ]
[ "return", "edits", "dirs", ";" ]
[ "wait", "if", "an", "automatic", "sync", "is", "scheduled" ]
[ "try", "{", "while", "(", "is", "auto", "sync", "scheduled", ")", "{", "this", "wait", "(", "1000", ")", ";", "}", "}", "catch", "(", "interrupted", "exception", "e", ")", "{", "}" ]
[ "signal", "that", "an", "automatic", "sync", "scheduling", "is", "done", "if", "it", "is", "scheduled" ]
[ "if", "(", "is", "auto", "sync", "scheduled", ")", "{", "is", "auto", "sync", "scheduled", "=", "false", ";", "notify", "all", "(", ")", ";", "}" ]
[ "check", "if", "should", "automatically", "sync", "buffered", "edits", "to", "persistent", "store" ]
[ "return", "edit", "log", "stream", "should", "force", "sync", "(", ")", ";" ]
[ "return", "the", "transaction", "id", "of", "the", "last", "transaction", "written", "to", "the", "log" ]
[ "return", "txid", ";" ]
[ "record", "the", "rpc", "i", "ds", "if", "necessary" ]
[ "if", "(", "to", "log", "rpc", "ids", ")", "{", "op", "set", "rpc", "client", "id", "(", "server", "get", "client", "id", "(", ")", ")", ";", "op", "set", "rpc", "call", "id", "(", "server", "get", "call", "id", "(", ")", ")", ";", "}" ]
[ "add", "open", "lease", "record", "to", "edit", "log", "records", "the", "block", "locations", "of", "the", "last", "block" ]
[ "preconditions", "check", "argument", "(", "new", "node", "is", "under", "construction", "(", ")", ")", ";", "permission", "status", "permissions", "=", "new", "node", "get", "permission", "status", "(", ")", ";", "add", "op", "op", "=", "add", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "inode", "id", "(", "new", "node", "get", "id", "(", ")", ")", "set", "path", "(", "path", ")", "set", "replication", "(", "new", "node", "get", "file", "replication", "(", ")", ")", "set", "modification", "time", "(", "new", "node", "get", "modification", "time", "(", ")", ")", "set", "access", "time", "(", "new", "node", "get", "access", "time", "(", ")", ")", "set", "block", "size", "(", "new", "node", "get", "preferred", "block", "size", "(", ")", ")", "set", "blocks", "(", "new", "node", "get", "blocks", "(", ")", ")", "set", "permission", "status", "(", "permissions", ")", "set", "client", "name", "(", "new", "node", "get", "file", "under", "construction", "feature", "(", ")", "get", "client", "name", "(", ")", ")", "set", "client", "machine", "(", "new", "node", "get", "file", "under", "construction", "feature", "(", ")", "get", "client", "machine", "(", ")", ")", "set", "overwrite", "(", "overwrite", ")", "set", "storage", "policy", "id", "(", "new", "node", "get", "local", "storage", "policy", "i", "d", "(", ")", ")", ";", "acl", "feature", "f", "=", "new", "node", "get", "acl", "feature", "(", ")", ";", "if", "(", "f", "!", "=", "null", ")", "{", "op", "set", "acl", "entries", "(", "acl", "storage", "read", "i", "node", "logical", "acl", "(", "new", "node", ")", ")", ";", "}", "x", "attr", "feature", "x", "=", "new", "node", "get", "x", "attr", "feature", "(", ")", ";", "if", "(", "x", "!", "=", "null", ")", "{", "op", "set", "x", "attrs", "(", "x", "get", "x", "attrs", "(", ")", ")", ";", "}", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "close", "lease", "record", "to", "edit", "log" ]
[ "close", "op", "op", "=", "close", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "path", ")", "set", "replication", "(", "new", "node", "get", "file", "replication", "(", ")", ")", "set", "modification", "time", "(", "new", "node", "get", "modification", "time", "(", ")", ")", "set", "access", "time", "(", "new", "node", "get", "access", "time", "(", ")", ")", "set", "block", "size", "(", "new", "node", "get", "preferred", "block", "size", "(", ")", ")", "set", "blocks", "(", "new", "node", "get", "blocks", "(", ")", ")", "set", "permission", "status", "(", "new", "node", "get", "permission", "status", "(", ")", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "create", "directory", "record", "to", "edit", "log" ]
[ "permission", "status", "permissions", "=", "new", "node", "get", "permission", "status", "(", ")", ";", "mkdir", "op", "op", "=", "mkdir", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "inode", "id", "(", "new", "node", "get", "id", "(", ")", ")", "set", "path", "(", "path", ")", "set", "timestamp", "(", "new", "node", "get", "modification", "time", "(", ")", ")", "set", "permission", "status", "(", "permissions", ")", ";", "acl", "feature", "f", "=", "new", "node", "get", "acl", "feature", "(", ")", ";", "if", "(", "f", "!", "=", "null", ")", "{", "op", "set", "acl", "entries", "(", "acl", "storage", "read", "i", "node", "logical", "acl", "(", "new", "node", ")", ")", ";", "}", "x", "attr", "feature", "x", "=", "new", "node", "get", "x", "attr", "feature", "(", ")", ";", "if", "(", "x", "!", "=", "null", ")", "{", "op", "set", "x", "attrs", "(", "x", "get", "x", "attrs", "(", ")", ")", ";", "}", "log", "edit", "(", "op", ")", ";" ]
[ "add", "rename", "record", "to", "edit", "log" ]
[ "rename", "old", "op", "op", "=", "rename", "old", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "destination", "(", "dst", ")", "set", "timestamp", "(", "timestamp", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "rename", "record", "to", "edit", "log" ]
[ "rename", "op", "op", "=", "rename", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "destination", "(", "dst", ")", "set", "timestamp", "(", "timestamp", ")", "set", "options", "(", "options", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "replication", "record", "to", "edit", "log" ]
[ "set", "replication", "op", "op", "=", "set", "replication", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "src", ")", "set", "replication", "(", "replication", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "storage", "policy", "id", "record", "to", "edit", "log" ]
[ "set", "storage", "policy", "op", "op", "=", "set", "storage", "policy", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "src", ")", "set", "policy", "id", "(", "policy", "id", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "namespace", "quota", "record", "to", "edit", "log" ]
[ "set", "quota", "op", "op", "=", "set", "quota", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "n", "s", "quota", "(", "ns", "quota", ")", "set", "d", "s", "quota", "(", "ds", "quota", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "quota", "by", "storage", "type", "record", "to", "edit", "log" ]
[ "set", "quota", "by", "storage", "type", "op", "op", "=", "set", "quota", "by", "storage", "type", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "quota", "by", "storage", "type", "(", "ds", "quota", ",", "type", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "permissions", "record", "to", "edit", "log" ]
[ "set", "permissions", "op", "op", "=", "set", "permissions", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "permissions", "(", "permissions", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "set", "owner", "record", "to", "edit", "log" ]
[ "set", "owner", "op", "op", "=", "set", "owner", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "source", "(", "src", ")", "set", "user", "(", "username", ")", "set", "group", "(", "groupname", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "concat", "(", "trg", "src", ")", "log" ]
[ "concat", "delete", "op", "op", "=", "concat", "delete", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "target", "(", "trg", ")", "set", "sources", "(", "srcs", ")", "set", "timestamp", "(", "timestamp", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "delete", "file", "record", "to", "edit", "log" ]
[ "delete", "op", "op", "=", "delete", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "src", ")", "set", "timestamp", "(", "timestamp", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "truncate", "file", "record", "to", "edit", "log" ]
[ "truncate", "op", "op", "=", "truncate", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "src", ")", "set", "client", "name", "(", "client", "name", ")", "set", "client", "machine", "(", "client", "machine", ")", "set", "new", "length", "(", "size", ")", "set", "timestamp", "(", "timestamp", ")", "set", "truncate", "block", "(", "truncate", "block", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "legacy", "block", "generation", "stamp", "record", "to", "edit", "log" ]
[ "set", "genstamp", "v", "1", "op", "op", "=", "set", "genstamp", "v", "1", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "generation", "stamp", "(", "genstamp", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "generation", "stamp", "record", "to", "edit", "log" ]
[ "set", "genstamp", "v", "2", "op", "op", "=", "set", "genstamp", "v", "2", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "generation", "stamp", "(", "genstamp", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "record", "a", "newly", "allocated", "block", "id", "in", "the", "edit", "log" ]
[ "allocate", "block", "id", "op", "op", "=", "allocate", "block", "id", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "block", "id", "(", "block", "id", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "access", "time", "record", "to", "edit", "log" ]
[ "times", "op", "op", "=", "times", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "path", "(", "src", ")", "set", "modification", "time", "(", "mtime", ")", "set", "access", "time", "(", "atime", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "add", "a", "create", "symlink", "record" ]
[ "symlink", "op", "op", "=", "symlink", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "id", "(", "node", "get", "id", "(", ")", ")", "set", "path", "(", "path", ")", "set", "value", "(", "value", ")", "set", "modification", "time", "(", "mtime", ")", "set", "access", "time", "(", "atime", ")", "set", "permission", "status", "(", "node", "get", "permission", "status", "(", ")", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "log", "delegation", "token", "to", "edit", "log" ]
[ "get", "delegation", "token", "op", "op", "=", "get", "delegation", "token", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "delegation", "token", "identifier", "(", "id", ")", "set", "expiry", "time", "(", "expiry", "time", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "log", "a", "cache", "directive", "info", "returned", "from", "{" ]
[ "add", "cache", "directive", "info", "op", "op", "=", "add", "cache", "directive", "info", "op", "get", "instance", "(", "cache", "get", "(", ")", ")", "set", "directive", "(", "directive", ")", ";", "log", "rpc", "ids", "(", "op", ",", "to", "log", "rpc", "ids", ")", ";", "log", "edit", "(", "op", ")", ";" ]
[ "get", "all", "the", "journals", "this", "edit", "log", "is", "currently", "operating", "on" ]
[ "return", "journal", "set", "get", "all", "journal", "streams", "(", ")", ";" ]
[ "used", "only", "by", "tests" ]
[ "return", "journal", "set", ";" ]
[ "used", "only", "by", "tests" ]
[ "this", "metrics", "=", "metrics", ";" ]
[ "return", "a", "manifest", "of", "what", "finalized", "edit", "logs", "are", "available" ]
[ "return", "journal", "set", "get", "edit", "log", "manifest", "(", "from", "tx", "id", ")", ";" ]
[ "the", "actual", "sync", "activity", "happens", "while", "not", "synchronized", "on", "this", "object", "thus", "synchronized", "activities", "that", "require", "that", "they", "are", "not", "concurrent", "with", "file", "operations", "should", "wait", "for", "any", "running", "sync", "to", "finish" ]
[ "while", "(", "is", "sync", "running", ")", "{", "try", "{", "wait", "(", "1000", ")", ";", "}", "catch", "(", "interrupted", "exception", "ie", ")", "{", "}", "}" ]
[ "return", "the", "txid", "of", "the", "last", "synced", "transaction" ]
[ "return", "synctxid", ";" ]
[ "sets", "the", "initial", "capacity", "of", "the", "flush", "buffer" ]
[ "journal", "set", "set", "output", "buffer", "capacity", "(", "size", ")", ";" ]
[ "find", "the", "journal", "and", "stream", "associated", "with", "this", "backup", "node" ]
[ "for", "(", "journal", "manager", "bjm", ":", "journal", "set", "get", "journal", "managers", "(", ")", ")", "{", "if", "(", "(", "bjm", "instanceof", "backup", "journal", "manager", ")", "&", "&", "(", "(", "backup", "journal", "manager", ")", "bjm", ")", "matches", "registration", "(", "bn", "reg", ")", ")", "{", "return", "(", "backup", "journal", "manager", ")", "bjm", ";", "}", "}", "return", "null", ";" ]
[ "close", "all", "the", "streams", "in", "a", "collection" ]
[ "for", "(", "edit", "log", "input", "stream", "s", ":", "streams", ")", "{", "i", "o", "utils", "close", "stream", "(", "s", ")", ";", "}" ]
[ "returns", "the", "type", "of", "the", "group" ]
[ "return", "popup", ";" ]
[ "sets", "the", "type", "of", "the", "group" ]
[ "this", "popup", "=", "popup", ";" ]
[ "returns", "the", "children", "of", "the", "group" ]
[ "public", "abstract", "action", "[", "]", "get", "children", "(", "action", "event", "e", ")", ";" ]
[ "a", "cross", "-", "platform", "matcher", "for", "a", "string", "with", "newlines" ]
[ "return", "new", "is", "equal", "ignoring", "platform", "newlines", "(", "expected", "text", ")", ";" ]
[ "/", "*", "b", "2", "revolute", "joint", "*", "joint", "=", "(", "b", "2", "revolute", "joint", "*", ")", "addr", ";", "return", "joint", "-", ">", "get", "motor", "torque", "(", "inv", "dt", ")", ";" ]
[ "jni", "get", "local", "anchor", "a", "(", "addr", ",", "tmp", ")", ";", "local", "anchor", "a", "set", "(", "tmp", "[", "0", "]", ",", "tmp", "[", "1", "]", ")", ";", "return", "local", "anchor", "a", ";" ]
[ "/", "*", "b", "2", "revolute", "joint", "*", "joint", "=", "(", "b", "2", "revolute", "joint", "*", ")", "addr", ";", "anchor", "[", "0", "]", "=", "joint", "-", ">", "get", "local", "anchor", "a", "(", ")", "x", ";", "anchor", "[", "1", "]", "=", "joint", "-", ">", "get", "local", "anchor", "a", "(", ")", "y", ";" ]
[ "jni", "get", "local", "anchor", "b", "(", "addr", ",", "tmp", ")", ";", "local", "anchor", "b", "set", "(", "tmp", "[", "0", "]", ",", "tmp", "[", "1", "]", ")", ";", "return", "local", "anchor", "b", ";" ]
[ "/", "*", "b", "2", "wheel", "joint", "*", "joint", "=", "(", "b", "2", "wheel", "joint", "*", ")", "addr", ";", "anchor", "[", "0", "]", "=", "joint", "-", ">", "get", "local", "anchor", "b", "(", ")", "x", ";", "anchor", "[", "1", "]", "=", "joint", "-", ">", "get", "local", "anchor", "b", "(", ")", "y", ";" ]
[ "jni", "get", "local", "axis", "a", "(", "addr", ",", "tmp", ")", ";", "local", "axis", "a", "set", "(", "tmp", "[", "0", "]", ",", "tmp", "[", "1", "]", ")", ";", "return", "local", "axis", "a", ";" ]
[ "get", "the", "current", "joint", "translation", "usually", "in", "meters" ]
[ "return", "jni", "get", "joint", "translation", "(", "addr", ")", ";" ]
[ "get", "the", "current", "joint", "angle", "speed", "in", "radians", "per", "second" ]
[ "return", "jni", "get", "joint", "speed", "(", "addr", ")", ";" ]
[ "is", "the", "joint", "limit", "enabled", "?" ]
[ "return", "jni", "is", "limit", "enabled", "(", "addr", ")", ";" ]
[ "enable", "/", "disable", "the", "joint", "limit" ]
[ "jni", "enable", "limit", "(", "addr", ",", "flag", ")", ";" ]
[ "get", "the", "lower", "joint", "limit", "in", "radians" ]
[ "return", "jni", "get", "lower", "limit", "(", "addr", ")", ";" ]
[ "get", "the", "upper", "joint", "limit", "in", "radians" ]
[ "return", "jni", "get", "upper", "limit", "(", "addr", ")", ";" ]
[ "set", "the", "joint", "limits", "in", "radians" ]
[ "jni", "set", "limits", "(", "addr", ",", "lower", ",", "upper", ")", ";" ]
[ "is", "the", "joint", "motor", "enabled", "?" ]
[ "return", "jni", "is", "motor", "enabled", "(", "addr", ")", ";" ]
[ "enable", "/", "disable", "the", "joint", "motor" ]
[ "jni", "enable", "motor", "(", "addr", ",", "flag", ")", ";" ]
[ "set", "the", "motor", "speed", "in", "radians", "per", "second" ]
[ "jni", "set", "motor", "speed", "(", "addr", ",", "speed", ")", ";" ]
[ "get", "the", "motor", "speed", "in", "radians", "per", "second" ]
[ "return", "jni", "get", "motor", "speed", "(", "addr", ")", ";" ]
[ "set", "the", "maximum", "motor", "force", "usually", "in", "n" ]
[ "jni", "set", "max", "motor", "force", "(", "addr", ",", "force", ")", ";" ]
[ "get", "the", "current", "motor", "force", "given", "the", "inverse", "time", "step", "usually", "in", "n" ]
[ "return", "jni", "get", "motor", "force", "(", "addr", ",", "inv", "dt", ")", ";" ]
[ "get", "the", "max", "motor", "force", "usually", "in", "n" ]
[ "return", "jni", "get", "max", "motor", "force", "(", "addr", ")", ";" ]
[ "get", "the", "current", "motor", "torque", "usually", "in", "n", "-", "m" ]
[ "return", "jni", "get", "reference", "angle", "(", "addr", ")", ";" ]
[ "if", "new", "group", "registed", "start", "a", "new", "lookup", "thread", "each", "group", "start", "a", "lookup", "thread", "to", "discover", "service" ]
[ "string", "group", "=", "url", "get", "group", "(", ")", ";", "if", "(", "!", "lookup", "group", "services", "contains", "key", "(", "group", ")", ")", "{", "long", "value", "=", "lookup", "group", "services", "put", "if", "absent", "(", "group", ",", "0l", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "service", "lookup", "thread", "lookup", "thread", "=", "new", "service", "lookup", "thread", "(", "group", ")", ";", "lookup", "thread", "set", "daemon", "(", "true", ")", ";", "lookup", "thread", "start", "(", ")", ";", "}", "}" ]
[ "directly", "fetch", "consul", "service", "data" ]
[ "consul", "response", "<", "list", "<", "consul", "service", ">", ">", "response", "=", "client", "lookup", "health", "service", "(", "consul", "utils", "convert", "group", "to", "service", "name", "(", "service", "name", ")", ",", "last", "consul", "index", "id", ")", ";", "return", "response", ";" ]
[ "this", "method", "creates", "and", "initializes", "an", "iv", "(", "initialization", "vector", ")" ]
[ "crypto", "codec", "crypto", "codec", "=", "crypto", "codec", "get", "instance", "(", "conf", ")", ";", "if", "(", "is", "encrypted", "spill", "enabled", "(", "conf", ")", ")", "{", "byte", "[", "]", "iv", "=", "new", "byte", "[", "crypto", "codec", "get", "cipher", "suite", "(", ")", "get", "algorithm", "block", "size", "(", ")", "]", ";", "crypto", "codec", "generate", "secure", "random", "(", "iv", ")", ";", "return", "iv", ";", "}", "else", "{", "return", "null", ";", "}" ]