docstring_tokens
list
code_tokens
list
[ "remove", "all", "of", "the", "parts" ]
[ "m", "parts", "clear", "(", ")", ";" ]
[ "get", "the", "part", "at", "the", "specified", "position" ]
[ "return", "m", "parts", "get", "(", "index", ")", ";" ]
[ "get", "the", "index", "of", "the", "specified", "part" ]
[ "return", "m", "parts", "index", "of", "(", "part", ")", ";" ]
[ "get", "the", "number", "of", "parts" ]
[ "return", "m", "parts", "size", "(", ")", ";" ]
[ "get", "pdu", "part", "by", "content", "id" ]
[ "return", "m", "part", "map", "by", "content", "id", "get", "(", "cid", ")", ";" ]
[ "get", "pdu", "part", "by", "content", "-", "location", "content", "-", "location", "of", "part", "is", "the", "same", "as", "filename", "and", "name", "(", "param", "of", "content", "-", "type", ")" ]
[ "return", "m", "part", "map", "by", "content", "location", "get", "(", "content", "location", ")", ";" ]
[ "get", "pdu", "part", "by", "name" ]
[ "return", "m", "part", "map", "by", "name", "get", "(", "name", ")", ";" ]
[ "get", "pdu", "part", "by", "filename" ]
[ "return", "m", "part", "map", "by", "file", "name", "get", "(", "filename", ")", ";" ]
[ "java", "7", "compatible", "version", "of", "string", "join", "(", "array", ")", "available", "in", "java", "8" ]
[ "string", "builder", "sb", "=", "new", "string", "builder", "(", ")", ";", "for", "(", "string", "value", ":", "array", ")", "{", "if", "(", "sb", "length", "(", ")", ">", "0", ")", "{", "sb", "append", "(", "\"", "\"", ")", ";", "}", "sb", "...
[ "enables", "audit", "logging", "every", "user", "management", "action", "made", "using", "jmx", "or", "the", "active", "m", "q", "web", "console", "is", "logged" ]
[ "this", "audit", "=", "audit", ";" ]
[ "enables", "audit", "logging", "every", "user", "management", "action", "made", "using", "jmx", "or", "the", "active", "m", "q", "web", "console", "is", "logged" ]
[ "return", "this", "audit", ";" ]
[ "enables", "audit", "logging", "every", "user", "management", "action", "made", "using", "jmx", "or", "the", "active", "m", "q", "web", "console", "is", "logged" ]
[ "set", "audit", "(", "audit", ")", ";", "return", "this", ";" ]
[ "enables", "audit", "logging", "every", "user", "management", "action", "made", "using", "jmx", "or", "the", "active", "m", "q", "web", "console", "is", "logged" ]
[ "return", "this", "audit", ";" ]
[ "enables", "general", "logging" ]
[ "this", "general", "=", "general", ";" ]
[ "enables", "general", "logging" ]
[ "return", "this", "general", ";" ]
[ "enables", "general", "logging" ]
[ "set", "general", "(", "general", ")", ";", "return", "this", ";" ]
[ "enables", "general", "logging" ]
[ "return", "this", "general", ";" ]
[ "get", "an", "exponential", "backoff", "retry", "counter", "the", "base", "unit", "is", "100", "milliseconds", "and", "the", "max", "backoff", "time", "is", "30", "seconds" ]
[ "return", "new", "retry", "counter", "factory", "(", "new", "retry", "counter", "retry", "config", "(", ")", "set", "backoff", "policy", "(", "new", "retry", "counter", "exponential", "backoff", "policy", "(", ")", ")", "set", "sleep", "interval", "(", "10...
[ "return", "the", "{" ]
[ "return", "sort", ";" ]
[ "get", "the", "regex", "flags" ]
[ "return", "flags", ";" ]
[ "returns", "allowed", "time", "(", "milliseconds", ")" ]
[ "return", "time", "allowed", ";" ]
[ "returns", "the", "graph", "the", "entered", "node", "belongs", "to" ]
[ "return", "m", "graph", ";" ]
[ "construct", "a", "synchronous", "implementation", "of", "amazon", "alexa", "for", "business", "using", "the", "current", "builder", "configuration" ]
[ "return", "new", "amazon", "alexa", "for", "business", "client", "(", "params", ")", ";" ]
[ "create", "a", "prepare", "deps", "of", "targets", "under", "directory", "request" ]
[ "return", "key", "(", "repository", ",", "rooted", "path", ",", "excluded", "paths", ",", "filtering", "policies", "no", "filter", ")", ";" ]
[ "create", "a", "prepare", "deps", "of", "targets", "under", "directory", "request", "specifying", "a", "filtering", "policy", "for", "targets" ]
[ "return", "prepare", "deps", "of", "targets", "under", "directory", "key", "create", "(", "new", "recursive", "pkg", "key", "(", "repository", ",", "rooted", "path", ",", "excluded", "paths", ")", ",", "filtering", "policy", ")", ";" ]
[ "get", "connection", "to", "git", "repository", "located", "in", "<", "code", ">", "work", "dir", "<", "/", "code", ">" ]
[ "return", "get", "connection", "(", "new", "file", "(", "work", "dir", ")", ")", ";" ]
[ "get", "connection", "to", "git", "repository", "located", "in", "<", "code", ">", "work", "dir", "<", "/", "code", ">" ]
[ "return", "get", "connection", "(", "new", "file", "(", "work", "dir", ")", ",", "output", "publisher", "factory", ")", ";" ]
[ "get", "connection", "to", "git", "repository", "located", "in", "<", "code", ">", "work", "dir", "<", "/", "code", ">" ]
[ "return", "get", "connection", "(", "work", "dir", ",", "line", "consumer", "factory", "null", ")", ";" ]
[ "get", "connection", "to", "git", "repository", "locate", "in", "<", "code", ">", "work", "dir", "<", "/", "code", ">" ]
[ "public", "abstract", "git", "connection", "get", "connection", "(", "file", "work", "dir", ",", "line", "consumer", "factory", "output", "publisher", "factory", ")", "throws", "git", "exception", ";" ]
[ "validate", "model", "with", "held", "-", "out", "validation", "data" ]
[]
[ "initilize", "recommender", "model" ]
[]
[ "compute", "the", "correlation", "between", "two", "vectors", "using", "method", "specified", "by", "configuration", "key", "similarity" ]
[ "return", "correlation", "(", "iv", ",", "jv", ",", "similarity", "measure", ")", ";" ]
[ "learning", "method", ":", "override", "this", "method", "to", "build", "a", "model", "for", "a", "model", "-", "based", "method", "default", "implementation", "is", "useful", "for", "memory", "-", "based", "methods" ]
[]
[ "after", "learning", "model", ":", "release", "some", "intermediate", "data", "to", "avoid", "memory", "leak" ]
[]
[ "serializing", "a", "learned", "model", "(", "i", "e", "variable", "data", ")", "to", "files" ]
[]
[ "deserializing", "a", "learned", "model", "(", "i", "e", "variable", "data", ")", "from", "files" ]
[]
[ "predict", "a", "specific", "rating", "for", "user", "u", "on", "item", "j", "it", "is", "useful", "for", "evalution", "which", "requires", "predictions", "are", "bounded" ]
[ "double", "pred", "=", "predict", "(", "u", ",", "j", ")", ";", "if", "(", "bound", ")", "{", "if", "(", "pred", ">", "max", "rate", ")", "pred", "=", "max", "rate", ";", "if", "(", "pred", "<", "min", "rate", ")", "pred", "=", "min", "rate",...
[ "predict", "a", "specific", "rating", "for", "user", "u", "on", "item", "j", "note", "that", "the", "prediction", "is", "not", "bounded", "it", "is", "useful", "for", "building", "models", "with", "no", "need", "to", "bound", "predictions" ]
[ "return", "global", "mean", ";" ]
[ "predict", "a", "ranking", "score", "for", "user", "u", "on", "item", "j", ":", "default", "case", "using", "the", "unbounded", "predicted", "rating", "values" ]
[ "return", "predict", "(", "u", ",", "j", ",", "false", ")", ";" ]
[ "logistic", "function", "g", "(", "x", ")" ]
[ "return", "1", "0", "/", "(", "1", "+", "math", "exp", "(", "-", "x", ")", ")", ";" ]
[ "gradient", "value", "of", "logistic", "function", "g", "(", "x", ")" ]
[ "return", "g", "(", "x", ")", "*", "g", "(", "-", "x", ")", ";" ]
[ "@", "param", "x", "input", "value", "@", "param", "mu", "mean", "of", "normal", "distribution", "@", "param", "sigma", "standard", "deviation", "of", "normation", "distribution" ]
[ "return", "math", "exp", "(", "-", "0", "5", "*", "math", "pow", "(", "x", "-", "mu", ",", "2", ")", "/", "(", "sigma", "*", "sigma", ")", ")", ";" ]
[ "normalize", "a", "rating", "to", "the", "region", "(", "0", "1", ")" ]
[ "return", "(", "rate", "-", "min", "rate", ")", "/", "(", "max", "rate", "-", "min", "rate", ")", ";" ]
[ "restarts", "the", "camera" ]
[ "super", "on", "resume", "(", ")", ";", "start", "camera", "source", "(", ")", ";" ]
[ "stops", "the", "camera" ]
[ "super", "on", "pause", "(", ")", ";", "m", "preview", "stop", "(", ")", ";" ]
[ "releases", "the", "resources", "associated", "with", "the", "camera", "source", "the", "associated", "detector", "and", "the", "rest", "of", "the", "processing", "pipeline" ]
[ "super", "on", "destroy", "(", ")", ";", "if", "(", "m", "camera", "source", "!", "=", "null", ")", "{", "m", "camera", "source", "release", "(", ")", ";", "}" ]
[ "platform", "type", "will", "be", "sms" ]
[ "this", "platform", "=", "platform", ";" ]
[ "platform", "type", "will", "be", "sms" ]
[ "return", "this", "platform", ";" ]
[ "<", "p", ">", "the", "platform", "s", "name", "<", "/", "p", ">" ]
[ "set", "platform", "(", "platform", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "operating", "system", "platform", "of", "the", "image", "<", "/", "p", ">" ]
[ "with", "platform", "(", "platform", ")", ";" ]
[ "<", "p", ">", "the", "platform", "s", "name", "<", "/", "p", ">" ]
[ "this", "platform", "=", "platform", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "list", "of", "programming", "languages", "that", "are", "available", "for", "the", "specified", "platform", "<", "/", "p", ">" ]
[ "return", "languages", ";" ]
[ "<", "p", ">", "the", "list", "of", "programming", "languages", "that", "are", "available", "for", "the", "specified", "platform", "<", "/", "p", ">" ]
[ "if", "(", "languages", "=", "=", "null", ")", "{", "this", "languages", "=", "null", ";", "return", ";", "}", "this", "languages", "=", "new", "java", "util", "array", "list", "<", "environment", "language", ">", "(", "languages", ")", ";" ]
[ "<", "p", ">", "the", "list", "of", "programming", "languages", "that", "are", "available", "for", "the", "specified", "platform", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the"...
[ "if", "(", "this", "languages", "=", "=", "null", ")", "{", "set", "languages", "(", "new", "java", "util", "array", "list", "<", "environment", "language", ">", "(", "languages", "length", ")", ")", ";", "}", "for", "(", "environment", "language", "el...
[ "<", "p", ">", "the", "list", "of", "programming", "languages", "that", "are", "available", "for", "the", "specified", "platform", "<", "/", "p", ">" ]
[ "set", "languages", "(", "languages", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "sampling", "rule", "specify", "a", "rule", "by", "either", "name", "or", "arn", "but", "not", "both", "<", "/", "p", ">" ]
[ "this", "rule", "name", "=", "rule", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "sampling", "rule", "specify", "a", "rule", "by", "either", "name", "or", "arn", "but", "not", "both", "<", "/", "p", ">" ]
[ "return", "this", "rule", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "sampling", "rule", "<", "/", "p", ">" ]
[ "set", "rule", "name", "(", "rule", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "error", "code", "that", "indicates", "why", "the", "target", "removal", "failed", "if", "the", "value", "is", "<", "code", ">", "concurrent", "modification", "exception", "<", "/", "code", ">", "too", "many", "requests", "were", "m...
[ "this", "error", "code", "=", "error", "code", ";" ]
[ "<", "p", ">", "the", "error", "code", "that", "indicates", "why", "the", "target", "removal", "failed", "if", "the", "value", "is", "<", "code", ">", "concurrent", "modification", "exception", "<", "/", "code", ">", "too", "many", "requests", "were", "m...
[ "return", "this", "error", "code", ";" ]
[ "<", "p", ">", "the", "error", "code", "<", "/", "p", ">" ]
[ "set", "error", "code", "(", "error", "code", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "error", "message", "<", "/", "p", ">" ]
[ "set", "message", "(", "message", ")", ";", "return", "this", ";" ]
[ "setter", "for", "property", "sequence" ]
[ "this", "sequence", "=", "sequence", ";" ]
[ "returns", "1", "(", "true", ")", "if", "this", "multi", "curve", "is", "closed", "[", "start", "point", "(", ")", "=", "end", "point", "(", ")", "for", "each", "curve", "in", "this", "multi", "curve", "]" ]
[ "if", "(", "closed", "=", "=", "null", ")", "{", "closed", "=", "expressions", "boolean", "operation", "(", "spatial", "ops", "is", "closed", ",", "mixin", ")", ";", "}", "return", "closed", ";" ]
[ "the", "length", "of", "this", "multi", "curve", "which", "is", "equal", "to", "the", "sum", "of", "the", "lengths", "of", "the", "element", "curves" ]
[ "if", "(", "length", "=", "=", "null", ")", "{", "length", "=", "expressions", "number", "operation", "(", "double", "class", ",", "spatial", "ops", "length", ",", "mixin", ")", ";", "}", "return", "length", ";" ]
[ "<", "p", ">", "the", "state", "of", "the", "permission", "<", "/", "p", ">" ]
[ "set", "state", "(", "state", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "state", "of", "the", "permission", "<", "/", "p", ">" ]
[ "with", "state", "(", "state", ")", ";" ]
[ "<", "p", ">", "the", "state", "of", "the", "permission", "<", "/", "p", ">" ]
[ "this", "state", "=", "state", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "status", "message", "if", "applicable", "<", "/", "p", ">" ]
[ "set", "status", "message", "(", "status", "message", ")", ";", "return", "this", ";" ]
[ "reads", "a", "message", "from", "the", "given", "byte", "buffer", "and", "returns", "it" ]
[ "public", "abstract", "message", "deserialize", "(", "byte", "buffer", "in", ")", "throws", "protocol", "exception", ",", "i", "o", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "deserializes", "only", "the", "header", "in", "case", "packet", "meta", "data", "is", "needed", "before", "decoding", "the", "payload", "this", "method", "assumes", "you", "have", "already", "called", "seek", "past", "magic", "bytes", "(", ")" ]
[ "public", "abstract", "bitcoin", "serializer", "bitcoin", "packet", "header", "deserialize", "header", "(", "byte", "buffer", "in", ")", "throws", "protocol", "exception", ",", "i", "o", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "deserialize", "payload", "only", "you", "must", "provide", "a", "header", "typically", "obtained", "by", "calling", "{" ]
[ "public", "abstract", "message", "deserialize", "payload", "(", "bitcoin", "serializer", "bitcoin", "packet", "header", "header", ",", "byte", "buffer", "in", ")", "throws", "protocol", "exception", ",", "buffer", "underflow", "exception", ",", "unsupported", "ope...
[ "whether", "the", "serializer", "will", "produce", "cached", "mode", "messages" ]
[ "public", "abstract", "boolean", "is", "parse", "retain", "mode", "(", ")", ";" ]
[ "make", "an", "address", "message", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "address", "message", "make", "address", "message", "(", "byte", "[", "]", "payload", "bytes", ",", "int", "length", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "an", "alert", "message", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "message", "make", "alert", "message", "(", "byte", "[", "]", "payload", "bytes", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "a", "block", "from", "the", "payload", "using", "an", "offset", "of", "zero", "and", "the", "payload", "length", "as", "block", "length" ]
[ "return", "make", "block", "(", "payload", "bytes", ",", "0", ",", "payload", "bytes", "length", ")", ";" ]
[ "make", "a", "block", "from", "the", "payload", "using", "an", "offset", "of", "zero", "and", "the", "provided", "length", "as", "block", "length" ]
[ "return", "make", "block", "(", "payload", "bytes", ",", "0", ",", "length", ")", ";" ]
[ "make", "a", "block", "from", "the", "payload", "using", "an", "offset", "of", "zero", "and", "the", "provided", "length", "as", "block", "length", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "block", "make", "block", "(", "final", "byte", "[", "]", "payload", "bytes", ",", "final", "int", "offset", ",", "final", "int", "length", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "an", "filter", "message", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "message", "make", "bloom", "filter", "(", "byte", "[", "]", "payload", "bytes", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "a", "filtered", "block", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "filtered", "block", "make", "filtered", "block", "(", "byte", "[", "]", "payload", "bytes", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "an", "inventory", "message", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "inventory", "message", "make", "inventory", "message", "(", "byte", "[", "]", "payload", "bytes", ",", "int", "length", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "make", "a", "transaction", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "public", "abstract", "transaction", "make", "transaction", "(", "byte", "[", "]", "payload", "bytes", ",", "int", "offset", ",", "int", "length", ",", "byte", "[", "]", "hash", ")", "throws", "protocol", "exception", ",", "unsupported", "operation", "except...
[ "make", "a", "transaction", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "return", "make", "transaction", "(", "payload", "bytes", ",", "0", ")", ";" ]
[ "make", "a", "transaction", "from", "the", "payload", "extension", "point", "for", "alternative", "serialization", "format", "support" ]
[ "return", "make", "transaction", "(", "payload", "bytes", ",", "offset", ",", "payload", "bytes", "length", ",", "null", ")", ";" ]
[ "writes", "message", "to", "to", "the", "output", "stream" ]
[ "public", "abstract", "void", "serialize", "(", "string", "name", ",", "byte", "[", "]", "message", ",", "output", "stream", "out", ")", "throws", "i", "o", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "writes", "message", "to", "to", "the", "output", "stream" ]
[ "public", "abstract", "void", "serialize", "(", "message", "message", ",", "output", "stream", "out", ")", "throws", "i", "o", "exception", ",", "unsupported", "operation", "exception", ";" ]
[ "returns", "the", "aggregated", "deep", "learning", "model", "that", "was", "trained", "by", "all", "nodes", "(", "over", "all", "the", "training", "data", ")" ]
[ "return", "res", "model", "info", "(", ")", ";" ]
[ "whether", "the", "skin", "being", "used", "is", "from", "external", "skin", "file" ]
[ "return", "!", "is", "default", "skin", "&", "&", "m", "resources", "!", "=", "null", ";" ]
[ "get", "current", "skin", "path" ]
[ "return", "skin", "path", ";" ]
[ "return", "a", "global", "static", "instance", "of", "{" ]
[ "if", "(", "instance", "=", "=", "null", ")", "{", "synchronized", "(", "synchronized", "lock", ")", "{", "if", "(", "instance", "=", "=", "null", ")", "{", "instance", "=", "new", "skin", "manager", "(", ")", ";", "}", "}", "}", "return", "instanc...
[ "gets", "resources" ]
[ "return", "m", "resources", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "...
[ "order", "by", "(", "historic", "task", "instance", "query", "property", "historic", "task", "instance", "id", ")", ";", "return", "this", ";" ]
[ "check", "if", "this", "{", "@", "link", "color", "space", "transform", "}", "is", "equal", "to", "another", "{", "@", "link", "color", "space", "transform", "}" ]
[ "if", "(", "obj", "=", "=", "null", ")", "{", "return", "false", ";", "}", "if", "(", "this", "=", "=", "obj", ")", "{", "return", "true", ";", "}", "if", "(", "obj", "instanceof", "color", "space", "transform", ")", "{", "final", "color", "space...
[ "{" ]
[ "return", "hash", "code", "helpers", "hash", "code", "(", "m", "elements", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "describe", "directories", "operation" ]
[ "return", "describe", "directories", "async", "(", "new", "describe", "directories", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "describe", "directories", "operation", "with", "an", "async", "handler" ]
[ "return", "describe", "directories", "async", "(", "new", "describe", "directories", "request", "(", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "describe", "snapshots", "operation" ]
[ "return", "describe", "snapshots", "async", "(", "new", "describe", "snapshots", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "describe", "snapshots", "operation", "with", "an", "async", "handler" ]
[ "return", "describe", "snapshots", "async", "(", "new", "describe", "snapshots", "request", "(", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "directory", "limits", "operation" ]
[ "return", "get", "directory", "limits", "async", "(", "new", "get", "directory", "limits", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "directory", "limits", "operation", "with", "an", "async", "handler" ]
[ "return", "get", "directory", "limits", "async", "(", "new", "get", "directory", "limits", "request", "(", ")", ",", "async", "handler", ")", ";" ]