docstring_tokens
sequence
code_tokens
sequence
[ "determines", "the", "pause", "status", "based", "on", "the", "current", "state", "of", "transfer" ]
[ "if", "(", "force", "cancel", ")", "{", "if", "(", "transfer", "state", "=", "=", "transfer", "state", "waiting", ")", "{", "return", "pause", "status", "cancelled", "before", "start", ";", "}", "else", "if", "(", "transfer", "state", "=", "=", "transfer", "state", "in", "progress", ")", "{", "return", "pause", "status", "cancelled", ";", "}", "}", "if", "(", "transfer", "state", "=", "=", "transfer", "state", "waiting", ")", "{", "return", "pause", "status", "not", "started", ";", "}", "return", "pause", "status", "no", "effect", ";" ]
[ "gets", "a", "list", "of", "suggested", "user", "ids" ]
[ "return", "this", "suggestions", ";" ]
[ "sets", "the", "message", "users", "receiving", "the", "request", "will", "see", "the", "maximum", "length", "is", "60", "characters" ]
[ "this", "message", "=", "message", ";", "return", "this", ";" ]
[ "an", "array", "of", "user", "i", "ds", "usernames", "or", "invite", "tokens", "of", "people", "to", "send", "request", "if", "this", "is", "not", "specified", "a", "friend", "selector", "will", "be", "displayed", "and", "the", "user", "can", "select", "up", "to", "50", "friends" ]
[ "this", "recipients", "=", "recipients", ";", "return", "this", ";" ]
[ "sets", "optional", "data", "which", "can", "be", "used", "for", "tracking", ";", "maximum", "length", "is", "255", "characters" ]
[ "this", "data", "=", "data", ";", "return", "this", ";" ]
[ "sets", "an", "optional", "title", "for", "the", "dialog", ";", "maximum", "length", "is", "50", "characters" ]
[ "this", "title", "=", "title", ";", "return", "this", ";" ]
[ "sets", "the", "action", "type", "for", "this", "request" ]
[ "this", "action", "type", "=", "action", "type", ";", "return", "this", ";" ]
[ "sets", "the", "open", "graph", "id", "of", "the", "object", "that", "action", "type", "will", "be", "performed", "on", "only", "valid", "(", "and", "required", ")", "for", "action", "types", "send", "askfor" ]
[ "this", "object", "id", "=", "object", "id", ";", "return", "this", ";" ]
[ "sets", "the", "filters", "for", "everybody", "/", "app", "users", "/", "non", "app", "users" ]
[ "this", "filters", "=", "filters", ";", "return", "this", ";" ]
[ "sets", "a", "list", "of", "user", "ids", "suggested", "as", "request", "receivers" ]
[ "this", "suggestions", "=", "suggestions", ";", "return", "this", ";" ]
[ "judge", "whether", "the", "loop", "is", "blocked", "you", "can", "override", "this", "to", "decide", "whether", "it", "is", "blocked", "by", "your", "logic" ]
[ "if", "(", "creating", "activity", "!", "=", "null", "|", "|", "is", "application", "creating", ")", "{", "return", "cost", "real", "time", "ms", ">", "250l", ";", "}", "else", "{", "return", "cost", "real", "time", "ms", ">", "100l", "&", "&", "cost", "thread", "time", "ms", ">", "8l", ";", "}" ]
[ "judge", "whether", "the", "method", "is", "heavy", "method", "we", "will", "print", "heavy", "method", "in", "log" ]
[ "return", "(", "method", "info", "get", "cost", "thread", "time", "(", ")", ">", "0l", "&", "&", "method", "info", "get", "cost", "real", "time", "ms", "(", ")", ">", "0l", ")", "|", "|", "method", "info", "get", "cost", "real", "time", "ms", "(", ")", ">", "2l", ";" ]
[ "judge", "whether", "the", "method", "is", "called", "frequently", "we", "will", "print", "frequent", "method", "in", "log" ]
[ "return", "frequent", "method", "info", "get", "total", "cost", "real", "time", "ms", "(", ")", ">", "1l", "&", "&", "frequent", "method", "info", "get", "called", "times", "(", ")", ">", "1", ";" ]
[ "we", "will", "save", "block", "log", "to", "sdcard", "by", "default", "if", "you", "want", "to", "disable", "this", "just", "return", "false" ]
[ "return", "true", ";" ]
[ "<", "p", ">", "information", "about", "the", "tasks", "in", "the", "maintenance", "window", "<", "/", "p", ">" ]
[ "if", "(", "tasks", "=", "=", "null", ")", "{", "tasks", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "maintenance", "window", "task", ">", "(", ")", ";", "}", "return", "tasks", ";" ]
[ "<", "p", ">", "information", "about", "the", "tasks", "in", "the", "maintenance", "window", "<", "/", "p", ">" ]
[ "if", "(", "tasks", "=", "=", "null", ")", "{", "this", "tasks", "=", "null", ";", "return", ";", "}", "this", "tasks", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "maintenance", "window", "task", ">", "(", "tasks", ")", ";" ]
[ "<", "p", ">", "information", "about", "the", "tasks", "in", "the", "maintenance", "window", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "tasks", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "tasks", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "tasks", "=", "=", "null", ")", "{", "set", "tasks", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "maintenance", "window", "task", ">", "(", "tasks", "length", ")", ")", ";", "}", "for", "(", "maintenance", "window", "task", "ele", ":", "tasks", ")", "{", "this", "tasks", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "information", "about", "the", "tasks", "in", "the", "maintenance", "window", "<", "/", "p", ">" ]
[ "set", "tasks", "(", "tasks", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "token", "to", "use", "when", "requesting", "the", "next", "set", "of", "items", "if", "there", "are", "no", "additional", "items", "to", "return", "the", "string", "is", "empty", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "creates", "the", "server", "address", "to", "connect", "to" ]
[ "return", "new", "inet", "socket", "address", "(", "host", ",", "port", ")", ";" ]
[ "<", "p", ">", "handles", "the", "authentication", "before", "setting", "up", "the", "tunnel", "to", "the", "remote", "server", "<", "/", "p", ">", "<", "p", ">", "the", "default", "implementation", "returns", "true", "<", "/", "p", ">" ]
[ "return", "true", ";" ]
[ "initialize" ]
[ "m", "graph", "=", "new", "directed", "acyclic", "graph", "<", ">", "(", ")", ";" ]
[ "returns", "the", "array", "of", "messages", "known", "to", "be", "handled", "by", "this", "message", "delegator" ]
[ "if", "(", "message", "types", "=", "=", "null", ")", "{", "message", "types", "=", "methods", "key", "set", "(", ")", "to", "array", "(", "new", "class", "[", "methods", "size", "(", ")", "]", ")", ";", "}", "return", "message", "types", ";" ]
[ "convenience", "method", "that", "returns", "the", "message", "type", "as", "reflectively", "determined", "for", "a", "particular", "method", "this", "only", "works", "with", "methods", "that", "actually", "have", "arguments", "this", "implementation", "returns", "the", "last", "element", "of", "the", "method", "s", "get", "parameter", "types", "(", ")", "array", "thus", "supporting", "both", "method", "(", "connection", "message", "type", ")", "as", "well", "as", "just", "method", "(", "message", "type", ")", "calling", "forms" ]
[ "class", "<", "?", ">", "[", "]", "parms", "=", "m", "get", "parameter", "types", "(", ")", ";", "return", "parms", "[", "parms", "length", "-", "1", "]", ";" ]
[ "returns", "true", "if", "the", "specified", "method", "name", "is", "allowed", "this", "is", "used", "by", "automapping", "to", "determine", "if", "a", "method", "should", "be", "rejected", "purely", "on", "name", "default", "implementation", "always", "returns", "true" ]
[ "return", "true", ";" ]
[ "specifically", "maps", "the", "specified", "methods", "names", "autowiring", "the", "parameters" ]
[ "set", "<", "string", ">", "names", "=", "new", "hash", "set", "<", "string", ">", "(", "arrays", "as", "list", "(", "method", "names", ")", ")", ";", "map", "(", "names", ")", ";", "return", "this", ";" ]
[ "returns", "the", "mapped", "method", "for", "the", "specified", "message", "type" ]
[ "method", "m", "=", "methods", "get", "(", "c", ")", ";", "return", "m", ";" ]
[ "implemented", "by", "subclasses", "to", "provide", "the", "actual", "delegate", "object", "against", "which", "the", "mapped", "message", "type", "methods", "will", "be", "called" ]
[ "protected", "abstract", "object", "get", "source", "delegate", "(", "s", "source", ")", ";" ]
[ "gets", "creator", "node" ]
[ "return", "creator", "node", ";" ]
[ "verifies", "that", "all", "entries", "in", "old", "ideal", "state", "are", "unchanged", "in", "the", "new", "ideal", "state", "there", "could", "be", "new", "entries", "in", "the", "ideal", "state", "due", "to", "num", "partitions", "increase" ]
[ "map", "<", "string", ",", "map", "<", "string", ",", "string", ">", ">", "new", "map", "fields", "=", "ideal", "state", "get", "record", "(", ")", "get", "map", "fields", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "map", "<", "string", ",", "string", ">", ">", "old", "map", "fields", "entry", ":", "old", "map", "fields", "entry", "set", "(", ")", ")", "{", "string", "old", "segment", "=", "old", "map", "fields", "entry", "get", "key", "(", ")", ";", "map", "<", "string", ",", "string", ">", "old", "instance", "state", "map", "=", "old", "map", "fields", "entry", "get", "value", "(", ")", ";", "assert", "assert", "true", "(", "new", "map", "fields", "contains", "key", "(", "old", "segment", ")", ")", ";", "assert", "assert", "true", "(", "old", "instance", "state", "map", "equals", "(", "new", "map", "fields", "get", "(", "old", "segment", ")", ")", ")", ";", "}" ]
[ "package", "-", "private" ]
[ "return", "kafka", "smallest", "offset", "to", "return", ";" ]
[ "package", "-", "private" ]
[ "return", "kafka", "largest", "offset", "to", "return", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "grid", "name", ")", ";", "cfg", "set", "local", "host", "(", "host", ")", ";", "connector", "configuration", "client", "cfg", "=", "new", "connector", "configuration", "(", ")", ";", "client", "cfg", "set", "port", "(", "binary", "port", ")", ";", "cfg", "set", "connector", "configuration", "(", "client", "cfg", ")", ";", "tcp", "discovery", "spi", "disco", "=", "new", "tcp", "discovery", "spi", "(", ")", ";", "disco", "set", "ip", "finder", "(", "ip", "finder", ")", ";", "cfg", "set", "discovery", "spi", "(", "disco", ")", ";", "return", "cfg", ";" ]
[ "{" ]
[ "start", "grid", "(", "0", ")", ";", "start", "grid", "(", "1", ")", ";" ]
[ "{" ]
[ "grid", "client", "factory", "stop", "(", "client", "id", "(", ")", ")", ";" ]
[ "create", "a", "shallow", "clone", "of", "this", "mesh", "the", "{", "@", "link", "vertex", "buffer", "vertex", "buffers", "}", "are", "shared", "between", "this", "and", "the", "clone", "mesh", "the", "rest", "of", "the", "data", "is", "cloned" ]
[ "try", "{", "mesh", "clone", "=", "(", "mesh", ")", "super", "clone", "(", ")", ";", "clone", "mesh", "bound", "=", "mesh", "bound", "clone", "(", ")", ";", "clone", "collision", "tree", "=", "collision", "tree", "!", "=", "null", "?", "collision", "tree", ":", "null", ";", "clone", "buffers", "=", "buffers", "clone", "(", ")", ";", "clone", "buffers", "list", "=", "new", "safe", "array", "list", "<", ">", "(", "vertex", "buffer", "class", ",", "buffers", "list", ")", ";", "clone", "vertex", "array", "i", "d", "=", "-", "1", ";", "if", "(", "element", "lengths", "!", "=", "null", ")", "{", "clone", "element", "lengths", "=", "element", "lengths", "clone", "(", ")", ";", "}", "if", "(", "mode", "start", "!", "=", "null", ")", "{", "clone", "mode", "start", "=", "mode", "start", "clone", "(", ")", ";", "}", "return", "clone", ";", "}", "catch", "(", "clone", "not", "supported", "exception", "ex", ")", "{", "throw", "new", "assertion", "error", "(", ")", ";", "}" ]
[ "called", "internally", "by", "com", "jme", "3", "util", "clone", "cloner", "do", "not", "call", "directly" ]
[ "try", "{", "mesh", "clone", "=", "(", "mesh", ")", "super", "clone", "(", ")", ";", "clone", "vertex", "array", "i", "d", "=", "-", "1", ";", "return", "clone", ";", "}", "catch", "(", "clone", "not", "supported", "exception", "ex", ")", "{", "throw", "new", "assertion", "error", "(", ")", ";", "}" ]
[ "set", "the", "lod", "(", "level", "of", "detail", ")", "index", "buffers", "on", "this", "mesh" ]
[ "this", "lod", "levels", "=", "lod", "levels", ";" ]
[ "returns", "the", "lod", "level", "at", "the", "given", "index" ]
[ "return", "lod", "levels", "[", "lod", "]", ";" ]
[ "get", "the", "element", "lengths", "for", "{", "@", "link", "mode", "#", "hybrid", "}", "mesh", "mode" ]
[ "return", "element", "lengths", ";" ]
[ "set", "the", "element", "lengths", "for", "{", "@", "link", "mode", "#", "hybrid", "}", "mesh", "mode" ]
[ "this", "element", "lengths", "=", "element", "lengths", ";" ]
[ "set", "the", "mode", "start", "indices", "for", "{", "@", "link", "mode", "#", "hybrid", "}", "mesh", "mode" ]
[ "return", "mode", "start", ";" ]
[ "get", "the", "mode", "start", "indices", "for", "{" ]
[ "this", "mode", "start", "=", "mode", "start", ";" ]
[ "change", "the", "mesh", "s", "mode", "by", "default", "the", "mode", "is", "{", "@", "link", "mode", "#", "triangles", "}" ]
[ "this", "mode", "=", "mode", ";", "update", "counts", "(", ")", ";" ]
[ "returns", "the", "maximum", "number", "of", "weights", "per", "vertex", "on", "this", "mesh" ]
[ "return", "max", "num", "weights", ";" ]
[ "set", "the", "maximum", "number", "of", "weights", "per", "vertex", "on", "this", "mesh", "only", "relevant", "if", "this", "mesh", "has", "bone", "index", "/", "weight", "buffers", "this", "value", "should", "be", "between", "0", "and", "4" ]
[ "this", "max", "num", "weights", "=", "max", "num", "weights", ";" ]
[ "@", "deprecated", "always", "returns", "<", "code", ">", "1", "0", "<", "/", "code", ">", "since", "point", "size", "is", "determined", "in", "the", "vertex", "shader" ]
[ "return", "1", "0f", ";" ]
[ "@", "deprecated", "does", "nothing", "since", "the", "size", "of", "{", "@", "link", "mode", "#", "points", "points", "}", "is", "determined", "via", "the", "vertex", "shader", "s", "<", "code", ">", "gl", "point", "size", "<", "/", "code", ">", "output" ]
[]
[ "returns", "the", "line", "width", "for", "line", "meshes" ]
[ "return", "line", "width", ";" ]
[ "indicates", "to", "the", "gpu", "that", "this", "mesh", "will", "not", "be", "modified", "(", "a", "hint", ")", "sets", "the", "usage", "mode", "to", "{" ]
[ "for", "(", "vertex", "buffer", "vb", ":", "buffers", "list", "get", "array", "(", ")", ")", "{", "vb", "set", "usage", "(", "usage", "static", ")", ";", "}" ]
[ "indicates", "to", "the", "gpu", "that", "this", "mesh", "will", "be", "modified", "occasionally", "(", "a", "hint", ")", "sets", "the", "usage", "mode", "to", "{" ]
[ "for", "(", "vertex", "buffer", "vb", ":", "buffers", "list", "get", "array", "(", ")", ")", "{", "vb", "set", "usage", "(", "usage", "dynamic", ")", ";", "}" ]
[ "indicates", "to", "the", "gpu", "that", "this", "mesh", "will", "be", "modified", "every", "frame", "(", "a", "hint", ")", "sets", "the", "usage", "mode", "to", "{" ]
[ "for", "(", "vertex", "buffer", "vb", ":", "buffers", "list", "get", "array", "(", ")", ")", "{", "vb", "set", "usage", "(", "usage", "stream", ")", ";", "}" ]
[ "returns", "how", "many", "triangles", "or", "elements", "are", "on", "this", "mesh", "this", "value", "is", "only", "updated", "when", "{", "@", "link", "#", "update", "counts", "(", ")", "}", "is", "called", "if", "the", "mesh", "mode", "is", "not", "a", "triangle", "mode", "then", "this", "returns", "the", "number", "of", "elements", "/", "primitives", "e", "g", "how", "many", "lines", "or", "how", "many", "points", "instead", "of", "how", "many", "triangles" ]
[ "return", "element", "count", ";" ]
[ "returns", "the", "number", "of", "vertices", "on", "this", "mesh", "the", "value", "is", "computed", "based", "on", "the", "position", "buffer", "which", "must", "be", "set", "on", "all", "meshes" ]
[ "return", "vert", "count", ";" ]
[ "returns", "the", "number", "of", "instances", "this", "mesh", "contains", "the", "instance", "count", "is", "based", "on", "any", "vertex", "buffers", "with", "instancing", "set" ]
[ "return", "instance", "count", ";" ]
[ "gets", "the", "triangle", "vertex", "positions", "at", "the", "given", "triangle", "index", "and", "stores", "them", "into", "the", "{", "@", "link", "triangle", "}", "argument", "also", "sets", "the", "triangle", "index", "to", "the", "<", "code", ">", "index", "<", "/", "code", ">", "argument" ]
[ "get", "triangle", "(", "index", ",", "tri", "get", "1", "(", ")", ",", "tri", "get", "2", "(", ")", ",", "tri", "get", "3", "(", ")", ")", ";", "tri", "set", "index", "(", "index", ")", ";", "tri", "set", "normal", "(", "null", ")", ";" ]
[ "returns", "the", "mesh", "s", "vao", "id", "internal", "use", "only" ]
[ "return", "vertex", "array", "i", "d", ";" ]
[ "generates", "a", "collision", "tree", "for", "the", "mesh", "called", "automatically", "by", "{" ]
[ "b", "i", "h", "tree", "tree", "=", "new", "b", "i", "h", "tree", "(", "this", ")", ";", "tree", "construct", "(", ")", ";", "collision", "tree", "=", "tree", ";" ]
[ "clears", "any", "previously", "generated", "collision", "data", "use", "this", "if", "the", "mesh", "has", "changed", "in", "some", "way", "that", "invalidates", "any", "previously", "generated", "b", "i", "h", "tree" ]
[ "collision", "tree", "=", "null", ";" ]
[ "unsets", "the", "{", "@", "link", "vertex", "buffer", "}", "set", "on", "this", "mesh", "with", "the", "given", "type", "does", "nothing", "if", "the", "vertex", "buffer", "type", "is", "not", "set", "initially" ]
[ "vertex", "buffer", "vb", "=", "buffers", "remove", "(", "type", "ordinal", "(", ")", ")", ";", "if", "(", "vb", "!", "=", "null", ")", "{", "buffers", "list", "remove", "(", "vb", ")", ";", "update", "counts", "(", ")", ";", "}" ]
[ "set", "a", "floating", "point", "{", "@", "link", "vertex", "buffer", "}", "on", "the", "mesh" ]
[ "set", "buffer", "(", "type", ",", "components", ",", "format", "float", ",", "buf", ")", ";" ]
[ "get", "the", "{", "@", "link", "vertex", "buffer", "}", "stored", "on", "this", "mesh", "with", "the", "given", "type" ]
[ "return", "buffers", "get", "(", "type", "ordinal", "(", ")", ")", ";" ]
[ "get", "the", "{", "@", "link", "vertex", "buffer", "}", "data", "stored", "on", "this", "mesh", "in", "float", "format" ]
[ "vertex", "buffer", "vb", "=", "get", "buffer", "(", "type", ")", ";", "if", "(", "vb", "=", "=", "null", ")", "{", "return", "null", ";", "}", "return", "(", "float", "buffer", ")", "vb", "get", "data", "(", ")", ";" ]
[ "get", "the", "{", "@", "link", "vertex", "buffer", "}", "data", "stored", "on", "this", "mesh", "in", "short", "format" ]
[ "vertex", "buffer", "vb", "=", "get", "buffer", "(", "type", ")", ";", "if", "(", "vb", "=", "=", "null", ")", "{", "return", "null", ";", "}", "return", "(", "short", "buffer", ")", "vb", "get", "data", "(", ")", ";" ]
[ "get", "the", "index", "buffer", "for", "this", "mesh", "will", "return", "<", "code", ">", "null", "<", "/", "code", ">", "if", "no", "index", "buffer", "is", "set" ]
[ "vertex", "buffer", "vb", "=", "get", "buffer", "(", "type", "index", ")", ";", "if", "(", "vb", "=", "=", "null", ")", "{", "return", "null", ";", "}", "return", "index", "buffer", "wrap", "index", "buffer", "(", "vb", "get", "data", "(", ")", ")", ";" ]
[ "updates", "the", "bounding", "volume", "of", "this", "mesh", "the", "method", "does", "nothing", "if", "the", "mesh", "has", "no", "{" ]
[ "vertex", "buffer", "pos", "buf", "=", "get", "buffer", "(", "vertex", "buffer", "type", "position", ")", ";", "if", "(", "mesh", "bound", "!", "=", "null", "&", "&", "pos", "buf", "!", "=", "null", ")", "{", "mesh", "bound", "compute", "from", "points", "(", "(", "float", "buffer", ")", "pos", "buf", "get", "data", "(", ")", ")", ";", "}" ]
[ "returns", "the", "{", "@", "link", "bounding", "volume", "}", "of", "this", "mesh", "by", "default", "the", "bounding", "volume", "is", "a", "{", "@", "link", "bounding", "box", "}" ]
[ "return", "mesh", "bound", ";" ]
[ "sets", "the", "{", "@", "link", "bounding", "volume", "}", "for", "this", "mesh", "the", "bounding", "volume", "is", "recomputed", "by", "calling", "{", "@", "link", "#", "update", "bound", "(", ")", "}" ]
[ "mesh", "bound", "=", "model", "bound", ";" ]
[ "returns", "a", "map", "of", "all", "{", "@", "link", "vertex", "buffer", "vertex", "buffers", "}", "on", "this", "mesh", "the", "integer", "key", "for", "the", "map", "is", "the", "{", "@", "link", "enum", "#", "ordinal", "(", ")", "ordinal", "}", "of", "the", "vertex", "buffer", "s", "{", "@", "link", "type", "}", "note", "that", "the", "returned", "map", "is", "a", "reference", "to", "the", "map", "used", "internally", "modifying", "it", "will", "cause", "undefined", "results" ]
[ "return", "buffers", ";" ]
[ "returns", "a", "list", "of", "all", "{", "@", "link", "vertex", "buffer", "vertex", "buffers", "}", "on", "this", "mesh", "using", "a", "list", "instead", "an", "int", "map", "via", "the", "{", "@", "link", "#", "get", "buffers", "(", ")", "}", "method", "is", "better", "for", "iteration", "as", "there", "s", "no", "need", "to", "create", "an", "iterator", "instance", "note", "that", "the", "returned", "list", "is", "a", "reference", "to", "the", "list", "used", "internally", "modifying", "it", "will", "cause", "undefined", "results" ]
[ "return", "buffers", "list", ";" ]
[ "determines", "if", "the", "mesh", "uses", "bone", "animation" ]
[ "return", "get", "buffer", "(", "type", "bone", "index", ")", "!", "=", "null", "|", "|", "get", "buffer", "(", "type", "h", "w", "bone", "index", ")", "!", "=", "null", ";" ]
[ "sets", "the", "count", "of", "vertices", "used", "for", "each", "tessellation", "patch" ]
[ "this", "patch", "vertex", "count", "=", "patch", "vertex", "count", ";" ]
[ "gets", "the", "amount", "of", "vertices", "used", "for", "each", "patch", ";" ]
[ "return", "patch", "vertex", "count", ";" ]
[ "}" ]
[ "color", "r", "g", "b", "a", "color", "=", "color", "r", "g", "b", "a", "black", ";", "int", "randomn", "=", "rand", "next", "int", "(", "4", ")", ";", "if", "(", "randomn", "=", "=", "0", ")", "{", "color", "=", "color", "r", "g", "b", "a", "orange", ";", "}", "else", "if", "(", "randomn", "=", "=", "1", ")", "{", "color", "=", "color", "r", "g", "b", "a", "blue", ";", "}", "else", "if", "(", "randomn", "=", "=", "2", ")", "{", "color", "=", "color", "r", "g", "b", "a", "brown", ";", "}", "else", "if", "(", "randomn", "=", "=", "3", ")", "{", "color", "=", "color", "r", "g", "b", "a", "magenta", ";", "}", "return", "color", ";" ]
[ "<", "p", ">", "identifier", "(", "id", ")", "of", "the", "directory", "to", "which", "you", "want", "to", "subscribe", "and", "receive", "real", "-", "time", "logs", "to", "your", "specified", "cloud", "watch", "log", "group", "<", "/", "p", ">" ]
[ "set", "directory", "id", "(", "directory", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "cloud", "watch", "log", "group", "where", "the", "real", "-", "time", "domain", "controller", "logs", "are", "forwarded", "<", "/", "p", ">" ]
[ "set", "log", "group", "name", "(", "log", "group", "name", ")", ";", "return", "this", ";" ]
[ "helper", "method", "for", "xml", "has", "simple", "content", "(", ")" ]
[ "org", "w", "3c", "dom", "node", "list", "nodes", "=", "this", "dom", "get", "child", "nodes", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "nodes", "get", "length", "(", ")", ";", "i", "+", "+", ")", "{", "if", "(", "nodes", "item", "(", "i", ")", "get", "node", "type", "(", ")", "=", "=", "org", "w", "3c", "dom", "node", "element", "node", ")", "return", "true", ";", "}", "return", "false", ";" ]
[ "returns", "whether", "this", "node", "is", "capable", "of", "being", "a", "parent" ]
[ "return", "is", "element", "type", "(", ")", ";" ]
[ "todo", "move", "functionality", "from", "q", "name", "lookup", "prefix", "to", "here" ]
[ "if", "(", "prefix", "=", "=", "null", ")", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "this", "prefix", "=", "prefix", ";" ]
[ "/", "*", "todo", ":", "was", "marked", "deprecated", "by", "original", "author" ]
[ "add", "(", "xml", "get", "annotation", "(", ")", ")", ";" ]
[ "support", "experimental", "java", "interface" ]
[ "return", "this", "dom", ";" ]
[ "serialize", "a", "multi", "normalizer", "standardize", "to", "a", "output", "stream" ]
[ "try", "(", "data", "output", "stream", "dos", "=", "new", "data", "output", "stream", "(", "stream", ")", ")", "{", "dos", "write", "boolean", "(", "normalizer", "is", "fit", "label", "(", ")", ")", ";", "dos", "write", "int", "(", "normalizer", "num", "inputs", "(", ")", ")", ";", "dos", "write", "int", "(", "normalizer", "is", "fit", "label", "(", ")", "?", "normalizer", "num", "outputs", "(", ")", ":", "-", "1", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "normalizer", "num", "inputs", "(", ")", ";", "i", "+", "+", ")", "{", "nd", "4j", "write", "(", "normalizer", "get", "feature", "mean", "(", "i", ")", ",", "dos", ")", ";", "nd", "4j", "write", "(", "normalizer", "get", "feature", "std", "(", "i", ")", ",", "dos", ")", ";", "}", "if", "(", "normalizer", "is", "fit", "label", "(", ")", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "normalizer", "num", "outputs", "(", ")", ";", "i", "+", "+", ")", "{", "nd", "4j", "write", "(", "normalizer", "get", "label", "mean", "(", "i", ")", ",", "dos", ")", ";", "nd", "4j", "write", "(", "normalizer", "get", "label", "std", "(", "i", ")", ",", "dos", ")", ";", "}", "}", "dos", "flush", "(", ")", ";", "}" ]
[ "restore", "a", "multi", "normalizer", "standardize", "that", "was", "previously", "serialized", "by", "this", "strategy" ]
[ "data", "input", "stream", "dis", "=", "new", "data", "input", "stream", "(", "stream", ")", ";", "boolean", "fit", "labels", "=", "dis", "read", "boolean", "(", ")", ";", "int", "num", "inputs", "=", "dis", "read", "int", "(", ")", ";", "int", "num", "outputs", "=", "dis", "read", "int", "(", ")", ";", "multi", "normalizer", "standardize", "result", "=", "new", "multi", "normalizer", "standardize", "(", ")", ";", "result", "fit", "label", "(", "fit", "labels", ")", ";", "list", "<", "distribution", "stats", ">", "feature", "stats", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num", "inputs", ";", "i", "+", "+", ")", "{", "feature", "stats", "add", "(", "new", "distribution", "stats", "(", "nd", "4j", "read", "(", "dis", ")", ",", "nd", "4j", "read", "(", "dis", ")", ")", ")", ";", "}", "result", "set", "feature", "stats", "(", "feature", "stats", ")", ";", "if", "(", "fit", "labels", ")", "{", "list", "<", "distribution", "stats", ">", "label", "stats", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num", "outputs", ";", "i", "+", "+", ")", "{", "label", "stats", "add", "(", "new", "distribution", "stats", "(", "nd", "4j", "read", "(", "dis", ")", ",", "nd", "4j", "read", "(", "dis", ")", ")", ")", ";", "}", "result", "set", "label", "stats", "(", "label", "stats", ")", ";", "}", "return", "result", ";" ]
[ "check", "if", "this", "might", "be", "a", "two", "character", "token" ]
[ "return", "(", "kind", "token", "chars", "length", "=", "=", "2", "&", "&", "this", "chars", "to", "process", "[", "this", "pos", "]", "=", "=", "kind", "token", "chars", "[", "0", "]", "&", "&", "this", "chars", "to", "process", "[", "this", "pos", "+", "1", "]", "=", "=", "kind", "token", "chars", "[", "1", "]", ")", ";" ]
[ "push", "a", "token", "of", "just", "one", "character", "in", "length" ]
[ "this", "tokens", "add", "(", "new", "token", "(", "kind", ",", "this", "pos", ",", "this", "pos", "+", "1", ")", ")", ";", "this", "pos", "+", "+", ";" ]
[ "push", "a", "token", "of", "two", "characters", "in", "length" ]
[ "this", "tokens", "add", "(", "new", "token", "(", "kind", ",", "this", "pos", ",", "this", "pos", "+", "2", ")", ")", ";", "this", "pos", "+", "=", "2", ";" ]
[ "id", ":", "(", "a", "z", "|", "a", "z", "|", "|", "$", ")", "(", "a", "z", "|", "a", "z", "|", "|", "$", "|", "0", "9", "|", "dot", "escaped", ")", "*", ";" ]
[ "return", "is", "alphabetic", "(", "ch", ")", "|", "|", "is", "digit", "(", "ch", ")", "|", "|", "ch", "=", "=", "'", "'", "|", "|", "ch", "=", "=", "'", "$", "'", ";" ]
[ "adds", "future", "to", "future", "map" ]
[ "force", "key", "futs", "put", "(", "fut", "future", "id", "(", ")", ",", "fut", ")", ";", "if", "(", "stopping", ")", "{", "fut", "on", "done", "(", "stop", "error", "(", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";" ]
[ "removes", "future", "from", "future", "map" ]
[ "force", "key", "futs", "remove", "(", "fut", "future", "id", "(", ")", ",", "fut", ")", ";" ]
[ "{" ]
[ "super", "on", "kernal", "stop", "(", ")", ";", "stopping", "=", "true", ";", "ignite", "checked", "exception", "err", "=", "stop", "error", "(", ")", ";", "for", "(", "grid", "dht", "force", "keys", "future", "fut", ":", "force", "key", "futs", "values", "(", ")", ")", "fut", "on", "done", "(", "err", ")", ";", "ctx", "grid", "events", "(", ")", "remove", "local", "event", "listener", "(", "disco", "lsnr", ")", ";" ]
[ "{" ]
[ "ctx", "io", "(", ")", "add", "cache", "handler", "(", "ctx", "cache", "id", "(", ")", ",", "grid", "cache", "ttl", "update", "request", "class", ",", "new", "ci2", "<", "uuid", ",", "grid", "cache", "ttl", "update", "request", ">", "(", ")", "{", "@", "override", "public", "void", "apply", "(", "uuid", "node", "id", ",", "grid", "cache", "ttl", "update", "request", "req", ")", "{", "process", "ttl", "update", "request", "(", "req", ")", ";", "}", "}", ")", ";", "ctx", "grid", "events", "(", ")", "add", "local", "event", "listener", "(", "disco", "lsnr", ",", "evt", "node", "left", ",", "evt", "node", "failed", ")", ";" ]
[ "{" ]
[ "super", "print", "memory", "stats", "(", ")", ";", "ctx", "group", "(", ")", "topology", "(", ")", "print", "memory", "stats", "(", "1024", ")", ";" ]
[ "{" ]
[ "return", "ctx", "group", "(", ")", "preloader", "(", ")", ";" ]
[ "creates", "multi", "update", "finish", "future", "will", "return", "{", "@", "code", "null", "}", "if", "no", "multi", "-", "update", "locks", "are", "found" ]
[ "grid", "compound", "future", "<", "ignite", "uuid", ",", "object", ">", "fut", "=", "null", ";", "for", "(", "multi", "update", "future", "multi", "fut", ":", "multi", "tx", "futs", "values", "(", ")", ")", "{", "if", "(", "multi", "fut", "topology", "version", "(", ")", "compare", "to", "(", "top", "ver", ")", "<", "=", "0", ")", "{", "if", "(", "fut", "=", "=", "null", ")", "fut", "=", "new", "grid", "compound", "future", "<", ">", "(", ")", ";", "fut", "add", "(", "multi", "fut", ")", ";", "}", "}", "if", "(", "fut", "!", "=", "null", ")", "fut", "mark", "initialized", "(", ")", ";", "return", "fut", ";" ]
[ "{", "@", "inherit", "doc", "}" ]
[ "return", "super", "entry", "ex", "(", "key", ",", "top", "ver", ")", ";" ]
[ "{" ]
[ "return", "(", "int", ")", "size", "long", "(", ")", ";" ]
[ "{" ]
[ "long", "sum", "=", "0", ";", "for", "(", "grid", "dht", "local", "partition", "p", ":", "topology", "(", ")", "current", "local", "partitions", "(", ")", ")", "sum", "+", "=", "p", "data", "store", "(", ")", "cache", "size", "(", "ctx", "cache", "id", "(", ")", ")", ";", "return", "sum", ";" ]
[ "{" ]
[ "return", "(", "int", ")", "primary", "size", "long", "(", ")", ";" ]
[ "{" ]
[ "long", "sum", "=", "0", ";", "affinity", "topology", "version", "top", "ver", "=", "ctx", "affinity", "(", ")", "affinity", "topology", "version", "(", ")", ";", "for", "(", "grid", "dht", "local", "partition", "p", ":", "topology", "(", ")", "current", "local", "partitions", "(", ")", ")", "{", "if", "(", "p", "primary", "(", "top", "ver", ")", ")", "sum", "+", "=", "p", "data", "store", "(", ")", "cache", "size", "(", "ctx", "cache", "id", "(", ")", ")", ";", "}", "return", "sum", ";" ]
[ "{" ]
[ "assert", "false", ";" ]