docstring_tokens
list
code_tokens
list
[ "<", "p", ">", "the", "target", "type", "which", "defines", "the", "kinds", "of", "resources", "the", "document", "can", "run", "on", "for", "example", "/", "aws", ":", ":", "ec2", ":", ":", "instance", "for", "a", "list", "of", "valid", "resource", "types", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "cloud", "formation", "/", "latest", "/", "user", "guide", "/", "aws", "-", "template", "-", "resource", "-", "type", "-", "ref", "html", ">", "aws", "resource", "types", "reference", "<", "/", "a", ">", "in", "the", "<", "i", ">", "aws", "cloud", "formation", "user", "guide", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "set", "target", "type", "(", "target", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "tags", "or", "metadata", "that", "have", "been", "applied", "to", "the", "document", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "tags", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "tags", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "tags", "=", "=", "null", ")", "{", "set", "tags", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "tag", ">", "(", "tags", "length", ")", ")", ";", "}", "for", "(", "tag", "ele", ":", "tags", ")", "{", "this", "tags", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "tags", "or", "metadata", "that", "have", "been", "applied", "to", "the", "document", "<", "/", "p", ">" ]
[ "set", "tags", "(", "tags", ")", ";", "return", "this", ";" ]
[ "returns", "the", "object", "on", "which", "the", "event", "initially", "occurred" ]
[ "return", "name", ";" ]
[ "returns", "the", "event", "type", "{", "@", "link", "entry", "event", "type", "}" ]
[ "return", "cache", "event", "type", ";" ]
[ "implementations", "for", "object" ]
[ "return", "this", "=", "=", "object", "|", "|", "super", "equals", "(", "object", ")", "&", "&", "this", "value", "equals", "(", "(", "(", "converted", "character", "value", ")", "object", ")", "value", ")", ";" ]
[ "returns", "true", "if", "field", "build", "status", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "this", "build", "status", "!", "=", "null", ";" ]
[ "returns", "true", "if", "field", "corresponding", "to", "field", "i", "d", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "if", "(", "field", "=", "=", "null", ")", "{", "throw", "new", "java", "lang", "illegal", "argument", "exception", "(", ")", ";", "}", "switch", "(", "field", ")", "{", "case", "stampede", "id", ":", "return", "is", "set", "stampede", "id", "(", ")", ";", "case", "run", "id", ":", "return", "is", "set", "run", "id", "(", ")", ";", "case", "build", "status", ":", "return", "is", "set", "build", "status", "(", ")", ";", "}", "throw", "new", "java", "lang", "illegal", "state", "exception", "(", ")", ";" ]
[ "registers", "a", "material", "adapter", "for", "the", "given", "material", "name", "the", "material", "name", "must", "be", "pbr", "metallic", "roughness", "or", "any", "name", "from", "khr", "materials", "gl", "t", "f", "extension", "(", "for", "example", "pbr", "specular", "glossiness", "for", "khr", "materials", "pbr", "specular", "glossiness", "extension", ")" ]
[ "material", "adapters", "put", "(", "gltf", "material", "name", ",", "adapter", ")", ";" ]
[ "registers", "and", "extension", "loader", "for", "th", "given", "extension", "name", "for", "more", "information", "on", "extension", "please", "see", "gl", "t", "f", "2", "0", "extensions", "registry", "https", ":", "/", "/", "github", "com", "/", "khronos", "group", "/", "gl", "t", "f", "/", "blob", "/", "master", "/", "extensions", "/", "readme", "md" ]
[ "extension", "loaders", "put", "(", "extension", "name", ",", "loader", ")", ";" ]
[ "sets", "the", "extras", "loader", "for", "reading", "any", "extra", "information", "from", "the", "gltf", "file" ]
[ "this", "extras", "loader", "=", "extras", "loader", ";" ]
[ "sets", "up", "all", "dependencies", "before", "a", "test", "runs" ]
[ "m", "registry", "=", "new", "master", "registry", "(", ")", ";", "master", "context", "context", "=", "master", "test", "utils", "test", "master", "context", "(", ")", ";", "m", "metrics", "master", "=", "new", "metrics", "master", "factory", "(", ")", "create", "(", "m", "registry", ",", "context", ")", ";", "m", "registry", "add", "(", "metrics", "master", "class", ",", "m", "metrics", "master", ")", ";", "block", "master", "block", "master", "=", "new", "block", "master", "factory", "(", ")", "create", "(", "m", "registry", ",", "context", ")", ";", "inode", "directory", "id", "generator", "directory", "id", "generator", "=", "new", "inode", "directory", "id", "generator", "(", "block", "master", ")", ";", "ufs", "manager", "ufs", "manager", "=", "mock", "(", "ufs", "manager", "class", ")", ";", "mount", "table", "mount", "table", "=", "new", "mount", "table", "(", "ufs", "manager", ",", "mock", "(", "mount", "info", "class", ")", ")", ";", "m", "tree", "=", "new", "inode", "tree", "(", "block", "master", ",", "directory", "id", "generator", ",", "mount", "table", ")", ";", "m", "registry", "start", "(", "true", ")", ";", "m", "tree", "initialize", "root", "(", "test", "owner", ",", "test", "group", ",", "test", "dir", "mode", ",", "noop", "journal", "context", "instance", ")", ";" ]
[ "sets", "up", "dependencies", "before", "a", "single", "test", "runs" ]
[ "s", "file", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "block", "size", "bytes", "(", "constants", "kb", ")", "set", "owner", "(", "test", "owner", ")", "set", "group", "(", "test", "group", ")", "set", "mode", "(", "test", "file", "mode", ")", ";", "s", "directory", "options", "=", "create", "directory", "options", "defaults", "(", ")", "set", "owner", "(", "test", "owner", ")", "set", "group", "(", "test", "group", ")", "set", "mode", "(", "test", "dir", "mode", ")", ";", "s", "nested", "file", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "block", "size", "bytes", "(", "constants", "kb", ")", "set", "owner", "(", "test", "owner", ")", "set", "group", "(", "test", "group", ")", "set", "mode", "(", "test", "file", "mode", ")", "set", "recursive", "(", "true", ")", ";", "s", "nested", "directory", "options", "=", "create", "directory", "options", "defaults", "(", ")", "set", "owner", "(", "test", "owner", ")", "set", "group", "(", "test", "group", ")", "set", "mode", "(", "test", "dir", "mode", ")", "set", "recursive", "(", "true", ")", ";" ]
[ "tests", "{" ]
[ "assert", "true", "(", "m", "tree", "inode", "id", "exists", "(", "0", ")", ")", ";", "assert", "false", "(", "m", "tree", "inode", "id", "exists", "(", "1", ")", ")", ";", "create", "path", "(", "m", "tree", ",", "test", "uri", ",", "s", "file", "options", ")", ";", "inode", "view", "inode", "=", "get", "inode", "by", "path", "(", "m", "tree", ",", "test", "uri", ")", ";", "assert", "true", "(", "m", "tree", "inode", "id", "exists", "(", "inode", "get", "id", "(", ")", ")", ")", ";", "delete", "inode", "by", "path", "(", "m", "tree", ",", "test", "uri", ")", ";", "assert", "false", "(", "m", "tree", "inode", "id", "exists", "(", "inode", "get", "id", "(", ")", ")", ")", ";" ]
[ "tests", "{" ]
[ "assert", "false", "(", "m", "tree", "inode", "path", "exists", "(", "test", "uri", ")", ")", ";", "create", "path", "(", "m", "tree", ",", "test", "uri", ",", "s", "file", "options", ")", ";", "assert", "true", "(", "m", "tree", "inode", "path", "exists", "(", "test", "uri", ")", ")", ";", "delete", "inode", "by", "path", "(", "m", "tree", ",", "test", "uri", ")", ";", "assert", "false", "(", "m", "tree", "inode", "path", "exists", "(", "test", "uri", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "assert", "true", "(", "m", "tree", "is", "root", "id", "(", "0", ")", ")", ";", "assert", "false", "(", "m", "tree", "is", "root", "id", "(", "1", ")", ")", ";" ]
[ "helper", "to", "create", "a", "path" ]
[ "try", "(", "locked", "inode", "path", "inode", "path", "=", "root", "lock", "inode", "path", "(", "path", ",", "inode", "tree", "lock", "mode", "write", ")", ")", "{", "return", "root", "create", "path", "(", "rpc", "context", "noop", ",", "inode", "path", ",", "options", ")", ";", "}" ]
[ "helper", "to", "get", "an", "inode", "by", "path", "the", "inode", "is", "unlocked", "before", "returning" ]
[ "try", "(", "locked", "inode", "path", "inode", "path", "=", "root", "lock", "full", "inode", "path", "(", "path", ",", "inode", "tree", "lock", "mode", "read", ")", ")", "{", "return", "inode", "path", "get", "inode", "(", ")", ";", "}" ]
[ "helper", "to", "delete", "an", "inode", "by", "path" ]
[ "try", "(", "locked", "inode", "path", "inode", "path", "=", "root", "lock", "full", "inode", "path", "(", "path", ",", "inode", "tree", "lock", "mode", "write", ")", ")", "{", "root", "delete", "inode", "(", "rpc", "context", "noop", ",", "inode", "path", ",", "system", "current", "time", "millis", "(", ")", ")", ";", "}" ]
[ "helper", "for", "verifying", "that", "correct", "objects", "were", "journaled", "to", "the", "output", "stream" ]
[ "iterator", "<", "alluxio", "proto", "journal", "journal", "journal", "entry", ">", "it", "=", "root", "get", "journal", "entry", "iterator", "(", ")", ";", "for", "(", "inode", "view", "node", ":", "journaled", ")", "{", "assert", "true", "(", "it", "has", "next", "(", ")", ")", ";", "assert", "equals", "(", "node", "to", "journal", "entry", "(", ")", ",", "it", "next", "(", ")", ")", ";", "}", "assert", "true", "(", "!", "it", "has", "next", "(", ")", ")", ";" ]
[ "verify", "that", "the", "tree", "has", "the", "given", "children" ]
[ "try", "(", "locked", "inode", "path", "list", "children", "path", "=", "tree", "lock", "descendants", "(", "inode", "path", ",", "inode", "tree", "lock", "mode", "read", ")", ")", "{", "assert", "equals", "(", "child", "names", "size", "(", ")", ",", "children", "path", "get", "inode", "path", "list", "(", ")", "size", "(", ")", ")", ";", "for", "(", "locked", "inode", "path", "child", "path", ":", "children", "path", "get", "inode", "path", "list", "(", ")", ")", "{", "assert", "true", "(", "child", "names", "contains", "(", "child", "path", "get", "inode", "(", ")", "get", "name", "(", ")", ")", ")", ";", "}", "}" ]
[ "delete", "was", "clicked" ]
[ "final", "password", "u", "i", "view", "password", "u", "i", "view", "=", "new", "password", "u", "i", "view", "(", ")", ";", "final", "password", "list", "observer", "password", "deleter", "=", "new", "password", "list", "observer", "(", ")", "{", "@", "override", "public", "void", "password", "list", "available", "(", "int", "count", ")", "{", "if", "(", "!", "m", "exception", ")", "{", "password", "u", "i", "view", "remove", "saved", "password", "entry", "(", "m", "i", "d", ")", ";", "password", "u", "i", "view", "destroy", "(", ")", ";", "get", "activity", "(", ")", "finish", "(", ")", ";", "}", "}", "@", "override", "public", "void", "password", "exception", "list", "available", "(", "int", "count", ")", "{", "if", "(", "m", "exception", ")", "{", "password", "u", "i", "view", "remove", "saved", "password", "exception", "(", "m", "i", "d", ")", ";", "password", "u", "i", "view", "destroy", "(", ")", ";", "get", "activity", "(", ")", "finish", "(", ")", ";", "}", "}", "}", ";", "password", "u", "i", "view", "add", "observer", "(", "password", "deleter", ")", ";", "password", "u", "i", "view", "update", "password", "lists", "(", ")", ";" ]
[ "returns", "style", "information", "-", "array", "of", "int", "triplets", "where", "in", "each", "triplet", ":", "*", "first", "int", "is", "index", "of", "tag", "name", "(", "b", "i", "etc", ")", "*", "second", "int", "is", "tag", "start", "index", "in", "string", "*", "third", "int", "is", "tag", "end", "index", "in", "string" ]
[ "if", "(", "m", "style", "offsets", "=", "=", "null", "|", "|", "m", "styles", "=", "=", "null", "|", "|", "index", ">", "=", "m", "style", "offsets", "length", ")", "{", "return", "null", ";", "}", "int", "offset", "=", "m", "style", "offsets", "[", "index", "]", "/", "4", ";", "int", "style", "[", "]", ";", "{", "int", "count", "=", "0", ";", "for", "(", "int", "i", "=", "offset", ";", "i", "<", "m", "styles", "length", ";", "+", "+", "i", ")", "{", "if", "(", "m", "styles", "[", "i", "]", "=", "=", "-", "1", ")", "{", "break", ";", "}", "count", "+", "=", "1", ";", "}", "if", "(", "count", "=", "=", "0", "|", "|", "(", "count", "%", "3", ")", "!", "=", "0", ")", "{", "return", "null", ";", "}", "style", "=", "new", "int", "[", "count", "]", ";", "}", "for", "(", "int", "i", "=", "offset", ",", "j", "=", "0", ";", "i", "<", "m", "styles", "length", ";", ")", "{", "if", "(", "m", "styles", "[", "i", "]", "=", "=", "-", "1", ")", "{", "break", ";", "}", "style", "[", "j", "+", "+", "]", "=", "m", "styles", "[", "i", "+", "+", "]", ";", "}", "return", "style", ";" ]
[ "asserts", "that", "the", "correct", "implementation", "of", "{", "@", "link", "master", "secret", "validator", "}", "is", "returned", "per", "the", "java", "version" ]
[ "assert", "that", "(", "master", "secret", "validators", "get", "master", "secret", "validator", "(", "java", "version", ")", ",", "instance", "of", "(", "master", "secret", "validator", "impl", ")", ")", ";" ]
[ "prepares", "the", "player", "for", "playback", "see", "{" ]
[ "public", "abstract", "void", "prepare", "(", ")", ";" ]
[ "returns", "the", "count", "of", "spans", "evicted" ]
[ "int", "spans", "evicted", "=", "0", ";", "while", "(", "spans", "to", "recover", ">", "0", ")", "{", "int", "spans", "in", "oldest", "trace", "=", "delete", "oldest", "trace", "(", ")", ";", "spans", "to", "recover", "-", "=", "spans", "in", "oldest", "trace", ";", "spans", "evicted", "+", "=", "spans", "in", "oldest", "trace", ";", "}", "return", "spans", "evicted", ";" ]
[ "returns", "the", "count", "of", "spans", "evicted" ]
[ "int", "spans", "evicted", "=", "0", ";", "string", "low", "trace", "id", "=", "spans", "by", "trace", "id", "time", "stamp", "delegate", "last", "key", "(", ")", "low", "trace", "id", ";", "collection", "<", "trace", "id", "timestamp", ">", "trace", "id", "time", "stamps", "=", "trace", "id", "to", "trace", "id", "time", "stamps", "remove", "(", "low", "trace", "id", ")", ";", "for", "(", "iterator", "<", "trace", "id", "timestamp", ">", "trace", "id", "time", "stamp", "iter", "=", "trace", "id", "time", "stamps", "iterator", "(", ")", ";", "trace", "id", "time", "stamp", "iter", "has", "next", "(", ")", ";", ")", "{", "trace", "id", "timestamp", "trace", "id", "time", "stamp", "=", "trace", "id", "time", "stamp", "iter", "next", "(", ")", ";", "collection", "<", "span", ">", "spans", "=", "spans", "by", "trace", "id", "time", "stamp", "remove", "(", "trace", "id", "time", "stamp", ")", ";", "spans", "evicted", "+", "=", "spans", "size", "(", ")", ";", "}", "if", "(", "search", "enabled", ")", "{", "for", "(", "string", "orphaned", "service", ":", "service", "to", "trace", "ids", "remove", "service", "if", "trace", "id", "(", "low", "trace", "id", ")", ")", "{", "service", "to", "span", "names", "remove", "(", "orphaned", "service", ")", ";", "}", "}", "return", "spans", "evicted", ";" ]
[ "used", "for", "testing", "returns", "all", "traces", "unconditionally" ]
[ "list", "<", "list", "<", "span", ">", ">", "result", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "string", "low", "trace", "id", ":", "trace", "id", "to", "trace", "id", "time", "stamps", "key", "set", "(", ")", ")", "{", "list", "<", "span", ">", "same", "trace", "id", "=", "spans", "by", "trace", "id", "(", "low", "trace", "id", ")", ";", "if", "(", "strict", "trace", "id", ")", "{", "result", "add", "all", "(", "strict", "by", "trace", "id", "(", "same", "trace", "id", ")", ")", ";", "}", "else", "{", "result", "add", "(", "same", "trace", "id", ")", ";", "}", "}", "return", "result", ";" ]
[ "used", "for", "testing", "returns", "all", "dependency", "links", "unconditionally" ]
[ "return", "link", "dependencies", "instance", "map", "(", "get", "traces", "(", ")", ")", ";" ]
[ "returns", "service", "names", "orphaned", "by", "removing", "the", "trace", "id" ]
[ "set", "<", "string", ">", "result", "=", "new", "linked", "hash", "set", "<", ">", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "collection", "<", "string", ">", ">", "entry", ":", "delegate", "entry", "set", "(", ")", ")", "{", "collection", "<", "string", ">", "low", "trace", "ids", "=", "entry", "get", "value", "(", ")", ";", "if", "(", "low", "trace", "ids", "remove", "(", "low", "trace", "id", ")", "&", "&", "low", "trace", "ids", "is", "empty", "(", ")", ")", "{", "result", "add", "(", "entry", "get", "key", "(", ")", ")", ";", "}", "}", "delegate", "key", "set", "(", ")", "remove", "all", "(", "result", ")", ";", "return", "result", ";" ]
[ "/", "*", "read", "data", "from", "the", "current", "offset", "returns", "the", "actual", "number", "of", "bytes", "read", "0", "on", "eof", "or", "-", "1", "on", "error" ]
[ "public", "abstract", "int", "read", "(", "byte", "[", "]", "buf", ",", "int", "buf", "offset", ",", "int", "count", ")", ";" ]
[ "/", "*", "seek", "to", "the", "specified", "offset", "whence", "uses", "the", "same", "values", "as", "lseek", "/", "fseek", "returns", "the", "new", "position", "on", "success", "or", "(", "long", ")", "-", "1", "on", "failure" ]
[ "public", "abstract", "long", "seek", "(", "long", "offset", ",", "int", "whence", ")", ";" ]
[ "/", "*", "get", "a", "pointer", "to", "a", "buffer", "with", "the", "entire", "contents", "of", "the", "file" ]
[ "public", "abstract", "byte", "[", "]", "get", "buffer", "(", "boolean", "word", "aligned", ")", ";" ]
[ "/", "*", "get", "the", "total", "amount", "of", "data", "that", "can", "be", "read" ]
[ "public", "abstract", "long", "get", "length", "(", ")", ";" ]
[ "/", "*", "get", "the", "total", "amount", "of", "data", "that", "can", "be", "read", "from", "the", "current", "position" ]
[ "public", "abstract", "long", "get", "remaining", "length", "(", ")", ";" ]
[ "/", "*", "open", "a", "new", "file", "descriptor", "that", "can", "be", "used", "to", "read", "this", "asset", "returns", "-", "1", "if", "you", "can", "not", "use", "the", "file", "descriptor", "(", "for", "example", "if", "the", "asset", "is", "compressed", ")" ]
[ "public", "abstract", "file", "descriptor", "open", "file", "descriptor", "(", "ref", "<", "long", ">", "out", "start", ",", "ref", "<", "long", ">", "out", "length", ")", ";" ]
[ "/", "*", "return", "whether", "this", "asset", "s", "buffer", "is", "allocated", "in", "ram", "(", "not", "mmapped", ")", "note", ":", "not", "virtual", "so", "it", "is", "safe", "to", "call", "even", "when", "being", "destroyed" ]
[ "abstract", "boolean", "is", "allocated", "(", ")", ";" ]
[ "/", "*", "get", "a", "string", "identifying", "the", "asset", "s", "source", "this", "might", "be", "a", "full", "path", "it", "might", "be", "a", "colon", "-", "separated", "list", "of", "identifiers" ]
[ "return", "m", "asset", "source", "string", "(", ")", ";" ]
[ "/", "*", "set", "the", "asset", "source", "string" ]
[ "m", "asset", "source", "=", "path", ";" ]
[ "/", "*", "create", "a", "new", "asset", "from", "a", "memory", "mapping" ]
[ "file", "asset", "p", "asset", ";", "int", "result", ";", "p", "asset", "=", "new", "file", "asset", "(", ")", ";", "result", "=", "p", "asset", "open", "chunk", "(", "data", "map", ")", ";", "if", "(", "result", "!", "=", "no", "error", ")", "return", "null", ";", "p", "asset", "m", "access", "mode", "=", "mode", ";", "return", "p", "asset", ";" ]
[ "/", "*", "create", "a", "new", "asset", "from", "compressed", "data", "in", "a", "memory", "mapping" ]
[ "compressed", "asset", "p", "asset", ";", "int", "result", ";", "p", "asset", "=", "new", "compressed", "asset", "(", ")", ";", "result", "=", "p", "asset", "open", "chunk", "(", "data", "map", ",", "uncompressed", "len", ")", ";", "if", "(", "result", "!", "=", "no", "error", ")", "return", "null", ";", "p", "asset", "m", "access", "mode", "=", "mode", ";", "return", "p", "asset", ";" ]
[ "virtual", "final", "void", "*", "get", "buffer", "(", "boolean", "word", "aligned", ")", ";" ]
[ "return", "m", "uncompressed", "len", ";" ]
[ "returns", "true", "if", "the", "task", "has", "started", "false", "in", "case", "it", "didn", "t", "start", "(", "yet", "?", ")", "or", "it", "was", "skipped" ]
[ "return", "task", "state", "get", "(", ")", "=", "=", "task", "state", "started", ";" ]
[ "returns", "true", "if", "the", "task", "was", "set", "to", "be", "skipped", "before", "it", "was", "started" ]
[ "return", "task", "state", "get", "(", ")", "=", "=", "task", "state", "skipped", ";" ]
[ "returns", "a", "new", "{", "@", "link", "sniffer", "builder", "}", "to", "help", "with", "{", "@", "link", "sniffer", "}", "creation" ]
[ "return", "new", "sniffer", "builder", "(", "rest", "client", ")", ";" ]
[ "creates", "the", "{" ]
[ "return", "new", "jms", "binding", "(", "is", "map", "jms", "message", "(", ")", ",", "is", "allow", "null", "body", "(", ")", ",", "get", "header", "filter", "strategy", "(", ")", ",", "get", "jms", "key", "format", "strategy", "(", ")", ",", "get", "message", "created", "strategy", "(", ")", ")", ";" ]
[ "whether", "to", "include", "all", "j", "m", "s", "xxxx", "properties", "when", "mapping", "from", "jms", "to", "camel", "message", "setting", "this", "to", "true", "will", "include", "properties", "such", "as", "j", "m", "s", "x", "app", "i", "d", "and", "j", "m", "s", "x", "user", "i", "d", "etc", "note", ":", "if", "you", "are", "using", "a", "custom", "header", "filter", "strategy", "then", "this", "option", "does", "not", "apply" ]
[ "this", "include", "all", "j", "m", "s", "x", "properties", "=", "include", "all", "j", "m", "s", "x", "properties", ";" ]
[ "initializes", "the", "connection", "resource", "for", "the", "endpoint", "which", "takes", "precedence", "over", "the", "component", "s", "connection", "resource", "if", "any" ]
[ "this", "connection", "resource", "=", "endpoint", "helper", "resolve", "reference", "parameter", "(", "get", "camel", "context", "(", ")", ",", "connection", "resource", ",", "connection", "resource", "class", ")", ";" ]
[ "the", "jms", "acknowledgement", "name", "which", "is", "one", "of", ":", "session", "transacted", "client", "acknowledge", "auto", "acknowledge", "dups", "ok", "acknowledge" ]
[ "this", "acknowledgement", "mode", "=", "acknowledgement", "mode", ";" ]
[ "returns", "the", "number", "of", "session", "instances", "expected", "on", "this", "endpoint" ]
[ "return", "session", "count", ";" ]
[ "sets", "the", "number", "of", "session", "instances", "used", "for", "this", "endpoint", "value", "is", "ignored", "for", "endpoints", "that", "require", "a", "dedicated", "session", "such", "as", "a", "transacted", "or", "in", "out", "endpoint" ]
[ "this", "session", "count", "=", "session", "count", ";" ]
[ "sets", "the", "number", "of", "producers", "used", "for", "this", "endpoint" ]
[ "this", "producer", "count", "=", "producer", "count", ";" ]
[ "the", "number", "of", "jms", "sessions", "to", "consume", "from" ]
[ "this", "consumer", "count", "=", "consumer", "count", ";" ]
[ "sets", "the", "durable", "subscription", "id", "required", "for", "durable", "topics" ]
[ "this", "durable", "subscription", "id", "=", "durable", "subscription", "id", ";" ]
[ "sets", "the", "amount", "of", "time", "we", "should", "wait", "before", "timing", "out", "a", "in", "out", "response" ]
[ "this", "response", "time", "out", "=", "response", "time", "out", ";" ]
[ "if", "transacted", "sets", "the", "number", "of", "messages", "to", "process", "before", "committing", "a", "transaction" ]
[ "this", "transaction", "batch", "count", "=", "transaction", "batch", "count", ";" ]
[ "sets", "timeout", "(", "in", "millis", ")", "for", "batch", "transactions", "the", "value", "should", "be", "1000", "or", "higher" ]
[ "if", "(", "transaction", "batch", "timeout", ">", "=", "1000", ")", "{", "this", "transaction", "batch", "timeout", "=", "transaction", "batch", "timeout", ";", "}" ]
[ "sets", "the", "commit", "strategy" ]
[ "this", "transaction", "commit", "strategy", "=", "transaction", "commit", "strategy", ";" ]
[ "specifies", "whether", "to", "use", "transacted", "mode" ]
[ "if", "(", "transacted", ")", "{", "set", "acknowledgement", "mode", "(", "session", "acknowledgement", "type", "session", "transacted", ")", ";", "}", "this", "transacted", "=", "transacted", ";" ]
[ "sets", "the", "reply", "to", "destination", "name", "used", "for", "in", "out", "producer", "endpoints" ]
[ "this", "named", "reply", "to", "=", "named", "reply", "to", ";", "this", "set", "exchange", "pattern", "(", "exchange", "pattern", "in", "out", ")", ";" ]
[ "whether", "to", "stop", "the", "jms", "consumer", "message", "listener", "asynchronously", "when", "stopping", "a", "route" ]
[ "this", "async", "stop", "listener", "=", "async", "stop", "listener", ";" ]
[ "whether", "to", "prefill", "the", "producer", "connection", "pool", "on", "startup", "or", "create", "connections", "lazy", "when", "needed" ]
[ "this", "prefill", "pool", "=", "prefill", "pool", ";" ]
[ "to", "use", "a", "custom", "destination", "creation", "strategy" ]
[ "this", "destination", "creation", "strategy", "=", "destination", "creation", "strategy", ";" ]
[ "specifies", "whether", "camel", "should", "auto", "map", "the", "received", "jms", "message", "to", "a", "suited", "payload", "type", "such", "as", "javax", "jms", "text", "message", "to", "a", "string", "etc", "see", "section", "about", "how", "mapping", "works", "below", "for", "more", "details" ]
[ "this", "map", "jms", "message", "=", "map", "jms", "message", ";" ]
[ "pluggable", "strategy", "for", "encoding", "and", "decoding", "jms", "keys", "so", "they", "can", "be", "compliant", "with", "the", "jms", "specification", "camel", "provides", "two", "implementations", "out", "of", "the", "box", ":", "default", "and", "passthrough", "the", "default", "strategy", "will", "safely", "marshal", "dots", "and", "hyphens", "(", "and", "-", ")", "the", "passthrough", "strategy", "leaves", "the", "key", "as", "is", "can", "be", "used", "for", "jms", "brokers", "which", "do", "not", "care", "whether", "jms", "header", "keys", "contain", "illegal", "characters", "you", "can", "provide", "your", "own", "implementation", "of", "the", "org", "apache", "camel", "component", "jms", "jms", "key", "format", "strategy", "and", "refer", "to", "it", "using", "the", "#", "notation" ]
[ "this", "jms", "key", "format", "strategy", "=", "jms", "key", "format", "strategy", ";" ]
[ "initializes", "the", "connection", "factory", "for", "the", "endpoint", "which", "takes", "precedence", "over", "the", "component", "s", "connection", "factory", "if", "any" ]
[ "this", "connection", "factory", "=", "endpoint", "helper", "resolve", "reference", "parameter", "(", "get", "camel", "context", "(", ")", ",", "connection", "factory", ",", "connection", "factory", "class", ")", ";" ]
[ "allows", "to", "control", "whether", "stacktraces", "should", "be", "logged", "or", "not", "by", "the", "default", "error", "handler" ]
[ "this", "error", "handler", "log", "stack", "trace", "=", "error", "handler", "log", "stack", "trace", ";" ]
[ "to", "use", "a", "custom", "jms", "object", "factory" ]
[ "this", "jms", "object", "factory", "=", "jms", "object", "factory", ";" ]
[ "now", "-", "started", "at" ]
[ "long", "started", "at", "=", "dto", "get", "started", "at", "(", ")", ";", "if", "(", "started", "at", "=", "=", "null", ")", "{", "return", "null", ";", "}", "return", "system", "2", "now", "(", ")", "-", "started", "at", ";" ]
[ "tests", "{" ]
[ "double", "[", "]", "[", "]", "data", "=", "new", "double", "[", "]", "[", "]", "{", "{", "1", ",", "2", ",", "3", "}", ",", "{", "1", ",", "4", ",", "8", "}", ",", "{", "1", ",", "8", ",", "16", "}", ",", "}", ";", "binarization", "preprocessor", "<", "integer", ",", "double", "[", "]", ">", "preprocessor", "=", "new", "binarization", "preprocessor", "<", ">", "(", "7", ",", "(", "k", ",", "v", ")", "-", ">", "vector", "utils", "of", "(", "v", ")", ")", ";", "double", "[", "]", "[", "]", "post", "processed", "data", "=", "new", "double", "[", "]", "[", "]", "{", "{", "0", ",", "0", ",", "0", "}", ",", "{", "0", ",", "0", ",", "1", "}", ",", "{", "0", ",", "1", ",", "1", "}", "}", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "data", "length", ";", "i", "+", "+", ")", "assert", "array", "equals", "(", "post", "processed", "data", "[", "i", "]", ",", "preprocessor", "apply", "(", "i", ",", "data", "[", "i", "]", ")", "as", "array", "(", ")", ",", "1e", "-", "8", ")", ";" ]
[ "<", "p", ">", "unique", "case", "-", "sensitive", "identifier", "that", "you", "provide", "to", "ensure", "the", "idempotency", "of", "the", "request", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "awsec2", "/", "latest", "/", "user", "guide", "/", "run", "instance", "idempotency", "html", ">", "how", "to", "ensure", "idempotency", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "client", "token", "(", "client", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "vpc", "for", "which", "to", "create", "the", "egress", "-", "only", "internet", "gateway", "<", "/", "p", ">" ]
[ "set", "vpc", "id", "(", "vpc", "id", ")", ";", "return", "this", ";" ]
[ "returns", "the", "initial", "state", "from", "{" ]
[ "abstract", "int", "[", "]", "create", "initial", "state", "(", "final", "int", "[", "]", "nonce", ",", "int", "counter", ")", ";" ]
[ "the", "size", "of", "the", "randomly", "generated", "nonces" ]
[ "abstract", "int", "nonce", "size", "in", "bytes", "(", ")", ";" ]
[ "https", ":", "/", "/", "tools", "ietf", "org", "/", "html", "/", "rfc", "8", "4", "3", "9", "#", "section", "-", "2", "3" ]
[ "int", "[", "]", "state", "=", "create", "initial", "state", "(", "to", "int", "array", "(", "nonce", ")", ",", "counter", ")", ";", "int", "[", "]", "working", "state", "=", "state", "clone", "(", ")", ";", "shuffle", "state", "(", "working", "state", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "state", "length", ";", "i", "+", "+", ")", "{", "state", "[", "i", "]", "+", "=", "working", "state", "[", "i", "]", ";", "}", "byte", "buffer", "out", "=", "byte", "buffer", "allocate", "(", "block", "size", "in", "bytes", ")", "order", "(", "byte", "order", "little", "endian", ")", ";", "out", "as", "int", "buffer", "(", ")", "put", "(", "state", ",", "0", ",", "block", "size", "in", "ints", ")", ";", "return", "out", ";" ]
[ "<", "p", ">", "a", "section", "of", "the", "response", "body", "that", "provides", "information", "about", "the", "pipeline", "associated", "with", "this", "notification", "<", "/", "p", ">" ]
[ "set", "pipeline", "(", "pipeline", ")", ";", "return", "this", ";" ]
[ "longs", "tend", "to", "get", "converted", "back", "to", "integers", "due", "to", "json", "serialization", "convert", "them", "back" ]
[ "for", "(", "table", "row", "entry", "entry", ":", "table", "row", "entry", "set", "(", ")", ")", "{", "if", "(", "entry", "get", "value", "(", ")", "instanceof", "integer", ")", "{", "entry", "set", "value", "(", "long", "value", "of", "(", "(", "integer", ")", "entry", "get", "value", "(", ")", ")", ")", ";", "}", "}", "return", "table", "row", ";" ]
[ "returns", "true", "if", "this", "target", "should", "be", "retained" ]
[ "@", "thread", "safety", "thread", "safe", "public", "abstract", "boolean", "should", "retain", "(", "target", "target", ",", "boolean", "explicit", ")", ";" ]
[ "helper", "method", "to", "access", "package", "private", "method", "to", "set", "datagram", "socket", "needed", "for", "unit", "test" ]
[ "ganglia", "sink", "set", "datagram", "socket", "(", "datagram", "socket", ")", ";" ]
[ "basically", "it", "works", "as", "low", "and", "high", "values", "were", "the", "same", "for", "source", "and", "filtering", "source", "and", "just", "looks", "at", "n", "d", "vs" ]
[ "return", "compute", "(", "source", "stats", ",", "filtering", "source", "stats", ",", "source", "join", "symbol", ",", "filtering", "source", "join", "symbol", ",", "(", "source", "join", "symbol", "stats", ",", "filtering", "source", "join", "symbol", "stats", ")", "-", ">", "min", "(", "filtering", "source", "join", "symbol", "stats", "get", "distinct", "values", "count", "(", ")", ",", "source", "join", "symbol", "stats", "get", "distinct", "values", "count", "(", ")", ")", ")", ";" ]
[ "server", "http", "response", "delegation", "methods" ]
[ "return", "get", "delegate", "(", ")", "set", "status", "code", "(", "status", ")", ";" ]
[ "new", "redis", "template" ]
[ "val", "template", "=", "new", "redis", "template", "<", "k", ",", "v", ">", "(", ")", ";", "val", "string", "=", "new", "string", "redis", "serializer", "(", ")", ";", "val", "jdk", "=", "new", "jdk", "serialization", "redis", "serializer", "(", ")", ";", "template", "set", "key", "serializer", "(", "string", ")", ";", "template", "set", "value", "serializer", "(", "jdk", ")", ";", "template", "set", "hash", "value", "serializer", "(", "jdk", ")", ";", "template", "set", "hash", "key", "serializer", "(", "string", ")", ";", "template", "set", "connection", "factory", "(", "connection", "factory", ")", ";", "return", "template", ";" ]
[ "new", "redis", "connection", "factory" ]
[ "val", "pool", "config", "=", "redis", "get", "pool", "(", ")", "!", "=", "null", "?", "redis", "pool", "config", "(", "redis", ")", ":", "lettuce", "pooling", "client", "configuration", "default", "configuration", "(", ")", ";", "val", "sentinel", "configuration", "=", "redis", "get", "sentinel", "(", ")", "=", "=", "null", "?", "null", ":", "potentially", "get", "sentinel", "config", "(", "redis", ")", ";", "val", "standalone", "config", "=", "new", "redis", "standalone", "configuration", "(", "redis", "get", "host", "(", ")", ",", "redis", "get", "port", "(", ")", ")", ";", "standalone", "config", "set", "database", "(", "redis", "get", "database", "(", ")", ")", ";", "if", "(", "string", "utils", "has", "text", "(", "redis", "get", "password", "(", ")", ")", ")", "{", "standalone", "config", "set", "password", "(", "redis", "password", "of", "(", "redis", "get", "password", "(", ")", ")", ")", ";", "}", "val", "factory", "=", "sentinel", "configuration", "!", "=", "null", "?", "new", "lettuce", "connection", "factory", "(", "sentinel", "configuration", ",", "pool", "config", ")", ":", "new", "lettuce", "connection", "factory", "(", "standalone", "config", ")", ";", "factory", "set", "host", "name", "(", "redis", "get", "host", "(", ")", ")", ";", "factory", "set", "port", "(", "redis", "get", "port", "(", ")", ")", ";", "if", "(", "string", "utils", "has", "text", "(", "redis", "get", "password", "(", ")", ")", ")", "{", "factory", "set", "password", "(", "redis", "get", "password", "(", ")", ")", ";", "}", "factory", "set", "database", "(", "redis", "get", "database", "(", ")", ")", ";", "if", "(", "redis", "get", "timeout", "(", ")", ">", "0", ")", "{", "factory", "set", "timeout", "(", "redis", "get", "timeout", "(", ")", ")", ";", "}", "factory", "set", "use", "ssl", "(", "redis", "is", "use", "ssl", "(", ")", ")", ";", "return", "factory", ";" ]
[ "<", "p", ">", "an", "identifier", "that", "was", "returned", "from", "the", "previous", "call", "to", "this", "operation", "which", "can", "be", "used", "to", "return", "the", "next", "set", "of", "items", "in", "the", "list", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "adds", "the", "given", "{", "@", "link", "managed", "}", "instance", "to", "the", "set", "of", "objects", "managed", "by", "the", "server", "s", "lifecycle", "when", "the", "server", "starts", "{", "@", "code", "managed", "}", "will", "be", "started", "when", "the", "server", "stops", "{", "@", "code", "managed", "}", "will", "be", "stopped" ]
[ "managed", "objects", "add", "(", "new", "jetty", "managed", "(", "require", "non", "null", "(", "managed", ")", ")", ")", ";" ]
[ "adds", "the", "given", "jetty", "{", "@", "link", "life", "cycle", "}", "instances", "to", "the", "server", "s", "lifecycle" ]
[ "managed", "objects", "add", "(", "require", "non", "null", "(", "managed", ")", ")", ";" ]
[ "gets", "the", "field", "at", "position", "i", "in", "the", "tuple", "returns", "object", "since", "tuples", "are", "dynamically", "typed" ]
[ "return", "delegate", "get", "value", "(", "i", ")", ";" ]
[ "returns", "the", "string", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "string", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "string", "(", "i", ")", ";" ]
[ "returns", "the", "integer", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "an", "integer", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "integer", "(", "i", ")", ";" ]
[ "returns", "the", "long", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "long", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "long", "(", "i", ")", ";" ]
[ "returns", "the", "boolean", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "boolean", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "boolean", "(", "i", ")", ";" ]
[ "returns", "the", "short", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "short", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "short", "(", "i", ")", ";" ]
[ "returns", "the", "byte", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "byte", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "byte", "(", "i", ")", ";" ]
[ "returns", "the", "double", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "double", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "double", "(", "i", ")", ";" ]
[ "returns", "the", "float", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "float", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "float", "(", "i", ")", ";" ]
[ "returns", "the", "byte", "array", "at", "position", "i", "in", "the", "tuple", "if", "that", "field", "is", "not", "a", "byte", "array", "you", "will", "get", "a", "runtime", "error" ]
[ "return", "delegate", "get", "binary", "(", "i", ")", ";" ]
[ "gets", "all", "the", "values", "in", "this", "tuple" ]
[ "return", "delegate", "get", "values", "(", ")", ";" ]
[ "gets", "the", "names", "of", "the", "fields", "in", "this", "tuple" ]
[ "return", "new", "fields", "(", "delegate", "get", "fields", "(", ")", ")", ";" ]
[ "returns", "a", "subset", "of", "the", "tuple", "based", "on", "the", "fields", "selector" ]
[ "return", "delegate", "select", "(", "selector", "get", "delegate", "(", ")", ")", ";" ]
[ "gets", "the", "id", "of", "the", "component", "that", "created", "this", "tuple" ]
[ "return", "delegate", "get", "source", "component", "(", ")", ";" ]