docstring_tokens
list
code_tokens
list
[ "returns", "an", "ordered", "array", "of", "objects", "containing", "the", "components", "of", "this", "tree", "path", "the", "first", "element", "(", "index", "0", ")", "is", "the", "root" ]
[ "int", "i", "=", "get", "path", "count", "(", ")", ";", "object", "[", "]", "result", "=", "new", "object", "[", "i", "-", "-", "]", ";", "for", "(", "tree", "path", "path", "=", "this", ";", "path", "!", "=", "null", ";", "path", "=", "path", "parent", "path", ")", "{", "result", "[", "i", "-", "-", "]", "=", "path", "last", "path", "component", ";", "}", "return", "result", ";" ]
[ "returns", "the", "last", "component", "of", "this", "path", "for", "a", "path", "returned", "by", "default", "tree", "model", "this", "will", "return", "an", "instance", "of", "tree", "node" ]
[ "return", "last", "path", "component", ";" ]
[ "returns", "the", "number", "of", "elements", "in", "the", "path" ]
[ "int", "result", "=", "0", ";", "for", "(", "tree", "path", "path", "=", "this", ";", "path", "!", "=", "null", ";", "path", "=", "path", "parent", "path", ")", "{", "result", "+", "+", ";", "}", "return", "result", ";" ]
[ "tests", "two", "tree", "paths", "for", "equality", "by", "checking", "each", "element", "of", "the", "paths", "for", "equality", "two", "paths", "are", "considered", "equal", "if", "they", "are", "of", "the", "same", "length", "and", "contain", "the", "same", "elements", "(", "<", "code", ">", "equals", "<", "/", "code", ">", ")" ]
[ "if", "(", "o", "=", "=", "this", ")", "return", "true", ";", "if", "(", "o", "instanceof", "tree", "path", ")", "{", "tree", "path", "o", "tree", "path", "=", "(", "tree", "path", ")", "o", ";", "if", "(", "get", "path", "count", "(", ")", "!", "=", "o", "tree", "path", "get", "path", "count", "(", ")", ")", "return", "false", ";", "for", "(", "tree", "path", "path", "=", "this", ";", "path", "!", "=", "null", ";", "path", "=", "path", "parent", "path", ")", "{", "if", "(", "!", "(", "path", "last", "path", "component", "equals", "(", "o", "tree", "path", "last", "path", "component", ")", ")", ")", "{", "return", "false", ";", "}", "o", "tree", "path", "=", "o", "tree", "path", "parent", "path", ";", "}", "return", "true", ";", "}", "return", "false", ";" ]
[ "returns", "the", "hash", "code", "for", "the", "object", "the", "hash", "code", "of", "a", "tree", "path", "is", "defined", "to", "be", "the", "hash", "code", "of", "the", "last", "component", "in", "the", "path" ]
[ "return", "last", "path", "component", "hash", "code", "(", ")", ";" ]
[ "returns", "a", "path", "containing", "all", "the", "elements", "of", "this", "object", "except", "the", "last", "path", "component" ]
[ "return", "parent", "path", ";" ]
[ "it", "will", "consolidate", "all", "the", "values", "into", "one", "list", "or", "set", "so", "it", "can", "be", "updated", "with", "a", "single", "solr", "operation" ]
[ "final", "map", "<", "string", ",", "object", ">", "docs", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "for", "(", "final", "index", "entry", "addition", ":", "content", ")", "{", "final", "key", "information", "key", "information", "=", "information", "get", "(", "collection", "name", ",", "addition", "field", ")", ";", "switch", "(", "key", "information", "get", "cardinality", "(", ")", ")", "{", "case", "single", ":", "docs", "put", "(", "addition", "field", ",", "convert", "value", "(", "addition", "value", ")", ")", ";", "break", ";", "case", "set", ":", "if", "(", "!", "docs", "contains", "key", "(", "addition", "field", ")", ")", "{", "docs", "put", "(", "addition", "field", ",", "new", "hash", "set", "<", ">", "(", ")", ")", ";", "}", "(", "(", "set", "<", "object", ">", ")", "docs", "get", "(", "addition", "field", ")", ")", "add", "(", "convert", "value", "(", "addition", "value", ")", ")", ";", "break", ";", "case", "list", ":", "if", "(", "!", "docs", "contains", "key", "(", "addition", "field", ")", ")", "{", "docs", "put", "(", "addition", "field", ",", "new", "array", "list", "<", ">", "(", ")", ")", ";", "}", "(", "(", "list", "<", "object", ">", ")", "docs", "get", "(", "addition", "field", ")", ")", "add", "(", "convert", "value", "(", "addition", "value", ")", ")", ";", "break", ";", "}", "}", "return", "docs", ";" ]
[ "solr", "handles", "all", "transactions", "on", "the", "server", "-", "side", "that", "means", "all", "commit", "optimize", "or", "rollback", "applies", "since", "the", "last", "commit", "/", "optimize", "/", "rollback", "solr", "documentation", "recommends", "best", "way", "to", "update", "solr", "is", "in", "one", "process", "to", "avoid", "race", "conditions" ]
[ "return", "new", "default", "transaction", "(", "config", ")", ";" ]
[ "checks", "if", "the", "collection", "has", "already", "been", "created", "in", "solr" ]
[ "final", "zk", "state", "reader", "zk", "state", "reader", "=", "server", "get", "zk", "state", "reader", "(", ")", ";", "zk", "state", "reader", "force", "update", "collection", "(", "collection", ")", ";", "final", "cluster", "state", "cluster", "state", "=", "zk", "state", "reader", "get", "cluster", "state", "(", ")", ";", "return", "cluster", "state", "get", "collection", "or", "null", "(", "collection", ")", "!", "=", "null", ";" ]
[ "sets", "the", "position", "of", "the", "text", "relative", "to", "its", "current", "position" ]
[ "if", "(", "x", "amount", "=", "=", "0", "&", "&", "y", "amount", "=", "=", "0", ")", "return", ";", "if", "(", "integer", ")", "{", "x", "amount", "=", "math", "round", "(", "x", "amount", ")", ";", "y", "amount", "=", "math", "round", "(", "y", "amount", ")", ";", "}", "x", "+", "=", "x", "amount", ";", "y", "+", "=", "y", "amount", ";", "float", "[", "]", "[", "]", "page", "vertices", "=", "this", "page", "vertices", ";", "for", "(", "int", "i", "=", "0", ",", "n", "=", "page", "vertices", "length", ";", "i", "<", "n", ";", "i", "+", "+", ")", "{", "float", "[", "]", "vertices", "=", "page", "vertices", "[", "i", "]", ";", "for", "(", "int", "ii", "=", "0", ",", "nn", "=", "idx", "[", "i", "]", ";", "ii", "<", "nn", ";", "ii", "+", "=", "5", ")", "{", "vertices", "[", "ii", "]", "+", "=", "x", "amount", ";", "vertices", "[", "ii", "+", "1", "]", "+", "=", "y", "amount", ";", "}", "}" ]
[ "tints", "all", "text", "currently", "in", "the", "cache", "does", "not", "affect", "subsequently", "added", "text" ]
[ "float", "new", "tint", "=", "tint", "to", "float", "bits", "(", ")", ";", "if", "(", "current", "tint", "=", "=", "new", "tint", ")", "return", ";", "current", "tint", "=", "new", "tint", ";", "int", "[", "]", "temp", "glyph", "count", "=", "this", "temp", "glyph", "count", ";", "for", "(", "int", "i", "=", "0", ",", "n", "=", "temp", "glyph", "count", "length", ";", "i", "<", "n", ";", "i", "+", "+", ")", "temp", "glyph", "count", "[", "i", "]", "=", "0", ";", "for", "(", "int", "i", "=", "0", ",", "n", "=", "layouts", "size", ";", "i", "<", "n", ";", "i", "+", "+", ")", "{", "glyph", "layout", "layout", "=", "layouts", "get", "(", "i", ")", ";", "for", "(", "int", "ii", "=", "0", ",", "nn", "=", "layout", "runs", "size", ";", "ii", "<", "nn", ";", "ii", "+", "+", ")", "{", "glyph", "run", "run", "=", "layout", "runs", "get", "(", "ii", ")", ";", "array", "<", "glyph", ">", "glyphs", "=", "run", "glyphs", ";", "float", "color", "float", "=", "temp", "color", "set", "(", "run", "color", ")", "mul", "(", "tint", ")", "to", "float", "bits", "(", ")", ";", "for", "(", "int", "iii", "=", "0", ",", "nnn", "=", "glyphs", "size", ";", "iii", "<", "nnn", ";", "iii", "+", "+", ")", "{", "glyph", "glyph", "=", "glyphs", "get", "(", "iii", ")", ";", "int", "page", "=", "glyph", "page", ";", "int", "offset", "=", "temp", "glyph", "count", "[", "page", "]", "*", "20", "+", "2", ";", "temp", "glyph", "count", "[", "page", "]", "+", "+", ";", "float", "[", "]", "vertices", "=", "page", "vertices", "[", "page", "]", ";", "for", "(", "int", "v", "=", "0", ";", "v", "<", "20", ";", "v", "+", "=", "5", ")", "vertices", "[", "offset", "+", "v", "]", "=", "color", "float", ";", "}", "}", "}" ]
[ "sets", "the", "alpha", "component", "of", "all", "text", "currently", "in", "the", "cache", "does", "not", "affect", "subsequently", "added", "text" ]
[ "int", "alpha", "bits", "=", "(", "(", "int", ")", "(", "254", "*", "alpha", ")", ")", "<", "<", "24", ";", "float", "prev", "=", "0", ",", "new", "color", "=", "0", ";", "for", "(", "int", "j", "=", "0", ",", "length", "=", "page", "vertices", "length", ";", "j", "<", "length", ";", "j", "+", "+", ")", "{", "float", "[", "]", "vertices", "=", "page", "vertices", "[", "j", "]", ";", "for", "(", "int", "i", "=", "2", ",", "n", "=", "idx", "[", "j", "]", ";", "i", "<", "n", ";", "i", "+", "=", "5", ")", "{", "float", "c", "=", "vertices", "[", "i", "]", ";", "if", "(", "c", "=", "=", "prev", "&", "&", "i", "!", "=", "2", ")", "{", "vertices", "[", "i", "]", "=", "new", "color", ";", "}", "else", "{", "prev", "=", "c", ";", "int", "rgba", "=", "number", "utils", "float", "to", "int", "color", "(", "c", ")", ";", "rgba", "=", "(", "rgba", "&", "0x", "0", "0", "f", "f", "f", "f", "f", "f", ")", "|", "alpha", "bits", ";", "new", "color", "=", "number", "utils", "int", "to", "float", "color", "(", "rgba", ")", ";", "vertices", "[", "i", "]", "=", "new", "color", ";", "}", "}", "}" ]
[ "sets", "the", "color", "of", "all", "text", "currently", "in", "the", "cache", "does", "not", "affect", "subsequently", "added", "text" ]
[ "for", "(", "int", "j", "=", "0", ",", "length", "=", "page", "vertices", "length", ";", "j", "<", "length", ";", "j", "+", "+", ")", "{", "float", "[", "]", "vertices", "=", "page", "vertices", "[", "j", "]", ";", "for", "(", "int", "i", "=", "2", ",", "n", "=", "idx", "[", "j", "]", ";", "i", "<", "n", ";", "i", "+", "=", "5", ")", "vertices", "[", "i", "]", "=", "color", ";", "}" ]
[ "sets", "the", "color", "of", "all", "text", "currently", "in", "the", "cache", "does", "not", "affect", "subsequently", "added", "text" ]
[ "set", "colors", "(", "tint", "to", "float", "bits", "(", ")", ")", ";" ]
[ "sets", "the", "color", "of", "all", "text", "currently", "in", "the", "cache", "does", "not", "affect", "subsequently", "added", "text" ]
[ "int", "int", "bits", "=", "(", "(", "int", ")", "(", "255", "*", "a", ")", "<", "<", "24", ")", "|", "(", "(", "int", ")", "(", "255", "*", "b", ")", "<", "<", "16", ")", "|", "(", "(", "int", ")", "(", "255", "*", "g", ")", "<", "<", "8", ")", "|", "(", "(", "int", ")", "(", "255", "*", "r", ")", ")", ";", "set", "colors", "(", "number", "utils", "int", "to", "float", "color", "(", "int", "bits", ")", ")", ";" ]
[ "sets", "the", "color", "of", "the", "specified", "characters", "this", "may", "only", "be", "called", "after", "{" ]
[ "set", "colors", "(", "tint", "to", "float", "bits", "(", ")", ",", "start", ",", "end", ")", ";" ]
[ "removes", "all", "glyphs", "in", "the", "cache" ]
[ "x", "=", "0", ";", "y", "=", "0", ";", "pools", "free", "all", "(", "pooled", "layouts", ",", "true", ")", ";", "pooled", "layouts", "clear", "(", ")", ";", "layouts", "clear", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "n", "=", "idx", "length", ";", "i", "<", "n", ";", "i", "+", "+", ")", "{", "if", "(", "page", "glyph", "indices", "!", "=", "null", ")", "page", "glyph", "indices", "[", "i", "]", "clear", "(", ")", ";", "idx", "[", "i", "]", "=", "0", ";", "}" ]
[ "clears", "any", "cached", "glyphs", "and", "adds", "glyphs", "for", "the", "specified", "text" ]
[ "clear", "(", ")", ";", "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "0", ",", "str", "length", "(", ")", ",", "0", ",", "align", "left", ",", "false", ")", ";" ]
[ "clears", "any", "cached", "glyphs", "and", "adds", "glyphs", "for", "the", "specified", "text" ]
[ "clear", "(", ")", ";", "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "0", ",", "str", "length", "(", ")", ",", "target", "width", ",", "halign", ",", "wrap", ")", ";" ]
[ "clears", "any", "cached", "glyphs", "and", "adds", "glyphs", "for", "the", "specified", "text" ]
[ "clear", "(", ")", ";", "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "start", ",", "end", ",", "target", "width", ",", "halign", ",", "wrap", ")", ";" ]
[ "clears", "any", "cached", "glyphs", "and", "adds", "glyphs", "for", "the", "specified", "text" ]
[ "clear", "(", ")", ";", "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "start", ",", "end", ",", "target", "width", ",", "halign", ",", "wrap", ",", "truncate", ")", ";" ]
[ "clears", "any", "cached", "glyphs", "and", "adds", "the", "specified", "glyphs" ]
[ "clear", "(", ")", ";", "add", "text", "(", "layout", ",", "x", ",", "y", ")", ";" ]
[ "adds", "glyphs", "for", "the", "specified", "text" ]
[ "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "0", ",", "str", "length", "(", ")", ",", "0", ",", "align", "left", ",", "false", ",", "null", ")", ";" ]
[ "adds", "glyphs", "for", "the", "specified", "text" ]
[ "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "0", ",", "str", "length", "(", ")", ",", "target", "width", ",", "halign", ",", "wrap", ",", "null", ")", ";" ]
[ "adds", "glyphs", "for", "the", "specified", "text" ]
[ "return", "add", "text", "(", "str", ",", "x", ",", "y", ",", "start", ",", "end", ",", "target", "width", ",", "halign", ",", "wrap", ",", "null", ")", ";" ]
[ "adds", "glyphs", "for", "the", "the", "specified", "text" ]
[ "glyph", "layout", "layout", "=", "pools", "obtain", "(", "glyph", "layout", "class", ")", ";", "pooled", "layouts", "add", "(", "layout", ")", ";", "layout", "set", "text", "(", "font", ",", "str", ",", "start", ",", "end", ",", "color", ",", "target", "width", ",", "halign", ",", "wrap", ",", "truncate", ")", ";", "add", "text", "(", "layout", ",", "x", ",", "y", ")", ";", "return", "layout", ";" ]
[ "adds", "the", "specified", "glyphs" ]
[ "add", "to", "cache", "(", "layout", ",", "x", ",", "y", "+", "font", "data", "ascent", ")", ";" ]
[ "specifies", "whether", "to", "use", "integer", "positions", "or", "not", "default", "is", "to", "use", "them", "so", "filtering", "doesn", "t", "kick", "in", "as", "badly" ]
[ "this", "integer", "=", "use", ";" ]
[ "float", "/", "double", "versions", "of", "lu", "decomp", "this", "is", "the", "official", "lapack", "interface", "(", "in", "case", "you", "want", "to", "call", "this", "directly", ")", "see", "getrf", "for", "full", "details", "on", "lu", "decomp" ]
[ "public", "abstract", "void", "sgetrf", "(", "int", "m", ",", "int", "n", ",", "i", "n", "d", "array", "a", ",", "i", "n", "d", "array", "ipiv", ",", "i", "n", "d", "array", "info", ")", ";" ]
[ "float", "/", "double", "versions", "of", "cholesky", "decomp", "for", "positive", "definite", "matrices" ]
[ "public", "abstract", "void", "spotrf", "(", "byte", "uplo", ",", "int", "n", ",", "i", "n", "d", "array", "a", ",", "i", "n", "d", "array", "info", ")", ";" ]
[ "float", "/", "double", "versions", "of", "qr", "decomp", "this", "is", "the", "official", "lapack", "interface", "(", "in", "case", "you", "want", "to", "call", "this", "directly", ")", "see", "geqrf", "for", "full", "details", "on", "lu", "decomp" ]
[ "public", "abstract", "void", "sgeqrf", "(", "int", "m", ",", "int", "n", ",", "i", "n", "d", "array", "a", ",", "i", "n", "d", "array", "r", ",", "i", "n", "d", "array", "info", ")", ";" ]
[ "float", "/", "double", "versions", "of", "eigen", "value", "/", "vector", "calc" ]
[ "public", "abstract", "int", "ssyev", "(", "char", "jobz", ",", "char", "uplo", ",", "int", "n", ",", "i", "n", "d", "array", "a", ",", "i", "n", "d", "array", "r", ")", ";" ]
[ "register", "callbacks", "to", "be", "called", "when", "cancellation", "of", "consumer", "is", "requested", "or", "if", "the", "prefetch", "status", "of", "the", "consumer", "changes" ]
[ "producer", "context", "add", "callbacks", "(", "new", "base", "producer", "context", "callbacks", "(", ")", "{", "@", "override", "public", "void", "on", "cancellation", "requested", "(", ")", "{", "base", "producer", "context", "context", "to", "cancel", "=", "null", ";", "list", "<", "producer", "context", "callbacks", ">", "is", "prefetch", "callbacks", "=", "null", ";", "list", "<", "producer", "context", "callbacks", ">", "priority", "callbacks", "=", "null", ";", "list", "<", "producer", "context", "callbacks", ">", "is", "intermediate", "result", "expected", "callbacks", "=", "null", ";", "final", "boolean", "pair", "was", "removed", ";", "synchronized", "(", "multiplexer", "this", ")", "{", "pair", "was", "removed", "=", "m", "consumer", "context", "pairs", "remove", "(", "consumer", "context", "pair", ")", ";", "if", "(", "pair", "was", "removed", ")", "{", "if", "(", "m", "consumer", "context", "pairs", "is", "empty", "(", ")", ")", "{", "context", "to", "cancel", "=", "m", "multiplex", "producer", "context", ";", "}", "else", "{", "is", "prefetch", "callbacks", "=", "update", "is", "prefetch", "(", ")", ";", "priority", "callbacks", "=", "update", "priority", "(", ")", ";", "is", "intermediate", "result", "expected", "callbacks", "=", "update", "is", "intermediate", "result", "expected", "(", ")", ";", "}", "}", "}", "base", "producer", "context", "call", "on", "is", "prefetch", "changed", "(", "is", "prefetch", "callbacks", ")", ";", "base", "producer", "context", "call", "on", "priority", "changed", "(", "priority", "callbacks", ")", ";", "base", "producer", "context", "call", "on", "is", "intermediate", "result", "expected", "changed", "(", "is", "intermediate", "result", "expected", "callbacks", ")", ";", "if", "(", "context", "to", "cancel", "!", "=", "null", ")", "{", "context", "to", "cancel", "cancel", "(", ")", ";", "}", "if", "(", "pair", "was", "removed", ")", "{", "consumer", "context", "pair", "first", "on", "cancellation", "(", ")", ";", "}", "}", "@", "override", "public", "void", "on", "is", "prefetch", "changed", "(", ")", "{", "base", "producer", "context", "call", "on", "is", "prefetch", "changed", "(", "update", "is", "prefetch", "(", ")", ")", ";", "}", "@", "override", "public", "void", "on", "is", "intermediate", "result", "expected", "changed", "(", ")", "{", "base", "producer", "context", "call", "on", "is", "intermediate", "result", "expected", "changed", "(", "update", "is", "intermediate", "result", "expected", "(", ")", ")", ";", "}", "@", "override", "public", "void", "on", "priority", "changed", "(", ")", "{", "base", "producer", "context", "call", "on", "priority", "changed", "(", "update", "priority", "(", ")", ")", ";", "}", "}", ")", ";" ]
[ "test", "all", "expressions", "passing" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "pass", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "(", "second", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "the", "first", "expression", "failing" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "fail", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "fail", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "the", "second", "expression", "failing" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "fail", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "fail", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "(", "second", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "both", "expressions", "failing" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "fail", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "fail", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "fail", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "the", "first", "expression", "stopping" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "stop", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "stop", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "(", "second", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "the", "second", "expression", "stopping" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "pass", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "stop", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "stop", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "(", "second", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "first", "expression", "stopping", "and", "second", "failing" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "path", "data", "path", "data", "=", "mock", "(", "path", "data", "class", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "first", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "stop", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "when", "(", "second", "apply", "(", "path", "data", ",", "-", "1", ")", ")", "then", "return", "(", "result", "fail", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "assert", "equals", "(", "result", "stop", "combine", "(", "result", "fail", ")", ",", "and", "apply", "(", "path", "data", ",", "-", "1", ")", ")", ";", "verify", "(", "first", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "(", "second", ")", "apply", "(", "path", "data", ",", "-", "1", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "set", "options", "is", "called", "on", "child" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "find", "options", "options", "=", "mock", "(", "find", "options", "class", ")", ";", "and", "set", "options", "(", "options", ")", ";", "verify", "(", "first", ")", "set", "options", "(", "options", ")", ";", "verify", "(", "second", ")", "set", "options", "(", "options", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "prepare", "is", "called", "on", "child" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "and", "prepare", "(", ")", ";", "verify", "(", "first", ")", "prepare", "(", ")", ";", "verify", "(", "second", ")", "prepare", "(", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "test", "finish", "is", "called", "on", "child" ]
[ "and", "and", "=", "new", "and", "(", ")", ";", "expression", "first", "=", "mock", "(", "expression", "class", ")", ";", "expression", "second", "=", "mock", "(", "expression", "class", ")", ";", "deque", "<", "expression", ">", "children", "=", "new", "linked", "list", "<", "expression", ">", "(", ")", ";", "children", "add", "(", "second", ")", ";", "children", "add", "(", "first", ")", ";", "and", "add", "children", "(", "children", ")", ";", "and", "finish", "(", ")", ";", "verify", "(", "first", ")", "finish", "(", ")", ";", "verify", "(", "second", ")", "finish", "(", ")", ";", "verify", "no", "more", "interactions", "(", "first", ")", ";", "verify", "no", "more", "interactions", "(", "second", ")", ";" ]
[ "returns", "application", "context", "set", "during", "the", "initialization" ]
[ "return", "servlet", "context", "provider", "get", "(", ")", ";" ]
[ "creates", "new", "action", "request" ]
[ "return", "new", "action", "request", "(", "this", ",", "action", "path", ",", "action", "path", "chunks", ",", "action", "runtime", ",", "action", ",", "servlet", "request", ",", "servlet", "response", ")", ";" ]
[ "will", "make", "semantic", "analyzer", "phase", "1", "ctx", "#", "dest", "in", "subtree", "rooted", "at", "tree", "use", "prefix", "this", "to", "handle", "multi", "-", "insert", "stmt", "that", "represents", "merge", "stmt", "and", "has", "insert", "branches", "representing", "update", "/", "delete", "/", "insert" ]
[ "return", "insert", "branch", "to", "name", "prefix", "put", "(", "pos", ",", "prefix", ")", ";" ]
[ "find", "whether", "we", "should", "execute", "the", "current", "query", "due", "to", "explain" ]
[ "return", "(", "explain", "config", "!", "=", "null", "&", "&", "explain", "config", "get", "analyze", "(", ")", "!", "=", "analyze", "state", "running", ")", ";" ]
[ "find", "whether", "the", "current", "query", "is", "a", "logical", "explain", "query" ]
[ "return", "explain", "config", "!", "=", "null", "&", "&", "explain", "config", "is", "logical", "(", ")", ";" ]
[ "create", "a", "local", "scratch", "directory", "on", "demand", "and", "return", "it" ]
[ "try", "{", "file", "system", "fs", "=", "file", "system", "get", "local", "(", "conf", ")", ";", "uri", "uri", "=", "fs", "get", "uri", "(", ")", ";", "return", "get", "scratch", "dir", "(", "uri", "get", "scheme", "(", ")", ",", "uri", "get", "authority", "(", ")", ",", "mkdir", ",", "local", "scratch", "dir", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "create", "a", "temporary", "directory", "depending", "of", "the", "path", "specified", "-", "if", "path", "is", "an", "object", "store", "filesystem", "then", "use", "the", "default", "mr", "scratch", "directory", "(", "hdfs", ")", "-", "if", "path", "is", "on", "hdfs", "then", "create", "a", "staging", "directory", "inside", "the", "path" ]
[ "return", "get", "ext", "tmp", "path", "rel", "to", "(", "path", ")", ";" ]
[ "/", "*", "checks", "if", "the", "path", "is", "for", "the", "local", "filesystem", "or", "not" ]
[ "boolean", "is", "local", "=", "false", ";", "if", "(", "path", "!", "=", "null", ")", "{", "string", "scheme", "=", "path", "to", "uri", "(", ")", "get", "scheme", "(", ")", ";", "if", "(", "scheme", "!", "=", "null", ")", "{", "is", "local", "=", "scheme", "equals", "(", "utilities", "hadoop", "local", "fs", "scheme", ")", ";", "}", "}", "return", "is", "local", ";" ]
[ "check", "if", "path", "is", "for", "intermediate", "data" ]
[ "return", "(", "uri", "str", "index", "of", "(", "execution", "id", ")", "!", "=", "-", "1", ")", "&", "&", "(", "uri", "str", "index", "of", "(", "mr", "prefix", ")", "!", "=", "-", "1", ")", ";" ]
[ "get", "a", "path", "to", "store", "map", "-", "reduce", "intermediate", "data", "in" ]
[ "return", "new", "path", "(", "get", "m", "r", "scratch", "dir", "(", ")", ",", "mr", "prefix", "+", "next", "path", "id", "(", ")", ")", ";" ]
[ "get", "a", "tmp", "path", "on", "local", "host", "to", "store", "intermediate", "data" ]
[ "return", "new", "path", "(", "get", "local", "scratch", "dir", "(", "true", ")", ",", "local", "prefix", "+", "next", "path", "id", "(", ")", ")", ";" ]
[ "this", "is", "similar", "to", "get", "external", "tmp", "path", "(", ")", "with", "difference", "being", "this", "method", "returns", "temp", "path", "within", "passed", "in", "uri", "whereas", "get", "external", "tmp", "path", "(", ")", "ignores", "passed", "in", "path", "and", "returns", "temp", "path", "within", "/", "tmp" ]
[ "return", "new", "path", "(", "get", "staging", "dir", "(", "path", ",", "!", "is", "explain", "skip", "execution", "(", ")", ")", ",", "ext", "prefix", "+", "next", "path", "id", "(", ")", ")", ";" ]
[ "little", "abbreviation", "for", "string", "utils" ]
[ "return", "org", "apache", "commons", "lang", "string", "utils", "equals", "(", "str", "1", ",", "str", "2", ")", ";" ]
[ "set", "the", "token", "rewrite", "stream", "being", "used", "to", "parse", "the", "current", "top", "-", "level", "sql", "statement", "note", "that", "this", "should", "<", "b", ">", "not", "<", "/", "b", ">", "be", "used", "for", "other", "parsing", "activities", ";", "for", "example", "when", "we", "encounter", "a", "reference", "to", "a", "view", "we", "switch", "to", "a", "new", "stream", "for", "parsing", "the", "stored", "view", "definition", "from", "the", "catalog", "but", "we", "don", "t", "clobber", "the", "top", "-", "level", "stream", "in", "the", "context" ]
[ "assert", "(", "this", "token", "rewrite", "stream", "=", "=", "null", "|", "|", "this", "get", "explain", "analyze", "(", ")", "=", "=", "analyze", "state", "running", ")", ";", "this", "token", "rewrite", "stream", "=", "token", "rewrite", "stream", ";" ]
[ "<", "p", ">", "the", "instance", "family", "of", "the", "recommended", "reservation", "<", "/", "p", ">" ]
[ "set", "family", "(", "family", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "instance", "that", "aws", "recommends", "<", "/", "p", ">" ]
[ "set", "instance", "type", "(", "instance", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "aws", "region", "of", "the", "recommended", "reservation", "<", "/", "p", ">" ]
[ "set", "region", "(", "region", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "availability", "zone", "of", "the", "recommended", "reservation", "<", "/", "p", ">" ]
[ "set", "availability", "zone", "(", "availability", "zone", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "platform", "of", "the", "recommended", "reservation", "the", "platform", "is", "the", "specific", "combination", "of", "operating", "system", "license", "model", "and", "software", "on", "an", "instance", "<", "/", "p", ">" ]
[ "set", "platform", "(", "platform", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "whether", "the", "recommended", "reservation", "is", "dedicated", "or", "shared", "<", "/", "p", ">" ]
[ "set", "tenancy", "(", "tenancy", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "whether", "the", "recommendation", "is", "for", "a", "current", "generation", "instance", "<", "/", "p", ">" ]
[ "set", "current", "generation", "(", "current", "generation", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "whether", "the", "recommended", "reservation", "is", "size", "flexible", "<", "/", "p", ">" ]
[ "set", "size", "flex", "eligible", "(", "size", "flex", "eligible", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "arn", "<", "/", "p", ">" ]
[ "set", "arn", "(", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "name", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "type", "<", "/", "p", ">", "<", "p", ">", "must", "be", "one", "of", "the", "following", "values", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "builtin", "fuzz", ":", "the", "built", "-", "in", "fuzz", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "builtin", "explorer", ":", "for", "android", "an", "app", "explorer", "that", "will", "traverse", "an", "android", "app", "interacting", "with", "it", "and", "capturing", "screenshots", "at", "the", "same", "time", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "java", "junit", ":", "the", "appium", "java", "j", "unit", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "java", "testng", ":", "the", "appium", "java", "test", "n", "g", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "python", ":", "the", "appium", "python", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "java", "junit", ":", "the", "appium", "java", "j", "unit", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "java", "testng", ":", "the", "appium", "java", "test", "n", "g", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "python", ":", "the", "appium", "python", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "calabash", ":", "the", "calabash", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "instrumentation", ":", "the", "instrumentation", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "uiautomation", ":", "the", "uiautomation", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "uiautomator", ":", "the", "uiautomator", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "xctest", ":", "the", "x", "code", "test", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "xctest", "ui", ":", "the", "x", "code", "ui", "test", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "type", "(", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "type", "<", "/", "p", ">", "<", "p", ">", "must", "be", "one", "of", "the", "following", "values", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "builtin", "fuzz", ":", "the", "built", "-", "in", "fuzz", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "builtin", "explorer", ":", "for", "android", "an", "app", "explorer", "that", "will", "traverse", "an", "android", "app", "interacting", "with", "it", "and", "capturing", "screenshots", "at", "the", "same", "time", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "java", "junit", ":", "the", "appium", "java", "j", "unit", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "java", "testng", ":", "the", "appium", "java", "test", "n", "g", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "python", ":", "the", "appium", "python", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "java", "junit", ":", "the", "appium", "java", "j", "unit", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "java", "testng", ":", "the", "appium", "java", "test", "n", "g", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "appium", "web", "python", ":", "the", "appium", "python", "type", "for", "web", "apps", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "calabash", ":", "the", "calabash", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "instrumentation", ":", "the", "instrumentation", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "uiautomation", ":", "the", "uiautomation", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "uiautomator", ":", "the", "uiautomator", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "xctest", ":", "the", "x", "code", "test", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "xctest", "ui", ":", "the", "x", "code", "ui", "test", "type", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "type", "=", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "when", "the", "suite", "was", "created", "<", "/", "p", ">" ]
[ "set", "created", "(", "created", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "status", "<", "/", "p", ">", "<", "p", ">", "allowed", "values", "include", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "pending", ":", "a", "pending", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "pending", "concurrency", ":", "a", "pending", "concurrency", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "pending", "device", ":", "a", "pending", "device", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "processing", ":", "a", "processing", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "scheduling", ":", "a", "scheduling", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "preparing", ":", "a", "preparing", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "running", ":", "a", "running", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "completed", ":", "a", "completed", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "stopping", ":", "a", "stopping", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "status", "(", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "status", "<", "/", "p", ">", "<", "p", ">", "allowed", "values", "include", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "pending", ":", "a", "pending", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "pending", "concurrency", ":", "a", "pending", "concurrency", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "pending", "device", ":", "a", "pending", "device", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "processing", ":", "a", "processing", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "scheduling", ":", "a", "scheduling", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "preparing", ":", "a", "preparing", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "running", ":", "a", "running", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "completed", ":", "a", "completed", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "stopping", ":", "a", "stopping", "status", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "status", "=", "status", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "result", "<", "/", "p", ">", "<", "p", ">", "allowed", "values", "include", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "pending", ":", "a", "pending", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "passed", ":", "a", "passing", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "warned", ":", "a", "warning", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "failed", ":", "a", "failed", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "skipped", ":", "a", "skipped", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "errored", ":", "an", "error", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "stopped", ":", "a", "stopped", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "result", "(", "result", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "result", "<", "/", "p", ">", "<", "p", ">", "allowed", "values", "include", ":", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "pending", ":", "a", "pending", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "passed", ":", "a", "passing", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "warned", ":", "a", "warning", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "failed", ":", "a", "failed", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "skipped", ":", "a", "skipped", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "errored", ":", "an", "error", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "stopped", ":", "a", "stopped", "condition", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "this", "result", "=", "result", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "start", "time", "<", "/", "p", ">" ]
[ "set", "started", "(", "started", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "stop", "time", "<", "/", "p", ">" ]
[ "set", "stopped", "(", "stopped", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "suite", "s", "result", "counters", "<", "/", "p", ">" ]
[ "set", "counters", "(", "counters", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "message", "about", "the", "suite", "s", "result", "<", "/", "p", ">" ]
[ "set", "message", "(", "message", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "represents", "the", "total", "(", "metered", "or", "unmetered", ")", "minutes", "used", "by", "the", "test", "suite", "<", "/", "p", ">" ]
[ "set", "device", "minutes", "(", "device", "minutes", ")", ";", "return", "this", ";" ]
[ "a", "custom", "property", "used", "in", "this", "custom", "layer", "example", "see", "the", "custom", "layer", "example", "readme", "md", "for", "details" ]
[ "return", "second", "activation", "function", "(", "activation", "from", "string", "(", "second", "activation", "function", ")", ")", ";" ]
[ "a", "custom", "property", "used", "in", "this", "custom", "layer", "example", "see", "the", "custom", "layer", "example", "readme", "md", "for", "details" ]
[ "this", "second", "activation", "function", "=", "second", "activation", "function", "get", "activation", "function", "(", ")", ";", "return", "this", ";" ]
[ "notify", "all", "framework", "listeners" ]
[ "if", "(", "framework", "listeners", "is", "empty", "(", ")", ")", "{", "return", ";", "}", "final", "framework", "event", "event", "=", "new", "framework", "event", "(", "state", ")", ";", "final", "framework", "listener", "[", "]", "listeners", "=", "framework", "listeners", "to", "array", "(", "new", "framework", "listener", "[", "framework", "listeners", "size", "(", ")", "]", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "listeners", "length", ";", "i", "+", "+", ")", "{", "final", "framework", "listener", "listener", "=", "listeners", "[", "i", "]", ";", "listener", "framework", "event", "(", "event", ")", ";", "}" ]
[ "enables", "or", "disables", "the", "join", "mechanism", "based", "on", "the", "given", "discovery", "config" ]
[ "this", "enabled", "=", "enabled", ";", "return", "(", "t", ")", "this", ";" ]
[ "sets", "the", "property", "understood", "by", "the", "given", "spi", "discovery", "strategy", "<", "p", ">", "note", "that", "it", "interprets", "and", "stores", "as", "fields", "the", "following", "properties", ":", "enabled", "use", "-", "public", "-", "ip" ]
[ "if", "(", "use", "public", "ip", "property", "equals", "(", "name", ")", ")", "{", "use", "public", "ip", "=", "boolean", "parse", "boolean", "(", "value", ")", ";", "}", "else", "if", "(", "enabled", "property", "equals", "(", "name", ")", ")", "{", "enabled", "=", "boolean", "parse", "boolean", "(", "value", ")", ";", "}", "else", "{", "properties", "put", "(", "name", ",", "value", ")", ";", "}", "return", "(", "t", ")", "this", ";" ]
[ "decides", "whether", "the", "public", "or", "private", "ip", "should", "be", "used", "to", "connect", "to", "hazelcast", "members" ]
[ "this", "use", "public", "ip", "=", "use", "public", "ip", ";", "return", "(", "t", ")", "this", ";" ]
[ "checks", "whether", "the", "public", "or", "private", "ip", "should", "be", "used", "to", "connect", "to", "hazelcast", "members" ]
[ "return", "use", "public", "ip", ";" ]
[ "<", "p", ">", "the", "identifier", "assigned", "to", "the", "entities", "detection", "job", "<", "/", "p", ">" ]
[ "set", "job", "id", "(", "job", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "that", "you", "assigned", "the", "entities", "detection", "job", "<", "/", "p", ">" ]
[ "set", "job", "name", "(", "job", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "current", "status", "of", "the", "entities", "detection", "job", "if", "the", "status", "is", "<", "code", ">", "failed", "<", "/", "code", ">", "the", "<", "code", ">", "message", "<", "/", "code", ">", "field", "shows", "the", "reason", "for", "the", "failure", "<", "/", "p", ">" ]
[ "set", "job", "status", "(", "job", "status", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "current", "status", "of", "the", "entities", "detection", "job", "if", "the", "status", "is", "<", "code", ">", "failed", "<", "/", "code", ">", "the", "<", "code", ">", "message", "<", "/", "code", ">", "field", "shows", "the", "reason", "for", "the", "failure", "<", "/", "p", ">" ]
[ "this", "job", "status", "=", "job", "status", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "description", "of", "the", "status", "of", "a", "job", "<", "/", "p", ">" ]
[ "set", "message", "(", "message", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "time", "that", "the", "entities", "detection", "job", "was", "submitted", "for", "processing", "<", "/", "p", ">" ]
[ "set", "submit", "time", "(", "submit", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "time", "that", "the", "entities", "detection", "job", "completed", "<", "/", "p", ">" ]
[ "set", "end", "time", "(", "end", "time", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "input", "data", "configuration", "that", "you", "supplied", "when", "you", "created", "the", "entities", "detection", "job", "<", "/", "p", ">" ]
[ "set", "input", "data", "config", "(", "input", "data", "config", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "output", "data", "configuration", "that", "you", "supplied", "when", "you", "created", "the", "entities", "detection", "job", "<", "/", "p", ">" ]
[ "set", "output", "data", "config", "(", "output", "data", "config", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "code", "of", "the", "input", "documents", "<", "/", "p", ">" ]
[ "set", "language", "code", "(", "language", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "code", "of", "the", "input", "documents", "<", "/", "p", ">" ]
[ "this", "language", "code", "=", "language", "code", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "that", "gives", "amazon", "comprehend", "read", "access", "to", "your", "input", "data", "<", "/", "p", ">" ]
[ "set", "data", "access", "role", "arn", "(", "data", "access", "role", "arn", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "if", "(", "this", "=", "=", "o", ")", "return", "true", ";", "if", "(", "o", "=", "=", "null", "|", "|", "get", "class", "(", ")", "!", "=", "o", "get", "class", "(", ")", ")", "return", "false", ";", "employee", "key", "key", "=", "(", "employee", "key", ")", "o", ";", "return", "id", "=", "=", "key", "id", "&", "&", "organization", "id", "=", "=", "key", "organization", "id", ";" ]
[ "{" ]
[ "int", "res", "=", "id", ";", "res", "=", "31", "*", "res", "+", "organization", "id", ";", "return", "res", ";" ]