docstring_tokens
sequence
code_tokens
sequence
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "stype", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "get", "address", "(", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "pnext", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "reductionmode", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "stype", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "pnext", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "sampler", "reduction", "mode", "create", "info", "e", "x", "t", "reductionmode", ",", "value", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "valid", "get", "state", "(", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "s", "q", "l", "utils", "format", "s", "q", "l", "(", "get", "data", "source", "(", ")", ",", "text", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "view", "base", "dep", "cache", "get", "all", "objects", "(", "monitor", ",", "this", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "super", "get", "description", "(", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "super", "get", "name", "(", ")", ";" ]
[ "main", "method" ]
[ "try", "{", "new", "repository", "cleanup", "util", "(", ")", "purge", "(", "args", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "write", "out", "(", "e", ")", ";", "}", "exit", "(", "0", ")", ";" ]
[ "create", "payload", "to", "supply", "with", "post", "to", "rest", "api" ]
[ "form", "data", "multi", "part", "form", "=", "new", "form", "data", "multi", "part", "(", ")", ";", "if", "(", "ver", "count", "!", "=", "-", "1", "&", "&", "!", "purge", "rev", ")", "{", "form", "field", "(", "ver", "count", ",", "integer", "to", "string", "(", "ver", "count", ")", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "del", "from", "!", "=", "null", "&", "&", "!", "purge", "rev", ")", "{", "form", "field", "(", "del", "date", ",", "del", "from", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "file", "filter", "!", "=", "null", ")", "{", "form", "field", "(", "file", "filter", ",", "file", "filter", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "log", "level", "!", "=", "null", ")", "{", "form", "field", "(", "log", "level", ",", "log", "level", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "purge", "files", ")", "{", "form", "field", "(", "purge", "files", ",", "boolean", "to", "string", "(", "purge", "files", ")", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "purge", "rev", ")", "{", "form", "field", "(", "purge", "rev", ",", "boolean", "to", "string", "(", "purge", "rev", ")", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "if", "(", "purge", "shared", ")", "{", "form", "field", "(", "purge", "shared", ",", "boolean", "to", "string", "(", "purge", "shared", ")", ",", "media", "type", "multipart", "form", "data", "type", ")", ";", "}", "return", "form", ";" ]
[ "print", "output", "or", "error", "message" ]
[ "if", "(", "is", "error", ")", "{", "system", "err", "println", "(", "message", ")", ";", "exit", "(", "1", ")", ";", "}", "else", "{", "system", "out", "println", "(", "message", ")", ";", "}" ]
[ "print", "stack", "trace", "on", "error" ]
[ "t", "print", "stack", "trace", "(", ")", ";", "exit", "(", "1", ")", ";" ]
[ "{" ]
[ "return", "iter", "has", "next", "(", ")", ";" ]
[ "{" ]
[ "return", "iter", "next", "(", ")", ";" ]
[ "{" ]
[ "return", "iter", "next", "(", ")", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "published", "schema", "that", "will", "be", "copied", "into", "the", "data", "<", "a", ">", "directory", "<", "/", "a", ">", "for", "more", "information", "see", "<", "a", ">", "arns", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "this", "schema", "arn", "=", "schema", "arn", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "of", "the", "published", "schema", "that", "will", "be", "copied", "into", "the", "data", "<", "a", ">", "directory", "<", "/", "a", ">", "for", "more", "information", "see", "<", "a", ">", "arns", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "this", "schema", "arn", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "that", "is", "associated", "with", "the", "schema", "for", "more", "information", "see", "<", "a", ">", "arns", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "schema", "arn", "(", "schema", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "unique", "name", "of", "the", "typed", "link", "facet", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "platform", "application", "arn", "for", "platform", "application", "object", "<", "/", "p", ">" ]
[ "this", "platform", "application", "arn", "=", "platform", "application", "arn", ";" ]
[ "<", "p", ">", "platform", "application", "arn", "for", "platform", "application", "object", "<", "/", "p", ">" ]
[ "return", "this", "platform", "application", "arn", ";" ]
[ "<", "p", ">", "platform", "application", "arn", "is", "returned", "<", "/", "p", ">" ]
[ "set", "platform", "application", "arn", "(", "platform", "application", "arn", ")", ";", "return", "this", ";" ]
[ "returns", "the", "primitive", "object", "represented", "by", "this", "lazy", "binary", "object", "this", "is", "useful", "because", "it", "can", "make", "sure", "we", "have", "null", "for", "null", "objects" ]
[ "return", "data", ";" ]
[ "this", "method", "will", "return", "itself", "(", "supports", "chaining", "with", "continuation", "tokens", ")" ]
[ "for", "(", "string", "key", ":", "fields", "key", "set", "(", ")", ")", "{", "add", "field", "(", "key", ",", "fields", "get", "(", "key", ")", ")", ";", "}", "return", "this", ";" ]
[ "this", "method", "will", "return", "itself", "(", "supports", "chaining", "with", "continuation", "tokens", ")" ]
[ "if", "(", "!", "is", "closed", ")", "{", "m", "form", "append", "(", "crlf", "+", "two", "hyphens", "+", "m", "boundary", "+", "two", "hyphens", "+", "crlf", ")", ";", "is", "closed", "=", "true", ";", "}", "return", "this", ";" ]
[ "todo", ":", "identity", "hash", "map", "abstract", "map" ]
[ "return", "populate", "(", "new", "hash", "map", "<", "string", ",", "string", ">", "(", ")", ",", "entries", ")", ";" ]
[ "populate", "(", ")", "on", "an", "empty", "map" ]
[ "for", "(", "entry", "<", "t", ",", "string", ">", "entry", ":", "entries", ")", "{", "map", "put", "(", "entry", "get", "key", "(", ")", ",", "entry", "get", "value", "(", ")", ")", ";", "}", "return", "map", ";" ]
[ "flush", "any", "buffered", "data", "from", "calls", "to", "write", "(", "int", ")", "needed", "before", "doing", "a", "write", "(", "byte", "[", "]", "int", "int", ")", "or", "a", "close", "(", ")" ]
[ "if", "(", "bpos", ">", "0", ")", "{", "internal", "write", "(", "buffer", ",", "0", ",", "bpos", ",", "false", ")", ";", "bpos", "=", "0", ";", "}" ]
[ "if", "b", "length", "is", "at", "least", "len", "return", "b", "otherwise", "return", "a", "new", "byte", "array", "of", "length", "len" ]
[ "if", "(", "b", "=", "=", "null", "|", "|", "b", "length", "<", "len", ")", "{", "return", "new", "byte", "[", "len", "]", ";", "}", "else", "{", "return", "b", ";", "}" ]
[ "returns", "the", "number", "of", "64", "bit", "words", "it", "would", "take", "to", "hold", "vector", "size", "buckets" ]
[ "return", "(", "(", "vector", "size", "-", "1", ")", ">", ">", ">", "4", ")", "+", "1", ";" ]
[ "writable" ]
[ "super", "write", "(", "out", ")", ";", "int", "size", "in", "words", "=", "buckets", "2words", "(", "vector", "size", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "size", "in", "words", ";", "i", "+", "+", ")", "{", "out", "write", "long", "(", "buckets", "[", "i", "]", ")", ";", "}" ]
[ "validates", "that", "a", "given", "time", "is", "valid", "for", "the", "total", "time", "slept", "by", "a", "back", "off", "given", "the", "number", "of", "retries", "and", "an", "initial", "polling", "interval" ]
[ "long", "high", "sum", "=", "0", ";", "long", "low", "sum", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "retries", ";", "i", "+", "+", ")", "{", "double", "current", "interval", "=", "polling", "interval", "get", "millis", "(", ")", "*", "math", "pow", "(", "dataflow", "pipeline", "job", "default", "backoff", "exponent", ",", "i", ")", ";", "double", "random", "offset", "=", "0", "5", "*", "current", "interval", ";", "high", "sum", "+", "=", "math", "round", "(", "current", "interval", "+", "random", "offset", ")", ";", "low", "sum", "+", "=", "math", "round", "(", "current", "interval", "-", "random", "offset", ")", ";", "}", "assert", "that", "(", "time", "slept", "millis", ",", "all", "of", "(", "greater", "than", "or", "equal", "to", "(", "low", "sum", ")", ",", "less", "than", "or", "equal", "to", "(", "high", "sum", ")", ")", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "if", "(", "uri", "!", "=", "null", ")", "{", "return", "uri", ";", "}", "else", "if", "(", "endpoint", "!", "=", "null", ")", "{", "return", "endpoint", "get", "endpoint", "uri", "(", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "sets", "the", "uri", "of", "the", "endpoint", "to", "use" ]
[ "clear", "(", ")", ";", "this", "uri", "=", "uri", ";" ]
[ "sets", "the", "name", "of", "the", "endpoint", "within", "the", "registry", "(", "such", "as", "the", "spring", "application", "context", "or", "jndi", ")", "to", "use" ]
[ "clear", "(", ")", ";", "this", "ref", "=", "ref", ";" ]
[ "returns", "the", "endpoint", "uri", "or", "the", "name", "of", "the", "reference", "to", "it" ]
[ "if", "(", "object", "helper", "is", "not", "empty", "(", "uri", ")", ")", "{", "return", "uri", ";", "}", "else", "if", "(", "endpoint", "!", "=", "null", ")", "{", "return", "endpoint", "get", "endpoint", "uri", "(", ")", ";", "}", "return", "ref", ";" ]
[ "returns", "the", "output", "committer" ]
[ "return", "new", "table", "output", "committer", "(", ")", ";" ]
[ "5", "seconds" ]
[ "if", "(", "i", "get", "action", "(", ")", "=", "=", "null", ")", "{", "scheduled", "service", "enqueue", "work", "(", "ctxt", ")", ";", "}", "else", "{", "schedule", "alarms", "(", "ctxt", ")", ";", "}" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "vmem", "size", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "mem", "size", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "vmem", "available", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "mem", "available", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "num", "processors", ";" ]
[ "{" ]
[ "return", "get", "num", "processors", "(", ")", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "cpu", "frequency", "khz", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "cumulative", "cpu", "time", "ms", ";" ]
[ "{" ]
[ "refresh", "if", "needed", "(", ")", ";", "return", "cpu", "usage", ";" ]
[ "sort", "a", "list", "of", "mission", "by", "its", "timestamp", "oldest", "first" ]
[ "collections", "sort", "(", "missions", ",", "new", "comparator", "<", "download", "mission", ">", "(", ")", "{", "@", "override", "public", "int", "compare", "(", "download", "mission", "o", "1", ",", "download", "mission", "o", "2", ")", "{", "return", "long", "value", "of", "(", "o", "1", "timestamp", ")", "compare", "to", "(", "o", "2", "timestamp", ")", ";", "}", "}", ")", ";" ]
[ "get", "a", "mission", "by", "its", "location", "and", "name" ]
[ "for", "(", "download", "mission", "mission", ":", "m", "missions", ")", "{", "if", "(", "location", "equals", "(", "mission", "location", ")", "&", "&", "name", "equals", "(", "mission", "name", ")", ")", "{", "return", "mission", ";", "}", "}", "return", "null", ";" ]
[ "splits", "the", "filename", "into", "name", "and", "extension", "<", "p", ">", "dots", "are", "ignored", "if", "they", "appear", ":", "not", "at", "all", "at", "the", "beginning", "of", "the", "file", "at", "the", "end", "of", "the", "file" ]
[ "int", "dot", "index", "=", "name", "last", "index", "of", "(", "'", "'", ")", ";", "if", "(", "dot", "index", "<", "=", "0", "|", "|", "(", "dot", "index", "=", "=", "name", "length", "(", ")", "-", "1", ")", ")", "{", "return", "new", "string", "[", "]", "{", "name", ",", "\"", "\"", "}", ";", "}", "else", "{", "return", "new", "string", "[", "]", "{", "name", "substring", "(", "0", ",", "dot", "index", ")", ",", "name", "substring", "(", "dot", "index", "+", "1", ")", "}", ";", "}" ]
[ "whether", "aws", "account", "i", "ds", "should", "have", "hyphens", "removed", "in", "their", "name" ]
[ "return", "strip", "aws", "principal", "id", "hyphens", "enabled", ";" ]
[ "configure", "whether", "hyphens", "should", "be", "stripped", "from", "the", "aws", "principal", "i", "ds", "that", "are", "read", "from", "the", "json", "-", "formatted", "policy", "document", "this", "is", "useful", "because", "aws", "account", "i", "ds", "must", "be", "specified", "without", "hyphens", "but", "the", "user", "may", "not", "be", "aware", "that", "hyphens", "should", "not", "be", "used", "when", "configuring", "their", "policy" ]
[ "this", "strip", "aws", "principal", "id", "hyphens", "enabled", "=", "strip", "aws", "principal", "id", "hyphens", "enabled", ";" ]
[ "fluent", "-", "style", "setter", "for", "{" ]
[ "set", "strip", "aws", "principal", "id", "hyphens", "enabled", "(", "strip", "aws", "principal", "id", "hyphens", "enabled", ")", ";", "return", "this", ";" ]
[ "gets", "extension", "name" ]
[ "return", "extension", ";" ]
[ "<", "p", ">", "the", "version", "of", "the", "intent", "<", "/", "p", ">" ]
[ "this", "version", "=", "version", ";" ]
[ "returns", "the", "configured", "temporary", "location" ]
[ "return", "temp", "location", ";" ]
[ "returns", "the", "configured", "size", "of", "the", "memory", "buffer" ]
[ "return", "memory", "m", "b", ";" ]
[ "returns", "a", "{" ]
[ "return", "new", "external", "sorter", "(", "options", ")", ";" ]
[ "read", "the", "next", "page", "of", "results", "and", "returning", "the", "scroll", "id", "to", "use", "to", "fetch", "the", "next", "page" ]
[ "sql", "query", "request", "sql", "request", "=", "new", "sql", "query", "request", "(", "mode", "jdbc", ",", "cursor", ",", "time", "value", "time", "value", "millis", "(", "meta", "timeout", "in", "ms", "(", ")", ")", ",", "time", "value", "time", "value", "millis", "(", "meta", "query", "timeout", "in", "ms", "(", ")", ")", ")", ";", "sql", "query", "response", "response", "=", "http", "client", "query", "(", "sql", "request", ")", ";", "return", "new", "tuple", "<", ">", "(", "response", "cursor", "(", ")", ",", "response", "rows", "(", ")", ")", ";" ]
[ "converts", "rest", "column", "metadata", "into", "jdbc", "column", "metadata" ]
[ "return", "columns", "stream", "(", ")", "map", "(", "column", "info", "-", ">", "new", "column", "info", "(", "column", "info", "name", "(", ")", ",", "column", "info", "jdbc", "type", "(", ")", ",", "empty", ",", "empty", ",", "empty", ",", "empty", ",", "column", "info", "display", "size", "(", ")", ")", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";" ]
[ "<", "p", ">", "the", "compliance", "status", "for", "the", "resource", "<", "/", "p", ">" ]
[ "this", "status", "=", "status", ";" ]
[ "{" ]
[ "stop", "zk", "cluster", "(", ")", ";", "system", "clear", "property", "(", "zookeeper", "discovery", "impl", "ignite", "zookeeper", "discovery", "spi", "ack", "timeout", ")", ";" ]
[ "{" ]
[ "super", "before", "test", "(", ")", ";", "if", "(", "use", "test", "cluster", "&", "&", "zk", "cluster", "=", "=", "null", ")", "{", "zk", "cluster", "=", "zookeeper", "discovery", "spi", "abstract", "test", "suite", "create", "testing", "cluster", "(", "zk", "srvs", ")", ";", "zk", "cluster", "start", "(", ")", ";", "wait", "for", "zk", "cluster", "ready", "(", "zk", "cluster", ")", ";", "}", "reset", "(", ")", ";" ]
[ "test", "with", "large", "user", "attribute", "on", "coordinator", "node" ]
[ "init", "large", "attribute", "(", ")", ";", "start", "grid", "(", "0", ")", ";", "check", "zk", "nodes", "cleanup", "(", ")", ";", "user", "attrs", "=", "null", ";", "start", "grid", "(", "1", ")", ";", "wait", "for", "events", "acks", "(", "ignite", "(", "0", ")", ")", ";", "wait", "for", "topology", "(", "2", ")", ";" ]
[ "test", "with", "large", "user", "attribute", "on", "non", "-", "coordinator", "node" ]
[ "start", "grid", "(", "0", ")", ";", "init", "large", "attribute", "(", ")", ";", "start", "grid", "(", "1", ")", ";", "wait", "for", "events", "acks", "(", "ignite", "(", "0", ")", ")", ";", "check", "zk", "nodes", "cleanup", "(", ")", ";" ]
[ "almost", "split", "-", "brain", "test", "server", "nodes", "splitted", "on", "2", "parts", "and", "there", "are", "some", "connections", "between", "these", "2", "parts", "server", "nodes", ":", "5", "client", "nodes", ":", "5", "splitted", "on", ":", "3", "servers", "+", "2", "clients", "and", "3", "servers", "+", "2", "clients", "extra", "connections", "between", "server", "nodes", ":", "3" ]
[ "fail", "comm", "spi", "=", "true", ";", "start", "grids", "multi", "threaded", "(", "6", ")", ";", "list", "<", "cluster", "node", ">", "srv", "nodes", "=", "g", "all", "grids", "(", ")", "stream", "(", ")", "map", "(", "g", "-", ">", "g", "cluster", "(", ")", "local", "node", "(", ")", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";", "assert", "assert", "equals", "(", "6", ",", "srv", "nodes", "size", "(", ")", ")", ";", "list", "<", "cluster", "node", ">", "srv", "part", "1", "=", "srv", "nodes", "sub", "list", "(", "0", ",", "3", ")", ";", "list", "<", "cluster", "node", ">", "srv", "part", "2", "=", "srv", "nodes", "sub", "list", "(", "3", ",", "srv", "nodes", "size", "(", ")", ")", ";", "client", "=", "true", ";", "start", "grids", "multi", "threaded", "(", "6", ",", "5", ")", ";", "client", "=", "false", ";", "await", "partition", "map", "exchange", "(", ")", ";", "list", "<", "cluster", "node", ">", "client", "nodes", "=", "g", "all", "grids", "(", ")", "stream", "(", ")", "map", "(", "g", "-", ">", "g", "cluster", "(", ")", "local", "node", "(", ")", ")", "filter", "(", "cluster", "node", ":", ":", "is", "client", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";", "assert", "assert", "equals", "(", "5", ",", "client", "nodes", "size", "(", ")", ")", ";", "list", "<", "cluster", "node", ">", "client", "part", "1", "=", "client", "nodes", "sub", "list", "(", "0", ",", "2", ")", ";", "list", "<", "cluster", "node", ">", "client", "part", "2", "=", "client", "nodes", "sub", "list", "(", "2", ",", "4", ")", ";", "list", "<", "cluster", "node", ">", "splitted", "part", "1", "=", "new", "array", "list", "<", ">", "(", ")", ";", "splitted", "part", "1", "add", "all", "(", "srv", "part", "1", ")", ";", "splitted", "part", "1", "add", "all", "(", "client", "part", "1", ")", ";", "list", "<", "cluster", "node", ">", "splitted", "part", "2", "=", "new", "array", "list", "<", ">", "(", ")", ";", "splitted", "part", "2", "add", "all", "(", "srv", "part", "2", ")", ";", "splitted", "part", "2", "add", "all", "(", "client", "part", "2", ")", ";", "connections", "failure", "matrix", "matrix", "=", "new", "connections", "failure", "matrix", "(", ")", ";", "matrix", "add", "all", "(", "splitted", "part", "1", ")", ";", "matrix", "add", "all", "(", "splitted", "part", "2", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "1", "get", "(", "0", ")", ",", "srv", "part", "2", "get", "(", "1", ")", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "2", "get", "(", "1", ")", ",", "srv", "part", "1", "get", "(", "0", ")", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "1", "get", "(", "1", ")", ",", "srv", "part", "2", "get", "(", "2", ")", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "2", "get", "(", "2", ")", ",", "srv", "part", "1", "get", "(", "1", ")", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "1", "get", "(", "2", ")", ",", "srv", "part", "2", "get", "(", "0", ")", ")", ";", "matrix", "add", "connection", "(", "srv", "part", "2", "get", "(", "0", ")", ",", "srv", "part", "1", "get", "(", "2", ")", ")", ";", "peer", "to", "peer", "communication", "failure", "spi", "fail", "(", "matrix", ")", ";", "wait", "for", "topology", "(", "5", ")", ";" ]
[ "adds", "connection", "between", "nodes", "{" ]
[ "available", "connections", "compute", "if", "absent", "(", "from", "id", "(", ")", ",", "s", "-", ">", "new", "hash", "set", "<", ">", "(", ")", ")", "add", "(", "to", "id", "(", ")", ")", ";" ]
[ "removes", "connection", "between", "nodes", "{" ]
[ "available", "connections", "get", "or", "default", "(", "from", "id", "(", ")", ",", "collections", "empty", "set", "(", ")", ")", "remove", "(", "to", "id", "(", ")", ")", ";" ]
[ "adds", "connections", "between", "all", "nodes", "presented", "in", "given", "{", "@", "code", "node", "set", "}" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "node", "set", "size", "(", ")", ";", "i", "+", "+", ")", "{", "for", "(", "int", "j", "=", "0", ";", "j", "<", "node", "set", "size", "(", ")", ";", "j", "+", "+", ")", "{", "if", "(", "i", "=", "=", "j", ")", "continue", ";", "add", "connection", "(", "node", "set", "get", "(", "i", ")", ",", "node", "set", "get", "(", "j", ")", ")", ";", "}", "}" ]
[ "builds", "connections", "failure", "matrix", "from", "two", "part", "of", "the", "cluster", "nodes", "each", "part", "has", "all", "connections", "inside", "but", "hasn", "t", "any", "connection", "to", "another", "part" ]
[ "connections", "failure", "matrix", "matrix", "=", "new", "connections", "failure", "matrix", "(", ")", ";", "matrix", "add", "all", "(", "part", "1", ")", ";", "matrix", "add", "all", "(", "part", "2", ")", ";", "return", "matrix", ";" ]
[ "start", "failing", "connections", "according", "to", "given", "matrix", "{" ]
[ "matrix", "=", "with", ";", "failure", "=", "true", ";" ]
[ "resets", "failure", "matrix" ]
[ "failure", "=", "false", ";" ]
[ "@", "param", "nodes", "1", "nodes", "@", "param", "nodes", "2", "nodes", "to", "be", "compared", "with", "{", "@", "code", "nodes", "1", "}", "for", "equality" ]
[ "if", "(", "nodes", "1", "size", "(", ")", "!", "=", "nodes", "2", "size", "(", ")", ")", "return", "false", ";", "set", "<", "object", ">", "consistent", "ids", "1", "=", "nodes", "1", "stream", "(", ")", "map", "(", "cluster", "node", ":", ":", "consistent", "id", ")", "collect", "(", "collectors", "to", "set", "(", ")", ")", ";", "return", "nodes", "2", "stream", "(", ")", "map", "(", "cluster", "node", ":", ":", "consistent", "id", ")", "all", "match", "(", "consistent", "ids", "1", ":", ":", "contains", ")", ";" ]
[ "{" ]
[ "return", "data", ";" ]
[ "{" ]
[ "return", "false", ";" ]
[ "{" ]
[ "list", "<", "cluster", "node", ">", "nodes", "=", "ctx", "topology", "snapshot", "(", ")", ";", "assert", "true", "(", "nodes", "size", "(", ")", ">", "0", ")", ";", "for", "(", "cluster", "node", "node", ":", "nodes", ")", "{", "if", "(", "kill", "node", "orders", "contains", "(", "node", "order", "(", ")", ")", ")", "ctx", "kill", "node", "(", "node", ")", ";", "}" ]
[ "{" ]
[ "count", "down", "latch", "ping", "start", "latch", "=", "this", "ping", "start", "latch", ";", "if", "(", "ping", "start", "latch", "!", "=", "null", ")", "ping", "start", "latch", "count", "down", "(", ")", ";", "count", "down", "latch", "ping", "latch", "=", "this", "ping", "latch", ";", "try", "{", "if", "(", "ping", "latch", "!", "=", "null", ")", "ping", "latch", "await", "(", ")", ";", "}", "catch", "(", "interrupted", "exception", "e", ")", "{", "throw", "new", "ignite", "exception", "(", "e", ")", ";", "}", "bit", "set", "check", "res", "=", "this", "check", "res", ";", "if", "(", "check", "res", "!", "=", "null", ")", "{", "this", "check", "res", "=", "null", ";", "return", "new", "ignite", "finished", "future", "impl", "<", ">", "(", "check", "res", ")", ";", "}", "return", "super", "check", "connection", "(", "nodes", ")", ";" ]
[ "{" ]
[ "return", "id", ";" ]
[ "{" ]
[ "return", "create", "ack", "?", "new", "test", "fast", "stop", "process", "custom", "message", "ack", "(", "payload", ")", ":", "null", ";" ]
[ "{" ]
[ "return", "true", ";" ]
[ "{" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "{" ]
[ "if", "(", "this", "=", "=", "o", ")", "return", "true", ";", "if", "(", "o", "=", "=", "null", "|", "|", "get", "class", "(", ")", "!", "=", "o", "get", "class", "(", ")", ")", "return", "false", ";", "test", "fast", "stop", "process", "custom", "message", "that", "=", "(", "test", "fast", "stop", "process", "custom", "message", ")", "o", ";", "return", "create", "ack", "=", "=", "that", "create", "ack", "&", "&", "payload", "=", "=", "that", "payload", ";" ]
[ "{" ]
[ "return", "objects", "hash", "(", "create", "ack", ",", "payload", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "test", "fast", "stop", "process", "custom", "message", "class", ",", "this", ")", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "if", "(", "this", "=", "=", "o", ")", "return", "true", ";", "if", "(", "o", "=", "=", "null", "|", "|", "get", "class", "(", ")", "!", "=", "o", "get", "class", "(", ")", ")", "return", "false", ";", "test", "fast", "stop", "process", "custom", "message", "ack", "that", "=", "(", "test", "fast", "stop", "process", "custom", "message", "ack", ")", "o", ";", "return", "payload", "=", "=", "that", "payload", ";" ]
[ "{" ]
[ "return", "objects", "hash", "(", "payload", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "test", "fast", "stop", "process", "custom", "message", "ack", "class", ",", "this", ")", ";" ]
[ "copy", "the", "a", "-", "fields", "to", "b", "-", "fields", "the", "field", "b", "changed", "is", "kept", "to", "false" ]
[ "return", "new", "component", "update", "dto", "(", ")", "set", "uuid", "(", "from", "uuid", "(", ")", ")", "set", "b", "changed", "(", "false", ")", "set", "b", "copy", "component", "uuid", "(", "from", "get", "copy", "resource", "uuid", "(", ")", ")", "set", "b", "description", "(", "from", "description", "(", ")", ")", "set", "b", "enabled", "(", "from", "is", "enabled", "(", ")", ")", "set", "b", "uuid", "path", "(", "from", "get", "uuid", "path", "(", ")", ")", "set", "b", "language", "(", "from", "language", "(", ")", ")", "set", "b", "long", "name", "(", "from", "long", "name", "(", ")", ")", "set", "b", "module", "uuid", "(", "from", "module", "uuid", "(", ")", ")", "set", "b", "module", "uuid", "path", "(", "from", "module", "uuid", "path", "(", ")", ")", "set", "b", "name", "(", "from", "name", "(", ")", ")", "set", "b", "path", "(", "from", "path", "(", ")", ")", "set", "b", "qualifier", "(", "from", "qualifier", "(", ")", ")", ";" ]
[ "/", "*", "h", "=", "f", "+", "g", "can", "overlap", "h", "with", "f", "or", "g" ]
[ "int", "f", "0", "=", "f", "[", "0", "]", ";", "int", "f", "1", "=", "f", "[", "1", "]", ";", "int", "f", "2", "=", "f", "[", "2", "]", ";", "int", "f", "3", "=", "f", "[", "3", "]", ";", "int", "f", "4", "=", "f", "[", "4", "]", ";", "int", "f", "5", "=", "f", "[", "5", "]", ";", "int", "f", "6", "=", "f", "[", "6", "]", ";", "int", "f", "7", "=", "f", "[", "7", "]", ";", "int", "f", "8", "=", "f", "[", "8", "]", ";", "int", "f", "9", "=", "f", "[", "9", "]", ";", "int", "g", "0", "=", "g", "[", "0", "]", ";", "int", "g", "1", "=", "g", "[", "1", "]", ";", "int", "g", "2", "=", "g", "[", "2", "]", ";", "int", "g", "3", "=", "g", "[", "3", "]", ";", "int", "g", "4", "=", "g", "[", "4", "]", ";", "int", "g", "5", "=", "g", "[", "5", "]", ";", "int", "g", "6", "=", "g", "[", "6", "]", ";", "int", "g", "7", "=", "g", "[", "7", "]", ";", "int", "g", "8", "=", "g", "[", "8", "]", ";", "int", "g", "9", "=", "g", "[", "9", "]", ";", "int", "h", "0", "=", "f", "0", "+", "g", "0", ";", "int", "h", "1", "=", "f", "1", "+", "g", "1", ";", "int", "h", "2", "=", "f", "2", "+", "g", "2", ";", "int", "h", "3", "=", "f", "3", "+", "g", "3", ";", "int", "h", "4", "=", "f", "4", "+", "g", "4", ";", "int", "h", "5", "=", "f", "5", "+", "g", "5", ";", "int", "h", "6", "=", "f", "6", "+", "g", "6", ";", "int", "h", "7", "=", "f", "7", "+", "g", "7", ";", "int", "h", "8", "=", "f", "8", "+", "g", "8", ";", "int", "h", "9", "=", "f", "9", "+", "g", "9", ";", "h", "[", "0", "]", "=", "(", "int", ")", "h", "0", ";", "h", "[", "1", "]", "=", "(", "int", ")", "h", "1", ";", "h", "[", "2", "]", "=", "(", "int", ")", "h", "2", ";", "h", "[", "3", "]", "=", "(", "int", ")", "h", "3", ";", "h", "[", "4", "]", "=", "(", "int", ")", "h", "4", ";", "h", "[", "5", "]", "=", "(", "int", ")", "h", "5", ";", "h", "[", "6", "]", "=", "(", "int", ")", "h", "6", ";", "h", "[", "7", "]", "=", "(", "int", ")", "h", "7", ";", "h", "[", "8", "]", "=", "(", "int", ")", "h", "8", ";", "h", "[", "9", "]", "=", "(", "int", ")", "h", "9", ";" ]
[ "tests", "if", "this", "input", "stream", "supports", "the", "<", "code", ">", "mark", "<", "/", "code", ">", "and", "<", "code", ">", "reset", "<", "/", "code", ">", "methods", "which", "it", "does", "not" ]
[ "return", "false", ";" ]
[ "retrieve", "an", "external", "url", "for", "the", "jmx", "server" ]
[ "return", "service", "url", ";" ]
[ "retrieve", "a", "connection", "to", "m", "bean", "server" ]
[ "return", "service", "connection", ";" ]
[ "open", "a", "connection", "to", "remote", "jmx", "server" ]
[ "service", "url", "=", "url", ";", "j", "m", "x", "service", "u", "r", "l", "service", "url", "=", "new", "j", "m", "x", "service", "u", "r", "l", "(", "service", "url", ")", ";", "server", "connector", "=", "j", "m", "x", "connector", "factory", "connect", "(", "service", "url", ")", ";", "service", "connection", "=", "server", "connector", "get", "m", "bean", "server", "connection", "(", ")", ";" ]
[ "close", "the", "connections" ]
[ "try", "{", "if", "(", "server", "connector", "!", "=", "null", ")", "{", "server", "connector", "close", "(", ")", ";", "service", "connection", "=", "null", ";", "}", "if", "(", "connector", "server", "!", "=", "null", ")", "{", "connector", "server", "stop", "(", ")", ";", "connector", "server", "=", "null", ";", "}", "}", "catch", "(", "exception", "ex", ")", "{", "log", "debug", "(", "ex", ")", ";", "}" ]
[ "{" ]
[ "@", "public", "@", "unstable", "public", "abstract", "master", "key", "get", "current", "master", "key", "(", ")", ";" ]