docstring_tokens
list
code_tokens
list
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pnext", ",", "value", ")", ";" ]
[ "sets", "the", "specified", "value", "to", "the", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "acquirecount", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquiresyncs", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquirekeys", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquiretimeouts", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "sets", "the", "specified", "value", "to", "the", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "releasecount", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "preleasesyncs", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "preleasekeys", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "validates", "pointer", "members", "that", "should", "not", "be", "{", "@", "code", "null", "}" ]
[ "if", "(", "nacquire", "count", "(", "struct", ")", "!", "=", "0", ")", "{", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquiresyncs", ")", ")", ";", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquirekeys", ")", ")", ";", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "pacquiretimeouts", ")", ")", ";", "}", "if", "(", "nrelease", "count", "(", "struct", ")", "!", "=", "0", ")", "{", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "preleasesyncs", ")", ")", ";", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "win", "3", "2", "keyed", "mutex", "acquire", "release", "info", "k", "h", "r", "preleasekeys", ")", ")", ";", "}" ]
[ "program", "entry", "point" ]
[ "list", "<", "car", ">", "cars", "=", "car", "factory", "create", "cars", "(", ")", ";", "list", "<", "string", ">", "models", "imperative", "=", "imperative", "programming", "get", "models", "after", "2", "0", "0", "0", "(", "cars", ")", ";", "logger", "info", "(", "models", "imperative", "to", "string", "(", ")", ")", ";", "list", "<", "string", ">", "models", "functional", "=", "functional", "programming", "get", "models", "after", "2", "0", "0", "0", "(", "cars", ")", ";", "logger", "info", "(", "models", "functional", "to", "string", "(", ")", ")", ";", "map", "<", "category", ",", "list", "<", "car", ">", ">", "grouping", "by", "category", "imperative", "=", "imperative", "programming", "get", "grouping", "of", "cars", "by", "category", "(", "cars", ")", ";", "logger", "info", "(", "grouping", "by", "category", "imperative", "to", "string", "(", ")", ")", ";", "map", "<", "category", ",", "list", "<", "car", ">", ">", "grouping", "by", "category", "functional", "=", "functional", "programming", "get", "grouping", "of", "cars", "by", "category", "(", "cars", ")", ";", "logger", "info", "(", "grouping", "by", "category", "functional", "to", "string", "(", ")", ")", ";", "person", "john", "=", "new", "person", "(", "cars", ")", ";", "list", "<", "car", ">", "sedans", "owned", "imperative", "=", "imperative", "programming", "get", "sedan", "cars", "owned", "sorted", "by", "date", "(", "arrays", "as", "list", "(", "john", ")", ")", ";", "logger", "info", "(", "sedans", "owned", "imperative", "to", "string", "(", ")", ")", ";", "list", "<", "car", ">", "sedans", "owned", "functional", "=", "functional", "programming", "get", "sedan", "cars", "owned", "sorted", "by", "date", "(", "arrays", "as", "list", "(", "john", ")", ")", ";", "logger", "info", "(", "sedans", "owned", "functional", "to", "string", "(", ")", ")", ";" ]
[ "unique", "reservation", "arn", "e", "g", "arn", ":", "aws", ":", "medialive", ":", "us", "-", "west", "-", "2", ":", "123456789012", ":", "reservation", ":", "1234567" ]
[ "set", "arn", "(", "arn", ")", ";", "return", "this", ";" ]
[ "number", "of", "reserved", "resources" ]
[ "set", "count", "(", "count", ")", ";", "return", "this", ";" ]
[ "currency", "code", "for", "usage", "price", "and", "fixed", "price", "in", "iso", "-", "4217", "format", "e", "g", "usd" ]
[ "set", "currency", "code", "(", "currency", "code", ")", ";", "return", "this", ";" ]
[ "lease", "duration", "e", "g", "12" ]
[ "set", "duration", "(", "duration", ")", ";", "return", "this", ";" ]
[ "units", "for", "duration", "e", "g", "months" ]
[ "set", "duration", "units", "(", "duration", "units", ")", ";", "return", "this", ";" ]
[ "units", "for", "duration", "e", "g", "months" ]
[ "this", "duration", "units", "=", "duration", "units", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "reservation", "utc", "end", "date", "and", "time", "in", "iso", "-", "8601", "format", "e", "g", "2019", "-", "03", "-", "01t00", ":", "00", ":", "00" ]
[ "set", "end", "(", "end", ")", ";", "return", "this", ";" ]
[ "one", "-", "time", "charge", "for", "each", "reserved", "resource", "e", "g", "0", "0", "for", "a", "no", "upfront", "offering" ]
[ "set", "fixed", "price", "(", "fixed", "price", ")", ";", "return", "this", ";" ]
[ "user", "specified", "reservation", "name" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "offering", "description", "e", "g", "hd", "avc", "output", "at", "10", "-", "20", "mbps", "30", "fps", "and", "standard", "vq", "in", "us", "west", "(", "oregon", ")" ]
[ "set", "offering", "description", "(", "offering", "description", ")", ";", "return", "this", ";" ]
[ "unique", "offering", "id", "e", "g", "87654321" ]
[ "set", "offering", "id", "(", "offering", "id", ")", ";", "return", "this", ";" ]
[ "offering", "type", "e", "g", "no", "upfront" ]
[ "set", "offering", "type", "(", "offering", "type", ")", ";", "return", "this", ";" ]
[ "offering", "type", "e", "g", "no", "upfront" ]
[ "this", "offering", "type", "=", "offering", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "aws", "region", "e", "g", "us", "-", "west", "-", "2" ]
[ "set", "region", "(", "region", ")", ";", "return", "this", ";" ]
[ "unique", "reservation", "id", "e", "g", "1234567" ]
[ "set", "reservation", "id", "(", "reservation", "id", ")", ";", "return", "this", ";" ]
[ "resource", "configuration", "details" ]
[ "set", "resource", "specification", "(", "resource", "specification", ")", ";", "return", "this", ";" ]
[ "reservation", "utc", "start", "date", "and", "time", "in", "iso", "-", "8601", "format", "e", "g", "2018", "-", "03", "-", "01t00", ":", "00", ":", "00" ]
[ "set", "start", "(", "start", ")", ";", "return", "this", ";" ]
[ "current", "state", "of", "reservation", "e", "g", "active" ]
[ "set", "state", "(", "state", ")", ";", "return", "this", ";" ]
[ "current", "state", "of", "reservation", "e", "g", "active" ]
[ "this", "state", "=", "state", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "recurring", "usage", "charge", "for", "each", "reserved", "resource", "e", "g", "157", "0" ]
[ "set", "usage", "price", "(", "usage", "price", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "attack", "type", "valid", "values", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "udp", "traffic", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "udp", "fragment", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "generic", "udp", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "dns", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "ntp", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "chargen", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "ssdp", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "port", "mapper", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "rip", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "snmp", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "mssql", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "net", "bios", "reflection", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "syn", "flood", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "ack", "flood", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "request", "flood", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "vector", "type", "(", "vector", "type", ")", ";", "return", "this", ";" ]
[ "default", "material", "red", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "red", ")", ";", "return", "style", ";" ]
[ "default", "material", "pink", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "pink", ")", ";", "return", "style", ";" ]
[ "default", "material", "purple", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "purple", ")", ";", "return", "style", ";" ]
[ "default", "material", "deep", "purple", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "deep", "purple", ")", ";", "return", "style", ";" ]
[ "default", "material", "indigo", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "indigo", ")", ";", "return", "style", ";" ]
[ "default", "material", "blue", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "blue", ")", ";", "return", "style", ";" ]
[ "default", "material", "light", "blue", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "light", "blue", ")", ";", "return", "style", ";" ]
[ "default", "material", "cyan", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "cyan", ")", ";", "return", "style", ";" ]
[ "default", "material", "teal", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "teal", ")", ";", "return", "style", ";" ]
[ "default", "material", "green", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "green", ")", ";", "return", "style", ";" ]
[ "default", "material", "light", "green", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "light", "green", ")", ";", "return", "style", ";" ]
[ "default", "material", "lime", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "lime", ")", ";", "style", "message", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "style", "button", "divider", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "style", "button", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "return", "style", ";" ]
[ "default", "material", "yellow", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "yellow", ")", ";", "style", "message", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "style", "button", "divider", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "style", "button", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "dark", "grey", ")", ";", "return", "style", ";" ]
[ "default", "material", "amber", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "amber", ")", ";", "return", "style", ";" ]
[ "default", "material", "orange", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "orange", ")", ";", "return", "style", ";" ]
[ "default", "material", "deep", "orange", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "deep", "orange", ")", ";", "return", "style", ";" ]
[ "default", "material", "brown", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "brown", ")", ";", "return", "style", ";" ]
[ "default", "material", "grey", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "grey", ")", ";", "return", "style", ";" ]
[ "default", "material", "blue", "-", "grey", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "blue", "grey", ")", ";", "return", "style", ";" ]
[ "default", "material", "rotten", "banana", "transparent", "style", "for", "super", "toasts" ]
[ "final", "style", "style", "=", "new", "style", "(", ")", ";", "style", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "yellow", ")", ";", "style", "frame", "=", "frame", "lollipop", ";", "style", "message", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "brown", ")", ";", "style", "button", "divider", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "brown", ")", ";", "style", "button", "text", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "brown", ")", ";", "style", "priority", "color", "=", "palette", "utils", "get", "solid", "color", "(", "palette", "utils", "material", "brown", ")", ";", "return", "style", ";" ]
[ "use", "on", "size", "changed", "instead", "of", "on", "attached", "to", "window", "to", "get", "the", "dimensions", "of", "the", "view", "because", "this", "method", "is", "called", "after", "measuring", "the", "dimensions", "of", "match", "parent", "&", "wrap", "content", "use", "this", "dimensions", "to", "setup", "the", "bounds", "and", "paints" ]
[ "super", "on", "size", "changed", "(", "new", "width", ",", "new", "height", ",", "old", "width", ",", "old", "height", ")", ";", "layout", "width", "=", "new", "width", ";", "layout", "height", "=", "new", "height", ";", "setup", "bounds", "(", ")", ";", "setup", "paints", "(", ")", ";", "invalidate", "(", ")", ";" ]
[ "turn", "off", "start", "spinning", "mode" ]
[ "is", "spinning", "=", "false", ";", "progress", "=", "0", ";", "post", "invalidate", "(", ")", ";" ]
[ "puts", "the", "view", "on", "spin", "mode" ]
[ "is", "spinning", "=", "true", ";", "post", "invalidate", "(", ")", ";" ]
[ "increment", "the", "progress", "by", "1", "(", "of", "360", ")" ]
[ "increment", "progress", "(", "1", ")", ";" ]
[ "set", "the", "progress", "to", "a", "specific", "value" ]
[ "is", "spinning", "=", "false", ";", "progress", "=", "i", ";", "post", "invalidate", "(", ")", ";" ]
[ "tests", "put", "all", "with", "multiple", "indexed", "entities", "and", "streamer", "pre", "-", "loading", "with", "low", "off", "-", "heap", "cache", "size" ]
[ "do", "streamer", "batch", "test", "(", "50", ",", "1", "000", ",", "new", "class", "<", "?", ">", "[", "]", "{", "integer", "class", ",", "cache", "offheap", "batch", "indexing", "base", "test", "person", "class", ",", "integer", "class", ",", "cache", "offheap", "batch", "indexing", "base", "test", "organization", "class", "}", ",", "true", ")", ";" ]
[ "stop", "the", "lazy", "writer", "daemon", "that", "saves", "ram", "disk", "files", "to", "persistent", "storage" ]
[ "fs", "dataset", "impl", "fs", "dataset", "=", "(", "(", "fs", "dataset", "impl", ")", "dn", "get", "f", "s", "dataset", "(", ")", ")", ";", "(", "(", "fs", "dataset", "impl", "lazy", "writer", ")", "fs", "dataset", "lazy", "writer", "get", "runnable", "(", ")", ")", "stop", "(", ")", ";" ]
[ "verify", "that", "a", "given", "type", "has", "applied", "annotations", "correctly" ]
[ "public", "abstract", "t", "verify", "(", "type", "element", "type", ")", "throws", "verification", "failed", "exception", ";" ]
[ "returns", "a", "salted", "pbkdf2", "hash", "of", "the", "password" ]
[ "return", "create", "hash", "(", "password", "to", "char", "array", "(", ")", ")", ";" ]
[ "validates", "a", "password", "using", "a", "hash" ]
[ "return", "validate", "password", "(", "password", "to", "char", "array", "(", ")", ",", "good", "hash", ")", ";" ]
[ "compares", "two", "byte", "arrays", "in", "length", "-", "constant", "time", "this", "comparison", "method", "is", "used", "so", "that", "password", "hashes", "cannot", "be", "extracted", "from", "an", "on", "-", "line", "system", "using", "a", "timing", "attack", "and", "then", "attacked", "off", "-", "line" ]
[ "int", "diff", "=", "a", "length", "^", "b", "length", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "a", "length", "&", "&", "i", "<", "b", "length", ";", "i", "+", "+", ")", "{", "diff", "|", "=", "a", "[", "i", "]", "^", "b", "[", "i", "]", ";", "}", "return", "diff", "=", "=", "0", ";" ]
[ "computes", "the", "pbkdf2", "hash", "of", "a", "password" ]
[ "p", "b", "e", "key", "spec", "spec", "=", "new", "p", "b", "e", "key", "spec", "(", "password", ",", "salt", ",", "iterations", ",", "bytes", "*", "8", ")", ";", "try", "{", "secret", "key", "factory", "skf", "=", "secret", "key", "factory", "get", "instance", "(", "pbkdf2", "algorithm", ")", ";", "return", "skf", "generate", "secret", "(", "spec", ")", "get", "encoded", "(", ")", ";", "}", "catch", "(", "no", "such", "algorithm", "exception", "ignore", ")", "{", "return", "null", ";", "}", "catch", "(", "invalid", "key", "spec", "exception", "e", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", "e", ")", ";", "}" ]
[ "converts", "a", "string", "of", "hexadecimal", "characters", "into", "a", "byte", "array" ]
[ "final", "byte", "[", "]", "binary", "=", "new", "byte", "[", "hex", "length", "(", ")", "/", "2", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "binary", "length", ";", "i", "+", "+", ")", "{", "binary", "[", "i", "]", "=", "(", "byte", ")", "integer", "parse", "int", "(", "hex", "substring", "(", "2", "*", "i", ",", "2", "*", "i", "+", "2", ")", ",", "16", ")", ";", "}", "return", "binary", ";" ]
[ "set", "wm" ]
[ "this", "work", "manager", "=", "work", "manager", "name", ";" ]
[ "get", "wm" ]
[ "return", "work", "manager", ";" ]
[ "indicates", "whether", "some", "other", "object", "is", "equal", "to", "this", "one" ]
[ "if", "(", "other", "=", "=", "null", ")", "{", "return", "false", ";", "}", "if", "(", "other", "=", "=", "this", ")", "{", "return", "true", ";", "}", "if", "(", "!", "(", "other", "instanceof", "multiple", "resource", "adapter", "3", ")", ")", "{", "return", "false", ";", "}", "multiple", "resource", "adapter", "3", "obj", "=", "(", "multiple", "resource", "adapter", "3", ")", "other", ";", "boolean", "result", "=", "true", ";", "if", "(", "result", ")", "{", "if", "(", "work", "manager", "=", "=", "null", ")", "{", "result", "=", "obj", "get", "work", "manager", "(", ")", "=", "=", "null", ";", "}", "else", "{", "result", "=", "work", "manager", "equals", "(", "obj", "get", "work", "manager", "(", ")", ")", ";", "}", "}", "return", "result", ";" ]
[ "executes", "the", "webflow", "action" ]
[ "try", "{", "val", "request", "=", "web", "utils", "get", "http", "servlet", "request", "from", "external", "webflow", "context", "(", "context", ")", ";", "val", "wa", "=", "request", "get", "parameter", "(", "wa", ")", ";", "if", "(", "string", "utils", "is", "not", "blank", "(", "wa", ")", "&", "&", "wa", "equals", "ignore", "case", "(", "wsignin", ")", ")", "{", "ws", "federation", "response", "validator", "validate", "ws", "federation", "authentication", "request", "(", "context", ")", ";", "return", "super", "do", "execute", "(", "context", ")", ";", "}", "return", "ws", "federation", "request", "builder", "build", "authentication", "request", "event", "(", "context", ")", ";", "}", "catch", "(", "final", "exception", "ex", ")", "{", "logger", "error", "(", "ex", "get", "message", "(", ")", ",", "ex", ")", ";", "throw", "new", "unauthorized", "service", "exception", "(", "unauthorized", "service", "exception", "code", "unauthz", "service", ",", "ex", "get", "message", "(", ")", ")", ";", "}" ]
[ "<", "p", ">", "the", "id", "of", "the", "assignment", "the", "assignment", "must", "correspond", "to", "a", "hit", "created", "by", "the", "requester", "<", "/", "p", ">" ]
[ "set", "assignment", "id", "(", "assignment", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "message", "for", "the", "worker", "which", "the", "worker", "can", "see", "in", "the", "status", "section", "of", "the", "web", "site", "<", "/", "p", ">" ]
[ "set", "requester", "feedback", "(", "requester", "feedback", ")", ";", "return", "this", ";" ]
[ "sets", "up", "{", "@", "code", "task", "to", "components", "}", "{", "@", "code", "component", "to", "sorted", "tasks", "}", "and", "{", "@", "code", "component", "to", "stream", "to", "fields", "}", "for", "a", "single", "instance", "of", "a", "spout", "or", "bolt", "(", "ie", "task", "or", "executor", ")", "furthermore", "is", "computes", "the", "unique", "task", "-", "id" ]
[ "final", "int", "parallelism", "hint", "=", "common", "get", "parallelism", "hint", "(", ")", ";", "integer", "task", "id", "=", "null", ";", "if", "(", "component", "id", "equals", "(", "operator", "name", ")", ")", "{", "task", "id", "=", "tid", "+", "index", ";", "}", "list", "<", "integer", ">", "sorted", "tasks", "=", "new", "array", "list", "<", "integer", ">", "(", "dop", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "parallelism", "hint", ";", "+", "+", "i", ")", "{", "task", "to", "components", "put", "(", "tid", ",", "component", "id", ")", ";", "sorted", "tasks", "add", "(", "tid", ")", ";", "+", "+", "tid", ";", "}", "component", "to", "sorted", "tasks", "put", "(", "component", "id", ",", "sorted", "tasks", ")", ";", "map", "<", "string", ",", "fields", ">", "output", "streams", "=", "new", "hash", "map", "<", "string", ",", "fields", ">", "(", ")", ";", "for", "(", "entry", "<", "string", ",", "stream", "info", ">", "out", "stream", ":", "common", "get", "streams", "(", ")", "entry", "set", "(", ")", ")", "{", "output", "streams", "put", "(", "out", "stream", "get", "key", "(", ")", ",", "new", "fields", "(", "out", "stream", "get", "value", "(", ")", "get", "output", "fields", "(", ")", ")", ")", ";", "}", "component", "to", "stream", "to", "fields", "put", "(", "component", "id", ",", "output", "streams", ")", ";", "return", "task", "id", ";" ]
[ "the", "name", "of", "the", "field", "in", "which", "to", "store", "the", "depth", "value" ]
[ "depth", "field", "=", "field", ";", "return", "this", ";" ]
[ "specifies", "a", "maximum", "recursive", "depth", "for", "the", "$", "graph", "lookup", "this", "number", "must", "be", "non", "-", "negative" ]
[ "max", "depth", "=", "max", ";", "return", "this", ";" ]
[ "a", "document", "specifying", "additional", "conditions", "for", "the", "recursive", "search" ]
[ "restrict", "search", "with", "match", "=", "filter", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "code", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "en", "<", "/", "code", ">", "-", "english", "(", "default", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "jp", "<", "/", "code", ">", "-", "japanese", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "zh", "<", "/", "code", ">", "-", "chinese", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "accept", "language", "(", "accept", "language", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "page", "token", "for", "the", "next", "set", "of", "results", "to", "retrieve", "the", "first", "set", "of", "results", "use", "null", "<", "/", "p", ">" ]
[ "set", "page", "token", "(", "page", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "items", "to", "return", "with", "this", "call", "<", "/", "p", ">" ]
[ "set", "page", "size", "(", "page", "size", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "shared", "portfolios", "to", "list", "the", "default", "is", "to", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "aws", "servicecatalog", "<", "/", "code", ">", "-", "list", "default", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "imported", "<", "/", "code", ">", "-", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "portfolio", "share", "type", "=", "portfolio", "share", "type", ";" ]
[ "<", "p", ">", "the", "type", "of", "shared", "portfolios", "to", "list", "the", "default", "is", "to", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "aws", "servicecatalog", "<", "/", "code", ">", "-", "list", "default", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "imported", "<", "/", "code", ">", "-", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "return", "this", "portfolio", "share", "type", ";" ]
[ "<", "p", ">", "the", "type", "of", "shared", "portfolios", "to", "list", "the", "default", "is", "to", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "aws", "servicecatalog", "<", "/", "code", ">", "-", "list", "default", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "imported", "<", "/", "code", ">", "-", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "portfolio", "share", "type", "(", "portfolio", "share", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "shared", "portfolios", "to", "list", "the", "default", "is", "to", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "aws", "servicecatalog", "<", "/", "code", ">", "-", "list", "default", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "imported", "<", "/", "code", ">", "-", "list", "imported", "portfolios", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "portfolio", "share", "type", "=", "portfolio", "share", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "return", "a", "snapshot", "of", "the", "current", "region", "servers" ]
[ "refresh", "other", "region", "servers", "list", "(", "false", ")", ";", "list", "<", "string", ">", "list", "=", "null", ";", "synchronized", "(", "other", "region", "servers", ")", "{", "list", "=", "new", "array", "list", "<", ">", "(", "other", "region", "servers", ")", ";", "}", "return", "list", ";" ]
[ "called", "when", "a", "new", "node", "has", "been", "created" ]
[ "refresh", "list", "if", "right", "path", "(", "path", ")", ";" ]
[ "called", "when", "an", "existing", "node", "has", "a", "child", "node", "added", "or", "removed" ]
[ "if", "(", "stopper", "is", "stopped", "(", ")", ")", "{", "return", ";", "}", "refresh", "list", "if", "right", "path", "(", "path", ")", ";" ]
[ "reads", "the", "list", "of", "region", "servers", "from", "zk", "and", "atomically", "clears", "our", "local", "view", "of", "it", "and", "replaces", "it", "with", "the", "updated", "list" ]
[ "list", "<", "string", ">", "new", "rs", "list", "=", "get", "registered", "region", "servers", "(", "watch", ")", ";", "if", "(", "new", "rs", "list", "=", "=", "null", ")", "{", "return", "false", ";", "}", "else", "{", "synchronized", "(", "other", "region", "servers", ")", "{", "other", "region", "servers", "clear", "(", ")", ";", "other", "region", "servers", "add", "all", "(", "new", "rs", "list", ")", ";", "}", "}", "return", "true", ";" ]
[ "creates", "a", "new", "component", "context", "instance", "scoped", "to", "the", "given", "component", "and", "sets", "it", "on", "the", "component" ]
[ "component", "context", "component", "context", "=", "context", "make", "new", "copy", "(", ")", ";", "component", "context", "m", "component", "scope", "=", "scope", ";", "component", "context", "m", "component", "tree", "=", "context", "m", "component", "tree", ";", "return", "component", "context", ";" ]
[ "notify", "the", "component", "tree", "that", "it", "needs", "to", "synchronously", "perform", "a", "state", "update" ]
[ "check", "if", "no", "state", "updates", "method", "(", ")", ";", "if", "(", "m", "component", "tree", "=", "=", "null", ")", "{", "return", ";", "}", "if", "(", "components", "configuration", "update", "state", "async", ")", "{", "m", "component", "tree", "update", "state", "async", "(", "m", "component", "scope", "get", "global", "key", "(", ")", ",", "state", "update", ",", "attribution", ")", ";", "}", "else", "{", "m", "component", "tree", "update", "state", "sync", "(", "m", "component", "scope", "get", "global", "key", "(", ")", ",", "state", "update", ",", "attribution", ")", ";", "}" ]
[ "notify", "the", "component", "tree", "that", "it", "needs", "to", "asynchronously", "perform", "a", "state", "update" ]
[ "check", "if", "no", "state", "updates", "method", "(", ")", ";", "if", "(", "m", "component", "tree", "=", "=", "null", ")", "{", "return", ";", "}", "m", "component", "tree", "update", "state", "async", "(", "m", "component", "scope", "get", "global", "key", "(", ")", ",", "state", "update", ",", "attribution", ")", ";" ]
[ "obtain", "a", "copy", "of", "the", "tree", "props", "currently", "held", "by", "this", "context" ]
[ "return", "tree", "props", "copy", "(", "m", "tree", "props", ")", ";" ]
[ "checks", "if", "incremental", "mount", "is", "enabled", "given", "a", "component", "context", "so", "you", "can", "throw", "an", "error", "if", "you", "require", "that", "incremental", "mount", "is", "enabled", "(", "e", "g", "you", "use", "visibility", "callbacks", ")", "this", "is", "static", "to", "avoid", "polluting", "the", "component", "context", "api" ]
[ "return", "c", "get", "component", "tree", "(", ")", "is", "incremental", "mount", "enabled", "(", ")", ";" ]
[ "simulate", "network", "disabling" ]
[ "net", "disabled", "=", "true", ";" ]
[ "wait", "until", "the", "network", "is", "disabled" ]
[ "return", "net", "disabled", "latch", "await", "(", "failure", "detection", "timeout", "*", "2", ",", "time", "unit", "milliseconds", ")", ";" ]
[ "returns", "the", "case", "canonical", "version", "of", "the", "given", "string" ]
[ "for", "(", "int", "i", "=", "0", ",", "n", "=", "s", "length", "(", ")", ";", "i", "<", "n", ";", "+", "+", "i", ")", "{", "char", "ch", "=", "s", "char", "at", "(", "i", ")", ";", "char", "cu", "=", "case", "canonicalize", "(", "ch", ")", ";", "if", "(", "cu", "!", "=", "ch", ")", "{", "string", "builder", "sb", "=", "new", "string", "builder", "(", "s", ")", ";", "sb", "set", "char", "at", "(", "i", ",", "cu", ")", ";", "while", "(", "+", "+", "i", "<", "n", ")", "{", "sb", "set", "char", "at", "(", "i", ",", "case", "canonicalize", "(", "s", "char", "at", "(", "i", ")", ")", ")", ";", "}", "return", "sb", "to", "string", "(", ")", ";", "}", "}", "return", "s", ";" ]
[ "given", "a", "character", "range", "that", "may", "include", "case", "sensitive", "code", "-", "units", "such", "as", "{" ]
[ "char", "ranges", "case", "sensitive", "=", "ranges", "intersection", "(", "case", "sensitive", ")", ";", "if", "(", "case", "sensitive", "is", "empty", "(", ")", ")", "{", "return", "ranges", ";", "}", "char", "ranges", "expanded", "=", "char", "ranges", "empty", ";", "for", "(", "delta", "set", "ds", ":", "delta", "sets", ")", "{", "expanded", "=", "expanded", "union", "(", "case", "sensitive", "intersection", "(", "ds", "code", "units", ")", "shift", "(", "-", "ds", "delta", ")", ")", ";", "}", "return", "ranges", "union", "(", "expanded", ")", ";" ]
[ "add", "a", "new", "field", "to", "the", "table", "under", "construction" ]
[ "columns", "add", "(", "new", "column", "(", "title", ",", "justification", ",", "wrap", ")", ")", ";", "return", "this", ";" ]
[ "whether", "to", "hide", "column", "headers", "in", "table", "output" ]
[ "this", "show", "header", "=", "false", ";", "return", "this", ";" ]
[ "whether", "to", "show", "column", "headers", "in", "table", "output", "this", "is", "the", "default" ]
[ "this", "show", "header", "=", "true", ";", "return", "this", ";" ]
[ "set", "the", "maximum", "width", "of", "a", "row", "in", "the", "table", "listing", "must", "have", "one", "or", "more", "wrappable", "fields", "for", "this", "to", "take", "effect" ]
[ "this", "wrap", "width", "=", "width", ";", "return", "this", ";" ]
[ "create", "a", "new", "table", "listing" ]
[ "return", "new", "table", "listing", "(", "columns", "to", "array", "(", "new", "column", "[", "0", "]", ")", ",", "show", "header", ",", "wrap", "width", ")", ";" ]
[ "if", "response", "is", "successfully", "received", "and", "response", "status", "code", "is", "in", "set", "of", "success", "codes" ]
[ "protected", "abstract", "void", "on", "success", "(", "t", "result", ")", ";" ]