docstring_tokens
list
code_tokens
list
[ "return", "number", "of", "key", "-", "value", "pairs", "in", "bst", "rooted", "at", "x" ]
[ "if", "(", "x", "=", "=", "null", ")", "return", "0", ";", "else", "return", "x", "size", ";" ]
[ "returns", "the", "value", "associated", "with", "the", "given", "key" ]
[ "return", "get", "(", "root", ",", "key", ")", ";" ]
[ "returns", "the", "node", "with", "key", "the", "kth", "smallest", "key", "in", "the", "subtree" ]
[ "if", "(", "x", "=", "=", "null", ")", "return", "null", ";", "int", "t", "=", "size", "(", "x", "left", ")", ";", "if", "(", "t", ">", "k", ")", "return", "select", "(", "x", "left", ",", "k", ")", ";", "else", "if", "(", "t", "<", "k", ")", "return", "select", "(", "x", "right", ",", "k", "-", "t", "-", "1", ")", ";", "else", "return", "x", ";" ]
[ "returns", "the", "keys", "in", "the", "bst", "in", "level", "order", "(", "for", "debugging", ")" ]
[ "queue", "<", "key", ">", "keys", "=", "new", "queue", "<", "key", ">", "(", ")", ";", "queue", "<", "node", ">", "queue", "=", "new", "queue", "<", "node", ">", "(", ")", ";", "queue", "enqueue", "(", "root", ")", ";", "while", "(", "!", "queue", "is", "empty", "(", ")", ")", "{", "node", "x", "=", "queue", "dequeue", "(", ")", ";", "if", "(", "x", "=", "=", "null", ")", "continue", ";", "keys", "enqueue", "(", "x", "key", ")", ";", "queue", "enqueue", "(", "x", "left", ")", ";", "queue", "enqueue", "(", "x", "right", ")", ";", "}", "return", "keys", ";" ]
[ "unit", "tests", "the", "{", "@", "code", "bst", "}", "data", "type" ]
[ "bst", "<", "string", ",", "integer", ">", "st", "=", "new", "bst", "<", "string", ",", "integer", ">", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "!", "std", "in", "is", "empty", "(", ")", ";", "i", "+", "+", ")", "{", "string", "key", "=", "std", "in", "read", "string", "(", ")", ";", "st", "put", "(", "key", ",", "i", ")", ";", "}", "for", "(", "string", "s", ":", "st", "level", "order", "(", ")", ")", "std", "out", "println", "(", "s", "+", "\"", "\"", "+", "st", "get", "(", "s", ")", ")", ";", "std", "out", "println", "(", ")", ";", "for", "(", "string", "s", ":", "st", "keys", "(", ")", ")", "std", "out", "println", "(", "s", "+", "\"", "\"", "+", "st", "get", "(", "s", ")", ")", ";" ]
[ "do", "the", "strings", "contain", "upper", "case", "letters", "?" ]
[ "for", "(", "string", "s", ":", "strings", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "s", "length", "(", ")", ";", "i", "+", "+", ")", "{", "if", "(", "character", "is", "upper", "case", "(", "s", "char", "at", "(", "i", ")", ")", ")", "{", "return", "true", ";", "}", "}", "}", "return", "false", ";" ]
[ "rebuild", "the", "uri", "query", "with", "lower", "case", "parameter", "names" ]
[ "uri", "builder", "b", "=", "uri", "builder", "from", "uri", "(", "uri", ")", "replace", "query", "(", "\"", "\"", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "list", "<", "string", ">", ">", "e", ":", "parameters", "entry", "set", "(", ")", ")", "{", "final", "string", "key", "=", "string", "utils", "to", "lower", "case", "(", "e", "get", "key", "(", ")", ")", ";", "for", "(", "string", "v", ":", "e", "get", "value", "(", ")", ")", "{", "b", "=", "b", "query", "param", "(", "key", ",", "v", ")", ";", "}", "}", "return", "b", "build", "(", ")", ";" ]
[ "returns", "the", "k", "n", "x", "network", "link", "for", "talking", "to", "the", "knx", "bus", "the", "link", "can", "be", "null", "if", "it", "has", "not", "(", "yet", ")", "been", "established", "successfully" ]
[ "if", "(", "s", "link", "!", "=", "null", "&", "&", "!", "s", "link", "is", "open", "(", ")", ")", "{", "connect", "(", ")", ";", "}", "return", "s", "p", "c", ";" ]
[ "decode", "a", "string", "representation", "this", "method", "assumes", "that", "the", "encoding", "charset", "is", "utf", "8" ]
[ "return", "string", "(", "buffer", ",", "standard", "charsets", "utf", "8", ")", ";" ]
[ "decode", "a", "string", "representation", "this", "method", "assumes", "that", "the", "encoding", "charset", "is", "utf", "8" ]
[ "return", "string", "(", "buffer", ",", "position", ",", "length", ",", "standard", "charsets", "utf", "8", ")", ";" ]
[ "decode", "a", "string", "representation" ]
[ "byte", "buffer", "copy", "=", "buffer", "duplicate", "(", ")", ";", "copy", "position", "(", "position", ")", ";", "copy", "limit", "(", "copy", "position", "(", ")", "+", "length", ")", ";", "return", "string", "(", "copy", ",", "charset", ")", ";" ]
[ "decode", "a", "string", "representation" ]
[ "return", "charset", "new", "decoder", "(", ")", "decode", "(", "buffer", "duplicate", "(", ")", ")", "to", "string", "(", ")", ";" ]
[ "byte", "buffer", "adaptation", "of", "org", "apache", "commons", "lang", "3", "array", "utils", "last", "index", "of", "method" ]
[ "assert", "buffer", "!", "=", "null", ";", "if", "(", "start", "index", "<", "buffer", "position", "(", ")", ")", "{", "return", "-", "1", ";", "}", "else", "if", "(", "start", "index", ">", "=", "buffer", "limit", "(", ")", ")", "{", "start", "index", "=", "buffer", "limit", "(", ")", "-", "1", ";", "}", "for", "(", "int", "i", "=", "start", "index", ";", "i", ">", "=", "buffer", "position", "(", ")", ";", "i", "-", "-", ")", "{", "if", "(", "value", "to", "find", "=", "=", "buffer", "get", "(", "i", ")", ")", "{", "return", "i", ";", "}", "}", "return", "-", "1", ";" ]
[ "encode", "a", "string", "in", "a", "byte", "buffer", "using", "utf", "8" ]
[ "return", "byte", "buffer", "wrap", "(", "s", "get", "bytes", "(", "standard", "charsets", "utf", "8", ")", ")", ";" ]
[ "encode", "a", "string", "in", "a", "byte", "buffer", "using", "the", "provided", "charset" ]
[ "return", "byte", "buffer", "wrap", "(", "s", "get", "bytes", "(", "charset", ")", ")", ";" ]
[ "transfer", "bytes", "from", "one", "byte", "buffer", "to", "another", "this", "function", "acts", "as", "system", "array", "copy", "(", ")", "but", "for", "byte", "buffers" ]
[ "fast", "byte", "operations", "copy", "(", "src", ",", "src", "pos", ",", "dst", ",", "dst", "pos", ",", "length", ")", ";" ]
[ "/", "*" ]
[ "return", "in", "read", "unsigned", "short", "(", ")", ";" ]
[ "convert", "a", "byte", "buffer", "to", "an", "integer", "does", "not", "change", "the", "byte", "buffer", "position" ]
[ "return", "bytes", "get", "int", "(", "bytes", "position", "(", ")", ")", ";" ]
[ "returns", "whether", "{" ]
[ "if", "(", "prefix", "remaining", "(", ")", ">", "value", "remaining", "(", ")", ")", "{", "return", "false", ";", "}", "int", "diff", "=", "value", "remaining", "(", ")", "-", "prefix", "remaining", "(", ")", ";", "return", "prefix", "equals", "(", "value", "duplicate", "(", ")", "limit", "(", "value", "remaining", "(", ")", "-", "diff", ")", ")", ";" ]
[ "trims", "size", "of", "bytebuffer", "to", "exactly", "number", "of", "bytes", "in", "it", "to", "do", "not", "hold", "too", "much", "memory" ]
[ "return", "buf", "capacity", "(", ")", ">", "buf", "remaining", "(", ")", "|", "|", "!", "buf", "has", "array", "(", ")", "?", "byte", "buffer", "wrap", "(", "get", "array", "(", "buf", ")", ")", ":", "buf", ";" ]
[ "doesn", "t", "change", "bb", "position" ]
[ "int", "length", "=", "(", "bb", "get", "(", "position", ")", "&", "0x", "f", "f", ")", "<", "<", "8", ";", "return", "length", "|", "(", "bb", "get", "(", "position", "+", "1", ")", "&", "0x", "f", "f", ")", ";" ]
[ "changes", "bb", "position" ]
[ "int", "length", "=", "(", "bb", "get", "(", ")", "&", "0x", "f", "f", ")", "<", "<", "8", ";", "return", "length", "|", "(", "bb", "get", "(", ")", "&", "0x", "f", "f", ")", ";" ]
[ "changes", "bb", "position" ]
[ "bb", "put", "(", "(", "byte", ")", "(", "(", "length", ">", ">", "8", ")", "&", "0x", "f", "f", ")", ")", ";", "bb", "put", "(", "(", "byte", ")", "(", "length", "&", "0x", "f", "f", ")", ")", ";" ]
[ "changes", "bb", "position" ]
[ "byte", "buffer", "copy", "=", "bb", "duplicate", "(", ")", ";", "copy", "limit", "(", "copy", "position", "(", ")", "+", "length", ")", ";", "bb", "position", "(", "bb", "position", "(", ")", "+", "length", ")", ";", "return", "copy", ";" ]
[ "changes", "bb", "position" ]
[ "int", "length", "=", "read", "short", "length", "(", "bb", ")", ";", "return", "read", "bytes", "(", "bb", ",", "length", ")", ";" ]
[ "<", "p", ">", "the", "list", "of", "build", "project", "names", "with", "each", "build", "project", "name", "representing", "a", "single", "build", "project", "<", "/", "p", ">" ]
[ "return", "projects", ";" ]
[ "<", "p", ">", "the", "list", "of", "build", "project", "names", "with", "each", "build", "project", "name", "representing", "a", "single", "build", "project", "<", "/", "p", ">" ]
[ "if", "(", "projects", "=", "=", "null", ")", "{", "this", "projects", "=", "null", ";", "return", ";", "}", "this", "projects", "=", "new", "java", "util", "array", "list", "<", "string", ">", "(", "projects", ")", ";" ]
[ "<", "p", ">", "the", "list", "of", "build", "project", "names", "with", "each", "build", "project", "name", "representing", "a", "single", "build", "project", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "projects", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "projects", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "projects", "=", "=", "null", ")", "{", "set", "projects", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "projects", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "projects", ")", "{", "this", "projects", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "build", "project", "names", "with", "each", "build", "project", "name", "representing", "a", "single", "build", "project", "<", "/", "p", ">" ]
[ "set", "projects", "(", "projects", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "length", "of", "the", "message", "it", "may", "not", "be", "the", "same", "as", "the", "length", "of", "the", "data", "field", "as", "the", "logging", "payload", "can", "be", "truncated", "or", "omitted", "<", "/", "pre", ">" ]
[ "length", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "length", "of", "the", "message", "it", "may", "not", "be", "the", "same", "as", "the", "length", "of", "the", "data", "field", "as", "the", "logging", "payload", "can", "be", "truncated", "or", "omitted", "<", "/", "pre", ">" ]
[ "length", "=", "0", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "may", "be", "truncated", "or", "omitted", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "data", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "may", "be", "truncated", "or", "omitted", "<", "/", "pre", ">" ]
[ "data", "=", "get", "default", "instance", "(", ")", "get", "data", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "returns", "the", "backing", "array", "which", "has", "0", "to", "{" ]
[ "return", "out", "stream", "get", "buffer", "(", ")", ";" ]
[ "does", "nothing", "except", "returning", "the", "specified", "list", "of", "plugins" ]
[ "map", "<", "string", ",", "plugin", ">", "result", "=", "maps", "new", "hash", "map", "(", ")", ";", "for", "(", "string", "plugin", "key", ":", "info", "by", "keys", "key", "set", "(", ")", ")", "{", "result", "put", "(", "plugin", "key", ",", "mock", "(", "plugin", "class", ")", ")", ";", "}", "return", "result", ";" ]
[ "return", "all", "successor", "which", "are", "not", "exception", "handler", "or", "followed", "by", "loop", "back", "edge" ]
[ "list", "<", "block", "node", ">", "suc", "list", "=", "block", "get", "successors", "(", ")", ";", "if", "(", "suc", "list", "is", "empty", "(", ")", ")", "{", "return", "suc", "list", ";", "}", "list", "<", "block", "node", ">", "to", "remove", "=", "new", "array", "list", "<", ">", "(", "suc", "list", "size", "(", ")", ")", ";", "for", "(", "block", "node", "b", ":", "suc", "list", ")", "{", "if", "(", "block", "utils", "is", "block", "must", "be", "cleared", "(", "b", ")", ")", "{", "to", "remove", "add", "(", "b", ")", ";", "}", "}", "if", "(", "block", "contains", "(", "a", "flag", "loop", "end", ")", ")", "{", "list", "<", "loop", "info", ">", "loops", "=", "block", "get", "all", "(", "a", "type", "loop", ")", ";", "for", "(", "loop", "info", "loop", ":", "loops", ")", "{", "to", "remove", "add", "(", "loop", "get", "start", "(", ")", ")", ";", "}", "}", "ignore", "edge", "attr", "ignore", "edge", "attr", "=", "block", "get", "(", "a", "type", "ignore", "edge", ")", ";", "if", "(", "ignore", "edge", "attr", "!", "=", "null", ")", "{", "to", "remove", "add", "all", "(", "ignore", "edge", "attr", "get", "blocks", "(", ")", ")", ";", "}", "if", "(", "to", "remove", "is", "empty", "(", ")", ")", "{", "return", "suc", "list", ";", "}", "list", "<", "block", "node", ">", "result", "=", "new", "array", "list", "<", ">", "(", "suc", "list", ")", ";", "result", "remove", "all", "(", "to", "remove", ")", ";", "return", "result", ";" ]
[ "check", "if", "block", "dominated", "on", "this", "node" ]
[ "return", "doms", "get", "(", "block", "get", "id", "(", ")", ")", ";" ]
[ "dominators", "of", "this", "node", "(", "exclude", "itself", ")" ]
[ "return", "doms", ";" ]
[ "immediate", "dominator" ]
[ "return", "idom", ";" ]
[ "/", "*", "(", "non", "-", "javadoc", ")" ]
[ "matchable", "handler", "mapping", "mapping", "=", "get", "mapping", "(", "request", ")", ";", "if", "(", "mapping", "=", "=", "null", ")", "{", "return", "this", "default", "matcher", "extract", "uri", "template", "variables", "(", "request", ")", ";", "}", "request", "match", "result", "result", "=", "mapping", "match", "(", "request", ",", "this", "pattern", ")", ";", "return", "result", "=", "=", "null", "?", "collections", "<", "string", ",", "string", ">", "empty", "map", "(", ")", ":", "result", "extract", "uri", "template", "variables", "(", ")", ";" ]
[ "build", "a", "global", "{" ]
[ "return", "watermarks", "=", "=", "null", "?", "for", "stream", "from", "sources", "(", "collections", "empty", "list", "(", ")", ",", "null", ")", ":", "for", "stream", "from", "sources", "(", "lists", "new", "array", "list", "(", "watermarks", "key", "set", "(", ")", ")", ",", "watermarks", ")", ";" ]
[ "advances", "the", "watermark" ]
[ "input", "watermark", "=", "high", "watermark", ";" ]
[ "<", "p", ">", "used", "for", "reserved", "instance", "marketplace", "offerings", "specifies", "the", "limit", "price", "on", "the", "total", "order", "(", "instance", "count", "*", "price", ")", "<", "/", "p", ">" ]
[ "set", "amount", "(", "amount", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "currency", "in", "which", "the", "<", "code", ">", "limit", "price", "<", "/", "code", ">", "amount", "is", "specified", "at", "this", "time", "the", "only", "supported", "currency", "is", "<", "code", ">", "usd", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "currency", "code", "(", "currency", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "currency", "in", "which", "the", "<", "code", ">", "limit", "price", "<", "/", "code", ">", "amount", "is", "specified", "at", "this", "time", "the", "only", "supported", "currency", "is", "<", "code", ">", "usd", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "currency", "code", "=", "currency", "code", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "expression", "being", "deleted", "<", "/", "p", ">" ]
[ "this", "expression", "=", "expression", ";" ]
[ "<", "p", ">", "the", "status", "of", "the", "expression", "being", "deleted", "<", "/", "p", ">" ]
[ "return", "this", "expression", ";" ]
[ "eviction", "starts", "if", "a", "partitions", "size", "exceeds", "this", "number", ":" ]
[ "string", "map", "name", "=", "random", "map", "name", "(", ")", ";", "int", "max", "size", "=", "partition", "count", "/", "2", ";", "config", "config", "=", "create", "config", "(", "per", "node", ",", "max", "size", ",", "map", "name", ")", ";", "hazelcast", "instance", "node", "=", "create", "hazelcast", "instance", "(", "config", ")", ";", "i", "map", "map", "=", "node", "get", "map", "(", "map", "name", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "partition", "count", ";", "i", "+", "+", ")", "{", "string", "key", "for", "partition", "=", "generate", "key", "for", "partition", "(", "node", ",", "i", ")", ";", "map", "put", "(", "key", "for", "partition", ",", "i", ")", ";", "assert", "equals", "(", "i", ",", "map", "get", "(", "key", "for", "partition", ")", ")", ";", "}" ]
[ "is", "the", "given", "token", "part", "of", "a", "hyphenated", "compound", "preceded", "by", "a", "quoted", "token", "(", "e", "g", "„", "spiegel", "“", "-", "magazin", ")", "and", "should", "be", "treated", "as", "an", "ordinary", "hyphenated", "compound", "(", "e", "g", "„", "spiegel", "-", "magazin", "“", ")" ]
[ "return", "false", ";" ]
[ "in", "the", "end", "we", "want", "*", "new", "*", "comments", "oldest", "to", "newest" ]
[ "stack", "<", "comment", ">", "new", "comments", "=", "new", "stack", "<", ">", "(", ")", ";", "list", "<", "basic", "issue", ">", "issues", "=", "get", "issues", "(", ")", ";", "for", "(", "basic", "issue", "issue", ":", "issues", ")", "{", "issue", "full", "issue", "=", "client", "(", ")", "get", "issue", "client", "(", ")", "get", "issue", "(", "issue", "get", "key", "(", ")", ",", "null", ")", ";", "for", "(", "comment", "comment", ":", "full", "issue", "get", "comments", "(", ")", ")", "{", "if", "(", "!", "comment", "ids", "contains", "(", "comment", "get", "id", "(", ")", ")", ")", "{", "new", "comments", "push", "(", "comment", ")", ";", "comment", "ids", "add", "(", "comment", "get", "id", "(", ")", ")", ";", "}", "}", "}", "return", "new", "comments", ";" ]
[ "this", "method", "checks", "given", "string", "will", "not", "exceed", "limit", "in", "bytes", "[", "]", "when", "converted", "utf", "-", "16le", "encoding", "(", "2", "bytes", "per", "character", ")", "and", "checks", "whether", "the", "length", "doesn", "timer", "exceed", "65535", "bytes", "<", "br", ">" ]
[ "if", "(", "value", "!", "=", "null", ")", "{", "if", "(", "value", "length", "(", ")", ">", "maximum", "string", "length", "allowed", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", "error", "message", "wma", "length", "of", "string", "is", "too", "large", "get", "msg", "(", "(", "value", "length", "(", ")", "*", "2", ")", ")", ")", ";", "}", "}" ]
[ "copies", "all", "of", "the", "source", "to", "the", "destination", "<", "br", ">" ]
[ "final", "byte", "[", "]", "buf", "=", "new", "byte", "[", "8192", "]", ";", "int", "read", ";", "while", "(", "(", "read", "=", "source", "read", "(", "buf", ")", ")", "!", "=", "-", "1", ")", "{", "dest", "write", "(", "buf", ",", "0", ",", "read", ")", ";", "}" ]
[ "this", "method", "will", "create", "a", "byte", "[", "]", "at", "the", "size", "of", "<", "code", ">", "byte", "count", "<", "/", "code", ">", "and", "insert", "the", "bytes", "of", "<", "code", ">", "value", "<", "/", "code", ">", "(", "starting", "from", "lowset", "byte", ")", "into", "it", "<", "br", ">", "you", "can", "easily", "create", "a", "word", "(", "16", "-", "bit", ")", "dword", "(", "32", "-", "bit", ")", "qword", "(", "64", "bit", ")", "out", "of", "the", "value", "ignoring", "the", "original", "type", "of", "value", "since", "java", "automatically", "performs", "transformations", "<", "br", ">", "<", "b", ">", "warning", ":", "<", "/", "b", ">", "this", "method", "works", "with", "unsigned", "numbers", "only" ]
[ "byte", "[", "]", "result", "=", "new", "byte", "[", "byte", "count", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "result", "length", ";", "i", "+", "+", ")", "{", "result", "[", "i", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", ">", "(", "i", "*", "8", ")", ")", "&", "0x", "f", "f", ")", ";", "}", "return", "result", ";" ]
[ "convenience", "method", "to", "convert", "the", "given", "string", "into", "a", "byte", "sequence", "which", "has", "the", "format", "of", "the", "charset", "given" ]
[ "assert", "charset", "!", "=", "null", ";", "assert", "source", "!", "=", "null", ";", "final", "byte", "buffer", "encoded", "=", "charset", "encode", "(", "source", ")", ";", "final", "byte", "[", "]", "result", "=", "new", "byte", "[", "encoded", "limit", "(", ")", "]", ";", "encoded", "rewind", "(", ")", ";", "encoded", "get", "(", "result", ")", ";", "return", "result", ";" ]
[ "tests", "if", "the", "given", "string", "is", "<", "code", ">", "null", "<", "/", "code", ">", "or", "just", "contains", "whitespace", "characters" ]
[ "if", "(", "to", "test", "=", "=", "null", ")", "{", "return", "true", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "to", "test", "length", "(", ")", ";", "i", "+", "+", ")", "{", "if", "(", "!", "character", "is", "whitespace", "(", "to", "test", "char", "at", "(", "i", ")", ")", ")", "{", "return", "false", ";", "}", "}", "return", "true", ";" ]
[ "reads", "<", "code", ">", "size", "<", "/", "code", ">", "bytes", "from", "the", "stream", "<", "br", ">" ]
[ "byte", "[", "]", "result", "=", "new", "byte", "[", "(", "int", ")", "size", "]", ";", "stream", "read", "(", "result", ")", ";", "return", "result", ";" ]
[ "reads", "2", "bytes", "from", "stream", "and", "interprets", "them", "as", "uint16", "<", "br", ">" ]
[ "int", "result", "=", "stream", "read", "(", ")", ";", "result", "|", "=", "stream", "read", "(", ")", "<", "<", "8", ";", "return", "result", ";" ]
[ "stack", "based", "version" ]
[ "return", "null", ";" ]
[ "determine", "from", "a", "mapping", "which", "columns", "are", "bytes", "column", "vector", "columns" ]
[ "return", "get", "byte", "column", "vector", "columns", "(", "mapping", "get", "output", "columns", "(", ")", ",", "mapping", "get", "type", "infos", "(", ")", ")", ";" ]
[ "/", "*", "perform", "any", "native", "vector", "map", "join", "operator", "specific", "hash", "table", "setup" ]
[]
[ "/", "*", "perform", "the", "native", "vector", "map", "join", "operator", "work" ]
[ "public", "abstract", "void", "process", "batch", "(", "vectorized", "row", "batch", "batch", ")", "throws", "hive", "exception", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "1", ")", ";", "return", "grid", "unsafe", "get", "byte", "(", "data", "+", "pos", "+", "+", ")", ";" ]
[ "{" ]
[ "byte", "[", "]", "res", "=", "new", "byte", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "byte", "arr", "off", ",", "cnt", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "return", "read", "byte", "(", ")", "=", "=", "1", ";" ]
[ "{" ]
[ "boolean", "[", "]", "res", "=", "new", "boolean", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "boolean", "arr", "off", ",", "cnt", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "2", ")", ";", "short", "res", "=", "grid", "unsafe", "get", "short", "(", "data", "+", "pos", ")", ";", "shift", "(", "2", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "1", ";", "short", "[", "]", "res", "=", "new", "short", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "short", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "2", ")", ";", "char", "res", "=", "grid", "unsafe", "get", "char", "(", "data", "+", "pos", ")", ";", "shift", "(", "2", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "1", ";", "char", "[", "]", "res", "=", "new", "char", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "char", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "4", ")", ";", "int", "res", "=", "grid", "unsafe", "get", "int", "(", "data", "+", "pos", ")", ";", "shift", "(", "4", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "delta", "=", "pos", "+", "1", "-", "this", "pos", ";", "if", "(", "delta", ">", "0", ")", "ensure", "enough", "data", "(", "delta", ")", ";", "return", "grid", "unsafe", "get", "byte", "(", "data", "+", "pos", ")", ";" ]
[ "{" ]
[ "int", "delta", "=", "pos", "+", "2", "-", "this", "pos", ";", "if", "(", "delta", ">", "0", ")", "ensure", "enough", "data", "(", "delta", ")", ";", "return", "grid", "unsafe", "get", "short", "(", "data", "+", "pos", ")", ";" ]
[ "{" ]
[ "int", "delta", "=", "pos", "+", "4", "-", "this", "pos", ";", "if", "(", "delta", ">", "0", ")", "ensure", "enough", "data", "(", "delta", ")", ";", "return", "grid", "unsafe", "get", "int", "(", "data", "+", "pos", ")", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "2", ";", "int", "[", "]", "res", "=", "new", "int", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "int", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "4", ")", ";", "float", "res", "=", "grid", "unsafe", "get", "float", "(", "data", "+", "pos", ")", ";", "shift", "(", "4", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "2", ";", "float", "[", "]", "res", "=", "new", "float", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "float", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "8", ")", ";", "long", "res", "=", "grid", "unsafe", "get", "long", "(", "data", "+", "pos", ")", ";", "shift", "(", "8", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "3", ";", "long", "[", "]", "res", "=", "new", "long", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "long", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "ensure", "enough", "data", "(", "8", ")", ";", "double", "res", "=", "grid", "unsafe", "get", "double", "(", "data", "+", "pos", ")", ";", "shift", "(", "8", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "int", "len", "=", "cnt", "<", "<", "3", ";", "double", "[", "]", "res", "=", "new", "double", "[", "cnt", "]", ";", "copy", "and", "shift", "(", "res", ",", "grid", "unsafe", "double", "arr", "off", ",", "len", ")", ";", "return", "res", ";" ]
[ "{" ]
[ "return", "len", "-", "pos", ";" ]
[ "{" ]
[ "return", "len", ";" ]
[ "{" ]
[ "if", "(", "data", "copy", "=", "=", "null", ")", "{", "data", "copy", "=", "new", "byte", "[", "len", "]", ";", "grid", "unsafe", "copy", "offheap", "heap", "(", "data", ",", "data", "copy", ",", "grid", "unsafe", "byte", "arr", "off", ",", "data", "copy", "length", ")", ";", "}", "return", "data", "copy", ";" ]
[ "{" ]
[ "data", "=", "mem", "data", "(", ")", ";", "len", "=", "mem", "length", "(", ")", ";" ]
[ "copy", "required", "amount", "of", "data", "and", "shift", "position" ]
[ "ensure", "enough", "data", "(", "cnt", ")", ";", "grid", "unsafe", "copy", "offheap", "heap", "(", "data", "+", "pos", ",", "target", ",", "off", ",", "cnt", ")", ";", "shift", "(", "cnt", ")", ";" ]
[ "shift", "position", "to", "the", "right" ]
[ "pos", "+", "=", "cnt", ";", "assert", "pos", "<", "=", "len", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "user", "to", "get", "information", "about", "<", "/", "p", ">", "<", "p", ">", "this", "parameter", "is", "optional", "if", "it", "is", "not", "included", "it", "defaults", "to", "the", "user", "making", "the", "request", "this", "parameter", "allows", "(", "per", "its", "<", "a", "href", "=", "http", ":", "/", "/", "wikipedia", "org", "/", "wiki", "/", "regex", ">", "regex", "pattern", "<", "/", "a", ">", ")", "a", "string", "of", "characters", "consisting", "of", "upper", "and", "lowercase", "alphanumeric", "characters", "with", "no", "spaces", "you", "can", "also", "include", "any", "of", "the", "following", "characters", ":", "+", "=", "@", "-", "<", "/", "p", ">" ]
[ "set", "user", "name", "(", "user", "name", ")", ";", "return", "this", ";" ]
[ "sets", "sql", "arguments" ]
[ "this", "args", "=", "args", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "(", "spi", "query", "<", "k", ",", "v", ">", ")", "super", "set", "page", "size", "(", "page", "size", ")", ";" ]
[ "{" ]
[ "return", "(", "spi", "query", "<", "k", ",", "v", ">", ")", "super", "set", "local", "(", "loc", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "spi", "query", "class", ",", "this", ")", ";" ]
[ "connect", "my", "s", "q", "l", "master", "to", "fetch", "binlog" ]
[ "open", "(", "conn", ",", "file", "name", ",", "bin", "log", "header", "size", ",", "server", "id", ",", "false", ")", ";" ]
[ "connect", "my", "s", "q", "l", "master", "to", "fetch", "binlog" ]
[ "open", "(", "conn", ",", "file", "name", ",", "bin", "log", "header", "size", ",", "server", "id", ",", "non", "blocking", ")", ";" ]
[ "connect", "my", "s", "q", "l", "master", "to", "fetch", "binlog" ]
[ "open", "(", "conn", ",", "file", "name", ",", "file", "position", ",", "server", "id", ",", "false", ")", ";" ]
[ "put", "a", "byte", "in", "the", "buffer" ]
[ "ensure", "capacity", "(", "position", "+", "1", ")", ";", "buffer", "[", "position", "+", "+", "]", "=", "b", ";" ]
[ "put", "16", "-", "bit", "integer", "in", "the", "buffer" ]
[ "ensure", "capacity", "(", "position", "+", "2", ")", ";", "byte", "[", "]", "buf", "=", "buffer", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "1", "6", "&", "0xff", ")", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "1", "6", ">", ">", ">", "8", ")", ";" ]
[ "put", "32", "-", "bit", "integer", "in", "the", "buffer" ]
[ "ensure", "capacity", "(", "position", "+", "4", ")", ";", "byte", "[", "]", "buf", "=", "buffer", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "3", "2", "&", "0xff", ")", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "3", "2", ">", ">", ">", "8", ")", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "3", "2", ">", ">", ">", "16", ")", ";", "buf", "[", "position", "+", "+", "]", "=", "(", "byte", ")", "(", "i", "3", "2", ">", ">", ">", "24", ")", ";" ]
[ "put", "a", "string", "in", "the", "buffer" ]
[ "ensure", "capacity", "(", "position", "+", "(", "s", "length", "(", ")", "*", "2", ")", "+", "1", ")", ";", "system", "arraycopy", "(", "s", "get", "bytes", "(", ")", ",", "0", ",", "buffer", ",", "position", ",", "s", "length", "(", ")", ")", ";", "position", "+", "=", "s", "length", "(", ")", ";", "buffer", "[", "position", "+", "+", "]", "=", "0", ";" ]
[ "implementations", "of", "{", "@", "link", "#", "compute", "next", "}", "<", "b", ">", "must", "<", "/", "b", ">", "invoke", "this", "method", "when", "there", "are", "no", "elements", "left", "in", "the", "iteration" ]
[ "state", "=", "state", "done", ";", "return", "null", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "a", "virtual", "tape", "<", "/", "p", ">" ]
[ "set", "tape", "a", "r", "n", "(", "tape", "a", "r", "n", ")", ";", "return", "this", ";" ]