docstring_tokens
list
code_tokens
list
[ "a", "list", "of", "the", "sources", "of", "the", "input", "(", "pull", "-", "type", ")", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "...
[ "if", "(", "this", "sources", "=", "=", "null", ")", "{", "set", "sources", "(", "new", "java", "util", "array", "list", "<", "input", "source", ">", "(", "sources", "length", ")", ")", ";", "}", "for", "(", "input", "source", "ele", ":", "sources"...
[ "a", "list", "of", "the", "sources", "of", "the", "input", "(", "pull", "-", "type", ")" ]
[ "set", "sources", "(", "sources", ")", ";", "return", "this", ";" ]
[ "copy", "from", "elastic", "search", "numbers" ]
[ "return", "to", "bytes", "(", "double", "double", "to", "raw", "long", "bits", "(", "val", ")", ")", ";" ]
[ "copy", "from", "elastic", "search", "numbers" ]
[ "return", "double", "long", "bits", "to", "double", "(", "to", "long", "(", "bytes", ")", ")", ";" ]
[ "add", "a", "new", "buck", "text", "node", "in", "the", "buck", "tree", "view", "panel", "which", "becomes", "the", "root", "when", "adding", "new", "nodes", "in", "the", "event", "consumers" ]
[ "m", "current", "build", "root", "element", "=", "new", "buck", "text", "node", "(", "message", ",", "text", "type", "info", ")", ";", "m", "buck", "u", "i", "manager", "get", "buck", "tree", "view", "panel", "(", ")", "get", "modifiable", "model", "...
[ "add", "a", "buck", "text", "node", "to", "display", "a", "message", "as", "if", "it", "were", "sent", "as", "a", "console", "event" ]
[ "if", "(", "m", "current", "build", "root", "element", "=", "=", "null", ")", "{", "return", ";", "}", "m", "buck", "u", "i", "manager", "get", "buck", "tree", "view", "panel", "(", ")", "get", "modifiable", "model", "(", ")", "add", "child", "(", ...
[ "sets", "the", "contents", "of", "this", "sequence", "to", "that", "of", "the", "given", "collection" ]
[ "check", "collection", "type", "(", "collection", ")", ";", "clear", "(", ")", ";", "add", "all", "(", "collection", ")", ";" ]
[ "returns", "injection", "point", "type" ]
[ "return", "type", ";" ]
[ "checks", "that", "each", "member", "of", "the", "given", "collection", "are", "of", "the", "correct", "type" ]
[ "if", "(", "type", "!", "=", "null", ")", "{", "for", "(", "object", "element", ":", "c", ")", "{", "check", "type", "(", "element", ")", ";", "}", "}" ]
[ "<", "p", ">", "the", "arn", "of", "the", "scheduled", "audit", "<", "/", "p", ">" ]
[ "this", "scheduled", "audit", "arn", "=", "scheduled", "audit", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "scheduled", "audit", "<", "/", "p", ">" ]
[ "return", "this", "scheduled", "audit", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "scheduled", "audit", "<", "/", "p", ">" ]
[ "set", "scheduled", "audit", "arn", "(", "scheduled", "audit", "arn", ")", ";", "return", "this", ";" ]
[ "in", "graceful", "shutdown", "we", "are", "flushing", "all", "unsent", "events", "in", "an", "{" ]
[ "return", "query", "cache", "event", "data", "builder", "new", "query", "cache", "event", "data", "builder", "(", "false", ")", "with", "sequence", "(", "end", "sequence", ")", "with", "partition", "id", "(", "partition", "id", ")", "build", "(", ")", ";...
[ "{" ]
[]
[ "{" ]
[ "final", "long", "position", "=", "compute", "position", "(", "flyweight", "consumption", "term", "id", "(", ")", ",", "flyweight", "consumption", "term", "offset", "(", ")", ",", "position", "bits", "to", "shift", ",", "initial", "term", "id", ")", ";", ...
[ "{" ]
[ "if", "(", "is", "end", "of", "stream", "&", "&", "should", "linger", ")", "{", "if", "(", "last", "position", ">", "=", "sender", "position", "|", "|", "time", "ns", ">", "(", "time", "of", "last", "status", "message", "+", "receiver", "timeout", ...
[ "{" ]
[ "return", "should", "linger", ";" ]
[ "compares", "two", "objects", "starting", "with", "first", "comparator", ";", "if", "they", "are", "equals", "proceeds", "to", "the", "next", "comparator", "and", "so", "on" ]
[ "for", "(", "comparator", "<", "t", ">", "comparator", ":", "comparators", ")", "{", "int", "result", "=", "comparator", "compare", "(", "o", "1", ",", "o", "2", ")", ";", "if", "(", "result", "!", "=", "0", ")", "{", "return", "result", ";", "}"...
[ "resets", "all", "the", "collected", "data" ]
[ "public", "abstract", "void", "reset", "(", ")", ";" ]
[ "set", "the", "text", "displayed", "on", "the", "switch", "widget", "in", "the", "on", "state", "this", "should", "be", "a", "very", "short", "string", ";", "one", "word", "if", "possible" ]
[ "m", "switch", "on", "=", "on", "text", ";", "notify", "changed", "(", ")", ";" ]
[ "set", "the", "text", "displayed", "on", "the", "switch", "widget", "in", "the", "off", "state", "this", "should", "be", "a", "very", "short", "string", ";", "one", "word", "if", "possible" ]
[ "m", "switch", "off", "=", "off", "text", ";", "notify", "changed", "(", ")", ";" ]
[ "set", "the", "text", "displayed", "on", "the", "switch", "widget", "in", "the", "on", "state", "this", "should", "be", "a", "very", "short", "string", ";", "one", "word", "if", "possible" ]
[ "set", "switch", "text", "on", "(", "get", "context", "(", ")", "get", "string", "(", "res", "id", ")", ")", ";" ]
[ "set", "the", "text", "displayed", "on", "the", "switch", "widget", "in", "the", "off", "state", "this", "should", "be", "a", "very", "short", "string", ";", "one", "word", "if", "possible" ]
[ "set", "switch", "text", "off", "(", "get", "context", "(", ")", "get", "string", "(", "res", "id", ")", ")", ";" ]
[ "checks", "whether", "this", "object", "is", "currently", "mutable", "in", "the", "given", "{", "@", "link", "environment", "}", "and", "throws", "an", "exception", "if", "it", "is", "not" ]
[ "check", "mutable", "(", "loc", ",", "env", "mutability", "(", ")", ")", ";" ]
[ "checks", "whether", "this", "object", "is", "currently", "mutable", "using", "the", "given", "{", "@", "link", "mutability", "}", "and", "throws", "an", "exception", "if", "it", "is", "not" ]
[ "try", "{", "mutability", "check", "mutable", "(", "this", ",", "mutability", ")", ";", "}", "catch", "(", "mutability", "exception", "ex", ")", "{", "throw", "new", "eval", "exception", "(", "loc", ",", "ex", ")", ";", "}" ]
[ "add", "a", "new", "lock", "at", "{" ]
[ "mutability", "(", ")", "lock", "(", "this", ",", "loc", ")", ";" ]
[ "remove", "the", "lock", "at", "{" ]
[ "mutability", "(", ")", "unlock", "(", "this", ",", "loc", ")", ";" ]
[ "the", "underlying", "contents", "to", "which", "read", "access", "is", "forwarded", "this", "object", "must", "not", "be", "modified", "without", "first", "calling", "{" ]
[ "protected", "abstract", "object", "get", "contents", "unsafe", "(", ")", ";" ]
[ "reading", "methods", "of", "collection", "in", "alphabetic", "order" ]
[ "return", "get", "contents", "unsafe", "(", ")", "contains", "(", "object", ")", ";" ]
[ "to", "array", "(", ")", "and", "to", "array", "(", "t", "[", "]", ")", "return", "copies", "so", "we", "don", "t", "need", "an", "unmodifiable", "view" ]
[ "return", "get", "contents", "unsafe", "(", ")", "to", "array", "(", ")", ";" ]
[ "(", "disallowed", ")", "writing", "methods", "of", "collection", "in", "alphabetic", "order" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "guaranteed", "to", "throw", "an", "exception", "and", "leave", "the", "collection", "unmodified" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "will", "throw", "an", "exception", "and", "leave", "the", "collection", "unmodified" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "reading", "methods", "of", "list", "in", "alphabetic", "order" ]
[ "return", "get", "contents", "unsafe", "(", ")", "get", "(", "i", ")", ";" ]
[ "guaranteed", "to", "throw", "an", "exception", "and", "leave", "the", "list", "unmodified" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "reading", "methods", "of", "map", "in", "alphabetic", "order" ]
[ "return", "get", "contents", "unsafe", "(", ")", "contains", "key", "(", "key", ")", ";" ]
[ "guaranteed", "to", "throw", "an", "exception", "and", "leave", "the", "map", "unmodified" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "sets", "event", "type" ]
[ "this", "event", "type", "=", "event", "type", ";" ]
[ "<", "p", ">", "the", "event", "type", "<", "/", "p", ">" ]
[ "return", "this", "event", "type", ";" ]
[ "<", "p", ">", "the", "type", "of", "events", "to", "describe", "by", "default", "all", "events", "are", "described", "<", "/", "p", ">" ]
[ "set", "event", "type", "(", "event", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "events", "to", "describe", "by", "default", "all", "events", "are", "described", "<", "/", "p", ">" ]
[ "this", "event", "type", "=", "event", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "results", "to", "return", "in", "a", "single", "call", "specify", "a", "value", "between", "1", "and", "1000", "the", "default", "value", "is", "1000", "to", "retrieve", "the", "remaining", "results", "ma...
[ "set", "max", "results", "(", "max", "results", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "token", "for", "the", "next", "set", "of", "results", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "unique", "identifier", "for", "a", "fleet", "to", "get", "event", "logs", "for", "<", "/", "p", ">" ]
[ "this", "fleet", "id", "=", "fleet", "id", ";" ]
[ "<", "p", ">", "unique", "identifier", "for", "a", "fleet", "to", "get", "event", "logs", "for", "<", "/", "p", ">" ]
[ "return", "this", "fleet", "id", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "ec2", "fleet", "<", "/", "p", ">" ]
[ "set", "fleet", "id", "(", "fleet", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "start", "date", "and", "time", "for", "the", "events", "in", "utc", "format", "(", "for", "example", "<", "i", ">", "yyyy", "<", "/", "i", ">", "-", "<", "i", ">", "mm", "<", "/", "i", ">", "-", "<", "i", ">", "dd", ...
[ "set", "start", "time", "(", "start", "time", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "odbc", "response", "class", ",", "this", ")", ";" ]
[ "handles", "read", "/", "write", "io", "on", "connection" ]
[ "super", "do", "i", "o", "(", "k", ")", ";" ]
[ "determines", "if", "the", "current", "length", "of", "the", "bucket", "(", "free", "+", "used", ")", "exceeds", "the", "max", "length", "specified" ]
[ "return", "(", "m", "in", "use", "length", "+", "get", "free", "list", "size", "(", ")", ">", "m", "max", "length", ")", ";" ]
[ "gets", "a", "free", "item", "if", "possible", "from", "the", "freelist", "returns", "null", "if", "the", "free", "list", "is", "empty", "updates", "the", "bucket", "in", "use", "count" ]
[ "v", "value", "=", "pop", "(", ")", ";", "if", "(", "value", "!", "=", "null", ")", "{", "m", "in", "use", "length", "+", "+", ";", "}", "return", "value", ";" ]
[ "remove", "the", "first", "item", "(", "if", "any", ")", "from", "the", "freelist", "returns", "null", "if", "the", "free", "list", "is", "empty", "does", "not", "update", "the", "bucket", "in", "use", "count" ]
[ "return", "(", "v", ")", "m", "free", "list", "poll", "(", ")", ";" ]
[ "increment", "the", "m", "in", "use", "count", "field", "used", "by", "the", "pool", "to", "update", "the", "bucket", "info", "when", "a", "value", "was", "alloc", "ed", "(", "because", "no", "free", "value", "was", "available", ")" ]
[ "m", "in", "use", "length", "+", "+", ";" ]
[ "decrement", "the", "m", "in", "use", "count", "field", "used", "by", "the", "pool", "to", "update", "the", "bucket", "info", "when", "a", "value", "was", "freed", "instead", "of", "being", "returned", "to", "the", "bucket", "s", "free", "list" ]
[ "preconditions", "check", "state", "(", "m", "in", "use", "length", ">", "0", ")", ";", "m", "in", "use", "length", "-", "-", ";" ]
[ "saves", "and", "sets", "m", "obj" ]
[ "async", "result", "ret", ";", "ret", "=", "new", "async", "result", "(", "m", "obj", ",", "r", ",", "ex", ")", ";", "m", "obj", "=", "ret", ";", "return", "ret", ";" ]
[ "saves", "and", "sets", "m", "obj" ]
[ "async", "result", "ret", ";", "ret", "=", "new", "async", "result", "(", "m", "obj", ",", "null", ",", "null", ")", ";", "m", "obj", "=", "ret", ";", "return", "ret", ";" ]
[ "returns", "the", "number", "of", "pixels", "if", "this", "is", "a", "video", "format", "whose", "{" ]
[ "return", "width", "=", "=", "no", "value", "|", "|", "height", "=", "=", "no", "value", "?", "no", "value", ":", "(", "width", "*", "height", ")", ";" ]
[ "returns", "whether", "the", "{", "@", "link", "#", "initialization", "data", "}", "s", "belonging", "to", "this", "format", "and", "{", "@", "code", "other", "}", "are", "equal" ]
[ "if", "(", "initialization", "data", "size", "(", ")", "!", "=", "other", "initialization", "data", "size", "(", ")", ")", "{", "return", "false", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "initialization", "data", "size", "(", ")"...
[ "{" ]
[ "super", "write", "binary", "(", "writer", ",", "ver", ")", ";", "writer", "write", "int", "(", "err", "code", ")", ";", "writer", "write", "string", "(", "err", "msg", ")", ";", "writer", "write", "int", "array", "(", "update", "cnts", ")", ";" ]
[ "{" ]
[ "super", "read", "binary", "(", "reader", ",", "ver", ")", ";", "err", "code", "=", "reader", "read", "int", "(", ")", ";", "err", "msg", "=", "reader", "read", "string", "(", ")", ";", "update", "cnts", "=", "reader", "read", "int", "array", "(", ...
[ "{" ]
[ "return", "s", "to", "string", "(", "jdbc", "batch", "execute", "result", "class", ",", "this", ")", ";" ]
[ "<", "p", ">", "the", "key", "associated", "with", "the", "output", "<", "/", "p", ">" ]
[ "this", "output", "key", "=", "output", "key", ";" ]
[ "<", "p", ">", "the", "key", "associated", "with", "the", "output", "<", "/", "p", ">" ]
[ "return", "this", "output", "key", ";" ]
[ "<", "p", ">", "the", "output", "key", "<", "/", "p", ">" ]
[ "set", "output", "key", "(", "output", "key", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "value", "associated", "with", "the", "output", "<", "/", "p", ">" ]
[ "this", "output", "value", "=", "output", "value", ";" ]
[ "<", "p", ">", "the", "value", "associated", "with", "the", "output", "<", "/", "p", ">" ]
[ "return", "this", "output", "value", ";" ]
[ "<", "p", ">", "the", "output", "value", "<", "/", "p", ">" ]
[ "set", "output", "value", "(", "output", "value", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "description", "of", "the", "output", "<", "/", "p", ">" ]
[ "set", "description", "(", "description", ")", ";", "return", "this", ";" ]
[ "can", "be", "null", "if", "no", "file", "provided" ]
[ "if", "(", "name", "equals", "ignore", "case", "(", "key", "provider", "password", ")", ")", "{", "password", "=", "value", "to", "char", "array", "(", ")", ";", "}", "if", "(", "name", "equals", "ignore", "case", "(", "key", "provider", "passwordfile"...
[ "{" ]
[ "return", "mappers", "cnt", ";" ]
[ "{" ]
[ "return", "reducers", "cnt", ";" ]
[ "{" ]
[ "return", "mappers", "get", "(", "node", "id", ")", ";" ]
[ "{" ]
[ "return", "reducers", "get", "(", "node", "id", ")", ";" ]
[ "{" ]
[ "return", "mappers", "key", "set", "(", ")", ";" ]
[ "{" ]
[ "return", "reducers", "key", "set", "(", ")", ";" ]
[ "find", "condition", "via", "column", "in", "first", "and", "condition" ]
[ "return", "find", "(", "column", ",", "0", ")", ";" ]
[ "find", "condition", "via", "column" ]
[ "return", "or", "condition", "find", "(", "column", ",", "index", ")", ";" ]
[ "initialize", "{" ]
[ "return", "new", "throwable", "cause", "iterable", "(", "throwable", ")", ";" ]
[ "construct", "the", "default", "web", "view", "object", "<", "p", "/", ">", "override", "this", "to", "customize", "the", "webview", "that", "is", "used" ]
[ "return", "new", "cordova", "web", "view", "impl", "(", "make", "web", "view", "engine", "(", ")", ")", ";" ]
[ "display", "an", "error", "dialog", "and", "optionally", "exit", "application" ]
[ "final", "cordova", "activity", "me", "=", "this", ";", "me", "run", "on", "ui", "thread", "(", "new", "runnable", "(", ")", "{", "public", "void", "run", "(", ")", "{", "try", "{", "alert", "dialog", "builder", "dlg", "=", "new", "alert", "dialog", ...
[ "called", "by", "the", "system", "when", "the", "device", "configuration", "changes", "while", "your", "activity", "is", "running" ]
[ "super", "on", "configuration", "changed", "(", "new", "config", ")", ";", "if", "(", "this", "app", "view", "=", "=", "null", ")", "{", "return", ";", "}", "plugin", "manager", "pm", "=", "this", "app", "view", "get", "plugin", "manager", "(", ")", ...
[ "<", "/", "editor", "-", "fold", ">", "/", "/", "gen", "-", "end", ":", "init", "components" ]
[ "login", "j", "frame", "ljf", "=", "new", "login", "j", "frame", "(", ")", ";", "this", "dispose", "(", ")", ";", "ljf", "set", "visible", "(", "true", ")", ";" ]
[ "example", "value", ":", "42" ]
[ "this", "id", "=", "id", ";", "return", "this", ";" ]
[ "show", "a", "dialog", "with", "the", "proved", "message" ]
[ "error", "dialog", "dialog", "=", "new", "error", "dialog", "(", "message", ")", ";", "dialog", "set", "visible", "(", "true", ")", ";" ]
[ "set", "time", "to", "live", "for", "key", "\\", "value", "entry", "in", "milliseconds" ]
[ "this", "ttl", "=", "ttl", ";" ]
[ "set", "max", "idle", "time", "for", "key", "\\", "value", "entry", "in", "milliseconds" ]
[ "this", "max", "idle", "time", "=", "max", "idle", "time", ";" ]
[ "read", "config", "objects", "stored", "in", "json", "format", "from", "<", "code", ">", "string", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "j", "s", "o", "n", "(", "content", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "json", "format", "from", "<", "code", ">", "input", "stream", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "j", "s", "o", "n", "(", "input", "stream", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "json", "format", "from", "<", "code", ">", "file", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "j", "s", "o", "n", "(", "file", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "json", "format", "from", "<", "code", ">", "url", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "j", "s", "o", "n", "(", "url", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "json", "format", "from", "<", "code", ">", "reader", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "j", "s", "o", "n", "(", "reader", ")", ";" ]
[ "convert", "current", "configuration", "to", "json", "format" ]
[ "return", "new", "cache", "config", "support", "(", ")", "to", "j", "s", "o", "n", "(", "config", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "yaml", "format", "from", "<", "code", ">", "string", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "y", "a", "m", "l", "(", "content", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "yaml", "format", "from", "<", "code", ">", "input", "stream", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "y", "a", "m", "l", "(", "input", "stream", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "yaml", "format", "from", "<", "code", ">", "file", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "y", "a", "m", "l", "(", "file", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "yaml", "format", "from", "<", "code", ">", "url", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "y", "a", "m", "l", "(", "url", ")", ";" ]
[ "read", "config", "objects", "stored", "in", "yaml", "format", "from", "<", "code", ">", "reader", "<", "/", "code", ">" ]
[ "return", "new", "cache", "config", "support", "(", ")", "from", "y", "a", "m", "l", "(", "reader", ")", ";" ]
[ "convert", "current", "configuration", "to", "yaml", "format" ]
[ "return", "new", "cache", "config", "support", "(", ")", "to", "y", "a", "m", "l", "(", "config", ")", ";" ]
[ "constructs", "a", "new", "pair", "inferring", "the", "type", "via", "the", "passed", "arguments" ]
[ "return", "new", "pair", "<", ">", "(", "a", ",", "b", ")", ";" ]
[ "replace", "the", "first", "element", "of", "the", "pair" ]
[ "this", "first", "=", "a", ";" ]