docstring_tokens
list
code_tokens
list
[ "tests", "adding", "a", "series", "of", "mutations", "and", "batch", "mutations", "including", "a", "delete", "mutation", "also", "tests", "data", "retrieval", "and", "getting", "back", "multiple", "versions" ]
[ "thrift", "server", "runner", "h", "base", "handler", "handler", "=", "new", "thrift", "server", "runner", "h", "base", "handler", "(", "util", "get", "configuration", "(", ")", ",", "user", "provider", "instantiate", "(", "util", "get", "configuration", "(", ")", ")", ")", ";", "do", "test", "table", "mutations", "(", "handler", ")", ";" ]
[ "for", "hbase", "-", "2556", "tests", "for", "get", "table", "regions" ]
[ "thrift", "server", "runner", "h", "base", "handler", "handler", "=", "new", "thrift", "server", "runner", "h", "base", "handler", "(", "util", "get", "configuration", "(", ")", ",", "user", "provider", "instantiate", "(", "util", "get", "configuration", "(", ")", ")", ")", ";", "do", "test", "get", "table", "regions", "(", "handler", ")", ";" ]
[ "appends", "the", "value", "to", "a", "cell", "and", "checks", "that", "the", "cell", "value", "is", "updated", "properly" ]
[ "thrift", "server", "runner", "h", "base", "handler", "handler", "=", "new", "thrift", "server", "runner", "h", "base", "handler", "(", "util", "get", "configuration", "(", ")", ",", "user", "provider", "instantiate", "(", "util", "get", "configuration", "(", ")", ")", ")", ";", "handler", "create", "table", "(", "table", "aname", ",", "get", "column", "descriptors", "(", ")", ")", ";", "try", "{", "list", "<", "mutation", ">", "mutations", "=", "new", "array", "list", "<", ">", "(", "1", ")", ";", "mutations", "add", "(", "new", "mutation", "(", "false", ",", "column", "aname", ",", "value", "aname", ",", "true", ")", ")", ";", "handler", "mutate", "row", "(", "table", "aname", ",", "row", "aname", ",", "mutations", ",", "null", ")", ";", "list", "<", "byte", "buffer", ">", "column", "list", "=", "new", "array", "list", "<", ">", "(", "1", ")", ";", "column", "list", "add", "(", "column", "aname", ")", ";", "list", "<", "byte", "buffer", ">", "value", "list", "=", "new", "array", "list", "<", ">", "(", "1", ")", ";", "value", "list", "add", "(", "value", "bname", ")", ";", "t", "append", "append", "=", "new", "t", "append", "(", "table", "aname", ",", "row", "aname", ",", "column", "list", ",", "value", "list", ")", ";", "handler", "append", "(", "append", ")", ";", "t", "row", "result", "row", "result", "=", "handler", "get", "row", "(", "table", "aname", ",", "row", "aname", ",", "null", ")", "get", "(", "0", ")", ";", "assert", "equals", "(", "row", "aname", ",", "row", "result", "row", ")", ";", "assert", "array", "equals", "(", "bytes", "add", "(", "value", "aname", "array", "(", ")", ",", "value", "bname", "array", "(", ")", ")", ",", "row", "result", "columns", "get", "(", "column", "aname", ")", "value", "array", "(", ")", ")", ";", "}", "finally", "{", "handler", "disable", "table", "(", "table", "aname", ")", ";", "handler", "delete", "table", "(", "table", "aname", ")", ";", "}" ]
[ "check", "that", "check", "and", "put", "fails", "if", "the", "cell", "does", "not", "exist", "then", "put", "in", "the", "cell", "then", "check", "that", "the", "check", "and", "put", "succeeds" ]
[ "thrift", "server", "runner", "h", "base", "handler", "handler", "=", "new", "thrift", "server", "runner", "h", "base", "handler", "(", "util", "get", "configuration", "(", ")", ",", "user", "provider", "instantiate", "(", "util", "get", "configuration", "(", ")", ")", ")", ";", "handler", "create", "table", "(", "table", "aname", ",", "get", "column", "descriptors", "(", ")", ")", ";", "try", "{", "list", "<", "mutation", ">", "mutations", "=", "new", "array", "list", "<", ">", "(", "1", ")", ";", "mutations", "add", "(", "new", "mutation", "(", "false", ",", "column", "aname", ",", "value", "aname", ",", "true", ")", ")", ";", "mutation", "put", "b", "=", "(", "new", "mutation", "(", "false", ",", "column", "bname", ",", "value", "bname", ",", "true", ")", ")", ";", "assert", "false", "(", "handler", "check", "and", "put", "(", "table", "aname", ",", "row", "aname", ",", "column", "aname", ",", "value", "aname", ",", "put", "b", ",", "null", ")", ")", ";", "handler", "mutate", "row", "(", "table", "aname", ",", "row", "aname", ",", "mutations", ",", "null", ")", ";", "assert", "true", "(", "handler", "check", "and", "put", "(", "table", "aname", ",", "row", "aname", ",", "column", "aname", ",", "value", "aname", ",", "put", "b", ",", "null", ")", ")", ";", "t", "row", "result", "row", "result", "=", "handler", "get", "row", "(", "table", "aname", ",", "row", "aname", ",", "null", ")", "get", "(", "0", ")", ";", "assert", "equals", "(", "row", "aname", ",", "row", "result", "row", ")", ";", "assert", "equals", "(", "value", "bname", ",", "row", "result", "columns", "get", "(", "column", "bname", ")", "value", ")", ";", "}", "finally", "{", "handler", "disable", "table", "(", "table", "aname", ")", ";", "handler", "delete", "table", "(", "table", "aname", ")", ";", "}" ]
[ "asserts", "that", "the", "passed", "scanner", "is", "exhausted", "and", "then", "closes", "the", "scanner" ]
[ "handler", "scanner", "get", "(", "scanner", "id", ")", ";", "handler", "scanner", "close", "(", "scanner", "id", ")", ";" ]
[ "the", "id", "of", "the", "device", "definition" ]
[ "set", "device", "definition", "id", "(", "device", "definition", "id", ")", ";", "return", "this", ";" ]
[ "shortcut", "methods", "for", "given", "annotation", "class" ]
[ "return", "new", "annotation", "parser", "(", "annotation", "class", ",", "transaction", "class", ")", ";" ]
[ "shortcut", "for", "checking", "the", "annotation", "on", "annotated", "element", "and", "returning", "either", "the", "values", "or", "{" ]
[ "if", "(", "!", "annotation", "parser", "has", "annotation", "on", "(", "annotated", "element", ")", ")", "{", "return", "null", ";", "}", "return", "new", "transaction", "annotation", "values", "(", "annotation", "parser", "of", "(", "annotated", "element", ")", ")", ";" ]
[ "{" ]
[ "return", "data", "structure", "type", "atomic", "stamped", ";" ]
[ "{" ]
[ "out", "write", "object", "(", "val", ")", ";", "out", "write", "object", "(", "stamp", ")", ";" ]
[ "{" ]
[ "return", "grid", "to", "string", "builder", "to", "string", "(", "grid", "cache", "atomic", "stamped", "value", "class", ",", "this", ")", ";" ]
[ "called", "only", "by", "resolve", "context", "resolve", "(", ")" ]
[ "return", "resolve", "result", "make", "(", "context", ",", "this", ")", ";" ]
[ "this", "is", "used", "when", "including", "one", "file", "in", "another", ";", "the", "included", "file", "is", "relativized", "to", "the", "path", "it", "s", "included", "into", "in", "the", "parent", "file", "the", "point", "is", "that", "if", "you", "include", "a", "file", "at", "foo", "bar", "in", "the", "parent", "and", "the", "included", "file", "as", "a", "substitution", "$", "{", "a", "b", "c", "}", "the", "included", "substitution", "now", "needs", "to", "be", "$", "{", "foo", "bar", "a", "b", "c", "}", "because", "we", "resolve", "substitutions", "globally", "only", "after", "parsing", "everything" ]
[ "return", "this", ";" ]
[ "this", "is", "only", "overridden", "to", "change", "the", "return", "type" ]
[ "if", "(", "ignores", "fallbacks", "(", ")", ")", "{", "return", "this", ";", "}", "else", "{", "config", "value", "other", "=", "(", "(", "mergeable", "value", ")", "mergeable", ")", "to", "fallback", "value", "(", ")", ";", "if", "(", "other", "instanceof", "unmergeable", ")", "{", "return", "merged", "with", "the", "unmergeable", "(", "(", "unmergeable", ")", "other", ")", ";", "}", "else", "if", "(", "other", "instanceof", "abstract", "config", "object", ")", "{", "return", "merged", "with", "object", "(", "(", "abstract", "config", "object", ")", "other", ")", ";", "}", "else", "{", "return", "merged", "with", "non", "object", "(", "(", "abstract", "config", "value", ")", "other", ")", ";", "}", "}" ]
[ "other", "strings", "or", "by", "the", "default", "transformer" ]
[ "return", "null", ";" ]
[ "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "sync", "management", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*" ]
[]
[ "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "getters", "setters", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*" ]
[ "return", "peer", "state", "=", "=", "done", "hash", "retrieving", ";" ]
[ "the", "number", "of", "threads", "in", "the", "thread", "pool", "that", "will", "run", "the", "map", "function" ]
[ "return", "job", "get", "configuration", "(", ")", "get", "int", "(", "number", "of", "threads", ",", "10", ")", ";" ]
[ "set", "the", "number", "of", "threads", "in", "the", "pool", "for", "running", "maps" ]
[ "job", "get", "configuration", "(", ")", "set", "int", "(", "number", "of", "threads", ",", "threads", ")", ";" ]
[ "there", "should", "be", "an" ]
[ "return", "0", ";" ]
[ "returns", "the", "progress", "bar", "s", "style", "modifying", "the", "returned", "style", "may", "not", "have", "an", "effect", "until", "{" ]
[ "return", "style", ";" ]
[ "if", "{" ]
[ "if", "(", "animate", "time", ">", "0", ")", "return", "animate", "interpolation", "apply", "(", "animate", "from", "value", ",", "value", ",", "1", "-", "animate", "time", "/", "animate", "duration", ")", ";", "return", "value", ";" ]
[ "returns", "progress", "bar", "visual", "position", "within", "the", "range" ]
[ "return", "this", "position", ";" ]
[ "sets", "the", "progress", "bar", "position", "rounded", "to", "the", "nearest", "step", "size", "and", "clamped", "to", "the", "minimum", "and", "maximum", "values", "{" ]
[ "value", "=", "clamp", "(", "math", "round", "(", "value", "/", "step", "size", ")", "*", "step", "size", ")", ";", "float", "old", "value", "=", "this", "value", ";", "if", "(", "value", "=", "=", "old", "value", ")", "return", "false", ";", "float", "old", "visual", "value", "=", "get", "visual", "value", "(", ")", ";", "this", "value", "=", "value", ";", "change", "event", "change", "event", "=", "pools", "obtain", "(", "change", "event", "class", ")", ";", "boolean", "cancelled", "=", "fire", "(", "change", "event", ")", ";", "if", "(", "cancelled", ")", "this", "value", "=", "old", "value", ";", "else", "if", "(", "animate", "duration", ">", "0", ")", "{", "animate", "from", "value", "=", "old", "visual", "value", ";", "animate", "time", "=", "animate", "duration", ";", "}", "pools", "free", "(", "change", "event", ")", ";", "return", "!", "cancelled", ";" ]
[ "clamps", "the", "value", "to", "the", "progress", "bar", "s", "min", "/", "max", "range", "this", "can", "be", "overridden", "to", "allow", "a", "range", "different", "from", "the", "progress", "bar", "knob", "s", "range" ]
[ "return", "math", "utils", "clamp", "(", "value", ",", "min", ",", "max", ")", ";" ]
[ "if", ">", "0", "changes", "to", "the", "progress", "bar", "value", "via", "{" ]
[ "this", "animate", "duration", "=", "duration", ";" ]
[ "sets", "the", "interpolation", "to", "use", "for", "display" ]
[ "this", "visual", "interpolation", "=", "interpolation", ";" ]
[ "takes", "a", "list", "of", "<", "s", "t", ">", "pairs", "and", "retrieves", "all", "s", "elements", "from", "the", "pairs", "in", "the", "list" ]
[ "return", "list", "stream", "(", ")", "map", "(", "pair", ":", ":", "first", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";" ]
[ "takes", "a", "list", "of", "<", "s", "t", ">", "pairs", "and", "retrieves", "all", "t", "elements", "from", "the", "pairs", "in", "the", "list" ]
[ "return", "list", "stream", "(", ")", "map", "(", "pair", ":", ":", "second", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";" ]
[ "reads", "a", "bitmap", "pixels", "from", "a", "file", "descriptor" ]
[ "native", "read", "bitmap", "pixels", "(", "bitmap", ",", "source", "get", "fd", "(", ")", ")", ";" ]
[ "writes", "a", "bitmap", "pixels", "to", "a", "file", "descriptor" ]
[ "native", "write", "bitmap", "pixels", "(", "bitmap", ",", "destination", "get", "fd", "(", ")", ")", ";" ]
[ "initializes", "this", "struct", "with", "the", "specified", "values" ]
[ "s", "type", "(", "s", "type", ")", ";", "p", "next", "(", "p", "next", ")", ";", "p", "application", "name", "(", "p", "application", "name", ")", ";", "application", "version", "(", "application", "version", ")", ";", "p", "engine", "name", "(", "p", "engine", "name", ")", ";", "engine", "version", "(", "engine", "version", ")", ";", "api", "version", "(", "api", "version", ")", ";", "return", "this", ";" ]
[ "copies", "the", "specified", "struct", "data", "to", "this", "struct" ]
[ "mem", "copy", "(", "src", "address", "(", ")", ",", "address", "(", ")", ",", "sizeof", ")", ";", "return", "this", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "application", "info", "class", ",", "nmem", "alloc", "checked", "(", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "application", "info", "class", ",", "nmem", "calloc", "checked", "(", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "byte", "buffer", "container", "=", "buffer", "utils", "create", "byte", "buffer", "(", "sizeof", ")", ";", "return", "wrap", "(", "vk", "application", "info", "class", ",", "mem", "address", "(", "container", ")", ",", "container", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "application", "info", "class", ",", "address", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "vk", "application", "info", "class", ",", "address", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "with", "{", "@", "link", "memory", "util", "#", "mem", "alloc", "mem", "alloc", "}", "the", "instance", "must", "be", "explicitly", "freed" ]
[ "return", "wrap", "(", "buffer", "class", ",", "nmem", "alloc", "checked", "(", "check", "malloc", "(", "capacity", ",", "sizeof", ")", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "with", "{", "@", "link", "memory", "util", "#", "mem", "calloc", "mem", "calloc", "}", "the", "instance", "must", "be", "explicitly", "freed" ]
[ "return", "wrap", "(", "buffer", "class", ",", "nmem", "calloc", "checked", "(", "capacity", ",", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "with", "{", "@", "link", "buffer", "utils", "}" ]
[ "byte", "buffer", "container", "=", "create", "(", "capacity", ",", "sizeof", ")", ";", "return", "wrap", "(", "buffer", "class", ",", "mem", "address", "(", "container", ")", ",", "capacity", ",", "container", ")", ";" ]
[ "create", "a", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "at", "the", "specified", "memory" ]
[ "return", "wrap", "(", "buffer", "class", ",", "address", ",", "capacity", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "buffer", "class", ",", "address", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "malloc", "stack", "(", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "calloc", "stack", "(", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "vk", "application", "info", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "vk", "application", "info", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "malloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "calloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "capacity", "*", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "application", "info", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "capacity", ",", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "stype", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "get", "address", "(", "struct", "+", "vk", "application", "info", "pnext", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "byte", "buffer", "n", "t", "1", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "application", "info", "papplicationname", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "u", "t", "f", "8", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "application", "info", "papplicationname", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "applicationversion", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "byte", "buffer", "n", "t", "1", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "application", "info", "penginename", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "u", "t", "f", "8", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "application", "info", "penginename", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "engineversion", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "apiversion", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "stype", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "application", "info", "pnext", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "if", "(", "checks", ")", "{", "check", "n", "t", "1", "safe", "(", "value", ")", ";", "}", "mem", "put", "address", "(", "struct", "+", "vk", "application", "info", "papplicationname", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "applicationversion", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "if", "(", "checks", ")", "{", "check", "n", "t", "1", "safe", "(", "value", ")", ";", "}", "mem", "put", "address", "(", "struct", "+", "vk", "application", "info", "penginename", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "engineversion", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "application", "info", "apiversion", ",", "value", ")", ";" ]
[ "we", "allow", "spending", "own", "pending", "txs", "and", "if", "permit", "foreign", "pending", "tx", "is", "set", "as", "well", "foreign", "unconfirmed", "txs" ]
[ "transaction", "confidence", "confidence", "=", "tx", "get", "confidence", "(", ")", ";", "transaction", "confidence", "confidence", "type", "type", "=", "confidence", "get", "confidence", "type", "(", ")", ";", "boolean", "is", "confirmed", "=", "type", "equals", "(", "transaction", "confidence", "confidence", "type", "building", ")", ";", "boolean", "is", "pending", "=", "type", "equals", "(", "transaction", "confidence", "confidence", "type", "pending", ")", ";", "boolean", "is", "own", "tx", "=", "confidence", "get", "source", "(", ")", "equals", "(", "transaction", "confidence", "source", "self", ")", ";", "return", "is", "confirmed", "|", "|", "(", "is", "pending", "&", "&", "(", "permit", "foreign", "pending", "tx", "|", "|", "is", "own", "tx", ")", ")", ";" ]
[ "/", "*", "update", "the", "work", "name", "which", "referred", "by", "operators", "in", "following", "works" ]
[ "string", "previous", "name", "=", "previous", "get", "name", "(", ")", ";", "string", "current", "name", "=", "current", "get", "name", "(", ")", ";", "list", "<", "base", "work", ">", "children", "=", "spark", "work", "get", "all", "work", "(", ")", ";", "for", "(", "base", "work", "child", ":", "children", ")", "{", "set", "<", "operator", "<", "?", ">", ">", "all", "operators", "=", "child", "get", "all", "operators", "(", ")", ";", "for", "(", "operator", "<", "?", ">", "operator", ":", "all", "operators", ")", "{", "if", "(", "operator", "instanceof", "map", "join", "operator", ")", "{", "map", "join", "desc", "map", "join", "desc", "=", "(", "(", "map", "join", "operator", ")", "operator", ")", "get", "conf", "(", ")", ";", "map", "<", "integer", ",", "string", ">", "parent", "to", "input", "=", "map", "join", "desc", "get", "parent", "to", "input", "(", ")", ";", "for", "(", "integer", "id", ":", "parent", "to", "input", "key", "set", "(", ")", ")", "{", "string", "parent", "=", "parent", "to", "input", "get", "(", "id", ")", ";", "if", "(", "parent", "equals", "(", "previous", "name", ")", ")", "{", "parent", "to", "input", "put", "(", "id", ",", "current", "name", ")", ";", "}", "}", "}", "}", "}" ]
[ "compare", "operators", "through", "their", "explain", "output", "string" ]
[ "return", "first", "operator", "logical", "equals", "(", "second", "operator", ")", ";" ]
[ "did", "it", "succeeed", "?" ]
[ "return", "succeeded", ";" ]
[ "did", "it", "fail", "?" ]
[ "return", "failed", ";" ]
[ "has", "it", "completed", "?" ]
[ "return", "failed", "|", "|", "succeeded", ";" ]
[ "set", "a", "handler", "for", "the", "result", "it", "will", "get", "called", "when", "it", "s", "complete" ]
[ "boolean", "call", "handler", ";", "synchronized", "(", "this", ")", "{", "call", "handler", "=", "is", "complete", "(", ")", ";", "if", "(", "!", "call", "handler", ")", "{", "this", "handler", "=", "handler", ";", "}", "}", "if", "(", "call", "handler", ")", "{", "handler", "handle", "(", "this", ")", ";", "}", "return", "this", ";" ]
[ "the", "data", "of", "timestamp", "t", "z", "writable", "can", "be", "stored", "either", "in", "a", "byte", "[", "]", "or", "in", "a", "timestamp", "t", "z", "object", "calling", "this", "method", "ensures", "that", "the", "byte", "[", "]", "is", "populated", "from", "the", "timestamp", "t", "z", "object", "if", "previously", "empty" ]
[ "if", "(", "bytes", "empty", ")", "{", "populate", "bytes", "(", ")", ";", "offset", "=", "0", ";", "current", "bytes", "=", "internal", "bytes", ";", "bytes", "empty", "=", "false", ";", "}" ]
[ "writes", "the", "timestamp", "t", "z", "s", "serialized", "value", "to", "the", "internal", "byte", "array" ]
[ "arrays", "fill", "(", "internal", "bytes", ",", "(", "byte", ")", "0", ")", ";", "long", "seconds", "=", "timestamp", "t", "z", "get", "epoch", "second", "(", ")", ";", "int", "nanos", "=", "timestamp", "t", "z", "get", "nanos", "(", ")", ";", "boolean", "has", "second", "v", "int", "=", "seconds", "<", "0", "|", "|", "seconds", ">", "integer", "max", "value", ";", "boolean", "has", "decimal", "=", "set", "nanos", "bytes", "(", "nanos", ",", "internal", "bytes", ",", "offset", "+", "4", ",", "has", "second", "v", "int", ")", ";", "int", "first", "int", "=", "(", "int", ")", "seconds", ";", "if", "(", "has", "decimal", "|", "|", "has", "second", "v", "int", ")", "{", "first", "int", "|", "=", "decimal", "or", "second", "vint", "flag", ";", "}", "int", "to", "bytes", "(", "first", "int", ",", "internal", "bytes", ",", "offset", ")", ";", "if", "(", "has", "second", "v", "int", ")", "{", "lazy", "binary", "utils", "write", "v", "long", "to", "byte", "array", "(", "internal", "bytes", ",", "offset", "+", "4", "+", "writable", "utils", "decode", "v", "int", "size", "(", "internal", "bytes", "[", "offset", "+", "4", "]", ")", ",", "seconds", ">", ">", "31", ")", ";", "}" ]
[ "writes", "<", "code", ">", "value", "<", "/", "code", ">", "into", "<", "code", ">", "dest", "<", "/", "code", ">", "at", "<", "code", ">", "offset", "<", "/", "code", ">", "as", "a", "seven", "-", "byte", "serialized", "long", "number" ]
[ "dest", "[", "offset", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "48", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "1", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "40", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "2", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "32", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "3", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "24", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "4", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "16", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "5", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "8", ")", "&", "0x", "f", "f", ")", ";", "dest", "[", "offset", "+", "6", "]", "=", "(", "byte", ")", "(", "value", "&", "0x", "f", "f", ")", ";" ]
[ "this", "implementation", "simply", "calls", "{" ]
[ "return", "create", "request", "(", "uri", ",", "http", "method", ",", "this", "request", "factory", ")", ";" ]
[ "create", "a", "new", "{" ]
[ "protected", "abstract", "client", "http", "request", "create", "request", "(", "uri", "uri", ",", "http", "method", "http", "method", ",", "client", "http", "request", "factory", "request", "factory", ")", "throws", "i", "o", "exception", ";" ]
[ "classifies", "the", "given", "text" ]
[ "return", "this", "class", "for", "score", "(", "score", "(", "text", ")", ")", ";" ]
[ "scores", "the", "text" ]
[ "cas", "cas", "=", "analysis", "engine", "new", "c", "a", "s", "(", ")", ";", "cas", "set", "document", "text", "(", "words", ")", ";", "analysis", "engine", "process", "(", "cas", ")", ";", "return", "score", "(", "cas", ")", ";" ]
[ "adds", "nodes", "to", "consistent", "hash", "algorithm", "(", "if", "nodes", "are", "{", "@", "code", "null", "}", "or", "empty", "then", "no", "-", "op", ")" ]
[ "if", "(", "nodes", "=", "=", "null", "|", "|", "nodes", "is", "empty", "(", ")", ")", "return", ";", "rw", "write", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "for", "(", "n", "node", ":", "nodes", ")", "add", "node", "(", "node", ",", "replicas", ")", ";", "}", "finally", "{", "rw", "write", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "adds", "a", "node", "to", "consistent", "hash", "algorithm" ]
[ "if", "(", "node", "=", "=", "null", ")", "return", "false", ";", "long", "seed", "=", "aff", "seed", "hash", "code", "(", ")", "*", "31", "+", "hash", "(", "node", ")", ";", "rw", "write", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "if", "(", "!", "nodes", "add", "(", "node", ")", ")", "return", "false", ";", "int", "hash", "=", "hash", "(", "seed", ")", ";", "sorted", "set", "<", "n", ">", "set", "=", "circle", "get", "(", "hash", ")", ";", "if", "(", "set", "=", "=", "null", ")", "circle", "put", "(", "hash", ",", "set", "=", "new", "tree", "set", "<", ">", "(", "nodes", "comp", ")", ")", ";", "set", "add", "(", "node", ")", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "=", "replicas", ";", "i", "+", "+", ")", "{", "seed", "=", "seed", "*", "aff", "seed", "hash", "code", "(", ")", "+", "i", ";", "hash", "=", "hash", "(", "seed", ")", ";", "set", "=", "circle", "get", "(", "hash", ")", ";", "if", "(", "set", "=", "=", "null", ")", "circle", "put", "(", "hash", ",", "set", "=", "new", "tree", "set", "<", ">", "(", "nodes", "comp", ")", ")", ";", "set", "add", "(", "node", ")", ";", "}", "return", "true", ";", "}", "finally", "{", "rw", "write", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "removes", "a", "node", "and", "all", "of", "its", "replicas" ]
[ "if", "(", "node", "=", "=", "null", ")", "return", "false", ";", "rw", "write", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "if", "(", "!", "nodes", "remove", "(", "node", ")", ")", "return", "false", ";", "for", "(", "iterator", "<", "sorted", "set", "<", "n", ">", ">", "it", "=", "circle", "values", "(", ")", "iterator", "(", ")", ";", "it", "has", "next", "(", ")", ";", ")", "{", "sorted", "set", "<", "n", ">", "set", "=", "it", "next", "(", ")", ";", "if", "(", "!", "set", "remove", "(", "node", ")", ")", "continue", ";", "if", "(", "set", "is", "empty", "(", ")", ")", "it", "remove", "(", ")", ";", "}", "return", "true", ";", "}", "finally", "{", "rw", "write", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "picks", "a", "random", "node", "from", "consistent", "hash" ]
[ "return", "node", "(", "rand", "next", "long", "(", ")", ")", ";" ]
[ "gets", "node", "for", "a", "given", "key" ]
[ "return", "node", "(", "key", ",", "inc", ",", "null", ")", ";" ]
[ "gets", "node", "for", "a", "given", "key" ]
[ "if", "(", "inc", "=", "=", "null", "&", "&", "exc", "=", "=", "null", ")", "return", "node", "(", "key", ")", ";", "return", "node", "(", "key", ",", "new", "grid", "client", "predicate", "<", "n", ">", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "n", "n", ")", "{", "return", "(", "inc", "=", "=", "null", "|", "|", "inc", "contains", "(", "n", ")", ")", "&", "&", "(", "exc", "=", "=", "null", "|", "|", "!", "exc", "contains", "(", "n", ")", ")", ";", "}", "}", ")", ";" ]
[ "apply", "predicate", "to", "the", "node" ]
[ "if", "(", "p", "!", "=", "null", ")", "{", "for", "(", "grid", "client", "predicate", "<", "?", "super", "n", ">", "r", ":", "p", ")", "{", "if", "(", "r", "!", "=", "null", "&", "&", "!", "r", "apply", "(", "n", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";" ]
[ "the", "directory", "in", "which", "the", "command", "should", "be", "executed", "if", "null", "the", "working", "directory", "of", "the", "current", "process", "will", "be", "used" ]
[ "this", "working", "dir", "=", "dir", ";" ]
[ "a", "boolean", "indicating", "that", "when", "stdout", "is", "empty", "this", "component", "will", "populate", "the", "camel", "message", "body", "with", "stderr", "this", "behavior", "is", "disabled", "(", "false", ")", "by", "default" ]
[ "this", "use", "stderr", "on", "empty", "stdout", "=", "use", "stderr", "on", "empty", "stdout", ";" ]
[ "<", "p", ">", "the", "start", "of", "the", "date", "range", "in", "utc", "for", "vault", "inventory", "retrieval", "that", "includes", "archives", "created", "on", "or", "after", "this", "date", "this", "value", "should", "be", "a", "string", "in", "the", "iso", "8601", "date", "format", "for", "example", "<", "code", ">", "2013", "-", "03", "-", "20t17", ":", "03", ":", "43z", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "start", "date", "(", "start", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "end", "of", "the", "date", "range", "in", "utc", "for", "vault", "inventory", "retrieval", "that", "includes", "archives", "created", "before", "this", "date", "this", "value", "should", "be", "a", "string", "in", "the", "iso", "8601", "date", "format", "for", "example", "<", "code", ">", "2013", "-", "03", "-", "20t17", ":", "03", ":", "43z", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "end", "date", "(", "end", "date", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "specifies", "the", "maximum", "number", "of", "inventory", "items", "returned", "per", "vault", "inventory", "retrieval", "request", "valid", "values", "are", "greater", "than", "or", "equal", "to", "1", "<", "/", "p", ">" ]
[ "set", "limit", "(", "limit", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "opaque", "string", "that", "represents", "where", "to", "continue", "pagination", "of", "the", "vault", "inventory", "retrieval", "results", "you", "use", "the", "marker", "in", "a", "new", "<", "b", ">", "initiate", "job", "<", "/", "b", ">", "request", "to", "obtain", "additional", "inventory", "items", "if", "there", "are", "no", "more", "inventory", "items", "this", "value", "is", "<", "code", ">", "null", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "marker", "(", "marker", ")", ";", "return", "this", ";" ]
[ "whether", "to", "suppress", "exceptions", "such", "as", "path", "not", "found", "exception" ]
[ "this", "suppress", "exceptions", "=", "suppress", "exceptions", ";" ]
[ "whether", "to", "allow", "in", "inlined", "simple", "exceptions", "in", "the", "json", "path", "expression" ]
[ "this", "allow", "simple", "=", "allow", "simple", ";" ]
[ "whether", "to", "allow", "using", "the", "easy", "predicate", "parser", "to", "pre", "-", "parse", "predicates" ]
[ "this", "allow", "easy", "predicate", "=", "allow", "easy", "predicate", ";" ]
[ "whether", "to", "write", "the", "output", "of", "each", "row", "/", "element", "as", "a", "json", "string", "value", "instead", "of", "a", "map", "/", "pojo", "value" ]
[ "this", "write", "as", "string", "=", "write", "as", "string", ";" ]
[ "provides", "additional", "configuration", "for", "the", "{", "@", "link", "object", "mapper", "}", "used", "to", "read", "the", "configuration", "by", "default", "{", "@", "link", "deserialization", "feature", "#", "fail", "on", "unknown", "properties", "}", "is", "enabled", "to", "protect", "against", "misconfiguration" ]
[ "return", "object", "mapper", "enable", "(", "deserialization", "feature", "fail", "on", "unknown", "properties", ")", ";" ]
[ "<", "p", ">", "an", "array", "of", "vtl", "device", "objects", "composed", "of", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "vtl", "devices", "<", "/", "p", ">" ]
[ "if", "(", "v", "t", "l", "devices", "=", "=", "null", ")", "{", "v", "t", "l", "devices", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "v", "t", "l", "device", ">", "(", ")", ";", "}", "return", "v", "t", "l", "devices", ";" ]