docstring_tokens
list
code_tokens
list
[ "sets", "the", "windowing", "mode", "the", "activity", "should", "launch", "into", "if", "the", "input", "windowing", "mode", "is", "{", "@", "link", "android", "app", "window", "configuration", "#", "windowing", "mode", "split", "screen", "secondary", "}", "and", "the", "device", "isn", "t", "currently", "in", "split", "-", "screen", "windowing", "mode", "then", "the", "activity", "will", "be", "launched", "in", "{", "@", "link", "android", "app", "window", "configuration", "#", "windowing", "mode", "fullscreen", "}", "windowing", "mode", "for", "clarity", "on", "this", "you", "can", "use", "{", "@", "link", "android", "app", "window", "configuration", "#", "windowing", "mode", "fullscreen", "or", "split", "screen", "secondary", "}" ]
[ "m", "launch", "windowing", "mode", "=", "windowing", "mode", ";" ]
[ "sets", "the", "task", "the", "activity", "will", "be", "launched", "in" ]
[ "m", "launch", "task", "id", "=", "task", "id", ";" ]
[ "set", "s", "whether", "the", "activity", "launched", "with", "this", "option", "should", "be", "a", "task", "overlay", "that", "is", "the", "activity", "will", "always", "be", "the", "top", "activity", "of", "the", "task", "if", "{" ]
[ "m", "task", "overlay", "=", "task", "overlay", ";", "m", "task", "overlay", "can", "resume", "=", "can", "resume", ";" ]
[ "sets", "whether", "the", "activity", "launched", "should", "not", "cause", "the", "activity", "stack", "it", "is", "contained", "in", "to", "be", "moved", "to", "the", "front", "as", "a", "part", "of", "launching" ]
[ "m", "avoid", "move", "to", "front", "=", "true", ";" ]
[ "update", "the", "current", "values", "in", "this", "activity", "options", "from", "those", "supplied", "in", "<", "var", ">", "other", "options", "<", "/", "var", ">", "any", "values", "defined", "in", "<", "var", ">", "other", "options", "<", "/", "var", ">", "replace", "those", "in", "the", "base", "options" ]
[ "if", "(", "other", "options", "m", "package", "name", "!", "=", "null", ")", "{", "m", "package", "name", "=", "other", "options", "m", "package", "name", ";", "}", "m", "usage", "time", "report", "=", "other", "options", "m", "usage", "time", "report", ";", "m", "transition", "receiver", "=", "null", ";", "m", "shared", "element", "names", "=", "null", ";", "m", "is", "returning", "=", "false", ";", "m", "result", "data", "=", "null", ";", "m", "result", "code", "=", "0", ";", "m", "exit", "coordinator", "index", "=", "0", ";", "m", "animation", "type", "=", "other", "options", "m", "animation", "type", ";", "switch", "(", "other", "options", "m", "animation", "type", ")", "{", "case", "anim", "custom", ":", "m", "custom", "enter", "res", "id", "=", "other", "options", "m", "custom", "enter", "res", "id", ";", "m", "custom", "exit", "res", "id", "=", "other", "options", "m", "custom", "exit", "res", "id", ";", "m", "thumbnail", "=", "null", ";", "if", "(", "m", "animation", "started", "listener", "!", "=", "null", ")", "{", "try", "{", "m", "animation", "started", "listener", "send", "result", "(", "null", ")", ";", "}", "catch", "(", "remote", "exception", "e", ")", "{", "}", "}", "m", "animation", "started", "listener", "=", "other", "options", "m", "animation", "started", "listener", ";", "break", ";", "case", "anim", "custom", "in", "place", ":", "m", "custom", "in", "place", "res", "id", "=", "other", "options", "m", "custom", "in", "place", "res", "id", ";", "break", ";", "case", "anim", "scale", "up", ":", "m", "start", "x", "=", "other", "options", "m", "start", "x", ";", "m", "start", "y", "=", "other", "options", "m", "start", "y", ";", "m", "width", "=", "other", "options", "m", "width", ";", "m", "height", "=", "other", "options", "m", "height", ";", "if", "(", "m", "animation", "started", "listener", "!", "=", "null", ")", "{", "try", "{", "m", "animation", "started", "listener", "send", "result", "(", "null", ")", ";", "}", "catch", "(", "remote", "exception", "e", ")", "{", "}", "}", "m", "animation", "started", "listener", "=", "null", ";", "break", ";", "case", "anim", "thumbnail", "scale", "up", ":", "case", "anim", "thumbnail", "scale", "down", ":", "case", "anim", "thumbnail", "aspect", "scale", "up", ":", "case", "anim", "thumbnail", "aspect", "scale", "down", ":", "m", "thumbnail", "=", "other", "options", "m", "thumbnail", ";", "m", "start", "x", "=", "other", "options", "m", "start", "x", ";", "m", "start", "y", "=", "other", "options", "m", "start", "y", ";", "m", "width", "=", "other", "options", "m", "width", ";", "m", "height", "=", "other", "options", "m", "height", ";", "if", "(", "m", "animation", "started", "listener", "!", "=", "null", ")", "{", "try", "{", "m", "animation", "started", "listener", "send", "result", "(", "null", ")", ";", "}", "catch", "(", "remote", "exception", "e", ")", "{", "}", "}", "m", "animation", "started", "listener", "=", "other", "options", "m", "animation", "started", "listener", ";", "break", ";", "case", "anim", "scene", "transition", ":", "m", "transition", "receiver", "=", "other", "options", "m", "transition", "receiver", ";", "m", "shared", "element", "names", "=", "other", "options", "m", "shared", "element", "names", ";", "m", "is", "returning", "=", "other", "options", "m", "is", "returning", ";", "m", "thumbnail", "=", "null", ";", "m", "animation", "started", "listener", "=", "null", ";", "m", "result", "data", "=", "other", "options", "m", "result", "data", ";", "m", "result", "code", "=", "other", "options", "m", "result", "code", ";", "m", "exit", "coordinator", "index", "=", "other", "options", "m", "exit", "coordinator", "index", ";", "break", ";", "}", "m", "lock", "task", "mode", "=", "other", "options", "m", "lock", "task", "mode", ";", "m", "anim", "specs", "=", "other", "options", "m", "anim", "specs", ";", "m", "animation", "finished", "listener", "=", "other", "options", "m", "animation", "finished", "listener", ";", "m", "specs", "future", "=", "other", "options", "m", "specs", "future", ";", "m", "remote", "animation", "adapter", "=", "other", "options", "m", "remote", "animation", "adapter", ";" ]
[ "ask", "the", "the", "system", "track", "that", "time", "the", "user", "spends", "in", "the", "app", "being", "launched", "and", "report", "it", "back", "once", "done", "the", "report", "will", "be", "sent", "to", "the", "given", "receiver", "with", "the", "extras", "{", "@", "link", "#", "extra", "usage", "time", "report", "}", "and", "{", "@", "link", "#", "extra", "usage", "time", "report", "packages", "}", "filled", "in" ]
[ "m", "usage", "time", "report", "=", "receiver", ";" ]
[ "return", "the", "filtered", "options", "only", "meant", "to", "be", "seen", "by", "the", "target", "activity", "itself" ]
[ "if", "(", "m", "animation", "type", "=", "=", "anim", "scene", "transition", ")", "{", "final", "activity", "options", "result", "=", "new", "activity", "options", "(", ")", ";", "result", "update", "(", "this", ")", ";", "return", "result", ";", "}", "return", "null", ";" ]
[ "returns", "the", "rotation", "animation", "set", "by", "{" ]
[ "return", "m", "rotation", "animation", "hint", ";" ]
[ "set", "a", "rotation", "animation", "to", "be", "used", "if", "launching", "the", "activity", "triggers", "an", "orientation", "change", "or", "-", "1", "to", "clear", "see", "{" ]
[ "m", "rotation", "animation", "hint", "=", "hint", ";" ]
[ "pop", "the", "extra", "verification", "bundle", "for", "the", "installer", "this", "removes", "the", "bundle", "from", "the", "activity", "options", "to", "make", "sure", "the", "installer", "bundle", "is", "only", "available", "once" ]
[ "bundle", "out", "=", "m", "app", "verification", "bundle", ";", "m", "app", "verification", "bundle", "=", "null", ";", "return", "out", ";" ]
[ "set", "the", "{", "@", "link", "bundle", "}", "that", "is", "provided", "to", "the", "app", "installer", "for", "additional", "verification", "if", "the", "call", "to", "{", "@", "link", "context", "#", "start", "activity", "}", "results", "in", "an", "app", "being", "installed" ]
[ "m", "app", "verification", "bundle", "=", "bundle", ";", "return", "this", ";" ]
[ "{" ]
[ "horizon", "binding", "config", "config", "=", "new", "horizon", "binding", "config", "(", ")", ";", "parse", "binding", "config", "(", "binding", "config", ",", "config", ")", ";", "add", "binding", "config", "(", "item", ",", "config", ")", ";", "super", "process", "binding", "configuration", "(", "context", ",", "item", ",", "binding", "config", ")", ";" ]
[ "{" ]
[ "horizon", "binding", "config", "config", "=", "(", "horizon", "binding", "config", ")", "binding", "configs", "get", "(", "item", "name", ")", ";", "return", "config", "!", "=", "null", "?", "config", "get", "(", "command", ")", ":", "null", ";" ]
[ "decrement", "the", "reference", "count" ]
[ "cache", "unref", "(", "this", ")", ";" ]
[ "remove", "a", "no", "-", "checksum", "anchor", "for", "our", "shared", "memory", "slot" ]
[ "if", "(", "slot", "!", "=", "null", ")", "{", "slot", "remove", "anchor", "(", ")", ";", "}" ]
[ "check", "if", "the", "replica", "has", "an", "associated", "mmap", "that", "has", "been", "fully", "loaded" ]
[ "return", "(", "(", "mmap", "data", "!", "=", "null", ")", "&", "&", "(", "mmap", "data", "instanceof", "mapped", "byte", "buffer", ")", ")", ";" ]
[ "free", "the", "mmap", "associated", "with", "this", "replica" ]
[ "mapped", "byte", "buffer", "mmap", "=", "(", "mapped", "byte", "buffer", ")", "mmap", "data", ";", "native", "i", "o", "posix", "munmap", "(", "mmap", ")", ";", "mmap", "data", "=", "null", ";" ]
[ "get", "the", "evictable", "time", "in", "nanoseconds" ]
[ "return", "evictable", "time", "ns", ";" ]
[ "set", "the", "evictable", "time", "in", "nanoseconds" ]
[ "this", "evictable", "time", "ns", "=", "evictable", "time", "ns", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "mvcc", "snapshot", "search", "row", "class", ",", "this", ")", ";" ]
[ "get", "the", "source", "excerpt", "provider" ]
[ "return", "source", ";" ]
[ "<", "p", ">", "the", "user", "pool", "clients", "in", "the", "response", "that", "lists", "user", "pool", "clients", "<", "/", "p", ">" ]
[ "return", "user", "pool", "clients", ";" ]
[ "<", "p", ">", "the", "user", "pool", "clients", "in", "the", "response", "that", "lists", "user", "pool", "clients", "<", "/", "p", ">" ]
[ "if", "(", "user", "pool", "clients", "=", "=", "null", ")", "{", "this", "user", "pool", "clients", "=", "null", ";", "return", ";", "}", "this", "user", "pool", "clients", "=", "new", "java", "util", "array", "list", "<", "user", "pool", "client", "description", ">", "(", "user", "pool", "clients", ")", ";" ]
[ "<", "p", ">", "the", "user", "pool", "clients", "in", "the", "response", "that", "lists", "user", "pool", "clients", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "user", "pool", "clients", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "user", "pool", "clients", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "user", "pool", "clients", "=", "=", "null", ")", "{", "set", "user", "pool", "clients", "(", "new", "java", "util", "array", "list", "<", "user", "pool", "client", "description", ">", "(", "user", "pool", "clients", "length", ")", ")", ";", "}", "for", "(", "user", "pool", "client", "description", "ele", ":", "user", "pool", "clients", ")", "{", "this", "user", "pool", "clients", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "user", "pool", "clients", "in", "the", "response", "that", "lists", "user", "pool", "clients", "<", "/", "p", ">" ]
[ "set", "user", "pool", "clients", "(", "user", "pool", "clients", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "identifier", "that", "was", "returned", "from", "the", "previous", "call", "to", "this", "operation", "which", "can", "be", "used", "to", "return", "the", "next", "set", "of", "items", "in", "the", "list", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "the", "original", "value", "before", "the", "illegal", "mutation" ]
[ "return", "saved", "value", ";" ]
[ "use", "the", "specified", "logger", "source", "to", "report", "any", "lambda", "failures" ]
[ "return", "with", "logger", "(", "log", "factory", "get", "log", "(", "logger", "source", ")", ")", ";" ]
[ "invoke", "the", "callback", "instance", "where", "the", "callback", "method", "returns", "void" ]
[ "invoke", "(", "this", "callback", "instance", ",", "(", ")", "-", ">", "{", "invoker", "accept", "(", "this", "callback", "instance", ")", ";", "return", "null", ";", "}", ")", ";" ]
[ "invoke", "the", "callback", "instance", "where", "the", "callback", "method", "returns", "a", "result" ]
[ "return", "invoke", "(", "this", "callback", "instance", ",", "(", ")", "-", ">", "invoker", "apply", "(", "this", "callback", "instance", ")", ")", ";" ]
[ "invoke", "the", "callback", "instances", "where", "the", "callback", "method", "returns", "void" ]
[ "this", "callback", "instances", "for", "each", "(", "(", "callback", "instance", ")", "-", ">", "{", "invoke", "(", "callback", "instance", ",", "(", ")", "-", ">", "{", "invoker", "accept", "(", "callback", "instance", ")", ";", "return", "null", ";", "}", ")", ";", "}", ")", ";" ]
[ "invoke", "the", "callback", "instances", "where", "the", "callback", "method", "returns", "a", "result" ]
[ "function", "<", "c", ",", "invocation", "result", "<", "r", ">", ">", "mapper", "=", "(", "callback", "instance", ")", "-", ">", "invoke", "(", "callback", "instance", ",", "(", ")", "-", ">", "invoker", "apply", "(", "callback", "instance", ")", ")", ";", "return", "this", "callback", "instances", "stream", "(", ")", "map", "(", "mapper", ")", "filter", "(", "invocation", "result", ":", ":", "has", "result", ")", "map", "(", "invocation", "result", ":", ":", "get", ")", ";" ]
[ "return", "true", "if", "a", "result", "in", "present" ]
[ "return", "this", "!", "=", "none", ";" ]
[ "return", "the", "result", "of", "the", "invocation", "or", "{" ]
[ "return", "this", "value", ";" ]
[ "return", "the", "result", "of", "the", "invocation", "or", "the", "given", "fallback", "if", "the", "callback", "wasn", "t", "suitable" ]
[ "return", "(", "this", "!", "=", "none", ")", "?", "this", "value", ":", "fallback", ";" ]
[ "create", "a", "new", "{" ]
[ "return", "new", "invocation", "result", "<", ">", "(", "value", ")", ";" ]
[ "the", "spring", "integration", "input", "channel", "name", "that", "this", "endpoint", "wants", "to", "consume", "from", "spring", "integration" ]
[ "input", "channel", "=", "input", ";" ]
[ "the", "spring", "integration", "output", "channel", "name", "that", "is", "used", "to", "send", "messages", "to", "spring", "integration" ]
[ "output", "channel", "=", "output", ";" ]
[ "the", "default", "channel", "name", "which", "is", "used", "by", "the", "spring", "integration", "spring", "context", "it", "will", "equal", "to", "the", "input", "channel", "name", "for", "the", "spring", "integration", "consumer", "and", "the", "output", "channel", "name", "for", "the", "spring", "integration", "provider" ]
[ "this", "default", "channel", "=", "default", "channel", ";" ]
[ "the", "exchange", "pattern", "that", "the", "spring", "integration", "endpoint", "should", "use", "if", "in", "out", "=", "true", "then", "a", "reply", "channel", "is", "expected", "either", "from", "the", "spring", "integration", "message", "header", "or", "configured", "on", "the", "endpoint" ]
[ "this", "in", "out", "=", "in", "out", ";" ]
[ "pop", "animation", "transition" ]
[ "pop", "animation", "spring", "set", "end", "value", "(", "on", "?", "1", ":", "0", ")", ";", "pop", "animation", "spring", "1", "set", "end", "value", "(", "on", "?", "1", ":", "0", ")", ";", "pop", "animation", "spring", "2", "set", "end", "value", "(", "on", "?", "1", ":", "0", ")", ";", "pop", "animation", "spring", "3", "set", "end", "value", "(", "on", "?", "1", ":", "0", ")", ";", "pop", "animation", "spring", "4", "set", "end", "value", "(", "on", "?", "1", ":", "0", ")", ";" ]
[ "utilities" ]
[ "return", "(", "float", ")", "spring", "util", "map", "value", "from", "range", "to", "range", "(", "progress", ",", "0", ",", "1", ",", "start", "value", ",", "end", "value", ")", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "cfg", "set", "failure", "handler", "(", "new", "test", "failure", "handler", "(", ")", ")", ";", "data", "region", "configuration", "dr", "cfg", "=", "new", "data", "region", "configuration", "(", ")", ";", "dr", "cfg", "set", "persistence", "enabled", "(", "true", ")", ";", "data", "storage", "configuration", "ds", "cfg", "=", "new", "data", "storage", "configuration", "(", ")", ";", "ds", "cfg", "set", "default", "data", "region", "configuration", "(", "dr", "cfg", ")", ";", "if", "(", "checkpoint", "read", "lock", "timeout", "!", "=", "null", ")", "ds", "cfg", "set", "checkpoint", "read", "lock", "timeout", "(", "checkpoint", "read", "lock", "timeout", ")", ";", "cfg", "set", "data", "storage", "configuration", "(", "ds", "cfg", ")", ";", "if", "(", "sys", "worker", "blocked", "timeout", "!", "=", "null", ")", "cfg", "set", "system", "worker", "blocked", "timeout", "(", "sys", "worker", "blocked", "timeout", ")", ";", "return", "cfg", ";" ]
[ "{" ]
[ "clean", "persistence", "dir", "(", ")", ";", "sys", "worker", "blocked", "timeout", "=", "null", ";", "checkpoint", "read", "lock", "timeout", "=", "null", ";" ]
[ "create", "an", "instance", "using", "a", "default", "{" ]
[ "return", "create", "(", "new", "persister", "(", ")", ")", ";" ]
[ "create", "an", "instance", "using", "{" ]
[ "return", "new", "simple", "xml", "converter", "factory", "(", "serializer", ",", "true", ")", ";" ]
[ "create", "an", "instance", "using", "a", "default", "{" ]
[ "return", "create", "non", "strict", "(", "new", "persister", "(", ")", ")", ";" ]
[ "clone", "the", "dataset" ]
[ "multi", "data", "set", "ret", "=", "new", "multi", "data", "set", "(", "copy", "(", "get", "features", "(", ")", ")", ",", "copy", "(", "get", "labels", "(", ")", ")", ")", ";", "if", "(", "labels", "mask", "arrays", "!", "=", "null", ")", "{", "ret", "set", "labels", "mask", "array", "(", "copy", "(", "labels", "mask", "arrays", ")", ")", ";", "}", "if", "(", "features", "mask", "arrays", "!", "=", "null", ")", "{", "ret", "set", "features", "mask", "arrays", "(", "copy", "(", "features", "mask", "arrays", ")", ")", ";", "}", "return", "ret", ";" ]
[ "this", "method", "returns", "memory", "used", "by", "this", "data", "set" ]
[ "long", "req", "mem", "=", "0", ";", "for", "(", "i", "n", "d", "array", "f", ":", "features", ")", "req", "mem", "+", "=", "f", "=", "=", "null", "?", "0", ":", "f", "length", "long", "(", ")", "*", "nd", "4j", "size", "of", "data", "type", "(", ")", ";", "if", "(", "features", "mask", "arrays", "!", "=", "null", ")", "for", "(", "i", "n", "d", "array", "f", ":", "features", "mask", "arrays", ")", "req", "mem", "+", "=", "f", "=", "=", "null", "?", "0", ":", "f", "length", "long", "(", ")", "*", "nd", "4j", "size", "of", "data", "type", "(", ")", ";", "if", "(", "labels", "mask", "arrays", "!", "=", "null", ")", "for", "(", "i", "n", "d", "array", "f", ":", "labels", "mask", "arrays", ")", "req", "mem", "+", "=", "f", "=", "=", "null", "?", "0", ":", "f", "length", "long", "(", ")", "*", "nd", "4j", "size", "of", "data", "type", "(", ")", ";", "if", "(", "labels", "!", "=", "null", ")", "for", "(", "i", "n", "d", "array", "f", ":", "labels", ")", "req", "mem", "+", "=", "f", "=", "=", "null", "?", "0", ":", "f", "length", "long", "(", ")", "*", "nd", "4j", "size", "of", "data", "type", "(", ")", ";", "return", "req", "mem", ";" ]
[ "this", "method", "migrates", "this", "data", "set", "into", "current", "workspace", "(", "if", "any", ")" ]
[ "if", "(", "features", "!", "=", "null", ")", "for", "(", "int", "e", "=", "0", ";", "e", "<", "features", "length", ";", "e", "+", "+", ")", "features", "[", "e", "]", "=", "features", "[", "e", "]", "detach", "(", ")", ";", "if", "(", "labels", "!", "=", "null", ")", "for", "(", "int", "e", "=", "0", ";", "e", "<", "labels", "length", ";", "e", "+", "+", ")", "labels", "[", "e", "]", "=", "labels", "[", "e", "]", "detach", "(", ")", ";", "if", "(", "features", "mask", "arrays", "!", "=", "null", ")", "for", "(", "int", "e", "=", "0", ";", "e", "<", "features", "mask", "arrays", "length", ";", "e", "+", "+", ")", "features", "mask", "arrays", "[", "e", "]", "=", "features", "mask", "arrays", "[", "e", "]", "detach", "(", ")", ";", "if", "(", "labels", "mask", "arrays", "!", "=", "null", ")", "for", "(", "int", "e", "=", "0", ";", "e", "<", "labels", "mask", "arrays", "length", ";", "e", "+", "+", ")", "labels", "mask", "arrays", "[", "e", "]", "=", "labels", "mask", "arrays", "[", "e", "]", "detach", "(", ")", ";" ]
[ "merges", "two", "given", "instances", "of", "{", "@", "link", "branch", "coverage", "}" ]
[ "assert", "first", "line", "number", "(", ")", "=", "=", "second", "line", "number", "(", ")", ";", "assert", "first", "block", "number", "(", ")", "equals", "(", "second", "block", "number", "(", ")", ")", ";", "assert", "first", "branch", "number", "(", ")", "equals", "(", "second", "branch", "number", "(", ")", ")", ";", "return", "create", "with", "block", "and", "branch", "(", "first", "line", "number", "(", ")", ",", "first", "block", "number", "(", ")", ",", "first", "branch", "number", "(", ")", ",", "first", "nr", "of", "executions", "(", ")", "+", "second", "nr", "of", "executions", "(", ")", ")", ";" ]
[ "the", "two", "numbers", "below", "should", "be", "-", "1", "for", "non", "-", "gcc", "emitted", "coverage", "(", "e", "g", "java", ")" ]
[ "abstract", "string", "block", "number", "(", ")", ";" ]
[ "internal", "gcc", "internal", "id", "for", "the", "branch" ]
[ "abstract", "string", "branch", "number", "(", ")", ";" ]
[ "internal", "gcc", "internal", "id", "for", "the", "branch" ]
[ "abstract", "int", "nr", "of", "executions", "(", ")", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "cache", "configuration", "ccfg", "=", "new", "cache", "configuration", "(", "default", "cache", "name", ")", ";", "ccfg", "set", "cache", "mode", "(", "partitioned", ")", ";", "ccfg", "set", "atomicity", "mode", "(", "atomicity", "mode", "(", ")", ")", ";", "ccfg", "set", "write", "synchronization", "mode", "(", "full", "sync", ")", ";", "cfg", "set", "cache", "configuration", "(", "ccfg", ")", ";", "(", "(", "tcp", "discovery", "spi", ")", "cfg", "get", "discovery", "spi", "(", ")", ")", "set", "ip", "finder", "(", "ip", "finder", ")", ";", "return", "cfg", ";" ]
[ "{" ]
[ "super", "after", "test", "(", ")", ";", "stop", "all", "grids", "(", ")", ";", "events", "clear", "(", ")", ";" ]
[ "{" ]
[ "return", "new", "cache", "event", "filter", "(", ")", ";" ]
[ "{" ]
[ "events", "add", "(", "evt", ")", ";", "return", "false", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "pipeline", "that", "contains", "the", "failed", "stage", "<", "/", "p", ">" ]
[ "set", "pipeline", "name", "(", "pipeline", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "failed", "stage", "to", "be", "retried", "<", "/", "p", ">" ]
[ "set", "stage", "name", "(", "stage", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "pipeline", "execution", "in", "the", "failed", "stage", "to", "be", "retried", "use", "the", "<", "a", ">", "get", "pipeline", "state", "<", "/", "a", ">", "action", "to", "retrieve", "the", "current", "pipeline", "execution", "id", "of", "the", "failed", "stage", "<", "/", "p", ">" ]
[ "set", "pipeline", "execution", "id", "(", "pipeline", "execution", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "scope", "of", "the", "retry", "attempt", "currently", "the", "only", "supported", "value", "is", "failed", "actions", "<", "/", "p", ">" ]
[ "this", "retry", "mode", "=", "retry", "mode", ";" ]
[ "<", "p", ">", "the", "scope", "of", "the", "retry", "attempt", "currently", "the", "only", "supported", "value", "is", "failed", "actions", "<", "/", "p", ">" ]
[ "return", "this", "retry", "mode", ";" ]
[ "<", "p", ">", "the", "scope", "of", "the", "retry", "attempt", "currently", "the", "only", "supported", "value", "is", "failed", "actions", "<", "/", "p", ">" ]
[ "set", "retry", "mode", "(", "retry", "mode", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "scope", "of", "the", "retry", "attempt", "currently", "the", "only", "supported", "value", "is", "failed", "actions", "<", "/", "p", ">" ]
[ "with", "retry", "mode", "(", "retry", "mode", ")", ";" ]
[ "<", "p", ">", "the", "scope", "of", "the", "retry", "attempt", "currently", "the", "only", "supported", "value", "is", "failed", "actions", "<", "/", "p", ">" ]
[ "this", "retry", "mode", "=", "retry", "mode", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "parses", "the", "<", "code", ">", "interceptor", "-", "binding", "<", "/", "code", ">", "element", "and", "returns", "the", "corresponding", "{", "@", "link", "interceptor", "binding", "meta", "data", "}" ]
[ "return", "interceptor", "binding", "meta", "data", "parser", "instance", "parse", "(", "reader", ",", "property", "replacer", ")", ";" ]
[ "a", "function", "that", "should", "return", "{", "@", "link", "observable", "}", "derived", "from", "the", "passed", "{", "@", "link", "rx", "ble", "gatt", "callback", "}", "the", "returned", "{", "@", "link", "observable", "}", "will", "be", "automatically", "unsubscribed", "after", "the", "first", "emission", "the", "returned", "{", "@", "link", "observable", "}", "is", "a", "subject", "to", "{", "@", "link", "observable", "#", "timeout", "(", "long", "time", "unit", "scheduler", "io", "reactivex", "observable", "source", ")", "}", "and", "by", "default", "it", "will", "throw", "{", "@", "link", "ble", "gatt", "callback", "timeout", "exception", "}", "this", "behaviour", "can", "be", "overridden", "by", "overriding", "{", "@", "link", "#", "timeout", "fallback", "procedure", "(", "bluetooth", "gatt", "rx", "ble", "gatt", "callback", "scheduler", ")", "}" ]
[ "abstract", "protected", "single", "<", "t", ">", "get", "callback", "(", "rx", "ble", "gatt", "callback", "rx", "ble", "gatt", "callback", ")", ";" ]
[ "a", "function", "that", "should", "call", "the", "passed", "{", "@", "link", "bluetooth", "gatt", "}", "and", "return", "true", "if", "the", "call", "has", "succeeded" ]
[ "abstract", "protected", "boolean", "start", "operation", "(", "bluetooth", "gatt", "bluetooth", "gatt", ")", ";" ]
[ "sets", "repository", "name" ]
[ "this", "repository", "=", "repository", ";", "return", "this", ";" ]
[ "sets", "the", "list", "of", "snapshots", "to", "be", "returned" ]
[ "this", "snapshots", "=", "snapshots", ";", "return", "this", ";" ]
[ "set", "to", "true", "to", "ignore", "unavailable", "snapshots" ]
[ "this", "ignore", "unavailable", "=", "ignore", "unavailable", ";", "return", "this", ";" ]
[ "set", "to", "{" ]
[ "this", "verbose", "=", "verbose", ";", "return", "this", ";" ]
[ "notifies", "the", "encoder", "thread", "that", "a", "new", "frame", "will", "shortly", "be", "provided", "to", "the", "encoder", "<", "p", ">", "there", "may", "or", "may", "not", "yet", "be", "data", "available", "from", "the", "encoder", "output", "the", "encoder", "has", "a", "fair", "mount", "of", "latency", "due", "to", "processing", "and", "it", "may", "want", "to", "accumulate", "a", "few", "additional", "buffers", "before", "producing", "output", "we", "just", "need", "to", "drain", "it", "regularly", "to", "avoid", "a", "situation", "where", "the", "producer", "gets", "wedged", "up", "because", "there", "s", "no", "room", "for", "additional", "frames", "<", "p", ">", "if", "the", "caller", "sends", "the", "frame", "and", "then", "notifies", "us", "it", "could", "get", "wedged", "up", "if", "it", "notifies", "us", "first", "and", "then", "sends", "the", "frame", "we", "guarantee", "that", "the", "output", "buffers", "were", "emptied", "and", "it", "will", "be", "impossible", "for", "a", "single", "additional", "frame", "to", "block", "indefinitely" ]
[ "handler", "handler", "=", "m", "encoder", "thread", "get", "handler", "(", ")", ";", "handler", "send", "message", "(", "handler", "obtain", "message", "(", "encoder", "thread", "encoder", "handler", "msg", "frame", "available", "soon", ")", ")", ";" ]
[ "initiates", "saving", "the", "currently", "-", "buffered", "frames", "to", "the", "specified", "output", "file", "the", "data", "will", "be", "written", "as", "a", "mp", "4", "file", "the", "call", "returns", "immediately", "when", "the", "file", "save", "completes", "the", "callback", "will", "be", "notified", "<", "p", ">", "the", "file", "generation", "is", "performed", "on", "the", "encoder", "thread", "which", "means", "we", "won", "t", "be", "draining", "the", "output", "buffers", "while", "this", "runs", "it", "would", "be", "wise", "to", "stop", "submitting", "frames", "during", "this", "time" ]
[ "handler", "handler", "=", "m", "encoder", "thread", "get", "handler", "(", ")", ";", "handler", "send", "message", "(", "handler", "obtain", "message", "(", "encoder", "thread", "encoder", "handler", "msg", "save", "video", ",", "output", "file", ")", ")", ";" ]
[ "randomly", "generates", "a", "default", "color", "for", "the", "player", "via", "a", "random", "int", "generator", "using", "fast", "random", "object" ]
[ "random", "rng", "=", "new", "fast", "random", "(", ")", ";", "list", "<", "color", ">", "colors", "=", "cie", "cam", "colors", "l65c65", ";", "return", "colors", "get", "(", "rng", "next", "int", "(", "colors", "size", "(", ")", ")", ")", ";" ]
[ "you", "should", "implement", "this", "method", "to" ]
[ "protected", "abstract", "card", "get", "card", "from", "cursor", "(", "cursor", "cursor", ")", ";" ]
[ "<", "p", ">", "one", "of", "the", "bandwidth", "type", "values", "that", "indicates", "the", "gateway", "bandwidth", "rate", "limit", "to", "delete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "upload", "<", "/", "code", ">", "<", "code", ">", "download", "<", "/", "code", ">", "<", "code", ">", "all", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "bandwidth", "type", "=", "bandwidth", "type", ";" ]
[ "<", "p", ">", "one", "of", "the", "bandwidth", "type", "values", "that", "indicates", "the", "gateway", "bandwidth", "rate", "limit", "to", "delete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "upload", "<", "/", "code", ">", "<", "code", ">", "download", "<", "/", "code", ">", "<", "code", ">", "all", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "return", "this", "bandwidth", "type", ";" ]
[ "<", "p", ">", "one", "of", "the", "bandwidth", "type", "values", "that", "indicates", "the", "gateway", "bandwidth", "rate", "limit", "to", "delete", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "upload", "<", "/", "code", ">", "<", "code", ">", "download", "<", "/", "code", ">", "<", "code", ">", "all", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "bandwidth", "type", "(", "bandwidth", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "arn", "of", "a", "cloud", "front", "resource", "<", "/", "p", ">" ]
[ "set", "resource", "(", "resource", ")", ";", "return", "this", ";" ]
[ "todo", ":", "use", "dependencies", "or", "a", "boot", "phase" ]
[ "synchronized", "(", "m", "sync", "root", ")", "{", "m", "window", "manager", "internal", "=", "local", "services", "get", "service", "(", "window", "manager", "internal", "class", ")", ";", "m", "input", "manager", "internal", "=", "local", "services", "get", "service", "(", "input", "manager", "internal", "class", ")", ";", "schedule", "traversal", "locked", "(", "false", ")", ";", "}" ]
[ "called", "when", "the", "system", "is", "ready", "to", "go" ]
[ "synchronized", "(", "m", "sync", "root", ")", "{", "m", "safe", "mode", "=", "safe", "mode", ";", "m", "only", "core", "=", "only", "core", ";", "}", "m", "handler", "send", "empty", "message", "(", "msg", "register", "additional", "display", "adapters", ")", ";", "m", "handler", "send", "empty", "message", "(", "msg", "register", "brightness", "tracker", ")", ";" ]
[ "of", "the", "default", "display", "at", "first", "boot" ]
[ "if", "(", "m", "stable", "display", "size", "x", "<", "=", "0", "&", "&", "m", "stable", "display", "size", "y", "<", "=", "0", ")", "{", "display", "info", "info", "=", "d", "get", "display", "info", "locked", "(", ")", ";", "set", "stable", "display", "size", "locked", "(", "info", "get", "natural", "width", "(", ")", ",", "info", "get", "natural", "height", "(", ")", ")", ";", "}" ]
[ "sends", "notifications", "if", "needed" ]
[ "boolean", "changed", "=", "false", ";", "for", "(", "int", "i", "=", "m", "logical", "displays", "size", "(", ")", ";", "i", "-", "-", ">", "0", ";", ")", "{", "final", "int", "display", "id", "=", "m", "logical", "displays", "key", "at", "(", "i", ")", ";", "logical", "display", "display", "=", "m", "logical", "displays", "value", "at", "(", "i", ")", ";", "m", "temp", "display", "info", "copy", "from", "(", "display", "get", "display", "info", "locked", "(", ")", ")", ";", "display", "update", "locked", "(", "m", "display", "devices", ")", ";", "if", "(", "!", "display", "is", "valid", "locked", "(", ")", ")", "{", "m", "logical", "displays", "remove", "at", "(", "i", ")", ";", "send", "display", "event", "locked", "(", "display", "id", ",", "display", "manager", "global", "event", "display", "removed", ")", ";", "changed", "=", "true", ";", "}", "else", "if", "(", "!", "m", "temp", "display", "info", "equals", "(", "display", "get", "display", "info", "locked", "(", ")", ")", ")", "{", "send", "display", "event", "locked", "(", "display", "id", ",", "display", "manager", "global", "event", "display", "changed", ")", ";", "changed", "=", "true", ";", "}", "}", "return", "changed", ";" ]
[ "updates", "the", "lists", "of", "u", "i", "ds", "that", "are", "present", "on", "displays" ]
[ "synchronized", "(", "m", "sync", "root", ")", "{", "m", "display", "access", "u", "i", "ds", "clear", "(", ")", ";", "for", "(", "int", "i", "=", "new", "display", "access", "u", "i", "ds", "size", "(", ")", "-", "1", ";", "i", ">", "=", "0", ";", "i", "-", "-", ")", "{", "m", "display", "access", "u", "i", "ds", "append", "(", "new", "display", "access", "u", "i", "ds", "key", "at", "(", "i", ")", ",", "new", "display", "access", "u", "i", "ds", "value", "at", "(", "i", ")", ")", ";", "}", "}" ]
[ "checks", "if", "provided", "uid", "s", "content", "is", "present", "on", "the", "display", "and", "uid", "has", "access", "to", "it" ]
[ "synchronized", "(", "m", "sync", "root", ")", "{", "final", "int", "array", "display", "u", "i", "ds", "=", "m", "display", "access", "u", "i", "ds", "get", "(", "display", "id", ")", ";", "return", "display", "u", "i", "ds", "!", "=", "null", "&", "&", "display", "u", "i", "ds", "index", "of", "(", "uid", ")", "!", "=", "-", "1", ";", "}" ]
[ "gets", "the", "virtual", "device", "viewport", "or", "creates", "it", "if", "not", "yet", "created" ]
[ "display", "viewport", "viewport", ";", "final", "int", "count", "=", "m", "virtual", "touch", "viewports", "size", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "count", ";", "i", "+", "+", ")", "{", "viewport", "=", "m", "virtual", "touch", "viewports", "get", "(", "i", ")", ";", "if", "(", "unique", "id", "equals", "(", "viewport", "unique", "id", ")", ")", "{", "return", "viewport", ";", "}", "}", "viewport", "=", "new", "display", "viewport", "(", ")", ";", "viewport", "unique", "id", "=", "unique", "id", ";", "m", "virtual", "touch", "viewports", "add", "(", "viewport", ")", ";", "return", "viewport", ";" ]
[ "later", "time", "to", "apply", "changes", "to", "surfaces", "and", "displays" ]
[ "if", "(", "!", "m", "pending", "traversal", "&", "&", "m", "window", "manager", "internal", "!", "=", "null", ")", "{", "m", "pending", "traversal", "=", "true", ";", "if", "(", "!", "in", "traversal", ")", "{", "m", "handler", "send", "empty", "message", "(", "msg", "request", "traversal", ")", ";", "}", "}" ]
[ "verify", "if", "the", "generated", "id", "is", "unique", "for", "each", "task", "even", "if", "the", "tasks", "are", "created", "in", "separate", "threads" ]
[ "assert", "timeout", "(", "of", "millis", "(", "10000", ")", ",", "(", ")", "-", ">", "{", "final", "executor", "service", "service", "=", "executors", "new", "fixed", "thread", "pool", "(", "thread", "count", ")", ";", "final", "list", "<", "callable", "<", "integer", ">", ">", "tasks", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "task", "count", ";", "i", "+", "+", ")", "{", "tasks", "add", "(", "(", ")", "-", ">", "factory", "apply", "(", "1", ")", "get", "id", "(", ")", ")", ";", "}", "final", "list", "<", "integer", ">", "ids", "=", "service", "invoke", "all", "(", "tasks", ")", "stream", "(", ")", "map", "(", "task", "test", ":", ":", "get", ")", "filter", "(", "objects", ":", ":", "non", "null", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";", "service", "shutdown", "now", "(", ")", ";", "final", "long", "unique", "id", "count", "=", "ids", "stream", "(", ")", "distinct", "(", ")", "count", "(", ")", ";", "assert", "equals", "(", "task", "count", ",", "ids", "size", "(", ")", ")", ";", "assert", "equals", "(", "task", "count", ",", "unique", "id", "count", ")", ";", "}", ")", ";" ]
[ "verify", "if", "the", "time", "per", "execution", "of", "a", "task", "matches", "the", "actual", "time", "required", "to", "execute", "the", "task", "a", "given", "number", "of", "times" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "10", ";", "i", "+", "+", ")", "{", "assert", "equals", "(", "this", "expected", "execution", "time", "*", "i", ",", "this", "factory", "apply", "(", "i", ")", "get", "time", "ms", "(", ")", ")", ";", "}" ]
[ "verify", "if", "the", "task", "has", "some", "sort", "of", "{" ]
[ "assert", "not", "null", "(", "this", "factory", "apply", "(", "0", ")", "to", "string", "(", ")", ")", ";" ]
[ "extract", "the", "result", "from", "a", "future", "or", "returns", "null", "when", "an", "exception", "occurred" ]
[ "try", "{", "return", "future", "get", "(", ")", ";", "}", "catch", "(", "interrupted", "exception", "|", "execution", "exception", "e", ")", "{", "return", "null", ";", "}" ]
[ "<", "p", ">", "the", "id", "of", "the", "instance", "<", "/", "p", ">" ]
[ "set", "instance", "id", "(", "instance", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "health", "status", "of", "the", "instance", "set", "to", "<", "code", ">", "healthy", "<", "/", "code", ">", "if", "you", "want", "the", "instance", "to", "remain", "in", "service", "set", "to", "<", "code", ">", "unhealthy", "<", "/", "code", ">", "if", "you", "want", "the", "instance", "to", "be", "out", "of", "service", "amazon", "ec2", "auto", "scaling", "will", "terminate", "and", "replace", "the", "unhealthy", "instance", "<", "/", "p", ">" ]
[ "set", "health", "status", "(", "health", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "the", "auto", "scaling", "group", "of", "the", "specified", "instance", "has", "a", "<", "code", ">", "health", "check", "grace", "period", "<", "/", "code", ">", "specified", "for", "the", "group", "by", "default", "this", "call", "will", "respect", "the", "grace", "period", "set", "this", "to", "<", "code", ">", "false", "<", "/", "code", ">", "if", "you", "do", "not", "want", "the", "call", "to", "respect", "the", "grace", "period", "associated", "with", "the", "group", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "the", "description", "of", "the", "health", "check", "grace", "period", "for", "<", "a", ">", "create", "auto", "scaling", "group", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "this", "should", "respect", "grace", "period", "=", "should", "respect", "grace", "period", ";" ]
[ "<", "p", ">", "if", "the", "auto", "scaling", "group", "of", "the", "specified", "instance", "has", "a", "<", "code", ">", "health", "check", "grace", "period", "<", "/", "code", ">", "specified", "for", "the", "group", "by", "default", "this", "call", "will", "respect", "the", "grace", "period", "set", "this", "to", "<", "code", ">", "false", "<", "/", "code", ">", "if", "you", "do", "not", "want", "the", "call", "to", "respect", "the", "grace", "period", "associated", "with", "the", "group", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "the", "description", "of", "the", "health", "check", "grace", "period", "for", "<", "a", ">", "create", "auto", "scaling", "group", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "should", "respect", "grace", "period", ";" ]
[ "<", "p", ">", "if", "the", "auto", "scaling", "group", "of", "the", "specified", "instance", "has", "a", "<", "code", ">", "health", "check", "grace", "period", "<", "/", "code", ">", "specified", "for", "the", "group", "by", "default", "this", "call", "will", "respect", "the", "grace", "period", "set", "this", "to", "<", "code", ">", "false", "<", "/", "code", ">", "if", "you", "do", "not", "want", "the", "call", "to", "respect", "the", "grace", "period", "associated", "with", "the", "group", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "the", "description", "of", "the", "health", "check", "grace", "period", "for", "<", "a", ">", "create", "auto", "scaling", "group", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "should", "respect", "grace", "period", "(", "should", "respect", "grace", "period", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "the", "auto", "scaling", "group", "of", "the", "specified", "instance", "has", "a", "<", "code", ">", "health", "check", "grace", "period", "<", "/", "code", ">", "specified", "for", "the", "group", "by", "default", "this", "call", "will", "respect", "the", "grace", "period", "set", "this", "to", "<", "code", ">", "false", "<", "/", "code", ">", "if", "you", "do", "not", "want", "the", "call", "to", "respect", "the", "grace", "period", "associated", "with", "the", "group", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "the", "description", "of", "the", "health", "check", "grace", "period", "for", "<", "a", ">", "create", "auto", "scaling", "group", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "should", "respect", "grace", "period", ";" ]
[ "return", "the", "program", "name" ]
[ "return", "program", ";" ]