docstring_tokens
sequence
code_tokens
sequence
[ "getter", "for", "<", "code", ">", "public", "book", "store", "name", "<", "/", "code", ">" ]
[ "return", "(", "string", ")", "get", "(", "0", ")", ";" ]
[ "{" ]
[ "return", "(", "row", "1", ")", "super", "fields", "row", "(", ")", ";" ]
[ "{" ]
[ "return", "(", "row", "1", ")", "super", "values", "row", "(", ")", ";" ]
[ "{" ]
[ "return", "book", "store", "book", "store", "name", ";" ]
[ "{" ]
[ "return", "get", "name", "(", ")", ";" ]
[ "{" ]
[ "return", "get", "name", "(", ")", ";" ]
[ "{" ]
[ "set", "name", "(", "value", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "value", "1", "(", "value", "1", ")", ";", "return", "this", ";" ]
[ "initialize", "the", "document", "builder", "factory", "so", "that", "it", "can", "be", "reused", "and", "does", "not", "need", "to", "be", "reinitialized", "for", "each", "parse", "action" ]
[ "doc", "builder", "factory", "=", "document", "builder", "factory", "new", "instance", "(", ")", ";", "doc", "builder", "factory", "set", "ignoring", "comments", "(", "true", ")", ";", "doc", "builder", "factory", "set", "coalescing", "(", "true", ")", ";" ]
[ "parses", "a", "xml", "property", "list", "file" ]
[ "document", "builder", "doc", "builder", "=", "get", "doc", "builder", "(", ")", ";", "document", "doc", "=", "doc", "builder", "parse", "(", "f", ")", ";", "return", "parse", "(", "doc", ")", ";" ]
[ "parses", "a", "xml", "property", "list", "from", "a", "byte", "array" ]
[ "byte", "array", "input", "stream", "bis", "=", "new", "byte", "array", "input", "stream", "(", "bytes", ")", ";", "return", "parse", "(", "bis", ")", ";" ]
[ "parses", "a", "xml", "property", "list", "from", "an", "input", "stream" ]
[ "document", "builder", "doc", "builder", "=", "get", "doc", "builder", "(", ")", ";", "document", "doc", "=", "doc", "builder", "parse", "(", "is", ")", ";", "return", "parse", "(", "doc", ")", ";" ]
[ "returns", "all", "element", "nodes", "that", "are", "contained", "in", "a", "list", "of", "nodes" ]
[ "list", "<", "node", ">", "result", "=", "new", "array", "list", "<", "node", ">", "(", "list", "get", "length", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "list", "get", "length", "(", ")", ";", "i", "+", "+", ")", "{", "if", "(", "list", "item", "(", "i", ")", "get", "node", "type", "(", ")", "=", "=", "node", "element", "node", ")", "{", "result", "add", "(", "list", "item", "(", "i", ")", ")", ";", "}", "}", "return", "result", ";" ]
[ "determines", "the", "link", "to", "the", "given", "change", "set" ]
[ "public", "abstract", "url", "get", "change", "set", "link", "(", "e", "change", "set", ")", "throws", "i", "o", "exception", ";" ]
[ "returns", "all", "the", "registered", "{" ]
[ "return", "(", "descriptor", "extension", "list", ")", "jenkins", "get", "instance", "(", ")", "get", "descriptor", "list", "(", "repository", "browser", "class", ")", ";" ]
[ "{" ]
[ "write", "(", "b", ",", "0", ",", "b", "length", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "len", ")", ";", "system", "arraycopy", "(", "b", ",", "off", ",", "buf", ",", "write", "pos", ",", "len", ")", ";" ]
[ "{" ]
[ "write", "byte", "(", "val", ")", ";" ]
[ "{" ]
[ "write", "byte", "(", "val", "?", "(", "byte", ")", "1", ":", "(", "byte", ")", "0", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "1", ")", ";", "buf", "[", "write", "pos", "]", "=", "(", "byte", ")", "val", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "2", ")", ";", "grid", "unsafe", "put", "short", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "(", "short", ")", "val", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "2", ")", ";", "grid", "unsafe", "put", "char", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "(", "char", ")", "val", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "4", ")", ";", "grid", "unsafe", "put", "int", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "val", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "8", ")", ";", "grid", "unsafe", "put", "long", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "val", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "4", ")", ";", "grid", "unsafe", "put", "float", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "val", ")", ";" ]
[ "{" ]
[ "int", "write", "pos", "=", "ensure", "(", "8", ")", ";", "grid", "unsafe", "put", "double", "(", "buf", ",", "byte", "arr", "off", "+", "write", "pos", ",", "val", ")", ";" ]
[ "{" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "str", "length", "(", ")", ";", "+", "+", "i", ")", "write", "(", "(", "byte", ")", "str", "char", "at", "(", "i", ")", ")", ";" ]
[ "{" ]
[ "for", "(", "int", "i", "=", "0", ";", "i", "<", "str", "length", "(", ")", ";", "+", "+", "i", ")", "write", "char", "(", "str", "char", "at", "(", "i", ")", ")", ";" ]
[ "ensure", "that", "the", "given", "amount", "of", "bytes", "is", "available", "within", "the", "stream", "then", "shift", "the", "position" ]
[ "int", "pos", "0", "=", "pos", ";", "if", "(", "pos", "0", "+", "cnt", ">", "buf", "size", ")", "grow", "(", "pos", "0", "+", "cnt", ")", ";", "pos", "+", "=", "cnt", ";", "return", "pos", "0", ";" ]
[ "grow", "array", "up", "to", "the", "given", "count" ]
[ "int", "buf", "size", "0", "=", "(", "int", ")", "(", "buf", "size", "*", "1", "1", ")", ";", "if", "(", "buf", "size", "0", "<", "cnt", ")", "buf", "size", "0", "=", "cnt", ";", "byte", "[", "]", "buf", "0", "=", "new", "byte", "[", "buf", "size", "0", "]", ";", "system", "arraycopy", "(", "buf", ",", "0", ",", "buf", "0", ",", "0", ",", "pos", ")", ";", "buf", "=", "buf", "0", ";", "buf", "size", "=", "buf", "size", "0", ";" ]
[ "callback", "method", "to", "be", "invoked", "when", "an", "item", "in", "this", "adapter", "view", "has", "been", "clicked" ]
[ "public", "abstract", "void", "on", "item", "click", "(", "base", "quick", "adapter", "adapter", ",", "view", "view", ",", "int", "position", ")", ";" ]
[ "callback", "method", "to", "be", "invoked", "when", "an", "item", "in", "this", "view", "has", "been", "click", "and", "held" ]
[ "public", "abstract", "void", "on", "item", "long", "click", "(", "base", "quick", "adapter", "adapter", ",", "view", "view", ",", "int", "position", ")", ";" ]
[ "create", "a", "token", "from", "the", "bundle", "exported", "by", "{" ]
[ "return", "api", "loader", "get", "provider", "(", ")", "from", "bundle", "session", "token", "2", "(", "bundle", ")", ";" ]
[ "the", "i", "d", "3v", "2", "frame", "identifier" ]
[ "return", "i", "d", "3v", "2", "4", "frames", "frame", "id", "url", "source", "web", ";" ]
[ "creates", "a", "full", "package", "name", "from", "the", "package", "names", "on", "the", "stack" ]
[ "final", "string", "builder", "buf", "=", "new", "string", "builder", "(", "256", ")", ";", "final", "iterator", "<", "string", ">", "iterator", "=", "package", "stack", "descending", "iterator", "(", ")", ";", "while", "(", "iterator", "has", "next", "(", ")", ")", "{", "final", "string", "sub", "package", "=", "iterator", "next", "(", ")", ";", "buf", "append", "(", "sub", "package", ")", ";", "if", "(", "!", "common", "util", "ends", "with", "char", "(", "sub", "package", ",", "'", "'", ")", "&", "&", "iterator", "has", "next", "(", ")", ")", "{", "buf", "append", "(", "'", "'", ")", ";", "}", "}", "return", "buf", "to", "string", "(", ")", ";" ]
[ "creates", "mapping", "between", "local", "resources", "and", "dtd", "ids" ]
[ "final", "map", "<", "string", ",", "string", ">", "map", "=", "new", "hash", "map", "<", ">", "(", ")", ";", "map", "put", "(", "dtd", "public", "id", ",", "dtd", "resource", "name", ")", ";", "map", "put", "(", "dtd", "public", "cs", "id", ",", "dtd", "resource", "name", ")", ";", "return", "map", ";" ]
[ "whether", "to", "support", "stream", "representation", "as", "response", "from", "calling", "a", "rest", "service", "using", "the", "restlet", "producer", "if", "the", "response", "is", "streaming", "then", "this", "option", "can", "be", "enabled", "to", "use", "an", "{" ]
[ "this", "stream", "representation", "=", "stream", "representation", ";" ]
[ "whether", "to", "auto", "close", "the", "stream", "representation", "as", "response", "from", "calling", "a", "rest", "service", "using", "the", "restlet", "producer", "if", "the", "response", "is", "streaming", "and", "the", "option", "stream", "representation", "is", "enabled", "then", "you", "may", "want", "to", "auto", "close", "the", "{" ]
[ "this", "auto", "close", "stream", "=", "auto", "close", "stream", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "return", "to", "index", "name", "(", "relation", "name", "schema", "(", ")", ",", "relation", "name", "name", "(", ")", ",", "partition", "ident", ")", ";" ]
[ "checks", "whether", "the", "index", "name", "belongs", "to", "a", "partitioned", "table" ]
[ "int", "idx", "1", "=", "index", "name", "index", "of", "(", "'", "'", ")", ";", "if", "(", "idx", "1", "=", "=", "-", "1", ")", "{", "return", "false", ";", "}", "int", "idx", "2", "=", "index", "name", "index", "of", "(", "partitioned", "table", "part", ",", "idx", "1", ")", ";", "if", "(", "idx", "2", "=", "=", "-", "1", ")", "{", "return", "false", ";", "}", "int", "diff", "=", "idx", "2", "-", "idx", "1", ";", "return", "(", "(", "diff", "=", "=", "0", "&", "&", "idx", "1", "=", "=", "0", ")", "|", "|", "diff", "=", "=", "1", ")", "&", "&", "idx", "2", "+", "partitioned", "table", "part", "length", "(", ")", "<", "index", "name", "length", "(", ")", ";" ]
[ "detects", "a", "jsr", "instruction", "and", "sets", "a", "flag", "to", "indicate", "we", "will", "need", "to", "do", "inlining" ]
[ "super", "visit", "jump", "insn", "(", "opcode", ",", "lbl", ")", ";", "label", "node", "ln", "=", "(", "(", "jump", "insn", "node", ")", "instructions", "get", "last", "(", ")", ")", "label", ";", "if", "(", "opcode", "=", "=", "jsr", "&", "&", "!", "subroutine", "heads", "contains", "key", "(", "ln", ")", ")", "{", "subroutine", "heads", "put", "(", "ln", ",", "new", "bit", "set", "(", ")", ")", ";", "}" ]
[ "returns", "the", "owner", "of", "a", "particular", "instruction", "relative", "to", "this", "instantiation", ":", "the", "owner", "referes", "to", "the", "instantiation", "which", "will", "emit", "the", "version", "of", "this", "instruction", "that", "we", "will", "execute", "<", "p", ">", "typically", "the", "return", "value", "is", "either", "<", "code", ">", "this", "<", "/", "code", ">", "or", "<", "code", ">", "null", "<", "/", "code", ">", "<", "code", ">", "this", "<", "/", "code", ">", "indicates", "that", "this", "instantiation", "will", "generate", "the", "version", "of", "this", "instruction", "that", "we", "will", "execute", "and", "<", "code", ">", "null", "<", "/", "code", ">", "indicates", "that", "this", "instantiation", "never", "executes", "the", "given", "instruction", "<", "p", ">", "sometimes", "however", "an", "instruction", "can", "belong", "to", "multiple", "subroutines", ";", "this", "is", "called", "a", "dual", "citizen", "instruction", "(", "though", "it", "may", "belong", "to", "more", "than", "2", "subroutines", ")", "and", "occurs", "when", "multiple", "subroutines", "branch", "to", "common", "points", "of", "control", "in", "this", "case", "the", "owner", "is", "the", "subroutine", "that", "appears", "lowest", "on", "the", "stack", "and", "which", "also", "owns", "the", "instruction", "in", "question" ]
[ "if", "(", "!", "subroutine", "get", "(", "i", ")", ")", "{", "return", "null", ";", "}", "if", "(", "!", "dual", "citizens", "get", "(", "i", ")", ")", "{", "return", "this", ";", "}", "instantiation", "own", "=", "this", ";", "for", "(", "instantiation", "p", "=", "previous", ";", "p", "!", "=", "null", ";", "p", "=", "p", "previous", ")", "{", "if", "(", "p", "subroutine", "get", "(", "i", ")", ")", "{", "own", "=", "p", ";", "}", "}", "return", "own", ";" ]
[ "looks", "up", "the", "label", "<", "code", ">", "l", "<", "/", "code", ">", "in", "the", "<", "code", ">", "range", "table", "<", "/", "code", ">", "thus", "translating", "it", "from", "a", "label", "in", "the", "original", "code", "to", "a", "label", "in", "the", "inlined", "code", "that", "is", "appropriate", "for", "use", "by", "an", "try", "/", "catch", "or", "variable", "use", "annotation" ]
[ "return", "range", "table", "get", "(", "l", ")", ";" ]
[ "abstract", "map", "implementation" ]
[ "return", "null", ";" ]
[ "as", "resource", "set" ]
[ "val", "resource", "set", "=", "new", "resource", "set", "(", ")", ";", "resource", "set", "set", "icon", "uri", "(", "get", "icon", "uri", "(", ")", ")", ";", "resource", "set", "set", "id", "(", "get", "id", "(", ")", ")", ";", "resource", "set", "set", "name", "(", "get", "name", "(", ")", ")", ";", "resource", "set", "set", "scopes", "(", "new", "hash", "set", "<", ">", "(", "get", "scopes", "(", ")", ")", ")", ";", "resource", "set", "set", "uri", "(", "get", "uri", "(", ")", ")", ";", "resource", "set", "set", "type", "(", "get", "type", "(", ")", ")", ";", "resource", "set", "set", "owner", "(", "profile", "result", "get", "id", "(", ")", ")", ";", "resource", "set", "set", "client", "id", "(", "o", "auth", "2", "0", "utils", "get", "client", "id", "from", "authenticated", "profile", "(", "profile", "result", ")", ")", ";", "return", "resource", "set", ";" ]
[ "<", "p", ">", "the", "amazon", "resource", "name", "(", "arn", ")", "that", "was", "returned", "when", "you", "called", "<", "a", ">", "create", "certificate", "authority", "<", "/", "a", ">", "this", "must", "be", "of", "the", "form", ":", "<", "/", "p", ">", "<", "p", ">", "<", "code", ">", "arn", ":", "aws", ":", "acm", "-", "pca", ":", "<", "i", ">", "region", "<", "/", "i", ">", ":", "<", "i", ">", "account", "<", "/", "i", ">", ":", "certificate", "-", "authority", "/", "<", "i", ">", "12345678", "-", "1234", "-", "1234", "-", "1234", "-", "123456789012", "<", "/", "i", ">", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "certificate", "authority", "arn", "(", "certificate", "authority", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "list", "of", "tags", "to", "be", "associated", "with", "the", "ca", "<", "/", "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", "java", "util", "array", "list", "<", "tag", ">", "(", "tags", "length", ")", ")", ";", "}", "for", "(", "tag", "ele", ":", "tags", ")", "{", "this", "tags", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "list", "of", "tags", "to", "be", "associated", "with", "the", "ca", "<", "/", "p", ">" ]
[ "set", "tags", "(", "tags", ")", ";", "return", "this", ";" ]
[ "callback", "received", "when", "a", "permissions", "request", "has", "been", "completed" ]
[ "if", "(", "request", "code", "=", "=", "request", "read", "contacts", ")", "{", "if", "(", "grant", "results", "length", "=", "=", "1", "&", "&", "grant", "results", "[", "0", "]", "=", "=", "package", "manager", "permission", "granted", ")", "{", "populate", "auto", "complete", "(", ")", ";", "}", "}" ]
[ "returns", "true", "when", "the", "frame", "containing", "the", "canvas", "is", "the", "foreground", "window" ]
[ "component", "root", "=", "swing", "utilities", "get", "root", "(", "canvas", ")", ";", "return", "root", "instanceof", "frame", "?", "(", "(", "frame", ")", "root", ")", "is", "active", "(", ")", ":", "true", ";" ]
[ "make", "the", "canvas", "context", "current", "it", "is", "highly", "recommended", "that", "the", "context", "is", "only", "made", "current", "inside", "the", "awt", "thread", "(", "for", "example", "in", "an", "overridden", "paint", "g", "l", "(", ")", ")" ]
[ "try", "{", "canvas", "make", "current", "(", ")", ";", "set", "globals", "(", ")", ";", "}", "catch", "(", "throwable", "ex", ")", "{", "exception", "(", "ex", ")", ";", "}" ]
[ "test", "whether", "the", "canvas", "context", "is", "current" ]
[ "try", "{", "return", "canvas", "is", "current", "(", ")", ";", "}", "catch", "(", "throwable", "ex", ")", "{", "exception", "(", "ex", ")", ";", "return", "false", ";", "}" ]
[ "get", "an", "{" ]
[ "origin", "origin", "=", "origin", "lookup", "get", "origin", "(", "property", "source", ",", "name", ")", ";", "return", "(", "origin", "!", "=", "null", ")", "?", "origin", ":", "new", "property", "source", "origin", "(", "property", "source", ",", "name", ")", ";" ]
[ "returns", "a", "formatted", "locale", "string", "from", "the", "synthesis", "params", "of", "the", "form", "lang", "-", "country", "-", "variant" ]
[ "string", "builder", "sb", "=", "new", "string", "builder", "(", "m", "request", "get", "language", "(", ")", ")", ";", "if", "(", "!", "text", "utils", "is", "empty", "(", "m", "request", "get", "country", "(", ")", ")", ")", "{", "sb", "append", "(", "'", "-", "'", ")", ";", "sb", "append", "(", "m", "request", "get", "country", "(", ")", ")", ";", "if", "(", "!", "text", "utils", "is", "empty", "(", "m", "request", "get", "variant", "(", ")", ")", ")", "{", "sb", "append", "(", "'", "-", "'", ")", ";", "sb", "append", "(", "m", "request", "get", "variant", "(", ")", ")", ";", "}", "}", "return", "sb", "to", "string", "(", ")", ";" ]
[ "given", "an", "object", "return", "file", "reference", "for", "object", "typically", "used", "to", "convert", "anonymous", "object", "from", "get", "attribute", "(", ")", "calls", "to", "a", "file", "object" ]
[ "if", "(", "fileattr", "=", "=", "null", ")", "{", "return", "null", ";", "}", "if", "(", "fileattr", "instanceof", "file", ")", "{", "return", "(", "file", ")", "fileattr", ";", "}", "if", "(", "fileattr", "instanceof", "string", ")", "{", "return", "new", "file", "(", "(", "string", ")", "fileattr", ")", ";", "}", "return", "null", ";" ]
[ "returns", "true", "if", "the", "identifier", "is", "a", "valid", "lyrics", "3v", "2", "frame", "identifier" ]
[ "return", "identifier", "length", "(", ")", ">", "=", "3", "&", "&", "get", "instance", "of", "(", ")", "get", "id", "to", "value", "map", "(", ")", "contains", "key", "(", "identifier", "substring", "(", "0", ",", "3", ")", ")", ";" ]
[ "<", "p", ">", "name", "of", "the", "http", "header", "from", "which", "the", "remote", "ip", "is", "extracted", "<", "/", "p", ">", "<", "p", ">", "the", "value", "of", "this", "header", "can", "be", "comma", "delimited", "<", "/", "p", ">", "<", "p", ">", "default", "value", ":", "<", "code", ">", "x", "-", "forwarded", "-", "for", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "remote", "ip", "header", "=", "remote", "ip", "header", ";" ]
[ "implementations", "for", "class", "pool", "visitor" ]
[ "for", "(", "int", "index", "=", "0", ";", "index", "<", "class", "pool", "visitor", "count", ";", "index", "+", "+", ")", "{", "class", "pool", "visitors", "[", "index", "]", "visit", "class", "pool", "(", "class", "pool", ")", ";", "}" ]
[ "<", "p", ">", "the", "name", "of", "the", "domain", "containing", "the", "workflow", "executions", "to", "count", "<", "/", "p", ">" ]
[ "set", "domain", "(", "domain", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "that", "meet", "the", "start", "time", "criteria", "of", "the", "filter", "are", "counted", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "start", "time", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "close", "time", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "must", "specify", "one", "of", "these", "in", "a", "request", "but", "not", "both", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "start", "time", "filter", "(", "start", "time", "filter", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "the", "workflow", "executions", "are", "included", "in", "the", "returned", "results", "based", "on", "whether", "their", "close", "times", "are", "within", "the", "range", "specified", "by", "this", "filter", "also", "if", "this", "parameter", "is", "specified", "the", "returned", "results", "are", "ordered", "by", "their", "close", "times", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "start", "time", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "close", "time", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "must", "specify", "one", "of", "these", "in", "a", "request", "but", "not", "both", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "this", "close", "time", "filter", "=", "close", "time", "filter", ";" ]
[ "<", "p", ">", "if", "specified", "the", "workflow", "executions", "are", "included", "in", "the", "returned", "results", "based", "on", "whether", "their", "close", "times", "are", "within", "the", "range", "specified", "by", "this", "filter", "also", "if", "this", "parameter", "is", "specified", "the", "returned", "results", "are", "ordered", "by", "their", "close", "times", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "start", "time", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "close", "time", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "must", "specify", "one", "of", "these", "in", "a", "request", "but", "not", "both", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "return", "this", "close", "time", "filter", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "that", "meet", "the", "close", "time", "criteria", "of", "the", "filter", "are", "counted", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "start", "time", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "close", "time", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "must", "specify", "one", "of", "these", "in", "a", "request", "but", "not", "both", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "close", "time", "filter", "(", "close", "time", "filter", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "matching", "the", "<", "code", ">", "workflow", "id", "<", "/", "code", ">", "in", "the", "filter", "are", "counted", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "execution", "filter", "(", "execution", "filter", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "indicates", "the", "type", "of", "the", "workflow", "executions", "to", "be", "counted", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "type", "filter", "(", "type", "filter", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "only", "executions", "that", "have", "a", "tag", "that", "matches", "the", "filter", "are", "counted", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "tag", "filter", "(", "tag", "filter", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "that", "match", "this", "<", "i", ">", "close", "status", "<", "/", "i", ">", "are", "listed", "for", "example", "if", "terminated", "is", "specified", "then", "only", "terminated", "workflow", "executions", "are", "listed", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "this", "close", "status", "filter", "=", "close", "status", "filter", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "that", "match", "this", "<", "i", ">", "close", "status", "<", "/", "i", ">", "are", "listed", "for", "example", "if", "terminated", "is", "specified", "then", "only", "terminated", "workflow", "executions", "are", "listed", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "return", "this", "close", "status", "filter", ";" ]
[ "<", "p", ">", "if", "specified", "only", "workflow", "executions", "that", "match", "this", "close", "status", "are", "counted", "this", "filter", "has", "an", "affect", "only", "if", "<", "code", ">", "execution", "status", "<", "/", "code", ">", "is", "specified", "as", "<", "code", ">", "closed", "<", "/", "code", ">", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "<", "code", ">", "close", "status", "filter", "<", "/", "code", ">", "<", "code", ">", "execution", "filter", "<", "/", "code", ">", "<", "code", ">", "type", "filter", "<", "/", "code", ">", "and", "<", "code", ">", "tag", "filter", "<", "/", "code", ">", "are", "mutually", "exclusive", "you", "can", "specify", "at", "most", "one", "of", "these", "in", "a", "request", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "close", "status", "filter", "(", "close", "status", "filter", ")", ";", "return", "this", ";" ]
[ "broadcast", "via", "bluetooth", "the", "stored", "url" ]
[ "final", "advertise", "data", "advertisement", "data", "=", "advertise", "data", "utils", "get", "advertisement", "data", "(", "url", ")", ";", "final", "advertise", "settings", "advertise", "settings", "=", "advertise", "data", "utils", "get", "advertise", "settings", "(", "false", ")", ";", "m", "bluetooth", "le", "advertiser", "stop", "advertising", "(", "m", "advertise", "callback", ")", ";", "m", "bluetooth", "le", "advertiser", "start", "advertising", "(", "advertise", "settings", ",", "advertisement", "data", ",", "m", "advertise", "callback", ")", ";" ]
[ "if", "the", "specified", "event", "collector", "contains", "any", "events", "an", "informative", "assertion", "fails", "in", "the", "context", "of", "the", "specified", "test", "case" ]
[ "string", "events", "string", "=", "events", "to", "string", "(", "event", "collector", ")", ";", "assert", "that", "(", "events", "string", ")", "is", "empty", "(", ")", ";" ]
[ "if", "the", "specified", "event", "collector", "contains", "an", "unexpected", "number", "of", "events", "an", "informative", "assertion", "fails", "in", "the", "context", "of", "the", "specified", "test", "case" ]
[ "assert", "with", "message", "(", "events", "to", "string", "(", "event", "collector", ")", ")", "that", "(", "event", "collector", "count", "(", ")", ")", "is", "equal", "to", "(", "expected", "count", ")", ";" ]
[ "if", "the", "specified", "event", "collector", "contains", "an", "unexpected", "number", "of", "events", "an", "informative", "assertion", "fails", "in", "the", "context", "of", "the", "specified", "test", "case" ]
[ "assert", "with", "message", "(", "events", "to", "string", "(", "event", "collector", ")", ")", "that", "(", "event", "collector", "count", "(", ")", ")", "is", "at", "least", "(", "min", "count", ")", ";" ]
[ "if", "the", "specified", "event", "collector", "does", "not", "contain", "an", "event", "which", "has", "expected", "event", "as", "a", "substring", "an", "informative", "assertion", "fails", "otherwise", "the", "matching", "event", "is", "returned" ]
[ "return", "assert", "contains", "event", "(", "event", "collector", ",", "expected", "event", ",", "event", "kind", "all", "events", ")", ";" ]
[ "if", "the", "specified", "event", "collector", "does", "not", "contain", "an", "event", "which", "has", "expected", "event", "as", "a", "substring", "an", "informative", "assertion", "fails", "otherwise", "the", "matching", "event", "is", "returned" ]
[ "return", "assert", "contains", "event", "(", "event", "collector", ",", "expected", "event", ",", "immutable", "set", "of", "(", "kind", ")", ")", ";" ]
[ "returns", "a", "string", "consisting", "of", "each", "event", "in", "the", "specified", "collector", "preceded", "by", "a", "newline" ]
[ "string", "builder", "buf", "=", "new", "string", "builder", "(", ")", ";", "event", "loop", ":", "for", "(", "event", "event", ":", "event", "collector", ")", "{", "for", "(", "string", "ignored", "prefix", ":", "test", "constants", "ignored", "message", "prefixes", ")", "{", "if", "(", "event", "get", "message", "(", ")", "starts", "with", "(", "ignored", "prefix", ")", ")", "{", "continue", "event", "loop", ";", "}", "}", "buf", "append", "(", "'", "\\", "n", "'", ")", "append", "(", "event", ")", ";", "}", "return", "buf", "to", "string", "(", ")", ";" ]
[ "create", "a", "query", "for", "matching", "an", "exact", "long", "value", "<", "p", ">", "<", "b", ">", "note", "<", "/", "b", ">", ":", "such", "queries", "cannot", "efficiently", "advance", "to", "the", "next", "match", "which", "makes", "them", "slow", "if", "they", "are", "not", "a", "n", "ded", "with", "a", "selective", "query", "as", "a", "consequence", "they", "are", "best", "used", "wrapped", "in", "an", "{" ]
[ "return", "new", "slow", "range", "query", "(", "field", ",", "value", ",", "value", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "factory", "methods", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "new", "ref", "counted", "buffering", "file", "stream", "(", "tmp", "file", "provider", "apply", "(", "null", ")", ",", "buffer", "size", ")", ";" ]
[ "does", "this", "renewer", "handle", "this", "kind", "of", "token", "?" ]
[ "public", "abstract", "boolean", "handle", "kind", "(", "text", "kind", ")", ";" ]
[ "is", "the", "given", "token", "managed", "?", "only", "managed", "tokens", "may", "be", "renewed", "or", "cancelled" ]
[ "public", "abstract", "boolean", "is", "managed", "(", "token", "<", "?", ">", "token", ")", "throws", "i", "o", "exception", ";" ]
[ "renew", "the", "given", "token" ]
[ "public", "abstract", "long", "renew", "(", "token", "<", "?", ">", "token", ",", "configuration", "conf", ")", "throws", "i", "o", "exception", ",", "interrupted", "exception", ";" ]
[ "cancel", "the", "given", "token" ]
[ "public", "abstract", "void", "cancel", "(", "token", "<", "?", ">", "token", ",", "configuration", "conf", ")", "throws", "i", "o", "exception", ",", "interrupted", "exception", ";" ]
[ "creates", "an", "instance" ]
[ "return", "new", "channelz", "service", "(", "internal", "channelz", "instance", "(", ")", ",", "max", "page", "size", ")", ";" ]
[ "returns", "top", "level", "channel", "aka", "{" ]
[ "internal", "channelz", "root", "channel", "list", "root", "channels", "=", "channelz", "get", "root", "channels", "(", "request", "get", "start", "channel", "id", "(", ")", ",", "max", "page", "size", ")", ";", "response", "observer", "on", "next", "(", "channelz", "proto", "util", "to", "get", "top", "channel", "response", "(", "root", "channels", ")", ")", ";", "response", "observer", "on", "completed", "(", ")", ";" ]
[ "returns", "a", "top", "level", "channel", "aka", "{" ]
[ "internal", "instrumented", "<", "channel", "stats", ">", "s", "=", "channelz", "get", "root", "channel", "(", "request", "get", "channel", "id", "(", ")", ")", ";", "if", "(", "s", "=", "=", "null", ")", "{", "response", "observer", "on", "error", "(", "status", "not", "found", "as", "runtime", "exception", "(", ")", ")", ";", "return", ";", "}", "response", "observer", "on", "next", "(", "get", "channel", "response", "new", "builder", "(", ")", "set", "channel", "(", "channelz", "proto", "util", "to", "channel", "(", "s", ")", ")", "build", "(", ")", ")", ";", "response", "observer", "on", "completed", "(", ")", ";" ]
[ "returns", "servers" ]
[ "server", "list", "servers", "=", "channelz", "get", "servers", "(", "request", "get", "start", "server", "id", "(", ")", ",", "max", "page", "size", ")", ";", "response", "observer", "on", "next", "(", "channelz", "proto", "util", "to", "get", "servers", "response", "(", "servers", ")", ")", ";", "response", "observer", "on", "completed", "(", ")", ";" ]
[ "returns", "a", "subchannel" ]
[ "internal", "instrumented", "<", "channel", "stats", ">", "s", "=", "channelz", "get", "subchannel", "(", "request", "get", "subchannel", "id", "(", ")", ")", ";", "if", "(", "s", "=", "=", "null", ")", "{", "response", "observer", "on", "error", "(", "status", "not", "found", "as", "runtime", "exception", "(", ")", ")", ";", "return", ";", "}", "response", "observer", "on", "next", "(", "get", "subchannel", "response", "new", "builder", "(", ")", "set", "subchannel", "(", "channelz", "proto", "util", "to", "subchannel", "(", "s", ")", ")", "build", "(", ")", ")", ";", "response", "observer", "on", "completed", "(", ")", ";" ]
[ "returns", "a", "socket" ]
[ "internal", "instrumented", "<", "socket", "stats", ">", "s", "=", "channelz", "get", "socket", "(", "request", "get", "socket", "id", "(", ")", ")", ";", "if", "(", "s", "=", "=", "null", ")", "{", "response", "observer", "on", "error", "(", "status", "not", "found", "as", "runtime", "exception", "(", ")", ")", ";", "return", ";", "}", "response", "observer", "on", "next", "(", "get", "socket", "response", "new", "builder", "(", ")", "set", "socket", "(", "channelz", "proto", "util", "to", "socket", "(", "s", ")", ")", "build", "(", ")", ")", ";", "response", "observer", "on", "completed", "(", ")", ";" ]
[ "the", "aws", "ddb", "default", "configuration" ]
[ "this", "configuration", "=", "configuration", ";" ]
[ "report", "only", "metrics", "with", "names", "matching", "any", "of", "the", "prefix", "filters", "if", "the", "filters", "list", "is", "empty", "then", "all", "names", "will", "match" ]
[ "final", "metric", "filter", "filter", ";", "if", "(", "!", "filters", "is", "empty", "(", ")", ")", "{", "filter", "=", "new", "solr", "metric", "manager", "prefix", "filter", "(", "filters", ")", ";", "}", "else", "{", "filter", "=", "metric", "filter", "all", ";", "}", "return", "filter", ";" ]
[ "returns", "the", "token", "stream", "created", "by", "the", "tokenizer" ]
[ "return", "token", "stream", ";" ]
[ "unwrap", "array", "of", "binaries", "if", "needed" ]
[ "if", "(", "binary", "utils", "known", "array", "(", "arr", ")", ")", "return", "arr", ";", "object", "[", "]", "res", "=", "new", "object", "[", "arr", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "arr", "length", ";", "i", "+", "+", ")", "res", "[", "i", "]", "=", "unwrap", "binary", "(", "ctx", ",", "arr", "[", "i", "]", ",", "keep", "binary", ",", "cpy", ")", ";", "return", "res", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "amazon", "lex", "bot", "<", "/", "p", ">" ]
[ "set", "bot", "name", "(", "bot", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "alias", "of", "the", "amazon", "lex", "bot", "<", "/", "p", ">" ]
[ "set", "bot", "alias", "(", "bot", "alias", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "client", "application", "user", "amazon", "lex", "uses", "this", "to", "identify", "a", "user", "s", "conversation", "with", "your", "bot", "at", "runtime", "each", "request", "must", "contain", "the", "<", "code", ">", "user", "i", "d", "<", "/", "code", ">", "field", "<", "/", "p", ">", "<", "p", ">", "to", "decide", "the", "user", "id", "to", "use", "for", "your", "application", "consider", "the", "following", "factors", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "the", "<", "code", ">", "user", "i", "d", "<", "/", "code", ">", "field", "must", "not", "contain", "any", "personally", "identifiable", "information", "of", "the", "user", "for", "example", "name", "personal", "identification", "numbers", "or", "other", "end", "user", "personal", "information", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "want", "a", "user", "to", "start", "a", "conversation", "on", "one", "device", "and", "continue", "on", "another", "device", "use", "a", "user", "-", "specific", "identifier", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "want", "the", "same", "user", "to", "be", "able", "to", "have", "two", "independent", "conversations", "on", "two", "different", "devices", "choose", "a", "device", "-", "specific", "identifier", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "a", "user", "can", "t", "have", "two", "independent", "conversations", "with", "two", "different", "versions", "of", "the", "same", "bot", "for", "example", "a", "user", "can", "t", "have", "a", "conversation", "with", "the", "prod", "and", "beta", "versions", "of", "the", "same", "bot", "if", "you", "anticipate", "that", "a", "user", "will", "need", "to", "have", "conversation", "with", "two", "different", "versions", "for", "example", "while", "testing", "include", "the", "bot", "alias", "in", "the", "user", "id", "to", "separate", "the", "two", "conversations", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "user", "id", "(", "user", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "map", "of", "key", "-", "value", "pairs", "representing", "the", "session", "-", "specific", "context", "information", "<", "/", "p", ">" ]
[ "return", "session", "attributes", ";" ]
[ "<", "p", ">", "a", "map", "of", "key", "-", "value", "pairs", "representing", "the", "session", "-", "specific", "context", "information", "<", "/", "p", ">" ]
[ "this", "session", "attributes", "=", "session", "attributes", ";" ]
[ "<", "p", ">", "application", "-", "specific", "information", "passed", "between", "amazon", "lex", "and", "a", "client", "application", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "lex", "/", "latest", "/", "dg", "/", "context", "-", "mgmt", "html", "#", "context", "-", "mgmt", "-", "session", "-", "attribs", ">", "setting", "session", "attributes", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "session", "attributes", "(", "session", "attributes", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "session", "attributes" ]
[ "this", "session", "attributes", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "request", "-", "specific", "information", "passed", "between", "amazon", "lex", "and", "a", "client", "application", "<", "/", "p", ">", "<", "p", ">", "the", "namespace", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "is", "reserved", "for", "special", "attributes", "don", "t", "create", "any", "request", "attributes", "with", "the", "prefix", "<", "code", ">", "x", "-", "amz", "-", "lex", ":", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "lex", "/", "latest", "/", "dg", "/", "context", "-", "mgmt", "html", "#", "context", "-", "mgmt", "-", "request", "-", "attribs", ">", "setting", "request", "attributes", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "return", "request", "attributes", ";" ]