docstring_tokens
list
code_tokens
list
[ "returns", "a", "testnet", "params", "modified", "to", "allow", "any", "difficulty", "target" ]
[ "return", "unit", "test", "params", "get", "(", ")", ";" ]
[ "returns", "a", "standard", "regression", "test", "params", "(", "similar", "to", "unit", "tests", ")" ]
[ "return", "reg", "test", "params", "get", "(", ")", ";" ]
[ "returns", "the", "network", "parameters", "for", "the", "given", "string", "id", "or", "null", "if", "not", "recognized" ]
[ "if", "(", "id", "equals", "(", "id", "mainnet", ")", ")", "{", "return", "main", "net", "params", "get", "(", ")", ";", "}", "else", "if", "(", "id", "equals", "(", "id", "testnet", ")", ")", "{", "return", "test", "net", "3", "params", "get", "(", ")", ";", "}", "else", "if", "(", "id", "equals", "(", "id", "unittestnet", ")", ")", "{", "return", "unit", "test", "params", "get", "(", ")", ";", "}", "else", "if", "(", "id", "equals", "(", "id", "regtest", ")", ")", "{", "return", "reg", "test", "params", "get", "(", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "returns", "the", "network", "parameters", "for", "the", "given", "string", "payment", "protocol", "i", "d", "or", "null", "if", "not", "recognized" ]
[ "if", "(", "pmt", "protocol", "id", "equals", "(", "payment", "protocol", "id", "mainnet", ")", ")", "{", "return", "main", "net", "params", "get", "(", ")", ";", "}", "else", "if", "(", "pmt", "protocol", "id", "equals", "(", "payment", "protocol", "id", "testnet", ")", ")", "{", "return", "test", "net", "3", "params", "get", "(", ")", ";", "}", "else", "if", "(", "pmt", "protocol", "id", "equals", "(", "payment", "protocol", "id", "unit", "tests", ")", ")", "{", "return", "unit", "test", "params", "get", "(", ")", ";", "}", "else", "if", "(", "pmt", "protocol", "id", "equals", "(", "payment", "protocol", "id", "regtest", ")", ")", "{", "return", "reg", "test", "params", "get", "(", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "throws", "an", "exception", "if", "the", "block", "s", "difficulty", "is", "not", "correct" ]
[ "public", "abstract", "void", "check", "difficulty", "transitions", "(", "stored", "block", "stored", "prev", ",", "block", "next", ",", "final", "block", "store", "block", "store", ")", "throws", "verification", "exception", ",", "block", "store", "exception", ";" ]
[ "returns", "true", "if", "the", "block", "height", "is", "either", "not", "a", "checkpoint", "or", "is", "a", "checkpoint", "and", "the", "hash", "matches" ]
[ "sha", "2", "5", "6", "hash", "checkpoint", "hash", "=", "checkpoints", "get", "(", "height", ")", ";", "return", "checkpoint", "hash", "=", "=", "null", "|", "|", "checkpoint", "hash", "equals", "(", "hash", ")", ";" ]
[ "returns", "true", "if", "the", "given", "height", "has", "a", "recorded", "checkpoint" ]
[ "sha", "2", "5", "6", "hash", "checkpoint", "hash", "=", "checkpoints", "get", "(", "height", ")", ";", "return", "checkpoint", "hash", "!", "=", "null", ";" ]
[ "returns", "dns", "names", "that", "when", "resolved", "give", "ip", "addresses", "of", "active", "peers" ]
[ "return", "dns", "seeds", ";" ]
[ "returns", "ip", "address", "of", "active", "peers" ]
[ "return", "addr", "seeds", ";" ]
[ "returns", "discovery", "objects", "for", "seeds", "implementing", "the", "cartographer", "protocol", "see", "{" ]
[ "return", "http", "seeds", ";" ]
[ "<", "p", ">", "genesis", "block", "for", "this", "chain", "<", "/", "p", ">" ]
[ "return", "genesis", "block", ";" ]
[ "the", "header", "bytes", "that", "identify", "the", "start", "of", "a", "packet", "on", "this", "network" ]
[ "return", "packet", "magic", ";" ]
[ "first", "byte", "of", "a", "base", "5", "8", "encoded", "address", "see", "{" ]
[ "return", "address", "header", ";" ]
[ "first", "byte", "of", "a", "base", "5", "8", "encoded", "p2sh", "address", "p2sh", "addresses", "are", "defined", "as", "part", "of", "bip0013" ]
[ "return", "p", "2sh", "header", ";" ]
[ "first", "byte", "of", "a", "base", "5", "8", "encoded", "dumped", "private", "key", "see", "{" ]
[ "return", "dumped", "private", "key", "header", ";" ]
[ "human", "readable", "part", "of", "bech", "3", "2", "encoded", "segwit", "address" ]
[ "return", "segwit", "address", "hrp", ";" ]
[ "how", "much", "time", "in", "seconds", "is", "supposed", "to", "pass", "between", "interval", "blocks", "if", "the", "actual", "elapsed", "time", "is", "significantly", "different", "from", "this", "value", "the", "network", "difficulty", "formula", "will", "produce", "a", "different", "value", "both", "test", "and", "main", "bitcoin", "networks", "use", "2", "weeks", "(", "1209600", "seconds", ")" ]
[ "return", "target", "timespan", ";" ]
[ "if", "we", "are", "running", "in", "testnet", "-", "in", "-", "a", "-", "box", "mode", "we", "allow", "connections", "to", "nodes", "with", "0", "non", "-", "genesis", "blocks" ]
[ "return", "true", ";" ]
[ "maximum", "target", "represents", "the", "easiest", "allowable", "proof", "of", "work" ]
[ "return", "max", "target", ";" ]
[ "the", "key", "used", "to", "sign", "{" ]
[ "return", "alert", "signing", "key", ";" ]
[ "returns", "the", "4", "byte", "header", "for", "bip32", "(", "hd", ")", "wallet", "-", "public", "key", "part" ]
[ "return", "bip", "3", "2", "header", "pub", ";" ]
[ "returns", "the", "4", "byte", "header", "for", "bip32", "(", "hd", ")", "wallet", "-", "private", "key", "part" ]
[ "return", "bip", "3", "2", "header", "priv", ";" ]
[ "returns", "the", "number", "of", "coins", "that", "will", "be", "produced", "in", "total", "on", "this", "network", "where", "not", "applicable", "a", "very", "large", "number", "of", "coins", "is", "returned", "instead", "(", "i", "e", "the", "main", "coin", "issue", "for", "dogecoin", ")" ]
[ "public", "abstract", "coin", "get", "max", "money", "(", ")", ";" ]
[ "any", "standard", "(", "ie", "p2pkh", ")", "output", "smaller", "than", "this", "value", "will", "most", "likely", "be", "rejected", "by", "the", "network" ]
[ "public", "abstract", "coin", "get", "min", "non", "dust", "output", "(", ")", ";" ]
[ "the", "monetary", "object", "for", "this", "currency" ]
[ "public", "abstract", "monetary", "format", "get", "monetary", "format", "(", ")", ";" ]
[ "scheme", "part", "for", "u", "r", "is", "for", "example", "bitcoin" ]
[ "public", "abstract", "string", "get", "uri", "scheme", "(", ")", ";" ]
[ "returns", "whether", "this", "network", "has", "a", "maximum", "number", "of", "coins", "(", "finite", "supply", ")", "or", "not", "always", "returns", "true", "for", "bitcoin", "but", "exists", "to", "be", "overridden", "for", "other", "networks" ]
[ "public", "abstract", "boolean", "has", "max", "money", "(", ")", ";" ]
[ "construct", "and", "return", "a", "custom", "serializer" ]
[ "public", "abstract", "bitcoin", "serializer", "get", "serializer", "(", "boolean", "parse", "retain", ")", ";" ]
[ "the", "number", "of", "blocks", "in", "the", "last", "{" ]
[ "return", "majority", "enforce", "block", "upgrade", ";" ]
[ "the", "number", "of", "blocks", "in", "the", "last", "{" ]
[ "return", "majority", "reject", "block", "outdated", ";" ]
[ "the", "sampling", "window", "from", "which", "the", "version", "numbers", "of", "blocks", "are", "taken", "in", "order", "to", "determine", "if", "a", "new", "block", "version", "is", "now", "the", "majority" ]
[ "return", "majority", "window", ";" ]
[ "the", "flags", "indicating", "which", "block", "validation", "tests", "should", "be", "applied", "to", "the", "given", "block", "enables", "support", "for", "alternative", "blockchains", "which", "enable", "tests", "based", "on", "different", "criteria" ]
[ "final", "enum", "set", "<", "block", "verify", "flag", ">", "flags", "=", "enum", "set", "none", "of", "(", "block", "verify", "flag", "class", ")", ";", "if", "(", "block", "is", "b", "i", "p", "3", "4", "(", ")", ")", "{", "final", "integer", "count", "=", "tally", "get", "count", "at", "or", "above", "(", "block", "block", "version", "bip34", ")", ";", "if", "(", "null", "!", "=", "count", "&", "&", "count", ">", "=", "get", "majority", "enforce", "block", "upgrade", "(", ")", ")", "{", "flags", "add", "(", "block", "verify", "flag", "height", "in", "coinbase", ")", ";", "}", "}", "return", "flags", ";" ]
[ "prunes", "metrics", "extracted", "from", "dataset", "based", "on", "active", "-", "state", "and", "excluded", "metrics", "list" ]
[ "list", "<", "metric", "config", "d", "t", "o", ">", "output", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "metric", "config", "d", "t", "o", "metric", ":", "metrics", ")", "{", "if", "(", "!", "metric", "is", "active", "(", ")", ")", "{", "continue", ";", "}", "if", "(", "this", "exclude", "metrics", "contains", "(", "metric", "get", "name", "(", ")", ")", ")", "{", "continue", ";", "}", "output", "add", "(", "metric", ")", ";", "}", "return", "output", ";" ]
[ "create", "a", "learning", "instance", "for", "a", "single", "stroke", "gesture" ]
[ "float", "[", "]", "pts", ";", "instance", "instance", ";", "if", "(", "sequence", "type", "=", "=", "gesture", "store", "sequence", "sensitive", ")", "{", "pts", "=", "temporal", "sampler", "(", "orientation", "type", ",", "gesture", ")", ";", "instance", "=", "new", "instance", "(", "gesture", "get", "i", "d", "(", ")", ",", "pts", ",", "label", ")", ";", "instance", "normalize", "(", ")", ";", "}", "else", "{", "pts", "=", "spatial", "sampler", "(", "gesture", ")", ";", "instance", "=", "new", "instance", "(", "gesture", "get", "i", "d", "(", ")", ",", "pts", ",", "label", ")", ";", "}", "return", "instance", ";" ]
[ "whether", "this", "listener", "has", "already", "invalidated", "to", "receive", "callbacks" ]
[ "return", "false", ";" ]
[ "enqueue", "and", "pending", "waiting", "for", "{", "@", "link", "#", "started", "(", "base", "download", "task", ")", "}" ]
[ "protected", "abstract", "void", "pending", "(", "final", "base", "download", "task", "task", ",", "final", "int", "so", "far", "bytes", ",", "final", "int", "total", "bytes", ")", ";" ]
[ "finish", "pending", "and", "start", "the", "download", "runnable" ]
[]
[ "already", "connected", "to", "the", "server", "and", "received", "the", "http", "-", "response" ]
[]
[ "fetching", "datum", "from", "network", "and", "writing", "to", "the", "local", "disk" ]
[ "protected", "abstract", "void", "progress", "(", "final", "base", "download", "task", "task", ",", "final", "int", "so", "far", "bytes", ",", "final", "int", "total", "bytes", ")", ";" ]
[ "unlike", "other", "methods", "in", "{", "@", "link", "#", "file", "download", "listener", "}", "block", "complete", "is", "executed", "in", "other", "thread", "than", "main", "as", "default", "when", "you", "receive", "this", "execution", "it", "means", "has", "already", "completed", "downloading", "but", "just", "block", "the", "execution", "of", "{", "@", "link", "#", "completed", "(", "base", "download", "task", ")", "}", "therefore", "you", "can", "unzip", "or", "do", "some", "ending", "operation", "before", "{", "@", "link", "#", "completed", "(", "base", "download", "task", ")", "}", "in", "other", "threads" ]
[]
[ "occur", "a", "exception", "and", "has", "chance", "{", "@", "link", "base", "download", "task", "#", "set", "auto", "retry", "times", "(", "int", ")", "}", "to", "retry", "and", "start", "retry" ]
[]
[ "achieve", "complete", "ceremony", "<", "p", "/", ">", "complete", "downloading" ]
[ "protected", "abstract", "void", "completed", "(", "final", "base", "download", "task", "task", ")", ";" ]
[ "task", "is", "paused", "the", "vast", "majority", "of", "cases", "is", "invoking", "the", "{", "@", "link", "base", "download", "task", "#", "pause", "(", ")", "}", "manually" ]
[ "protected", "abstract", "void", "paused", "(", "final", "base", "download", "task", "task", ",", "final", "int", "so", "far", "bytes", ",", "final", "int", "total", "bytes", ")", ";" ]
[ "occur", "a", "exception", "but", "don", "t", "has", "any", "chance", "to", "retry" ]
[ "protected", "abstract", "void", "error", "(", "final", "base", "download", "task", "task", ",", "final", "throwable", "e", ")", ";" ]
[ "there", "has", "already", "had", "some", "same", "tasks", "(", "same", "-", "url", "&", "same", "-", "save", "path", ")", "in", "pending", "-", "queue", "or", "is", "running" ]
[ "protected", "abstract", "void", "warn", "(", "final", "base", "download", "task", "task", ")", ";" ]
[ "{" ]
[ "out", "write", "long", "(", "since", ")", ";" ]
[ "{" ]
[ "since", "=", "in", "read", "long", "(", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "visor", "query", "detail", "metrics", "collector", "task", "arg", "class", ",", "this", ")", ";" ]
[ "creates", "a", "uima", "sentence", "iterator", "with", "the", "given", "path" ]
[ "return", "new", "uima", "sentence", "iterator", "(", "path", ",", "new", "uima", "resource", "(", "analysis", "engine", "factory", "create", "engine", "(", "analysis", "engine", "factory", "create", "engine", "description", "(", "tokenizer", "annotator", "get", "description", "(", ")", ",", "sentence", "annotator", "get", "description", "(", ")", ")", ")", ")", ")", ";" ]
[ "return", "a", "sentence", "segmenter" ]
[ "try", "{", "if", "(", "default", "analysis", "engine", "=", "=", "null", ")", "default", "analysis", "engine", "=", "analysis", "engine", "factory", "create", "engine", "(", "analysis", "engine", "factory", "create", "engine", "description", "(", "sentence", "annotator", "get", "description", "(", ")", ")", ")", ";", "return", "default", "analysis", "engine", ";", "}", "catch", "(", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "adds", "a", "remote", "animation", "to", "be", "run", "for", "all", "activity", "starts", "originating", "from", "a", "certain", "package" ]
[ "m", "entries", "put", "(", "package", "name", ",", "new", "entry", "(", "package", "name", ",", "adapter", ")", ")", ";" ]
[ "overrides", "the", "activity", "options", "with", "a", "registered", "remote", "animation", "for", "a", "certain", "calling", "package", "if", "such", "a", "remote", "animation", "is", "registered" ]
[ "final", "entry", "entry", "=", "m", "entries", "get", "(", "calling", "package", ")", ";", "if", "(", "entry", "=", "=", "null", ")", "{", "return", "options", ";", "}", "if", "(", "options", "=", "=", "null", ")", "{", "options", "=", "activity", "options", "make", "remote", "animation", "(", "entry", "adapter", ")", ";", "}", "else", "{", "options", "set", "remote", "animation", "adapter", "(", "entry", "adapter", ")", ";", "}", "m", "entries", "remove", "(", "calling", "package", ")", ";", "return", "options", ";" ]
[ "creates", "a", "new", "builder", "with", "the", "given", "port" ]
[ "protected", "abstract", "server", "builder", "<", "?", ">", "builder", "for", "port", "(", "int", "port", ")", ";" ]
[ "<", "editor", "-", "fold", "defaultstate", "=", "collapsed", "desc", "=", "generated", "code", ">", "/", "/", "gen", "-", "begin", ":", "init", "components" ]
[ "scroll", "=", "new", "javax", "swing", "j", "scroll", "pane", "(", ")", ";", "javax", "swing", "group", "layout", "layout", "=", "new", "javax", "swing", "group", "layout", "(", "this", ")", ";", "this", "set", "layout", "(", "layout", ")", ";", "layout", "set", "horizontal", "group", "(", "layout", "create", "parallel", "group", "(", "javax", "swing", "group", "layout", "alignment", "leading", ")", "add", "component", "(", "scroll", ",", "javax", "swing", "group", "layout", "default", "size", ",", "290", ",", "short", "max", "value", ")", ")", ";", "layout", "set", "vertical", "group", "(", "layout", "create", "parallel", "group", "(", "javax", "swing", "group", "layout", "alignment", "leading", ")", "add", "component", "(", "scroll", ",", "javax", "swing", "group", "layout", "default", "size", ",", "320", ",", "short", "max", "value", ")", ")", ";" ]
[ "adds", "a", "new", "media", "action", "listener" ]
[ "if", "(", "!", "m", "listeners", "contains", "(", "listener", ")", ")", "{", "m", "listeners", "add", "(", "listener", ")", ";", "listener", "on", "media", "actions", "changed", "(", "get", "media", "actions", "(", ")", ")", ";", "}" ]
[ "removes", "a", "media", "action", "listener" ]
[ "listener", "on", "media", "actions", "changed", "(", "collections", "empty", "list", ")", ";", "m", "listeners", "remove", "(", "listener", ")", ";" ]
[ "creates", "the", "standard", "media", "buttons", "that", "we", "may", "show" ]
[ "string", "pause", "description", "=", "m", "context", "get", "string", "(", "r", "string", "pip", "pause", ")", ";", "m", "pause", "action", "=", "new", "remote", "action", "(", "icon", "create", "with", "resource", "(", "m", "context", ",", "r", "drawable", "ic", "pause", "white", ")", ",", "pause", "description", ",", "pause", "description", ",", "pending", "intent", "get", "broadcast", "(", "m", "context", ",", "0", ",", "new", "intent", "(", "action", "pause", ")", ",", "flag", "update", "current", ")", ")", ";", "string", "play", "description", "=", "m", "context", "get", "string", "(", "r", "string", "pip", "play", ")", ";", "m", "play", "action", "=", "new", "remote", "action", "(", "icon", "create", "with", "resource", "(", "m", "context", ",", "r", "drawable", "ic", "play", "arrow", "white", ")", ",", "play", "description", ",", "play", "description", ",", "pending", "intent", "get", "broadcast", "(", "m", "context", ",", "0", ",", "new", "intent", "(", "action", "play", ")", ",", "flag", "update", "current", ")", ")", ";", "string", "next", "description", "=", "m", "context", "get", "string", "(", "r", "string", "pip", "skip", "to", "next", ")", ";", "m", "next", "action", "=", "new", "remote", "action", "(", "icon", "create", "with", "resource", "(", "m", "context", ",", "r", "drawable", "ic", "skip", "next", "white", ")", ",", "next", "description", ",", "next", "description", ",", "pending", "intent", "get", "broadcast", "(", "m", "context", ",", "0", ",", "new", "intent", "(", "action", "next", ")", ",", "flag", "update", "current", ")", ")", ";", "string", "prev", "description", "=", "m", "context", "get", "string", "(", "r", "string", "pip", "skip", "to", "prev", ")", ";", "m", "prev", "action", "=", "new", "remote", "action", "(", "icon", "create", "with", "resource", "(", "m", "context", ",", "r", "drawable", "ic", "skip", "previous", "white", ")", ",", "prev", "description", ",", "prev", "description", ",", "pending", "intent", "get", "broadcast", "(", "m", "context", ",", "0", ",", "new", "intent", "(", "action", "prev", ")", ",", "flag", "update", "current", ")", ")", ";" ]
[ "re", "-", "registers", "the", "session", "listener", "for", "the", "current", "user" ]
[ "m", "media", "session", "manager", "remove", "on", "active", "sessions", "changed", "listener", "(", "m", "sessions", "changed", "listener", ")", ";", "m", "media", "session", "manager", "add", "on", "active", "sessions", "changed", "listener", "(", "m", "sessions", "changed", "listener", ",", "null", ",", "user", "handle", "user", "current", ",", "null", ")", ";" ]
[ "tries", "to", "find", "and", "set", "the", "active", "media", "controller", "for", "the", "top", "pi", "p", "activity" ]
[ "if", "(", "controllers", "!", "=", "null", ")", "{", "final", "component", "name", "top", "activity", "=", "pip", "utils", "get", "top", "pinned", "activity", "(", "m", "context", ",", "m", "activity", "manager", ")", "first", ";", "if", "(", "top", "activity", "!", "=", "null", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "controllers", "size", "(", ")", ";", "i", "+", "+", ")", "{", "final", "media", "controller", "controller", "=", "controllers", "get", "(", "i", ")", ";", "if", "(", "controller", "get", "package", "name", "(", ")", "equals", "(", "top", "activity", "get", "package", "name", "(", ")", ")", ")", "{", "set", "active", "media", "controller", "(", "controller", ")", ";", "return", ";", "}", "}", "}", "}", "set", "active", "media", "controller", "(", "null", ")", ";" ]
[ "notifies", "all", "listeners", "that", "the", "actions", "have", "changed" ]
[ "if", "(", "!", "m", "listeners", "is", "empty", "(", ")", ")", "{", "list", "<", "remote", "action", ">", "actions", "=", "get", "media", "actions", "(", ")", ";", "m", "listeners", "for", "each", "(", "l", "-", ">", "l", "on", "media", "actions", "changed", "(", "actions", ")", ")", ";", "}" ]
[ "return", "the", "path", "of", "/", "system" ]
[ "return", "environment", "get", "root", "directory", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "data" ]
[ "return", "environment", "get", "data", "directory", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "cache" ]
[ "return", "environment", "get", "download", "cache", "directory", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "data", "/", "data", "/", "package" ]
[ "if", "(", "build", "version", "sdk", "int", "<", "build", "version", "codes", "n", ")", "{", "return", "utils", "get", "app", "(", ")", "get", "application", "info", "(", ")", "data", "dir", ";", "}", "return", "utils", "get", "app", "(", ")", "get", "data", "dir", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "data", "/", "data", "/", "package", "/", "cache" ]
[ "return", "utils", "get", "app", "(", ")", "get", "cache", "dir", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "data", "/", "data", "/", "package", "/", "databases", "/", "name" ]
[ "return", "utils", "get", "app", "(", ")", "get", "database", "path", "(", "name", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "data", "/", "data", "/", "package", "/", "files" ]
[ "return", "utils", "get", "app", "(", ")", "get", "files", "dir", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "directory", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "music" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "music", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "podcasts" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "podcasts", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "ringtones" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "ringtones", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "alarms" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "alarms", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "notifications" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "notifications", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "pictures" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "pictures", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "movies" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "movies", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "download" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "downloads", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "dcim" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "environment", "get", "external", "storage", "public", "directory", "(", "environment", "directory", "dcim", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "return", "the", "path", "of", "/", "storage", "/", "emulated", "/", "0", "/", "android", "/", "obb", "/", "package" ]
[ "if", "(", "is", "external", "storage", "disable", "(", ")", ")", "return", "\"", "\"", ";", "return", "utils", "get", "app", "(", ")", "get", "obb", "dir", "(", ")", "get", "absolute", "path", "(", ")", ";" ]
[ "appends", "{" ]
[ "builder", "append", "(", "get", "redacted", "(", "value", ")", ")", ";" ]
[ "convers", "a", "collaction", "of", "{" ]
[ "if", "(", "collection", "=", "=", "null", ")", "{", "return", "new", "autofill", "id", "[", "0", "]", ";", "}", "final", "autofill", "id", "[", "]", "array", "=", "new", "autofill", "id", "[", "collection", "size", "(", ")", "]", ";", "collection", "to", "array", "(", "array", ")", ";", "return", "array", ";" ]
[ "handle", "last", "calculation", "result" ]
[ "assert", "res", "!", "=", "null", ";", "assert", "res", "size", "(", ")", "=", "=", "1", ";", "return", "res", "iterator", "(", ")", "next", "(", ")", ";" ]
[ "the", "caller", "o", "this", "class", "is", "tasked", "to", "call", "this", "method", "every", "so", "often", "if", "the", "servers", "participating", "in", "the", "load", "balancer", "changes" ]
[ "for", "(", "server", "s", ":", "servers", ")", "{", "add", "server", "(", "s", ")", ";", "}" ]
[ "method", "that", "updates", "the", "internal", "stats", "of", "response", "times", "maintained", "on", "a", "per", "server", "basis" ]
[ "server", "stats", "ss", "=", "get", "server", "stats", "(", "server", ")", ";", "ss", "note", "response", "time", "(", "msecs", ")", ";" ]
[ "returns", "map", "of", "stats", "for", "all", "servers" ]
[ "return", "server", "stats", "cache", "as", "map", "(", ")", ";" ]
[ "returns", "the", "set", "of", "neverlink", "libraries", "in", "the", "transitive", "closure" ]
[ "public", "abstract", "nested", "set", "<", "artifact", ">", "get", "transitive", "never", "link", "libraries", "(", ")", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "cfg", "set", "cache", "configuration", "(", "new", "cache", "configuration", "(", "default", "cache", "name", ")", ")", ";", "return", "cfg", ";" ]
[ "get", "{" ]
[ "return", "new", "collection", "configuration", "(", ")", "set", "backups", "(", "atomic", "configuration", "dflt", "backups", ")", ";" ]
[ "called", "to", "process", "a", "failure", "in", "http", "/", "2", "processing", "it", "should", "notify", "the", "transport", "to", "cancel", "the", "stream", "and", "call", "{" ]
[ "protected", "abstract", "void", "http", "2", "processing", "failed", "(", "status", "status", ",", "boolean", "stop", "delivery", ",", "metadata", "trailers", ")", ";" ]
[ "strip", "http", "transport", "implementation", "details", "so", "they", "don", "t", "leak", "via", "metadata", "into", "the", "application", "layer" ]
[ "metadata", "discard", "all", "(", "http2", "status", ")", ";", "metadata", "discard", "all", "(", "internal", "status", "code", "key", ")", ";", "metadata", "discard", "all", "(", "internal", "status", "message", "key", ")", ";" ]
[ "<", "p", ">", "the", "identifier", "of", "the", "db", "instance", "that", "will", "act", "as", "the", "source", "for", "the", "read", "replica", "each", "db", "instance", "can", "have", "up", "to", "five", "read", "replicas", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "must", "be", "the", "identifier", "of", "an", "existing", "my", "s", "q", "l", "maria", "d", "b", "or", "postgre", "s", "q", "l", "db", "instance", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "specify", "a", "db", "instance", "that", "is", "a", "my", "s", "q", "l", "read", "replica", "only", "if", "the", "source", "is", "running", "my", "s", "q", "l", "5", "6", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "specify", "a", "db", "instance", "that", "is", "a", "postgre", "s", "q", "l", "db", "instance", "only", "if", "the", "source", "is", "running", "postgre", "s", "q", "l", "9", "3", "5", "or", "later", "(", "9", "4", "7", "and", "higher", "for", "cross", "-", "region", "replication", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "the", "specified", "db", "instance", "must", "have", "automatic", "backups", "enabled", "its", "backup", "retention", "period", "must", "be", "greater", "than", "0", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "source", "db", "instance", "is", "in", "the", "same", "aws", "region", "as", "the", "read", "replica", "specify", "a", "valid", "db", "instance", "identifier", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "source", "db", "instance", "is", "in", "a", "different", "aws", "region", "than", "the", "read", "replica", "specify", "a", "valid", "db", "instance", "arn", "for", "more", "information", "go", "to", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "amazon", "r", "d", "s", "/", "latest", "/", "user", "guide", "/", "user", "tagging", "arn", "html", "#", "user", "tagging", "arn", "constructing", ">", "constructing", "an", "arn", "for", "amazon", "rds", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "rds", "user", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "source", "d", "b", "instance", "identifier", "=", "source", "d", "b", "instance", "identifier", ";" ]
[ "<", "p", ">", "the", "identifier", "of", "the", "db", "instance", "that", "will", "act", "as", "the", "source", "for", "the", "read", "replica", "each", "db", "instance", "can", "have", "up", "to", "five", "read", "replicas", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "must", "be", "the", "identifier", "of", "an", "existing", "my", "s", "q", "l", "maria", "d", "b", "or", "postgre", "s", "q", "l", "db", "instance", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "specify", "a", "db", "instance", "that", "is", "a", "my", "s", "q", "l", "read", "replica", "only", "if", "the", "source", "is", "running", "my", "s", "q", "l", "5", "6", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "specify", "a", "db", "instance", "that", "is", "a", "postgre", "s", "q", "l", "db", "instance", "only", "if", "the", "source", "is", "running", "postgre", "s", "q", "l", "9", "3", "5", "or", "later", "(", "9", "4", "7", "and", "higher", "for", "cross", "-", "region", "replication", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "the", "specified", "db", "instance", "must", "have", "automatic", "backups", "enabled", "its", "backup", "retention", "period", "must", "be", "greater", "than", "0", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "source", "db", "instance", "is", "in", "the", "same", "aws", "region", "as", "the", "read", "replica", "specify", "a", "valid", "db", "instance", "identifier", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "source", "db", "instance", "is", "in", "a", "different", "aws", "region", "than", "the", "read", "replica", "specify", "a", "valid", "db", "instance", "arn", "for", "more", "information", "go", "to", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "amazon", "r", "d", "s", "/", "latest", "/", "user", "guide", "/", "user", "tagging", "arn", "html", "#", "user", "tagging", "arn", "constructing", ">", "constructing", "an", "arn", "for", "amazon", "rds", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "rds", "user", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "return", "this", "source", "d", "b", "instance", "identifier", ";" ]
[ "<", "p", ">", "the", "identifier", "of", "the", "source", "db", "instance", "from", "which", "to", "restore", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "must", "match", "the", "identifier", "of", "an", "existing", "db", "instance", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "source", "d", "b", "instance", "identifier", "(", "source", "d", "b", "instance", "identifier", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "new", "db", "instance", "to", "be", "created", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "must", "contain", "from", "1", "to", "63", "letters", "numbers", "or", "hyphens", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "first", "character", "must", "be", "a", "letter", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "t", "end", "with", "a", "hyphen", "or", "contain", "two", "consecutive", "hyphens", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "target", "d", "b", "instance", "identifier", "(", "target", "d", "b", "instance", "identifier", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "date", "and", "time", "to", "restore", "from", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "value", "must", "be", "a", "time", "in", "universal", "coordinated", "time", "(", "utc", ")", "format", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "must", "be", "before", "the", "latest", "restorable", "time", "for", "the", "db", "instance", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "can", "t", "be", "specified", "if", "use", "latest", "restorable", "time", "parameter", "is", "true", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "p", ">", "example", ":", "<", "code", ">", "2009", "-", "09", "-", "07t23", ":", "45", ":", "00z", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "restore", "time", "(", "restore", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "specifies", "whether", "(", "<", "code", ">", "true", "<", "/", "code", ">", ")", "or", "not", "(", "<", "code", ">", "false", "<", "/", "code", ">", ")", "the", "db", "instance", "is", "restored", "from", "the", "latest", "backup", "time", "<", "/", "p", ">", "<", "p", ">", "default", ":", "<", "code", ">", "false", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "can", "t", "be", "specified", "if", "restore", "time", "parameter", "is", "provided", "<", "/", "p", ">" ]
[ "set", "use", "latest", "restorable", "time", "(", "use", "latest", "restorable", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "compute", "and", "memory", "capacity", "of", "the", "amazon", "rds", "db", "instance", "for", "example", "<", "code", ">", "db", "m", "4", "large", "<", "/", "code", ">", "not", "all", "db", "instance", "classes", "are", "available", "in", "all", "aws", "regions", "or", "for", "all", "database", "engines", "for", "the", "full", "list", "of", "db", "instance", "classes", "and", "availability", "for", "your", "engine", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "amazon", "r", "d", "s", "/", "latest", "/", "user", "guide", "/", "concepts", "d", "b", "instance", "class", "html", ">", "db", "instance", "class", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "rds", "user", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "p", ">", "default", ":", "the", "same", "d", "b", "instance", "class", "as", "the", "original", "db", "instance", "<", "/", "p", ">" ]
[ "set", "d", "b", "instance", "class", "(", "d", "b", "instance", "class", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "port", "number", "on", "which", "the", "database", "accepts", "connections", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "value", "must", "be", "<", "code", ">", "1150", "-", "65535", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "default", ":", "the", "same", "port", "as", "the", "original", "db", "instance", "<", "/", "p", ">" ]
[ "set", "port", "(", "port", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "ec2", "availability", "zone", "that", "the", "db", "instance", "is", "created", "in", "<", "/", "p", ">", "<", "p", ">", "default", ":", "a", "random", "system", "-", "chosen", "availability", "zone", "<", "/", "p", ">", "<", "p", ">", "constraint", ":", "you", "can", "t", "specify", "the", "availability", "zone", "parameter", "if", "the", "multi", "a", "z", "parameter", "is", "set", "to", "true", "<", "/", "p", ">", "<", "p", ">", "example", ":", "<", "code", ">", "us", "-", "east", "-", "1a", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "availability", "zone", "(", "availability", "zone", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "db", "subnet", "group", "name", "to", "use", "for", "the", "new", "instance", "<", "/", "p", ">", "<", "p", ">", "constraints", ":", "if", "supplied", "must", "match", "the", "name", "of", "an", "existing", "d", "b", "subnet", "group", "<", "/", "p", ">", "<", "p", ">", "example", ":", "<", "code", ">", "my", "subnetgroup", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "d", "b", "subnet", "group", "name", "(", "d", "b", "subnet", "group", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "specifies", "if", "the", "db", "instance", "is", "a", "multi", "-", "az", "deployment", "<", "/", "p", ">", "<", "p", ">", "constraint", ":", "you", "can", "t", "specify", "the", "availability", "zone", "parameter", "if", "the", "multi", "a", "z", "parameter", "is", "set", "to", "<", "code", ">", "true", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "multi", "a", "z", "(", "multi", "a", "z", ")", ";", "return", "this", ";" ]