docstring_tokens
list
code_tokens
list
[ "creates", "an", "f", "s", "directory", "instance", "trying", "to", "pick", "the", "best", "implementation", "given", "the", "current", "environment", "the", "directory", "returned", "uses", "the", "{", "@", "link", "native", "f", "s", "lock", "factory", "}", "the", "directory", "is", "created", "at", "the", "named", "location", "if", "it", "does", "not", "yet", "exist" ]
[ "return", "open", "(", "path", ",", "f", "s", "lock", "factory", "get", "default", "(", ")", ")", ";" ]
[ "just", "like", "{" ]
[ "if", "(", "constants", "jre", "is", "64bit", "&", "&", "m", "map", "directory", "unmap", "supported", ")", "{", "return", "new", "m", "map", "directory", "(", "path", ",", "lock", "factory", ")", ";", "}", "else", "if", "(", "constants", "windows", ")", "{", "return", "new", "simple", "f", "s", "directory", "(", "path", ",", "lock", "factory", ")", ";", "}", "else", "{", "return", "new", "n", "i", "o", "f", "s", "directory", "(", "path", ",", "lock", "factory", ")", ";", "}" ]
[ "lists", "all", "files", "(", "including", "subdirectories", ")", "in", "the", "directory" ]
[ "return", "list", "all", "(", "dir", ",", "null", ")", ";" ]
[ "sets", "whether", "this", "dialog", "is", "canceled", "when", "swipe", "it", "down" ]
[ "cancel", "on", "swipe", "down", "=", "cancel", ";" ]
[ "if", "you", "make", "any", "changes", "to", "menu", "and", "try", "to", "apply", "it", "immediately", "to", "your", "bottomsheet", "you", "should", "call", "this" ]
[ "update", "section", "(", ")", ";", "adapter", "notify", "data", "set", "changed", "(", ")", ";", "set", "list", "layout", "(", ")", ";" ]
[ "set", "menu", "resources", "as", "list", "item", "to", "display", "in", "bottom", "sheet" ]
[ "new", "menu", "inflater", "(", "context", ")", "inflate", "(", "xml", "res", ",", "menu", ")", ";", "return", "this", ";" ]
[ "add", "one", "item", "into", "bottom", "sheet" ]
[ "action", "menu", "item", "item", "=", "new", "action", "menu", "item", "(", "context", ",", "0", ",", "id", ",", "0", ",", "0", ",", "context", "get", "text", "(", "text", "res", ")", ")", ";", "item", "set", "icon", "(", "icon", "res", ")", ";", "menu", "add", "(", "item", ")", ";", "return", "this", ";" ]
[ "add", "one", "item", "into", "bottom", "sheet" ]
[ "action", "menu", "item", "item", "=", "new", "action", "menu", "item", "(", "context", ",", "0", ",", "id", ",", "0", ",", "0", ",", "text", ")", ";", "item", "set", "icon", "(", "icon", ")", ";", "menu", "add", "(", "item", ")", ";", "return", "this", ";" ]
[ "add", "one", "item", "without", "icon", "into", "bottom", "sheet" ]
[ "menu", "add", "(", "0", ",", "id", ",", "0", ",", "text", "res", ")", ";", "return", "this", ";" ]
[ "add", "one", "item", "without", "icon", "into", "bottom", "sheet" ]
[ "menu", "add", "(", "0", ",", "id", ",", "0", ",", "text", ")", ";", "return", "this", ";" ]
[ "set", "title", "for", "bottom", "sheet" ]
[ "title", "=", "context", "get", "text", "(", "title", "res", ")", ";", "return", "this", ";" ]
[ "remove", "an", "item", "from", "bottom", "sheet" ]
[ "menu", "remove", "item", "(", "id", ")", ";", "return", "this", ";" ]
[ "set", "title", "for", "bottom", "sheet" ]
[ "this", "icon", "=", "icon", ";", "return", "this", ";" ]
[ "set", "title", "for", "bottom", "sheet" ]
[ "this", "icon", "=", "context", "get", "resources", "(", ")", "get", "drawable", "(", "icon", "res", ")", ";", "return", "this", ";" ]
[ "set", "onclick", "listener", "for", "bottom", "sheet" ]
[ "this", "listener", "=", "listener", ";", "return", "this", ";" ]
[ "set", "on", "menu", "item", "click", "listener", "for", "bottom", "sheet" ]
[ "this", "menulistener", "=", "listener", ";", "return", "this", ";" ]
[ "show", "bottom", "sheet", "in", "dark", "color", "theme", "looking" ]
[ "theme", "=", "r", "style", "bottom", "sheet", "dialog", "dark", ";", "return", "this", ";" ]
[ "show", "bottom", "sheet" ]
[ "bottom", "sheet", "dialog", "=", "build", "(", ")", ";", "dialog", "show", "(", ")", ";", "return", "dialog", ";" ]
[ "show", "items", "in", "grid", "instead", "of", "list" ]
[ "this", "grid", "=", "true", ";", "return", "this", ";" ]
[ "set", "initial", "number", "of", "actions", "which", "will", "be", "shown", "in", "current", "sheet", "if", "more", "actions", "need", "to", "be", "shown", "a", "more", "action", "will", "be", "displayed", "in", "the", "last", "position" ]
[ "limit", "=", "context", "get", "resources", "(", ")", "get", "integer", "(", "limit", "res", ")", ";", "return", "this", ";" ]
[ "set", "title", "for", "bottom", "sheet" ]
[ "this", "title", "=", "title", ";", "return", "this", ";" ]
[ "set", "the", "on", "dismiss", "listener", "for", "bottom", "sheet" ]
[ "this", "dismiss", "listener", "=", "listener", ";", "return", "this", ";" ]
[ "dermines", "the", "number", "of", "separators", "in", "given", "line", "correctly", "handles", "quoted", "tokens" ]
[ "int", "[", "]", "result", "=", "new", "int", "[", "separators", "length", "]", ";", "byte", "[", "]", "bits", "=", "string", "utils", "bytes", "of", "(", "from", ")", ";", "boolean", "in", "quote", "=", "false", ";", "for", "(", "byte", "c", ":", "bits", ")", "{", "if", "(", "(", "c", "=", "=", "single", "quote", ")", "|", "|", "(", "c", "=", "=", "csv", "parser", "char", "double", "quote", ")", ")", "in", "quote", "^", "=", "true", ";", "if", "(", "!", "in", "quote", "|", "|", "c", "=", "=", "hive", "sep", ")", "for", "(", "int", "i", "=", "0", ";", "i", "<", "separators", "length", ";", "+", "+", "i", ")", "if", "(", "c", "=", "=", "separators", "[", "i", "]", ")", "+", "+", "result", "[", "i", "]", ";", "}", "return", "result", ";" ]
[ "determines", "the", "tokens", "that", "are", "inside", "a", "line", "and", "returns", "them", "as", "strings", "in", "an", "array", "assumes", "the", "given", "separator" ]
[ "final", "byte", "single", "quote", "=", "single", "quotes", "?", "csv", "parser", "char", "single", "quote", ":", "-", "1", ";", "return", "determine", "tokens", "(", "from", ",", "separator", ",", "single", "quote", ")", ";" ]
[ "returns", "true", "if", "this", "task", "is", "applicable", "to", "the", "given", "project" ]
[ "public", "abstract", "boolean", "is", "applicable", "(", "class", "<", "?", "extends", "abstract", "project", ">", "job", "type", ")", ";" ]
[ "check", "if", "list", "bucketing", "is", "enabled" ]
[ "return", "(", "this", "get", "skewed", "col", "names", "(", ")", "!", "=", "null", ")", "&", "&", "(", "this", "get", "skewed", "col", "names", "(", ")", "size", "(", ")", ">", "0", ")", "&", "&", "(", "this", "get", "skewed", "col", "values", "(", ")", "!", "=", "null", ")", "&", "&", "(", "this", "get", "skewed", "col", "values", "(", ")", "size", "(", ")", ">", "0", ")", "&", "&", "(", "this", "is", "stored", "as", "sub", "directories", "(", ")", ")", ";" ]
[ "calculate", "list", "bucketing", "level" ]
[ "int", "lb", "level", "=", "is", "skewed", "stored", "as", "dir", "(", ")", "?", "this", "get", "skewed", "col", "names", "(", ")", "size", "(", ")", ":", "0", ";", "return", "lb", "level", ";" ]
[ "parses", "the", "aggregation", "request", "recursively", "generating", "aggregator", "factories", "in", "turn" ]
[ "return", "parse", "aggregators", "(", "parser", ",", "0", ")", ";" ]
[ "for", "testing", "only" ]
[ "this", "skip", "resolve", "order", "=", "true", ";", "return", "this", ";" ]
[ "rewrites", "the", "underlying", "aggregation", "builders", "into", "their", "primitive", "form", "if", "the", "builder", "did", "not", "change", "the", "identity", "reference", "must", "be", "returned", "otherwise", "the", "builder", "will", "be", "rewritten", "infinitely" ]
[ "boolean", "changed", "=", "false", ";", "builder", "new", "builder", "=", "new", "builder", "(", ")", ";", "for", "(", "aggregation", "builder", "builder", ":", "aggregation", "builders", ")", "{", "aggregation", "builder", "result", "=", "aggregation", "builder", "rewrite", "aggregation", "(", "builder", ",", "context", ")", ";", "if", "(", "result", "!", "=", "builder", ")", "{", "changed", "=", "true", ";", "}", "new", "builder", "add", "aggregator", "(", "result", ")", ";", "}", "if", "(", "changed", ")", "{", "for", "(", "pipeline", "aggregation", "builder", "builder", ":", "pipeline", "aggregator", "builders", ")", "{", "new", "builder", "add", "pipeline", "aggregator", "(", "builder", ")", ";", "}", "return", "new", "builder", ";", "}", "else", "{", "return", "this", ";", "}" ]
[ "<", "p", ">", "the", "<", "code", ">", "change", "token", "<", "/", "code", ">", "that", "you", "used", "to", "submit", "the", "<", "code", ">", "update", "rule", "group", "<", "/", "code", ">", "request", "you", "can", "also", "use", "this", "value", "to", "query", "the", "status", "of", "the", "request", "for", "more", "information", "see", "<", "a", ">", "get", "change", "token", "status", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "change", "token", "(", "change", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "data", "set", "whose", "latest", "contents", "will", "be", "used", "as", "input", "to", "the", "notebook", "or", "application", "<", "/", "p", ">" ]
[ "set", "dataset", "name", "(", "dataset", "name", ")", ";", "return", "this", ";" ]
[ "check", "to", "determine", "whether", "the", "table", "spaces", "reported", "by", "an", "entity", "persister", "match", "against", "the", "defined", "affected", "table", "spaces" ]
[ "if", "(", "affected", "table", "spaces", "=", "=", "null", "|", "|", "affected", "table", "spaces", "is", "empty", "(", ")", ")", "{", "return", "true", ";", "}", "for", "(", "serializable", "check", "table", "space", ":", "check", "table", "spaces", ")", "{", "if", "(", "affected", "table", "spaces", "contains", "(", "check", "table", "space", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";" ]
[ "adds", "a", "battery", "stats", "timer", "into", "a", "health", "stats", "writer", "safe", "to", "pass", "a", "null", "timer" ]
[ "if", "(", "timer", "!", "=", "null", ")", "{", "writer", "add", "timer", "(", "key", ",", "timer", "get", "count", "locked", "(", "stats", "since", "unplugged", ")", ",", "timer", "get", "total", "time", "locked", "(", "m", "now", "realtime", "ms", "*", "1000", ",", "stats", "since", "unplugged", ")", "/", "1000", ")", ";", "}" ]
[ "adds", "a", "named", "battery", "stats", "timer", "into", "a", "health", "stats", "writer", "safe", "to", "pass", "a", "null", "timer" ]
[ "if", "(", "timer", "!", "=", "null", ")", "{", "writer", "add", "timers", "(", "key", ",", "name", ",", "new", "timer", "stat", "(", "timer", "get", "count", "locked", "(", "stats", "since", "unplugged", ")", ",", "timer", "get", "total", "time", "locked", "(", "m", "now", "realtime", "ms", "*", "1000", ",", "stats", "since", "unplugged", ")", "/", "1000", ")", ")", ";", "}" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "reflection", "utils", "find", "constructors", "(", "clazz", ",", "ctr", "-", ">", "ctr", "get", "parameter", "count", "(", ")", "=", "=", "1", "&", "&", "ctr", "get", "parameter", "types", "(", ")", "[", "0", "]", "=", "=", "string", "class", ")", "get", "(", "0", ")", ";" ]
[ "wrong", "parameter", "type" ]
[ "return", "new", "book", "(", "string", "value", "of", "(", "obj", ")", ")", ";" ]
[ "<", "p", ">", "the", "type", "of", "action", "to", "be", "taken", "<", "/", "p", ">" ]
[ "set", "type", "(", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "action", "to", "be", "taken", "<", "/", "p", ">" ]
[ "this", "type", "=", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "list", "of", "ancestor", "u", "u", "i", "ds", "ordered", "by", "depth", "in", "tree" ]
[ "return", "uuid", "path", "splitter", "split", "to", "list", "(", "uuid", "path", ")", ";" ]
[ "the", "key", "to", "be", "displayed", "to", "user", "doesn", "t", "contain", "information", "on", "branches" ]
[ "list", "<", "string", ">", "split", "=", "branch", "or", "pull", "request", "splitter", "split", "to", "list", "(", "kee", ")", ";", "return", "split", "size", "(", ")", "=", "=", "2", "?", "split", "get", "(", "0", ")", ":", "kee", ";" ]
[ "return", "the", "path", "from", "the", "project", "to", "the", "last", "modules" ]
[ "return", "module", "uuid", "path", ";" ]
[ "use", "{" ]
[ "return", "root", "uuid", ";" ]
[ "used", "by", "my", "batis" ]
[ "return", "tags", ";" ]
[ "this", "method", "is", "used", "to", "determine", "a", "cell", "should", "be", "included", "or", "filtered", "out" ]
[ "if", "(", "op", "=", "=", "compare", "operator", "no", "op", ")", "{", "return", "true", ";", "}", "int", "compare", "result", "=", "private", "cell", "util", "compare", "value", "(", "cell", ",", "comparator", ")", ";", "return", "compare", "filter", "compare", "(", "op", ",", "compare", "result", ")", ";" ]
[ "parse", "protobuf", "bytes", "to", "a", "column", "value", "filter" ]
[ "filter", "protos", "column", "value", "filter", "proto", ";", "try", "{", "proto", "=", "filter", "protos", "column", "value", "filter", "parse", "from", "(", "pb", "bytes", ")", ";", "}", "catch", "(", "invalid", "protocol", "buffer", "exception", "e", ")", "{", "throw", "new", "deserialization", "exception", "(", "e", ")", ";", "}", "final", "compare", "operator", "compare", "op", "=", "compare", "operator", "value", "of", "(", "proto", "get", "compare", "op", "(", ")", "name", "(", ")", ")", ";", "final", "byte", "array", "comparable", "comparator", ";", "try", "{", "comparator", "=", "protobuf", "util", "to", "comparator", "(", "proto", "get", "comparator", "(", ")", ")", ";", "}", "catch", "(", "i", "o", "exception", "ioe", ")", "{", "throw", "new", "deserialization", "exception", "(", "ioe", ")", ";", "}", "return", "new", "column", "value", "filter", "(", "proto", "get", "family", "(", ")", "to", "byte", "array", "(", ")", ",", "proto", "get", "qualifier", "(", ")", "to", "byte", "array", "(", ")", ",", "compare", "op", ",", "comparator", ")", ";" ]
[ "called", "when", "tooltip", "is", "shown", "default", "implementation", "sets", "actions", "to", "animate", "showing" ]
[ "float", "action", "time", "=", "animations", "?", "(", "time", ">", "0", "?", "0", "5f", ":", "0", "1", "5f", ")", ":", "0", "1f", ";", "tooltip", "container", "set", "transform", "(", "true", ")", ";", "tooltip", "container", "get", "color", "(", ")", "a", "=", "0", "2f", ";", "tooltip", "container", "set", "scale", "(", "0", "0", "5f", ")", ";", "tooltip", "container", "add", "action", "(", "parallel", "(", "fade", "in", "(", "action", "time", ",", "fade", ")", ",", "scale", "to", "(", "1", ",", "1", ",", "action", "time", ",", "interpolation", "fade", ")", ")", ")", ";" ]
[ "called", "when", "tooltip", "is", "hidden", "default", "implementation", "sets", "actions", "to", "animate", "hiding", "and", "to", "remove", "the", "actor", "from", "the", "stage", "when", "the", "actions", "are", "complete", "a", "subclass", "must", "at", "least", "remove", "the", "actor" ]
[ "tooltip", "container", "add", "action", "(", "sequence", "(", "parallel", "(", "alpha", "(", "0", "2f", ",", "0", "2f", ",", "fade", ")", ",", "scale", "to", "(", "0", "0", "5f", ",", "0", "0", "5f", ",", "0", "2f", ",", "interpolation", "fade", ")", ")", ",", "remove", "actor", "(", ")", ")", ")", ";" ]
[ "shows", "all", "tooltips", "on", "hover", "without", "a", "delay", "for", "{" ]
[ "time", "=", "0", ";", "show", "task", "run", "(", ")", ";", "show", "task", "cancel", "(", ")", ";" ]
[ "binds", "parameter", "value" ]
[ "protected", "abstract", "void", "bind", "parameter", "(", "j", "d", "b", "c", "session", "session", ",", "j", "d", "b", "c", "prepared", "statement", "statement", ",", "d", "b", "s", "typed", "object", "param", "type", ",", "int", "param", "index", ",", "object", "value", ")", "throws", "d", "b", "c", "exception", ",", "s", "q", "l", "exception", ";" ]
[ "creates", "federated", "id", "based", "on", "get", "client", "id", "(", ")", "method" ]
[ "if", "(", "storage", "id", "=", "=", "null", ")", "{", "storage", "id", "=", "new", "storage", "id", "(", "component", "get", "id", "(", ")", ",", "get", "client", "id", "(", ")", ")", ";", "}", "return", "storage", "id", "get", "id", "(", ")", ";" ]
[ "this", "method", "really", "isn", "t", "used", "by", "anybody", "anywhere", "legacy", "feature", "never", "supported" ]
[ "return", "false", ";" ]
[ "this", "is", "for", "logout", "empty", "implementation", "for", "now", "can", "override", "if", "you", "can", "store", "this", "information", "somewhere" ]
[ "return", "collections", "empty", "map", ";" ]
[ "overriding", "implementations", "should", "call", "super", "update", "client", "(", ")", "as", "this", "fires", "off", "an", "update", "event" ]
[ "session", "get", "keycloak", "session", "factory", "(", ")", "publish", "(", "new", "realm", "model", "client", "updated", "event", "(", ")", "{", "@", "override", "public", "client", "model", "get", "updated", "client", "(", ")", "{", "return", "abstract", "client", "storage", "adapter", "this", ";", "}", "@", "override", "public", "keycloak", "session", "get", "keycloak", "session", "(", ")", "{", "return", "session", ";", "}", "}", ")", ";" ]
[ "<", "p", ">", "the", "repository", "that", "was", "created", "<", "/", "p", ">" ]
[ "set", "repository", "(", "repository", ")", ";", "return", "this", ";" ]
[ "tests", "the", "assigned", "ordinal", "of", "the", "elements", "of", "the", "{" ]
[ "assert", "equals", "(", "0", ",", "private", "ordinal", "(", ")", ")", ";", "assert", "equals", "(", "1", ",", "package", "ordinal", "(", ")", ")", ";", "assert", "equals", "(", "2", ",", "protected", "ordinal", "(", ")", ")", ";", "assert", "equals", "(", "3", ",", "public", "ordinal", "(", ")", ")", ";" ]
[ "gets", "the", "type", "expression", "for", "a", "simple", "type", "name" ]
[ "return", "new", "j", "s", "type", "expression", "(", "node", "new", "string", "(", "s", ")", ",", "\"", "\"", ")", ";" ]
[ "hhh", "-", "4907", "i", "don", "t", "know", "if", "oracle", "8", "supports", "this", "syntax", "so", "i", "d", "think", "it", "is", "better", "add", "this", "method", "here", "reopen", "this", "issue", "if", "you", "found", "/", "know", "8", "supports", "it", "<", "p", "/", ">", "{" ]
[ "return", "true", ";" ]
[ "/", "*", "hana", "doesn", "t", "really", "support", "ref", "cursor", "returns", "from", "a", "procedure", "but", "ref", "cursor", "support", "can", "be", "emulated", "by", "using", "procedures", "or", "functions", "with", "an", "out", "parameter", "of", "type", "table", "the", "results", "will", "be", "returned", "as", "result", "sets", "on", "the", "callable", "statement" ]
[ "return", "standard", "callable", "statement", "support", "ref", "cursor", "instance", ";" ]
[ "bit" ]
[ "array", "list", "<", "c", "c", "window", "layout", ">", "windows", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "caption", "windows", "max", ";", "+", "+", "i", ")", "{", "if", "(", "(", "window", "bitmap", "&", "(", "1", "<", "<", "i", ")", ")", "!", "=", "0", ")", "{", "c", "c", "window", "layout", "window", "layout", "=", "m", "caption", "window", "layouts", "[", "i", "]", ";", "if", "(", "window", "layout", "!", "=", "null", ")", "{", "windows", "add", "(", "window", "layout", ")", ";", "}", "}", "}", "return", "windows", ";" ]
[ "the", "job", "related", "caption", "commands" ]
[ "if", "(", "tenths", "of", "seconds", "<", "0", "|", "|", "tenths", "of", "seconds", ">", "255", ")", "{", "return", ";", "}", "m", "is", "delayed", "=", "true", ";", "m", "handler", "send", "message", "delayed", "(", "m", "handler", "obtain", "message", "(", "msg", "delay", "cancel", ")", ",", "tenths", "of", "seconds", "*", "tenths", "of", "second", "in", "millis", ")", ";" ]
[ "the", "implicit", "write", "caption", "commands" ]
[ "if", "(", "m", "current", "window", "layout", "!", "=", "null", ")", "{", "m", "current", "window", "layout", "send", "control", "(", "control", ")", ";", "}" ]
[ "the", "pen", "related", "caption", "commands" ]
[ "if", "(", "m", "current", "window", "layout", "!", "=", "null", ")", "{", "m", "current", "window", "layout", "set", "pen", "attr", "(", "attr", ")", ";", "}" ]
[ "traverse", "a", "return", "value" ]
[ "scope", "=", "traverse", "children", "(", "n", ",", "scope", ")", ";", "node", "ret", "value", "=", "n", "get", "first", "child", "(", ")", ";", "if", "(", "ret", "value", "!", "=", "null", ")", "{", "j", "s", "type", "type", "=", "function", "scope", "get", "root", "node", "(", ")", "get", "j", "s", "type", "(", ")", ";", "if", "(", "type", "!", "=", "null", ")", "{", "function", "type", "fn", "type", "=", "type", "to", "maybe", "function", "type", "(", ")", ";", "if", "(", "fn", "type", "!", "=", "null", ")", "{", "infer", "property", "types", "to", "match", "constraint", "(", "ret", "value", "get", "j", "s", "type", "(", ")", ",", "fn", "type", "get", "return", "type", "(", ")", ")", ";", "}", "}", "}", "return", "scope", ";" ]
[ "traverses", "a", "destructuring", "pattern", "in", "an", "assignment", "or", "declaration" ]
[ "return", "traverse", "destructuring", "pattern", "helper", "(", "pattern", ",", "scope", ",", "pattern", "type", ",", "(", "flow", "scope", "flow", "scope", ",", "node", "target", "node", ",", "j", "s", "type", "target", "type", ")", "-", ">", "{", "target", "type", "=", "target", "type", "!", "=", "null", "?", "target", "type", ":", "get", "native", "type", "(", "unknown", "type", ")", ";", "return", "update", "scope", "for", "assignment", "(", "flow", "scope", ",", "target", "node", ",", "target", "type", ",", "assignment", "type", ")", ";", "}", ")", ";" ]
[ "traverse", "each", "element", "of", "the", "array" ]
[ "scope", "=", "traverse", "children", "(", "n", ",", "scope", ")", ";", "n", "set", "j", "s", "type", "(", "get", "native", "type", "(", "array", "type", ")", ")", ";", "return", "scope", ";" ]
[ "we", "only", "do", "forward", "type", "inference", "we", "do", "not", "do", "full", "backwards", "type", "inference" ]
[ "boolean", "updated", "fn", "type", "=", "infer", "templated", "types", "for", "call", "(", "n", ",", "fn", "type", ",", "scope", ")", ";", "if", "(", "updated", "fn", "type", ")", "{", "fn", "type", "=", "n", "get", "first", "child", "(", ")", "get", "j", "s", "type", "(", ")", "to", "maybe", "function", "type", "(", ")", ";", "}", "update", "type", "of", "arguments", "(", "n", ",", "fn", "type", ")", ";", "update", "bind", "(", "n", ")", ";" ]
[ "suppose", "x", "is", "an", "object", "with", "inferred", "properties", "suppose", "also", "that", "x", "is", "used", "in", "a", "way", "where", "it", "would", "only", "type", "-", "check", "correctly", "if", "some", "of", "those", "properties", "are", "widened", "then", "we", "should", "be", "polite", "and", "automatically", "widen", "x", "s", "properties" ]
[ "if", "(", "type", "=", "=", "null", "|", "|", "constraint", "=", "=", "null", ")", "{", "return", ";", "}", "type", "match", "constraint", "(", "constraint", ")", ";" ]
[ "if", "we", "access", "a", "property", "of", "a", "symbol", "then", "that", "symbol", "is", "not", "null", "or", "undefined" ]
[ "if", "(", "n", "is", "qualified", "name", "(", ")", ")", "{", "j", "s", "type", "type", "=", "get", "j", "s", "type", "(", "n", ")", ";", "j", "s", "type", "narrowed", "=", "type", "restrict", "by", "not", "null", "or", "undefined", "(", ")", ";", "if", "(", "!", "type", "equals", "(", "narrowed", ")", ")", "{", "scope", "=", "narrow", "scope", "(", "scope", ",", "n", ",", "narrowed", ")", ";", "}", "}", "return", "scope", ";" ]
[ "gets", "the", "safe", "estimated", "scope", "without", "knowing", "if", "all", "of", "the", "subexpressions", "will", "be", "evaluated" ]
[ "if", "(", "joined", "scope", "=", "=", "null", ")", "{", "if", "(", "left", "scope", "=", "=", "right", "scope", ")", "{", "joined", "scope", "=", "right", "scope", ";", "}", "else", "{", "joined", "scope", "=", "join", "(", "left", "scope", ",", "right", "scope", ")", ";", "}", "}", "return", "joined", "scope", ";" ]
[ "create", "a", "blank", "new", "clustered", "vert", "x", "instance", "with" ]
[ "if", "(", "created", "=", "=", "null", ")", "{", "created", "=", "collections", "synchronized", "list", "(", "new", "array", "list", "<", ">", "(", ")", ")", ";", "}", "vertx", "clustered", "vertx", "(", "options", ",", "event", "-", ">", "{", "if", "(", "event", "succeeded", "(", ")", ")", "{", "created", "add", "(", "event", "result", "(", ")", ")", ";", "}", "ar", "handle", "(", "event", ")", ";", "}", ")", ";" ]
[ "create", "a", "worker", "verticle", "for", "the", "current", "vert", "x", "and", "return", "its", "context" ]
[ "completable", "future", "<", "context", ">", "fut", "=", "new", "completable", "future", "<", ">", "(", ")", ";", "vertx", "deploy", "verticle", "(", "new", "abstract", "verticle", "(", ")", "{", "@", "override", "public", "void", "start", "(", ")", "throws", "exception", "{", "fut", "complete", "(", "context", ")", ";", "}", "}", ",", "new", "deployment", "options", "(", ")", "set", "worker", "(", "true", ")", ",", "ar", "-", ">", "{", "if", "(", "ar", "failed", "(", ")", ")", "{", "fut", "complete", "exceptionally", "(", "ar", "cause", "(", ")", ")", ";", "}", "}", ")", ";", "return", "fut", "get", "(", ")", ";" ]
[ "create", "worker", "verticles", "for", "the", "current", "vert", "x", "and", "returns", "the", "list", "of", "their", "contexts" ]
[ "list", "<", "context", ">", "contexts", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num", ";", "i", "+", "+", ")", "{", "contexts", "add", "(", "create", "worker", "(", ")", ")", ";", "}", "return", "contexts", ";" ]
[ "initializes", "required", "egl", "parameters", "and", "creates", "the", "{", "@", "link", "surface", "texture", "}" ]
[ "display", "=", "get", "default", "display", "(", ")", ";", "e", "g", "l", "config", "config", "=", "choose", "e", "g", "l", "config", "(", "display", ")", ";", "context", "=", "create", "e", "g", "l", "context", "(", "display", ",", "config", ",", "secure", "mode", ")", ";", "surface", "=", "create", "e", "g", "l", "surface", "(", "display", ",", "config", ",", "context", ",", "secure", "mode", ")", ";", "generate", "texture", "ids", "(", "texture", "id", "holder", ")", ";", "texture", "=", "new", "surface", "texture", "(", "texture", "id", "holder", "[", "0", "]", ")", ";", "texture", "set", "on", "frame", "available", "listener", "(", "this", ")", ";" ]
[ "returns", "the", "wrapped", "{" ]
[ "return", "assertions", "check", "not", "null", "(", "texture", ")", ";" ]
[ "surface", "texture", "on", "frame", "available", "listener" ]
[ "handler", "post", "(", "this", ")", ";" ]
[ "if", "you", "call", "this", "you", "have", "to", "call", "recalculate", "size", "(", ")", "thereafter", "this", "doesn", "t", "happen", "here", "as", "it", "would", "lead", "to", "duplication", "of", "work", "(", "the", "usual", "setup", "is", "to", "set", "both", "the", "type", "instance", "container", "and", "the", "section", "in", "close", "succession", "and", "the", "section", "then", "recalculates", "the", "size" ]
[ "type", "container", "=", "instance", "container", ";" ]
[ "/", "*", "each", "type", "instance", "gets", "a", "separate", "row", "-", "which", "can", "then", "have", "multiple", "lines", "(", "type", "declaration", "etc", ")" ]
[ "return", "types", "to", "display", "size", "(", ")", ";" ]
[ "won", "t", "be", "auto", "-", "detected", "any", "more" ]
[ "return", "1", ";" ]
[ "but", "this", "will", "be" ]
[ "return", "true", ";" ]
[ "set", "the", "query", "from", "parameter" ]
[ "this", "from", "=", "from", ";", "return", "this", ";" ]
[ "set", "the", "query", "size", "parameter" ]
[ "this", "size", "=", "size", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "short", "name", "or", "full", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "cluster", "that", "hosts", "the", "task", "to", "stop", "if", "you", "do", "not", "specify", "a", "cluster", "the", "default", "cluster", "is", "assumed", "<", "/", "p", ">" ]
[ "set", "cluster", "(", "cluster", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "task", "id", "or", "full", "arn", "entry", "of", "the", "task", "to", "stop", "<", "/", "p", ">" ]
[ "set", "task", "(", "task", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "optional", "message", "specified", "when", "a", "task", "is", "stopped", "for", "example", "if", "you", "are", "using", "a", "custom", "scheduler", "you", "can", "use", "this", "parameter", "to", "specify", "the", "reason", "for", "stopping", "the", "task", "here", "and", "the", "message", "appears", "in", "subsequent", "<", "a", ">", "describe", "tasks", "<", "/", "a", ">", "api", "operations", "on", "this", "task", "up", "to", "255", "characters", "are", "allowed", "in", "this", "message", "<", "/", "p", ">" ]
[ "set", "reason", "(", "reason", ")", ";", "return", "this", ";" ]
[ "returns", "{", "@", "code", "true", "}", "if", "peer", "class", "loading", "is", "enabled", "{", "@", "code", "false", "}", "otherwise", "default", "value", "is", "{", "@", "code", "false", "}", "specified", "by", "{", "@", "link", "#", "dflt", "p2p", "enabled", "}", "<", "p", ">", "when", "peer", "class", "loading", "is", "enabled", "and", "task", "is", "not", "deployed", "on", "local", "node", "local", "node", "will", "try", "to", "load", "classes", "from", "the", "node", "that", "initiated", "task", "execution", "this", "way", "a", "task", "can", "be", "physically", "deployed", "only", "on", "one", "node", "and", "then", "internally", "penetrate", "to", "all", "other", "nodes", "<", "p", ">", "see", "{", "@", "link", "compute", "task", "}", "documentation", "for", "more", "information", "about", "task", "deployment" ]
[ "return", "p", "2p", "enabled", ";" ]
[ "{" ]
[ "out", "write", "boolean", "(", "p", "2p", "enabled", ")", ";", "out", "write", "int", "(", "p", "2p", "missed", "res", "cache", "size", ")", ";", "u", "write", "collection", "(", "out", ",", "p", "2p", "loc", "cls", "path", "excl", ")", ";" ]
[ "{" ]
[ "p", "2p", "enabled", "=", "in", "read", "boolean", "(", ")", ";", "p", "2p", "missed", "res", "cache", "size", "=", "in", "read", "int", "(", ")", ";", "p", "2p", "loc", "cls", "path", "excl", "=", "u", "read", "list", "(", "in", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "visor", "peer", "to", "peer", "configuration", "class", ",", "this", ")", ";" ]
[ "sets", "the", "new", "state", "of", "never", "translate", "domain" ]
[ "return", "toggle", "state", "(", "never", "domain", ",", "value", ")", ";" ]
[ "returns", "the", "current", "status", "of", "aware", "api", ":", "whether", "or", "not", "aware", "is", "available", "to", "track", "changes", "in", "the", "state", "of", "aware", "api", "register", "for", "the", "{", "@", "link", "#", "action", "wifi", "aware", "state", "changed", "}", "broadcast" ]
[ "try", "{", "return", "m", "service", "is", "usage", "enabled", "(", ")", ";", "}", "catch", "(", "remote", "exception", "e", ")", "{", "throw", "e", "rethrow", "from", "system", "server", "(", ")", ";", "}" ]
[ "returns", "the", "characteristics", "of", "the", "wi", "-", "fi", "aware", "interface", ":", "a", "set", "of", "parameters", "which", "specify", "limitations", "on", "configurations", "e", "g", "the", "maximum", "service", "name", "length" ]
[ "try", "{", "return", "m", "service", "get", "characteristics", "(", ")", ";", "}", "catch", "(", "remote", "exception", "e", ")", "{", "throw", "e", "rethrow", "from", "system", "server", "(", ")", ";", "}" ]
[ "attach", "to", "the", "wi", "-", "fi", "aware", "service", "-", "enabling", "the", "application", "to", "create", "discovery", "sessions", "or", "create", "connections", "to", "peers", "the", "device", "will", "attach", "to", "an", "existing", "cluster", "if", "it", "can", "find", "one", "or", "create", "a", "new", "cluster", "(", "if", "it", "is", "the", "first", "to", "enable", "aware", "in", "its", "vicinity", ")", "results", "(", "e", "g", "successful", "attach", "to", "a", "cluster", ")", "are", "provided", "to", "the", "{", "@", "code", "attach", "callback", "}", "object", "an", "application", "<", "b", ">", "must", "<", "/", "b", ">", "call", "{", "@", "link", "wifi", "aware", "session", "#", "close", "(", ")", "}", "when", "done", "with", "the", "wi", "-", "fi", "aware", "object", "<", "p", ">", "note", ":", "a", "aware", "cluster", "is", "a", "shared", "resource", "-", "if", "the", "device", "is", "already", "attached", "to", "a", "cluster", "then", "this", "function", "will", "simply", "indicate", "success", "immediately", "using", "the", "same", "{", "@", "code", "attach", "callback", "}" ]
[ "attach", "(", "handler", ",", "null", ",", "attach", "callback", ",", "null", ")", ";" ]
[ "attach", "to", "the", "wi", "-", "fi", "aware", "service", "-", "enabling", "the", "application", "to", "create", "discovery", "sessions", "or", "create", "connections", "to", "peers", "the", "device", "will", "attach", "to", "an", "existing", "cluster", "if", "it", "can", "find", "one", "or", "create", "a", "new", "cluster", "(", "if", "it", "is", "the", "first", "to", "enable", "aware", "in", "its", "vicinity", ")", "results", "(", "e", "g", "successful", "attach", "to", "a", "cluster", ")", "are", "provided", "to", "the", "{", "@", "code", "attach", "callback", "}", "object", "an", "application", "<", "b", ">", "must", "<", "/", "b", ">", "call", "{", "@", "link", "wifi", "aware", "session", "#", "close", "(", ")", "}", "when", "done", "with", "the", "wi", "-", "fi", "aware", "object", "<", "p", ">", "note", ":", "a", "aware", "cluster", "is", "a", "shared", "resource", "-", "if", "the", "device", "is", "already", "attached", "to", "a", "cluster", "then", "this", "function", "will", "simply", "indicate", "success", "immediately", "using", "the", "same", "{", "@", "code", "attach", "callback", "}", "<", "p", ">", "this", "version", "of", "the", "api", "attaches", "a", "listener", "to", "receive", "the", "mac", "address", "of", "the", "aware", "interface", "on", "startup", "and", "whenever", "it", "is", "updated", "(", "it", "is", "randomized", "at", "regular", "intervals", "for", "privacy", ")", "the", "application", "must", "have", "the", "{", "@", "link", "android", "manifest", "permission", "#", "access", "coarse", "location", "}", "permission", "to", "execute", "this", "attach", "request", "otherwise", "use", "the", "{", "@", "link", "#", "attach", "(", "attach", "callback", "handler", ")", "}", "version", "note", "that", "aside", "from", "permission", "requirements", "this", "listener", "will", "wake", "up", "the", "host", "at", "regular", "intervals", "causing", "higher", "power", "consumption", "do", "not", "use", "it", "unless", "the", "information", "is", "necessary", "(", "e", "g", "for", "oob", "discovery", ")" ]
[ "attach", "(", "handler", ",", "null", ",", "attach", "callback", ",", "identity", "changed", "listener", ")", ";" ]
[ "stop", "listening", "to", "recycler", "view", "scroll", "events", "and", "discard", "the", "associated", "resources", "this", "should", "be", "done", "when", "the", "object", "that", "created", "this", "is", "released" ]
[ "if", "(", "this", "subscription", "!", "=", "null", ")", "{", "this", "subscription", "unsubscribe", "(", ")", ";", "this", "subscription", "=", "null", ";", "}" ]
[ "returns", "a", "(", "visible", "item", "total", "item", "count", ")", "pair", "given", "a", "linear", "layout", "manager" ]
[ "return", "new", "pair", "<", ">", "(", "manager", "find", "last", "visible", "item", "position", "(", ")", ",", "manager", "get", "item", "count", "(", ")", ")", ";" ]
[ "creates", "a", "{" ]
[ "try", "{", "return", "new", "print", "stream", "(", "new", "jul", "handler", "adapter", "output", "stream", "(", "handler", ",", "logger", "name", ",", "message", "level", ")", ",", "false", ",", "standard", "charsets", "utf", "8", "name", "(", ")", ")", ";", "}", "catch", "(", "unsupported", "encoding", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "verity", "empty", "uri" ]
[ "assert", "null", "(", "commit", "uri", "matcher", "get", "commit", "(", "uri", "parse", "(", "\"", "\"", ")", ")", ")", ";" ]
[ "the", "generation", "of", "the", "authentication", "event", "should", "not", "prevent", "the", "removal", "of", "jwt", "cookie", "that", "s", "why", "it", "s", "done", "in", "a", "separate", "method" ]
[ "try", "{", "optional", "<", "jwt", "http", "handler", "token", ">", "token", "=", "jwt", "http", "handler", "get", "token", "(", "request", ",", "response", ")", ";", "string", "user", "login", "=", "token", "is", "present", "(", ")", "?", "token", "get", "(", ")", "get", "user", "dto", "(", ")", "get", "login", "(", ")", ":", "null", ";", "authentication", "event", "logout", "success", "(", "request", ",", "user", "login", ")", ";", "}", "catch", "(", "authentication", "exception", "e", ")", "{", "authentication", "event", "logout", "failure", "(", "request", ",", "e", "get", "message", "(", ")", ")", ";", "}" ]
[ "{" ]
[ "switch", "(", "type", ")", "{", "case", "checkpoint", "record", ":", "long", "msb", "=", "in", "read", "long", "(", ")", ";", "long", "lsb", "=", "in", "read", "long", "(", ")", ";", "boolean", "has", "ptr", "=", "in", "read", "byte", "(", ")", "!", "=", "0", ";", "int", "idx", "0", "=", "has", "ptr", "?", "in", "read", "int", "(", ")", ":", "0", ";", "int", "off", "=", "has", "ptr", "?", "in", "read", "int", "(", ")", ":", "0", ";", "int", "len", "=", "has", "ptr", "?", "in", "read", "int", "(", ")", ":", "0", ";", "map", "<", "integer", ",", "cache", "state", ">", "states", "=", "read", "partition", "states", "(", "in", ")", ";", "boolean", "end", "=", "in", "read", "byte", "(", ")", "!", "=", "0", ";", "file", "w", "a", "l", "pointer", "wal", "ptr", "=", "has", "ptr", "?", "new", "file", "w", "a", "l", "pointer", "(", "idx", "0", ",", "off", ",", "len", ")", ":", "null", ";", "checkpoint", "record", "cp", "rec", "=", "new", "checkpoint", "record", "(", "new", "uuid", "(", "msb", ",", "lsb", ")", ",", "wal", "ptr", ",", "end", ")", ";", "cp", "rec", "cache", "group", "states", "(", "states", ")", ";", "return", "cp", "rec", ";", "case", "data", "record", ":", "int", "entry", "cnt", "=", "in", "read", "int", "(", ")", ";", "long", "time", "stamp", "=", "in", "read", "long", "(", ")", ";", "list", "<", "data", "entry", ">", "entries", "=", "new", "array", "list", "<", ">", "(", "entry", "cnt", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "entry", "cnt", ";", "i", "+", "+", ")", "entries", "add", "(", "read", "plain", "data", "entry", "(", "in", ")", ")", ";", "return", "new", "data", "record", "(", "entries", ",", "time", "stamp", ")", ";", "case", "encrypted", "data", "record", ":", "entry", "cnt", "=", "in", "read", "int", "(", ")", ";", "time", "stamp", "=", "in", "read", "long", "(", ")", ";", "entries", "=", "new", "array", "list", "<", ">", "(", "entry", "cnt", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "entry", "cnt", ";", "i", "+", "+", ")", "entries", "add", "(", "read", "encrypted", "data", "entry", "(", "in", ")", ")", ";", "return", "new", "data", "record", "(", "entries", ",", "time", "stamp", ")", ";", "case", "snapshot", ":", "long", "snp", "id", "=", "in", "read", "long", "(", ")", ";", "byte", "full", "=", "in", "read", "byte", "(", ")", ";", "return", "new", "snapshot", "record", "(", "snp", "id", ",", "full", "=", "=", "1", ")", ";", "case", "exchange", ":", "int", "idx", "=", "in", "read", "int", "(", ")", ";", "short", "const", "id", "=", "in", "read", "short", "(", ")", ";", "long", "ts", "=", "in", "read", "long", "(", ")", ";", "return", "new", "exchange", "record", "(", "const", "id", ",", "exchange", "record", "type", "values", "(", ")", "[", "idx", "]", ",", "ts", ")", ";", "case", "tx", "record", ":", "return", "tx", "record", "serializer", "read", "(", "in", ")", ";", "default", ":", "return", "super", "read", "plain", "record", "(", "type", ",", "in", ",", "encrypted", ")", ";", "}" ]