docstring_tokens
list
code_tokens
list
[ "get", "the", "instances", "allocation", "based", "on", "the", "resource", "compliant", "r", "r", "packing", "algorithm" ]
[ "map", "<", "string", ",", "integer", ">", "components", "to", "scale", "down", "=", "packing", "utils", "get", "components", "to", "scale", "(", "component", "changes", ",", "packing", "utils", "scaling", "direction", "down", ")", ";", "map", "<", "string", ",", "integer", ">", "components", "to", "scale", "up", "=", "packing", "utils", "get", "components", "to", "scale", "(", "component", "changes", ",", "packing", "utils", "scaling", "direction", "up", ")", ";", "if", "(", "!", "components", "to", "scale", "down", "is", "empty", "(", ")", ")", "{", "reset", "to", "first", "container", "(", ")", ";", "remove", "instances", "from", "containers", "(", "plan", "builder", ",", "components", "to", "scale", "down", ")", ";", "}", "if", "(", "!", "components", "to", "scale", "up", "is", "empty", "(", ")", ")", "{", "reset", "to", "first", "container", "(", ")", ";", "assign", "instances", "to", "containers", "(", "plan", "builder", ",", "components", "to", "scale", "up", ",", "policy", "type", "flexible", ")", ";", "}", "return", "plan", "builder", ";" ]
[ "assigns", "instances", "to", "containers" ]
[ "for", "(", "string", "component", "name", ":", "parallelism", "map", "key", "set", "(", ")", ")", "{", "int", "num", "instance", "=", "parallelism", "map", "get", "(", "component", "name", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num", "instance", ";", "+", "+", "i", ")", "{", "policy", "type", "assign", "instance", "(", "plan", "builder", ",", "component", "name", ",", "this", ")", ";", "}", "}" ]
[ "attempts", "to", "place", "the", "instance", "the", "current", "container", "id" ]
[ "plan", "builder", "add", "instance", "(", "this", "container", "id", ",", "component", "name", ")", ";", "this", "container", "id", "=", "next", "container", "id", "(", "this", "container", "id", ")", ";" ]
[ "removes", "instances", "from", "containers", "during", "scaling", "down" ]
[ "for", "(", "string", "component", "name", ":", "components", "to", "scale", "down", "key", "set", "(", ")", ")", "{", "int", "num", "instances", "to", "remove", "=", "-", "components", "to", "scale", "down", "get", "(", "component", "name", ")", ";", "for", "(", "int", "j", "=", "0", ";", "j", "<", "num", "instances", "to", "remove", ";", "j", "+", "+", ")", "{", "remove", "r", "r", "instance", "(", "packing", "plan", "builder", ",", "component", "name", ")", ";", "}", "}" ]
[ "<", "p", ">", "initiates", "a", "bulk", "publish", "of", "all", "existing", "datasets", "for", "an", "identity", "pool", "to", "the", "configured", "stream", "customers", "are", "limited", "to", "one", "successful", "bulk", "publish", "per", "24", "hours", "bulk", "publish", "is", "an", "asynchronous", "request", "customers", "can", "see", "the", "status", "of", "the", "request", "via", "the", "get", "bulk", "publish", "details", "operation", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "bulk", "publish", "(", "request", ")", ";" ]
[ "<", "p", ">", "deletes", "the", "specified", "data", "set", "<", "/", "p", ">", "<", "p", ">", "you", "do", "not", "have", "to", "delete", "the", "content", "of", "the", "data", "set", "before", "you", "perform", "this", "operation", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "delete", "dataset", "(", "request", ")", ";" ]
[ "<", "p", ">", "retrieves", "information", "about", "a", "data", "set", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "describe", "dataset", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "usage", "details", "(", "for", "example", "data", "storage", ")", "about", "a", "particular", "identity", "pool", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "describe", "identity", "pool", "usage", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "usage", "information", "for", "an", "identity", "including", "number", "of", "datasets", "and", "data", "usage", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "be", "called", "with", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "or", "with", "developer", "credentials", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "describe", "identity", "usage", "(", "request", ")", ";" ]
[ "<", "p", ">", "get", "the", "status", "of", "the", "last", "bulk", "publish", "operation", "for", "an", "identity", "pool", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "get", "bulk", "publish", "details", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "the", "events", "and", "the", "corresponding", "lambda", "functions", "associated", "with", "an", "identity", "pool", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "get", "cognito", "events", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "the", "configuration", "settings", "of", "an", "identity", "pool", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "get", "identity", "pool", "configuration", "(", "request", ")", ";" ]
[ "<", "p", ">", "retrieves", "information", "about", "data", "sets", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "list", "datasets", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "a", "list", "of", "identity", "pools", "registered", "with", "cognito", "<", "/", "p", ">", "<", "p", ">", "list", "identity", "pool", "usage", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "make", "this", "api", "call", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "list", "identity", "pool", "usage", "(", "request", ")", ";" ]
[ "<", "p", ">", "gets", "paginated", "records", "optionally", "changed", "after", "a", "particular", "sync", "count", "for", "a", "dataset", "and", "identity", "with", "amazon", "cognito", "sync", "each", "identity", "has", "access", "only", "to", "its", "own", "data", "thus", "the", "credentials", "used", "to", "make", "this", "api", "call", "need", "to", "have", "access", "to", "the", "identity", "data", "<", "/", "p", ">", "<", "p", ">", "list", "records", "can", "be", "called", "with", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "or", "with", "developer", "credentials", "you", "should", "use", "cognito", "identity", "credentials", "to", "make", "this", "api", "call", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "list", "records", "(", "request", ")", ";" ]
[ "<", "p", ">", "registers", "a", "device", "to", "receive", "push", "sync", "notifications", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "temporary", "credentials", "provided", "by", "cognito", "identity", "you", "cannot", "call", "this", "api", "with", "developer", "credentials", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "register", "device", "(", "request", ")", ";" ]
[ "<", "p", ">", "sets", "the", "aws", "lambda", "function", "for", "a", "given", "event", "type", "for", "an", "identity", "pool", "this", "request", "only", "updates", "the", "key", "/", "value", "pair", "specified", "other", "key", "/", "values", "pairs", "are", "not", "updated", "to", "remove", "a", "key", "value", "pair", "pass", "a", "empty", "value", "for", "the", "particular", "key", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "set", "cognito", "events", "(", "request", ")", ";" ]
[ "<", "p", ">", "sets", "the", "necessary", "configuration", "for", "push", "sync", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "developer", "credentials", "you", "cannot", "call", "this", "api", "with", "the", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "set", "identity", "pool", "configuration", "(", "request", ")", ";" ]
[ "<", "p", ">", "subscribes", "to", "receive", "notifications", "when", "a", "dataset", "is", "modified", "by", "another", "device", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "temporary", "credentials", "provided", "by", "cognito", "identity", "you", "cannot", "call", "this", "api", "with", "developer", "credentials", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "subscribe", "to", "dataset", "(", "request", ")", ";" ]
[ "<", "p", ">", "unsubscribes", "from", "receiving", "notifications", "when", "a", "dataset", "is", "modified", "by", "another", "device", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "only", "be", "called", "with", "temporary", "credentials", "provided", "by", "cognito", "identity", "you", "cannot", "call", "this", "api", "with", "developer", "credentials", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "unsubscribe", "from", "dataset", "(", "request", ")", ";" ]
[ "<", "p", ">", "posts", "updates", "to", "records", "and", "adds", "and", "deletes", "records", "for", "a", "dataset", "and", "user", "<", "/", "p", ">", "<", "p", ">", "the", "sync", "count", "in", "the", "record", "patch", "is", "your", "last", "known", "sync", "count", "for", "that", "record", "the", "server", "will", "reject", "an", "update", "records", "request", "with", "a", "resource", "conflict", "exception", "if", "you", "try", "to", "patch", "a", "record", "with", "a", "new", "value", "but", "a", "stale", "sync", "count", "<", "/", "p", ">", "<", "p", ">", "for", "example", "if", "the", "sync", "count", "on", "the", "server", "is", "5", "for", "a", "key", "called", "high", "score", "and", "you", "try", "and", "submit", "a", "new", "high", "score", "with", "sync", "count", "of", "4", "the", "request", "will", "be", "rejected", "to", "obtain", "the", "current", "sync", "count", "for", "a", "record", "call", "list", "records", "on", "a", "successful", "update", "of", "the", "record", "the", "response", "returns", "the", "new", "sync", "count", "for", "that", "record", "you", "should", "present", "that", "sync", "count", "the", "next", "time", "you", "try", "to", "update", "that", "same", "record", "when", "the", "record", "does", "not", "exist", "specify", "the", "sync", "count", "as", "0", "<", "/", "p", ">", "<", "p", ">", "this", "api", "can", "be", "called", "with", "temporary", "user", "credentials", "provided", "by", "cognito", "identity", "or", "with", "developer", "credentials", "<", "/", "p", ">" ]
[ "request", "=", "before", "client", "execution", "(", "request", ")", ";", "return", "execute", "update", "records", "(", "request", ")", ";" ]
[ "checks", "a", "given", "class" ]
[ "class", "node", "cn", "=", "new", "class", "node", "(", ")", ";", "cr", "accept", "(", "new", "check", "class", "adapter", "(", "cn", ",", "false", ")", ",", "class", "reader", "skip", "debug", ")", ";", "type", "syper", "type", "=", "cn", "super", "name", "=", "=", "null", "?", "null", ":", "type", "get", "object", "type", "(", "cn", "super", "name", ")", ";", "list", "<", "method", "node", ">", "methods", "=", "cn", "methods", ";", "list", "<", "type", ">", "interfaces", "=", "new", "array", "list", "<", "type", ">", "(", ")", ";", "for", "(", "iterator", "<", "string", ">", "i", "=", "cn", "interfaces", "iterator", "(", ")", ";", "i", "has", "next", "(", ")", ";", ")", "{", "interfaces", "add", "(", "type", "get", "object", "type", "(", "i", "next", "(", ")", ")", ")", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "methods", "size", "(", ")", ";", "+", "+", "i", ")", "{", "method", "node", "method", "=", "methods", "get", "(", "i", ")", ";", "simple", "verifier", "verifier", "=", "new", "simple", "verifier", "(", "type", "get", "object", "type", "(", "cn", "name", ")", ",", "syper", "type", ",", "interfaces", ",", "(", "cn", "access", "&", "opcodes", "acc", "interface", ")", "!", "=", "0", ")", ";", "analyzer", "<", "basic", "value", ">", "a", "=", "new", "analyzer", "<", "basic", "value", ">", "(", "verifier", ")", ";", "if", "(", "loader", "!", "=", "null", ")", "{", "verifier", "set", "class", "loader", "(", "loader", ")", ";", "}", "try", "{", "a", "analyze", "(", "cn", "name", ",", "method", ")", ";", "if", "(", "!", "dump", ")", "{", "continue", ";", "}", "}", "catch", "(", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", "pw", ")", ";", "}", "print", "analyzer", "result", "(", "method", ",", "a", ",", "pw", ")", ";", "}", "pw", "flush", "(", ")", ";" ]
[ "checks", "a", "given", "class" ]
[ "verify", "(", "cr", ",", "null", ",", "dump", ",", "pw", ")", ";" ]
[ "returns", "the", "signature", "car", "at", "the", "given", "index" ]
[ "return", "pos", "<", "signature", "length", "(", ")", "?", "signature", "char", "at", "(", "pos", ")", ":", "(", "char", ")", "0", ";" ]
[ "creates", "a", "pair", "constructor", "doesn", "t", "infer", "template", "args", "but", "the", "method", "does", "so", "the", "code", "becomes", "less", "ugly" ]
[ "return", "new", "object", "pair", "<", "t1", ",", "t2", ">", "(", "f", ",", "s", ")", ";" ]
[ "attempt", "to", "initialize", "the", "proxy", "without", "loading", "anything", "from", "the", "database" ]
[ "if", "(", "!", "initialized", "&", "&", "session", "!", "=", "null", "&", "&", "session", "is", "open", "(", ")", ")", "{", "final", "entity", "key", "key", "=", "session", "generate", "entity", "key", "(", "get", "identifier", "(", ")", ",", "session", "get", "factory", "(", ")", "get", "metamodel", "(", ")", "entity", "persister", "(", "get", "entity", "name", "(", ")", ")", ")", ";", "final", "object", "entity", "=", "session", "get", "persistence", "context", "(", ")", "get", "entity", "(", "key", ")", ";", "if", "(", "entity", "!", "=", "null", ")", "{", "set", "implementation", "(", "entity", ")", ";", "}", "}" ]
[ "getter", "for", "property", "connected", "to", "session" ]
[ "return", "get", "proxy", "or", "null", "(", ")", "!", "=", "null", ";" ]
[ "getter", "for", "property", "target", "<", "p", "/", ">", "same", "as", "{", "@", "link", "#", "get", "implementation", "(", ")", "}", "except", "that", "this", "method", "will", "not", "force", "initialization" ]
[ "return", "target", ";" ]
[ "get", "whether", "the", "proxy", "can", "load", "data", "even", "if", "it", "s", "not", "attached", "to", "a", "session", "with", "an", "ongoing", "transaction" ]
[ "return", "allow", "load", "outside", "transaction", ";" ]
[ "get", "the", "session", "factory", "uuid" ]
[ "return", "session", "factory", "uuid", ";" ]
[ "/", "*", "package" ]
[ "resources", "res", "=", "context", "get", "resources", "(", ")", ";", "int", "color", ";", "if", "(", "theme", "dark", ")", "{", "color", "=", "res", "get", "color", "(", "r", "color", "red", ")", ";", "m", "selection", "alpha", "=", "selected", "alpha", "theme", "dark", ";", "}", "else", "{", "color", "=", "res", "get", "color", "(", "r", "color", "blue", ")", ";", "m", "selection", "alpha", "=", "selected", "alpha", ";", "}", "m", "paint", "set", "color", "(", "color", ")", ";" ]
[ "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=" ]
[ "this", "map", "request", "to", "request", "listener", "=", "map", "request", "to", "request", "listener", ";" ]
[ "todo", ":", "sort", "out", "method", "grammar" ]
[ "return", "coin", "egg", "authenticated", "get", "trade", "add", "(", "api", "key", ",", "signer", ",", "nonce", "factory", "create", "value", "(", ")", ",", "amount", ",", "price", ",", "type", ",", "coin", ")", ";" ]
[ "component", "key", "shared", "by", "all", "part", "of", "sonar", "qube", "(", "batch", "server", "ws", ")", "it", "doesn", "t", "include", "the", "branch" ]
[ "return", "component", "key", ";" ]
[ "component", "key", "shared", "by", "all", "part", "of", "sonar", "qube", "(", "batch", "server", "ws", ")", "it", "doesn", "t", "include", "the", "branch" ]
[ "this", "component", "key", "=", "component", "key", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "cache", "security", "group", "to", "return", "details", "for", "<", "/", "p", ">" ]
[ "set", "cache", "security", "group", "name", "(", "cache", "security", "group", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "records", "to", "include", "in", "the", "response", "if", "more", "records", "exist", "than", "the", "specified", "<", "code", ">", "max", "records", "<", "/", "code", ">", "value", "a", "marker", "is", "included", "in", "the", "response", "so", "that", "the", "remaining", "results", "can", "be", "retrieved", "<", "/", "p", ">", "<", "p", ">", "default", ":", "100", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "minimum", "20", ";", "maximum", "100", "<", "/", "p", ">" ]
[ "set", "max", "records", "(", "max", "records", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "optional", "marker", "returned", "from", "a", "prior", "request", "use", "this", "marker", "for", "pagination", "of", "results", "from", "this", "operation", "if", "this", "parameter", "is", "specified", "the", "response", "includes", "only", "records", "beyond", "the", "marker", "up", "to", "the", "value", "specified", "by", "<", "code", ">", "max", "records", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "marker", "(", "marker", ")", ";", "return", "this", ";" ]
[ "iterate", "over", "all", "fields" ]
[ "return", "fields", "entry", "set", "(", ")", "iterator", "(", ")", ";" ]
[ "returns", "the", "wrapped", "{" ]
[ "return", "media", "crypto", ";" ]
[ "maximum", "length", "of", "an", "outbound", "data", "frame" ]
[ "return", "writer", "max", "data", "length", "(", ")", ";" ]
[ "count", "of", "frames", "sent", "or", "received" ]
[ "return", "frame", "count", ";" ]
[ "show", "a", "notification" ]
[ "application", "manager", "get", "application", "(", ")", "invoke", "later", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "notification", "notification", "=", "notification", "group", "create", "notification", "(", "title", ",", "message", ",", "type", ",", "null", ")", ";", "notifications", "bus", "notify", "(", "notification", ")", ";", "}", "}", ")", ";" ]
[ "show", "a", "error", "notification" ]
[ "show", "notification", "(", "message", ",", "notification", "type", "error", ")", ";" ]
[ "show", "a", "info", "notification" ]
[ "show", "notification", "(", "message", ",", "notification", "type", "information", ")", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "iam", "user", "to", "associate", "the", "ssh", "public", "key", "with", "<", "/", "p", ">", "<", "p", ">", "this", "parameter", "allows", "(", "per", "its", "<", "a", "href", "=", "http", ":", "/", "/", "wikipedia", "org", "/", "wiki", "/", "regex", ">", "regex", "pattern", "<", "/", "a", ">", ")", "a", "string", "of", "characters", "consisting", "of", "upper", "and", "lowercase", "alphanumeric", "characters", "with", "no", "spaces", "you", "can", "also", "include", "any", "of", "the", "following", "characters", ":", "+", "=", "@", "-", "<", "/", "p", ">" ]
[ "set", "user", "name", "(", "user", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "ssh", "public", "key", "the", "public", "key", "must", "be", "encoded", "in", "ssh", "-", "rsa", "format", "or", "pem", "format", "the", "miminum", "bit", "-", "length", "of", "the", "public", "key", "is", "2048", "bits", "for", "example", "you", "can", "generate", "a", "2048", "-", "bit", "key", "and", "the", "resulting", "pem", "file", "is", "1679", "bytes", "long", "<", "/", "p", ">", "<", "p", ">", "the", "<", "a", "href", "=", "http", ":", "/", "/", "wikipedia", "org", "/", "wiki", "/", "regex", ">", "regex", "pattern", "<", "/", "a", ">", "used", "to", "validate", "this", "parameter", "is", "a", "string", "of", "characters", "consisting", "of", "the", "following", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "any", "printable", "ascii", "character", "ranging", "from", "the", "space", "character", "(", ")", "through", "the", "end", "of", "the", "ascii", "character", "range", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "the", "printable", "characters", "in", "the", "basic", "latin", "and", "latin", "-", "1", "supplement", "character", "set", "(", "through", "\\", "u", "0", "0", "f", "f", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "the", "special", "characters", "tab", "(", ")", "line", "feed", "(", ")", "and", "carriage", "return", "(", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "s", "s", "h", "public", "key", "body", "(", "s", "s", "h", "public", "key", "body", ")", ";", "return", "this", ";" ]
[ "returns", "the", "index", "of", "the", "most", "recently", "added", "bootstrap", "method" ]
[ "return", "bootstrap", "method", "index", ";" ]
[ "instantiate", "the", "model", "attribute", "from", "a", "uri", "template", "variable", "or", "from", "a", "request", "parameter", "if", "the", "name", "matches", "to", "the", "model", "attribute", "name", "and", "if", "there", "is", "an", "appropriate", "type", "conversion", "strategy", "if", "none", "of", "these", "are", "true", "delegate", "back", "to", "the", "base", "class" ]
[ "string", "value", "=", "get", "request", "value", "for", "attribute", "(", "attribute", "name", ",", "request", ")", ";", "if", "(", "value", "!", "=", "null", ")", "{", "object", "attribute", "=", "create", "attribute", "from", "request", "value", "(", "value", ",", "attribute", "name", ",", "parameter", ",", "binder", "factory", ",", "request", ")", ";", "if", "(", "attribute", "!", "=", "null", ")", "{", "return", "attribute", ";", "}", "}", "return", "super", "create", "attribute", "(", "attribute", "name", ",", "parameter", ",", "binder", "factory", ",", "request", ")", ";" ]
[ "obtain", "a", "value", "from", "the", "request", "that", "may", "be", "used", "to", "instantiate", "the", "model", "attribute", "through", "type", "conversion", "from", "string", "to", "the", "target", "type", "<", "p", ">", "the", "default", "implementation", "looks", "for", "the", "attribute", "name", "to", "match", "a", "uri", "variable", "first", "and", "then", "a", "request", "parameter" ]
[ "map", "<", "string", ",", "string", ">", "variables", "=", "get", "uri", "template", "variables", "(", "request", ")", ";", "string", "variable", "value", "=", "variables", "get", "(", "attribute", "name", ")", ";", "if", "(", "string", "utils", "has", "text", "(", "variable", "value", ")", ")", "{", "return", "variable", "value", ";", "}", "string", "parameter", "value", "=", "request", "get", "parameter", "(", "attribute", "name", ")", ";", "if", "(", "string", "utils", "has", "text", "(", "parameter", "value", ")", ")", "{", "return", "parameter", "value", ";", "}", "return", "null", ";" ]
[ "create", "a", "model", "attribute", "from", "a", "string", "request", "value", "(", "e", "g", "uri", "template", "variable", "request", "parameter", ")", "using", "type", "conversion", "<", "p", ">", "the", "default", "implementation", "converts", "only", "if", "there", "a", "registered", "{" ]
[ "data", "binder", "binder", "=", "binder", "factory", "create", "binder", "(", "request", ",", "null", ",", "attribute", "name", ")", ";", "conversion", "service", "conversion", "service", "=", "binder", "get", "conversion", "service", "(", ")", ";", "if", "(", "conversion", "service", "!", "=", "null", ")", "{", "type", "descriptor", "source", "=", "type", "descriptor", "value", "of", "(", "string", "class", ")", ";", "type", "descriptor", "target", "=", "new", "type", "descriptor", "(", "parameter", ")", ";", "if", "(", "conversion", "service", "can", "convert", "(", "source", ",", "target", ")", ")", "{", "return", "binder", "convert", "if", "necessary", "(", "source", "value", ",", "parameter", "get", "parameter", "type", "(", ")", ",", "parameter", ")", ";", "}", "}", "return", "null", ";" ]
[ "merge", "the", "extra", "capabilities", "provided", "into", "this", "desired", "capabilities", "instance", "if", "capabilities", "with", "the", "same", "name", "exist", "in", "this", "instance", "they", "will", "be", "overridden", "by", "the", "values", "from", "the", "extra", "capabilities", "object" ]
[ "if", "(", "extra", "capabilities", "=", "=", "null", ")", "{", "return", "this", ";", "}", "extra", "capabilities", "as", "map", "(", ")", "for", "each", "(", "this", ":", ":", "set", "capability", ")", ";", "return", "this", ";" ]
[ "redis", "connection", "pool", "size", "<", "p", ">", "default", "is", "<", "code", ">", "64", "<", "/", "code", ">" ]
[ "this", "connection", "pool", "size", "=", "connection", "pool", "size", ";", "return", "this", ";" ]
[ "redis", "subscription", "-", "connection", "pool", "size", "limit", "<", "p", ">", "default", "is", "50" ]
[ "this", "subscription", "connection", "pool", "size", "=", "subscription", "connection", "pool", "size", ";", "return", "this", ";" ]
[ "set", "server", "address", "use", "follow", "format", "-", "-", "host", ":", "port" ]
[ "if", "(", "address", "!", "=", "null", ")", "{", "this", "address", "=", "u", "r", "i", "builder", "create", "(", "address", ")", ";", "}", "return", "this", ";" ]
[ "interval", "in", "milliseconds", "to", "check", "the", "endpoint", "s", "dns", "<", "p", ">", "applications", "must", "ensure", "the", "jvm", "dns", "cache", "ttl", "is", "low", "enough", "to", "support", "this", "<", "p", ">", "set", "<", "code", ">", "-", "1", "<", "/", "code", ">", "to", "disable", "<", "p", ">", "default", "is", "<", "code", ">", "5000", "<", "/", "code", ">" ]
[ "this", "dns", "monitoring", "interval", "=", "dns", "monitoring", "interval", ";", "return", "this", ";" ]
[ "minimum", "idle", "subscription", "connection", "amount", "<", "p", ">", "default", "is", "1" ]
[ "this", "subscription", "connection", "minimum", "idle", "size", "=", "subscription", "connection", "minimum", "idle", "size", ";", "return", "this", ";" ]
[ "minimum", "idle", "redis", "connection", "amount", "<", "p", ">", "default", "is", "<", "code", ">", "10", "<", "/", "code", ">" ]
[ "this", "connection", "minimum", "idle", "size", "=", "connection", "minimum", "idle", "size", ";", "return", "this", ";" ]
[ "database", "index", "used", "for", "redis", "connection", "default", "is", "<", "code", ">", "0", "<", "/", "code", ">" ]
[ "this", "database", "=", "database", ";", "return", "this", ";" ]
[ "this", "method", "is", "needed", "only", "for", "unit", "tests", "and", "should", "not", "be", "available", "in", "public", "scope" ]
[ "this", "scavenger", "threshold", "=", "threshold", ";" ]
[ "this", "method", "is", "used", "only", "for", "vocab", "cache", "compatibility", "purposes" ]
[ "list", "<", "byte", ">", "result", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "x", "=", "0", ";", "x", "<", "code", "len", ";", "x", "+", "+", ")", "{", "result", "add", "(", "array", "[", "x", "]", ")", ";", "}", "return", "result", ";" ]
[ "this", "method", "is", "used", "only", "for", "vocab", "cache", "compatibility", "purposes" ]
[ "list", "<", "integer", ">", "result", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "x", "=", "0", ";", "x", "<", "code", "len", ";", "x", "+", "+", ")", "{", "result", "add", "(", "array", "[", "x", "]", ")", ";", "}", "return", "result", ";" ]
[ "checks", "vocabulary", "for", "the", "word", "existence" ]
[ "return", "vocabulary", "contains", "key", "(", "word", ")", ";" ]
[ "this", "methods", "reset", "counters", "for", "all", "words", "in", "vocabulary" ]
[ "for", "(", "vocabulary", "word", "word", ":", "get", "vocabulary", "(", ")", ")", "{", "word", "set", "huffman", "node", "(", "null", ")", ";", "word", "set", "frequency", "shift", "(", "null", ")", ";", "word", "set", "count", "(", "0", ")", ";", "}" ]
[ "the", "same", "as", "truncate", "vocabulary", "(", "this", "min", "word", "frequency", ")" ]
[ "truncate", "vocabulary", "(", "min", "word", "frequency", ")", ";" ]
[ "this", "method", "returns", "index", "of", "word", "in", "sorted", "list" ]
[ "if", "(", "vocabulary", "contains", "key", "(", "word", ")", ")", "{", "return", "vocabulary", "get", "(", "word", ")", "get", "huffman", "node", "(", ")", "get", "idx", "(", ")", ";", "}", "else", "return", "-", "1", ";" ]
[ "returns", "sorted", "list", "of", "words", "in", "vocabulary", "sort", "is", "descending" ]
[ "list", "<", "vocabulary", "word", ">", "vocab", "=", "new", "array", "list", "<", ">", "(", "vocabulary", "values", "(", ")", ")", ";", "collections", "sort", "(", "vocab", ",", "new", "comparator", "<", "vocabulary", "word", ">", "(", ")", "{", "@", "override", "public", "int", "compare", "(", "vocabulary", "word", "o", "1", ",", "vocabulary", "word", "o", "2", ")", "{", "return", "integer", "compare", "(", "o", "2", "get", "count", "(", ")", ",", "o", "1", "get", "count", "(", ")", ")", ";", "}", "}", ")", ";", "return", "vocab", ";" ]
[ "with", "this", "argument", "set", "to", "true", "you", "ll", "have", "your", "vocab", "scanned", "for", "low", "-", "freq", "words", "periodically" ]
[ "this", "huge", "model", "expected", "=", "really", "expected", ";", "return", "this", ";" ]
[ "activation", "threshold", "defines", "how", "ofter", "scavenger", "will", "be", "executed", "to", "throw", "away", "low", "-", "frequency", "keywords", "good", "values", "to", "start", "mostly", "depends", "on", "your", "workstation", "something", "like", "1000000", "looks", "pretty", "nice", "to", "start", "with", "too", "low", "values", "can", "lead", "to", "undesired", "removal", "of", "words", "from", "vocab" ]
[ "this", "scavenger", "threshold", "=", "threshold", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sha1", "hash", "of", "the", "document", "which", "you", "can", "use", "for", "verification", "<", "/", "p", ">" ]
[ "this", "sha", "1", "=", "sha", "1", ";" ]
[ "<", "p", ">", "the", "sha1", "hash", "of", "the", "document", "which", "you", "can", "use", "for", "verification", "<", "/", "p", ">" ]
[ "return", "this", "sha", "1", ";" ]
[ "<", "p", ">", "the", "sha1", "hash", "of", "the", "document", "which", "you", "can", "use", "for", "verification", "<", "/", "p", ">" ]
[ "set", "sha", "1", "(", "sha", "1", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sha", "2", "5", "6", "or", "sha", "1", "hash", "created", "by", "the", "system", "when", "the", "document", "was", "created", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "hash", "(", "hash", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "sha", "2", "5", "6", "or", "sha", "1", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "this", "hash", "type", "=", "hash", "type", ";" ]
[ "<", "p", ">", "sha", "2", "5", "6", "or", "sha", "1", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "return", "this", "hash", "type", ";" ]
[ "<", "p", ">", "sha", "2", "5", "6", "or", "sha", "1", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "hash", "type", "(", "hash", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "sha", "2", "5", "6", "or", "sha", "1", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "with", "hash", "type", "(", "hash", "type", ")", ";" ]
[ "<", "p", ">", "sha", "2", "5", "6", "or", "sha", "1", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "sha", "1", "hashes", "have", "been", "deprecated", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "this", "hash", "type", "=", "hash", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "aws", "user", "account", "that", "created", "the", "document", "<", "/", "p", ">" ]
[ "set", "owner", "(", "owner", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "date", "when", "the", "document", "was", "created", "<", "/", "p", ">" ]
[ "set", "created", "date", "(", "created", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "set", "status", "(", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "with", "status", "(", "status", ")", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "this", "status", "=", "status", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "document", "version", "<", "/", "p", ">" ]
[ "set", "document", "version", "(", "document", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "document", "<", "/", "p", ">" ]
[ "set", "description", "(", "description", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "parameters", "for", "a", "document", "<", "/", "p", ">" ]
[ "if", "(", "parameters", "=", "=", "null", ")", "{", "parameters", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "document", "parameter", ">", "(", ")", ";", "}", "return", "parameters", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "parameters", "for", "a", "document", "<", "/", "p", ">" ]
[ "if", "(", "parameters", "=", "=", "null", ")", "{", "this", "parameters", "=", "null", ";", "return", ";", "}", "this", "parameters", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "document", "parameter", ">", "(", "parameters", ")", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "parameters", "for", "a", "document", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "parameters", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "parameters", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "parameters", "=", "=", "null", ")", "{", "set", "parameters", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "document", "parameter", ">", "(", "parameters", "length", ")", ")", ";", "}", "for", "(", "document", "parameter", "ele", ":", "parameters", ")", "{", "this", "parameters", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "parameters", "for", "a", "document", "<", "/", "p", ">" ]
[ "set", "parameters", "(", "parameters", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "os", "platforms", "compatible", "with", "this", "systems", "manager", "document", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "platform", "types", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "platform", "types", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "platform", "types", "=", "=", "null", ")", "{", "set", "platform", "types", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "platform", "types", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "platform", "types", ")", "{", "this", "platform", "types", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "os", "platforms", "compatible", "with", "this", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "set", "platform", "types", "(", "platform", "types", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "os", "platforms", "compatible", "with", "this", "systems", "manager", "document", "<", "/", "p", ">" ]
[ "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "platform", "types", "copy", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "platform", "types", "length", ")", ";", "for", "(", "platform", "type", "value", ":", "platform", "types", ")", "{", "platform", "types", "copy", "add", "(", "value", "to", "string", "(", ")", ")", ";", "}", "if", "(", "get", "platform", "types", "(", ")", "=", "=", "null", ")", "{", "set", "platform", "types", "(", "platform", "types", "copy", ")", ";", "}", "else", "{", "get", "platform", "types", "(", ")", "add", "all", "(", "platform", "types", "copy", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "document", "<", "/", "p", ">" ]
[ "set", "document", "type", "(", "document", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "document", "<", "/", "p", ">" ]
[ "this", "document", "type", "=", "document", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "schema", "version", "<", "/", "p", ">" ]
[ "set", "schema", "version", "(", "schema", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "latest", "version", "of", "the", "document", "<", "/", "p", ">" ]
[ "set", "latest", "version", "(", "latest", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "default", "version", "<", "/", "p", ">" ]
[ "set", "default", "version", "(", "default", "version", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "document", "format", "either", "json", "or", "yaml", "<", "/", "p", ">" ]
[ "set", "document", "format", "(", "document", "format", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "document", "format", "either", "json", "or", "yaml", "<", "/", "p", ">" ]
[ "this", "document", "format", "=", "document", "format", "to", "string", "(", ")", ";", "return", "this", ";" ]