} [version] The cassandra version\n@param {SchemaParser} [currentInstance] The current instance\n@returns {SchemaParser}", "docstring_tokens": ["Creates", "a", "new", "instance", "if", "the", "currentInstance", "is", "not", "valid", "for", "the", "provided", "Cassandra", "version"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/metadata/schema-parser.js#L1371-L1382", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/client.js", "func_name": "encodeRoutingKey", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wrapper function as encoding a routing key could throw a TypeError", "docstring_tokens": ["Wrapper", "function", "as", "encoding", "a", "routing", "key", "could", "throw", "a", "TypeError"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/client.js#L1074-L1087", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "examples/runner.js", "func_name": "getJsFiles", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "This script is used to check that the samples run correctly.\nIt is not a valid example, see README.md and subdirectories for more information.\n List all js files in the directory", "docstring_tokens": ["This", "script", "is", "used", "to", "check", "that", "the", "samples", "run", "correctly", ".", "It", "is", "not", "a", "valid", "example", "see", "README", ".", "md", "and", "subdirectories", "for", "more", "information", ".", "List", "all", "js", "files", "in", "the", "directory"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/examples/runner.js#L14-L31", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/metadata/schema-function.js", "func_name": "SchemaFunction", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates a new SchemaFunction.\n@classdesc Describes a CQL function.\n@alias module:metadata~SchemaFunction\n@constructor", "docstring_tokens": ["Creates", "a", "new", "SchemaFunction", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/metadata/schema-function.js#L9-L54", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "copyBuffer", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates a copy of a buffer", "docstring_tokens": ["Creates", "a", "copy", "of", "a", "buffer"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L70-L74", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "fixStack", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Appends the original stack trace to the error after a tick of the event loop", "docstring_tokens": ["Appends", "the", "original", "stack", "trace", "to", "the", "error", "after", "a", "tick", "of", "the", "event", "loop"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L79-L84", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "log", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Uses the logEmitter to emit log events\n@param {String} type\n@param {String} info\n@param [furtherInfo]", "docstring_tokens": ["Uses", "the", "logEmitter", "to", "emit", "log", "events"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L92-L100", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "toLowerCaseProperties", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a new object with the property names set to lowercase.", "docstring_tokens": ["Returns", "a", "new", "object", "with", "the", "property", "names", "set", "to", "lowercase", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L145-L153", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "deepExtend", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Extends the target by the most inner props of sources\n@param {Object} target\n@returns {Object}", "docstring_tokens": ["Extends", "the", "target", "by", "the", "most", "inner", "props", "of", "sources"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L160-L188", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "arrayIterator", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Uses the iterator protocol to go through the items of the Array\n@param arr\n@returns {{next: function}}", "docstring_tokens": ["Uses", "the", "iterator", "protocol", "to", "go", "through", "the", "items", "of", "the", "Array"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L223-L231", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "iteratorToArray", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Convert the iterator values into an array\n@param iterator\n@returns {Array}", "docstring_tokens": ["Convert", "the", "iterator", "values", "into", "an", "array"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L238-L246", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "binarySearch", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Searches the specified Array for the provided key using the binary\nsearch algorithm. The Array must be sorted.\n@param {Array} arr\n@param key\n@param {function} compareFunc\n@returns {number} The position of the key in the Array, if it is found.\nIf it is not found, it returns a negative number which is the bitwise complement of the index of the first element that is larger than key.", "docstring_tokens": ["Searches", "the", "specified", "Array", "for", "the", "provided", "key", "using", "the", "binary", "search", "algorithm", ".", "The", "Array", "must", "be", "sorted", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L257-L279", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "insertSorted", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Inserts the value in the position determined by its natural order determined by the compare func\n@param {Array} arr\n@param item\n@param {function} compareFunc", "docstring_tokens": ["Inserts", "the", "value", "in", "the", "position", "determined", "by", "its", "natural", "order", "determined", "by", "the", "compare", "func"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L287-L296", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "validateFn", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Validates the provided parameter is of type function.\n@param {Function} fn The instance to validate.\n@param {String} [name] Name of the function to use in the error message. Defaults to 'callback'.\n@returns {Function}", "docstring_tokens": ["Validates", "the", "provided", "parameter", "is", "of", "type", "function", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L304-L309", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "stringRepeat", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a string with a value repeated n times\n@param {String} val\n@param {Number} times\n@returns {String}", "docstring_tokens": ["Returns", "a", "string", "with", "a", "value", "repeated", "n", "times"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L378-L386", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/utils.js", "func_name": "promiseWrapper", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wraps the callback-based method. When no originalCallback is not defined, it returns a Promise.\n@param {ClientOptions} options\n@param {Function} originalCallback\n@param {Function} handler\n@returns {Promise|undefined}", "docstring_tokens": ["Wraps", "the", "callback", "-", "based", "method", ".", "When", "no", "originalCallback", "is", "not", "defined", "it", "returns", "a", "Promise", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/utils.js#L413-L424", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/policies/load-balancing.js", "func_name": "WhiteListPolicy", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a new policy that wraps the provided child policy but only \"allow\" hosts\nfrom the provided while list.\n@class\n@classdesc\nA load balancing policy wrapper that ensure that only hosts from a provided\nwhite list will ever be returned.\n\nThis policy wraps another load balancing policy and will delegate the choice\nof hosts to the wrapped policy with the exception that only hosts contained\nin the white list provided when constructing this policy will ever be\nreturned. Any host not in the while list will be considered ignored\nand thus will not be connected to.\n
\nThis policy can be useful to ensure that the driver only connects to a\npredefined set of hosts. Keep in mind however that this policy defeats\nsomewhat the host auto-detection of the driver. As such, this policy is only\nuseful in a few special cases or for testing, but is not optimal in general.\nIf all you want to do is limiting connections to hosts of the local\ndata-center then you should use DCAwareRoundRobinPolicy and *not* this policy\nin particular.\n@param {LoadBalancingPolicy} childPolicy the wrapped policy.\n@param {Array.} whiteList the white listed hosts address in the format ipAddress:port.\nOnly hosts from this list may get connected\nto (whether they will get connected to or not depends on the child policy).\n@extends LoadBalancingPolicy\n@constructor", "docstring_tokens": ["Create", "a", "new", "policy", "that", "wraps", "the", "provided", "child", "policy", "but", "only", "allow", "hosts", "from", "the", "provided", "while", "list", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/policies/load-balancing.js#L390-L403", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/metadata/event-debouncer.js", "func_name": "EventDebouncer", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Debounce protocol events by acting on those events with a sliding delay.\n@param {Number} delay\n@param {Function} logger\n@ignore\n@constructor", "docstring_tokens": ["Debounce", "protocol", "events", "by", "acting", "on", "those", "events", "with", "a", "sliding", "delay", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/metadata/event-debouncer.js#L15-L20", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/readers.js", "func_name": "FrameReader", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Buffer forward reader of CQL binary frames\n@param {FrameHeader} header\n@param {Buffer} body\n@param {Number} [offset]", "docstring_tokens": ["Buffer", "forward", "reader", "of", "CQL", "binary", "frames"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/readers.js#L23-L28", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/connection.js", "func_name": "Connection", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Represents a connection to a Cassandra node\n@param {String} endpoint An string containing ip address and port of the host\n@param {Number|null} protocolVersion\n@param {ClientOptions} options\n@extends EventEmitter\n@constructor", "docstring_tokens": ["Represents", "a", "connection", "to", "a", "Cassandra", "node"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/connection.js#L30-L98", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/time-uuid.js", "func_name": "getClockId", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a buffer of length 2 representing the clock identifier\n@param {String|Buffer} clockId\n@returns {Buffer}\n@private", "docstring_tokens": ["Returns", "a", "buffer", "of", "length", "2", "representing", "the", "clock", "identifier"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/time-uuid.js#L271-L284", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/time-uuid.js", "func_name": "getNodeId", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a buffer of length 6 representing the clock identifier\n@param {String|Buffer} nodeId\n@returns {Buffer}\n@private", "docstring_tokens": ["Returns", "a", "buffer", "of", "length", "6", "representing", "the", "clock", "identifier"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/time-uuid.js#L292-L305", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/time-uuid.js", "func_name": "getTicks", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the ticks portion of a timestamp. If the ticks are not provided an internal counter is used that gets reset at 10000.\n@private\n@param {Number} [ticks]\n@returns {Number}", "docstring_tokens": ["Returns", "the", "ticks", "portion", "of", "a", "timestamp", ".", "If", "the", "ticks", "are", "not", "provided", "an", "internal", "counter", "is", "used", "that", "gets", "reset", "at", "10000", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/time-uuid.js#L313-L322", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/time-uuid.js", "func_name": "getTimeWithTicks", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns an object with the time representation of the date expressed in milliseconds since unix epoch\nand a ticks property for the 100-nanoseconds precision.\n@private\n@returns {{time: Number, ticks: Number}}", "docstring_tokens": ["Returns", "an", "object", "with", "the", "time", "representation", "of", "the", "date", "expressed", "in", "milliseconds", "since", "unix", "epoch", "and", "a", "ticks", "property", "for", "the", "100", "-", "nanoseconds", "precision", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/time-uuid.js#L330-L346", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/time-uuid.js", "func_name": "generateBuffer", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Generates a 16-length Buffer instance\n@private\n@param {Date} date\n@param {Number} ticks\n@param {String|Buffer} nodeId\n@param {String|Buffer} clockId\n@returns {Buffer}", "docstring_tokens": ["Generates", "a", "16", "-", "length", "Buffer", "instance"], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/time-uuid.js#L368-L393", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/encoder.js", "func_name": "Encoder", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Serializes and deserializes to and from a CQL type and a Javascript Type.\n@param {Number} protocolVersion\n@param {ClientOptions} options\n@constructor", "docstring_tokens": ["Serializes", "and", "deserializes", "to", "and", "from", "a", "CQL", "type", "and", "a", "Javascript", "Type", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/encoder.js#L101-L112", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/types/duration.js", "func_name": "numberOfLeadingZeros", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the number of zero bits preceding the highest-order one-bit in the binary representation of the value.\n@param {Long} value\n@returns {Number}", "docstring_tokens": ["Returns", "the", "number", "of", "zero", "bits", "preceding", "the", "highest", "-", "order", "one", "-", "bit", "in", "the", "binary", "representation", "of", "the", "value", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/types/duration.js#L579-L607", "partition": "test"}
+{"repo": "datastax/nodejs-driver", "path": "lib/metadata/schema-index.js", "func_name": "Index", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates a new Index instance.\n@classdesc Describes a CQL index.\n@param {String} name\n@param {String} target\n@param {Number|String} kind\n@param {Object} options\n@alias module:metadata~Index\n@constructor", "docstring_tokens": ["Creates", "a", "new", "Index", "instance", "."], "sha": "6766188870f7099aeb393719820245b69d789d23", "url": "https://github.com/datastax/nodejs-driver/blob/6766188870f7099aeb393719820245b69d789d23/lib/metadata/schema-index.js#L22-L43", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/plato-sortable-file-list.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "work-horse @param: key The 'data-' to sort by @return: descending sorted array of elements", "docstring_tokens": ["work", "-", "horse"], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/plato-sortable-file-list.js#L32-L36", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "loadMode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "STATE UPDATES Used to get the editor into a consistent state again when options change.", "docstring_tokens": ["STATE", "UPDATES", "Used", "to", "get", "the", "editor", "into", "a", "consistent", "state", "again", "when", "options", "change", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L194-L200", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "updateScrollbars", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Re-synchronize the fake scrollbars with the actual size of the content. Optionally force a scrollTop.", "docstring_tokens": ["Re", "-", "synchronize", "the", "fake", "scrollbars", "with", "the", "actual", "size", "of", "the", "content", ".", "Optionally", "force", "a", "scrollTop", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L305-L330", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "restartBlink", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Cursor-blinking", "docstring_tokens": ["Cursor", "-", "blinking"], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L754-L763", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "coordsChar", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Coords must be lineSpace-local", "docstring_tokens": ["Coords", "must", "be", "lineSpace", "-", "local"], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L1001-L1018", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "updateDoc", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Replace the range from from to to by the strings in newText. Afterwards, set the selection to selFrom, selTo.", "docstring_tokens": ["Replace", "the", "range", "from", "from", "to", "to", "by", "the", "strings", "in", "newText", ".", "Afterwards", "set", "the", "selection", "to", "selFrom", "selTo", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L1849-L1862", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "setSelection", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Update the selection. Last two args are only used by updateDoc, since they have to be expressed in the line numbers before the update.", "docstring_tokens": ["Update", "the", "selection", ".", "Last", "two", "args", "are", "only", "used", "by", "updateDoc", "since", "they", "have", "to", "be", "expressed", "in", "the", "line", "numbers", "before", "the", "update", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L2067-L2085", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "highlightLine", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Run the given mode's parser over a line, update the styles array, which contains alternating fragments of text and CSS classes.", "docstring_tokens": ["Run", "the", "given", "mode", "s", "parser", "over", "a", "line", "update", "the", "styles", "array", "which", "contains", "alternating", "fragments", "of", "text", "and", "CSS", "classes", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L3524-L3549", "partition": "test"}
+{"repo": "es-analysis/plato", "path": "lib/assets/scripts/vendor/codemirror/codemirror.js", "func_name": "e_prop", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Allow 3rd-party code to override event properties by adding an override object to an event object.", "docstring_tokens": ["Allow", "3rd", "-", "party", "code", "to", "override", "event", "properties", "by", "adding", "an", "override", "object", "to", "an", "event", "object", "."], "sha": "a944bb9313785bcc47fb27b257bb2518c86174bd", "url": "https://github.com/es-analysis/plato/blob/a944bb9313785bcc47fb27b257bb2518c86174bd/lib/assets/scripts/vendor/codemirror/codemirror.js#L4038-L4041", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "Flow", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Flow.js is a library providing multiple simultaneous, stable and\nresumable uploads via the HTML5 File API.\n@param [opts]\n@param {number} [opts.chunkSize]\n@param {bool} [opts.forceChunkSize]\n@param {number} [opts.simultaneousUploads]\n@param {bool} [opts.singleFile]\n@param {string} [opts.fileParameterName]\n@param {number} [opts.progressCallbacksInterval]\n@param {number} [opts.speedSmoothingFactor]\n@param {Object|Function} [opts.query]\n@param {Object|Function} [opts.headers]\n@param {bool} [opts.withCredentials]\n@param {Function} [opts.preprocess]\n@param {string} [opts.method]\n@param {string|Function} [opts.testMethod]\n@param {string|Function} [opts.uploadMethod]\n@param {bool} [opts.prioritizeFirstAndLastChunk]\n@param {bool} [opts.allowDuplicateUploads]\n@param {string|Function} [opts.target]\n@param {number} [opts.maxChunkRetries]\n@param {number} [opts.chunkRetryInterval]\n@param {Array.} [opts.permanentErrors]\n@param {Array.} [opts.successStatuses]\n@param {Function} [opts.initFileFn]\n@param {Function} [opts.readFileFn]\n@param {Function} [opts.generateUniqueIdentifier]\n@constructor", "docstring_tokens": ["Flow", ".", "js", "is", "a", "library", "providing", "multiple", "simultaneous", "stable", "and", "resumable", "uploads", "via", "the", "HTML5", "File", "API", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L41-L160", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Remove event callback\n@function\n@param {string} [event] removes all events if not specified\n@param {Function} [fn] removes all callbacks of event if not specified", "docstring_tokens": ["Remove", "event", "callback"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L186-L199", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Fire an event\n@function\n@param {string} event event name\n@param {...} args arguments of a callback\n@return {bool} value is false if at least one of the event handlers which handled this event\nreturned false. Otherwise it returns true.", "docstring_tokens": ["Fire", "an", "event"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L209-L224", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Read webkit dataTransfer object\n@param event", "docstring_tokens": ["Read", "webkit", "dataTransfer", "object"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L230-L281", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Generate unique identifier for a file\n@function\n@param {FlowFile} file\n@returns {string}", "docstring_tokens": ["Generate", "unique", "identifier", "for", "a", "file"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L289-L297", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Upload next chunk from the queue\n@function\n@returns {boolean}\n@private", "docstring_tokens": ["Upload", "next", "chunk", "from", "the", "queue"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L305-L364", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Assign a browse action to one or more DOM nodes.\n@function\n@param {Element|Array.} domNodes\n@param {boolean} isDirectory Pass in true to allow directories to\n@param {boolean} singleFile prevent multi file upload\n@param {Object} attributes set custom attributes:\nhttp://www.w3.org/TR/html-markup/input.file.html#input.file-attributes\neg: accept: 'image/*'\nbe selected (Chrome only).", "docstring_tokens": ["Assign", "a", "browse", "action", "to", "one", "or", "more", "DOM", "nodes", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L378-L425", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Assign one or more DOM nodes as a drop target.\n@function\n@param {Element|Array.} domNodes", "docstring_tokens": ["Assign", "one", "or", "more", "DOM", "nodes", "as", "a", "drop", "target", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L432-L441", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Un-assign drop event from DOM nodes\n@function\n@param domNodes", "docstring_tokens": ["Un", "-", "assign", "drop", "event", "from", "DOM", "nodes"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L448-L457", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a boolean indicating whether or not the instance is currently\nuploading anything.\n@function\n@returns {boolean}", "docstring_tokens": ["Returns", "a", "boolean", "indicating", "whether", "or", "not", "the", "instance", "is", "currently", "uploading", "anything", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L465-L474", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "should upload next chunk\n@function\n@returns {boolean|number}", "docstring_tokens": ["should", "upload", "next", "chunk"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L481-L498", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Start or resume uploading.\n@function", "docstring_tokens": ["Start", "or", "resume", "uploading", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L504-L521", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Add a HTML5 File object to the list of files.\n@function\n@param {FileList|Array} fileList\n@param {Event} [event] event is optional", "docstring_tokens": ["Add", "a", "HTML5", "File", "object", "to", "the", "list", "of", "files", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L588-L611", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Cancel upload of a specific FlowFile object from the list.\n@function\n@param {FlowFile} file", "docstring_tokens": ["Cancel", "upload", "of", "a", "specific", "FlowFile", "object", "from", "the", "list", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L619-L627", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Look up a FlowFile object by its unique identifier.\n@function\n@param {string} uniqueIdentifier\n@returns {boolean|FlowFile} false if file was not found", "docstring_tokens": ["Look", "up", "a", "FlowFile", "object", "by", "its", "unique", "identifier", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L635-L643", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns remaining time to upload all files in seconds. Accuracy is based on average speed.\nIf speed is zero, time remaining will be equal to positive infinity `Number.POSITIVE_INFINITY`\n@function\n@returns {number}", "docstring_tokens": ["Returns", "remaining", "time", "to", "upload", "all", "files", "in", "seconds", ".", "Accuracy", "is", "based", "on", "average", "speed", ".", "If", "speed", "is", "zero", "time", "remaining", "will", "be", "equal", "to", "positive", "infinity", "Number", ".", "POSITIVE_INFINITY"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L677-L693", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Update speed parameters\n@link http://stackoverflow.com/questions/2779600/how-to-estimate-download-time-remaining-accurately\n@function", "docstring_tokens": ["Update", "speed", "parameters"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L813-L824", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "For internal usage only.\nCallback when something happens within the chunk.\n@function\n@param {FlowChunk} chunk\n@param {string} event can be 'progress', 'success', 'error' or 'retry'\n@param {string} [message]", "docstring_tokens": ["For", "internal", "usage", "only", ".", "Callback", "when", "something", "happens", "within", "the", "chunk", "."], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L834-L870", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Abort current upload\n@function", "docstring_tokens": ["Abort", "current", "upload"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L894-L907", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Clear current chunks and slice file again\n@function", "docstring_tokens": ["Clear", "current", "chunks", "and", "slice", "file", "again"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L930-L948", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get current upload progress status\n@function\n@returns {number} from 0 to 1", "docstring_tokens": ["Get", "current", "upload", "progress", "status"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L955-L973", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Indicates if file is has finished uploading and received a response\n@function\n@returns {boolean}", "docstring_tokens": ["Indicates", "if", "file", "is", "has", "finished", "uploading", "and", "received", "a", "response"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L996-L1006", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns remaining time to finish upload file in seconds. Accuracy is based on average speed.\nIf speed is zero, time remaining will be equal to positive infinity `Number.POSITIVE_INFINITY`\n@function\n@returns {number}", "docstring_tokens": ["Returns", "remaining", "time", "to", "finish", "upload", "file", "in", "seconds", ".", "Accuracy", "is", "based", "on", "average", "speed", ".", "If", "speed", "is", "zero", "time", "remaining", "will", "be", "equal", "to", "positive", "infinity", "Number", ".", "POSITIVE_INFINITY"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1027-L1039", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "webAPIFileRead", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Default read function using the webAPI\n\n@function webAPIFileRead(fileObj, startByte, endByte, fileType, chunk)", "docstring_tokens": ["Default", "read", "function", "using", "the", "webAPI"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1066-L1077", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Makes a GET request without any data to see if the chunk has already\nbeen uploaded in a previous session\n@function", "docstring_tokens": ["Makes", "a", "GET", "request", "without", "any", "data", "to", "see", "if", "the", "chunk", "has", "already", "been", "uploaded", "in", "a", "previous", "session"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1299-L1307", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Uploads the actual data in a POST call\n@function", "docstring_tokens": ["Uploads", "the", "actual", "data", "in", "a", "POST", "call"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1337-L1376", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Retrieve current chunk upload status\n@function\n@returns {string} 'pending', 'uploading', 'success', 'error'", "docstring_tokens": ["Retrieve", "current", "chunk", "upload", "status"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1396-L1425", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Prepare Xhr request. Set query, headers and data\n@param {string} method GET or POST\n@param {bool} isTest is this a test request\n@param {string} [paramsMethod] octet or form\n@param {Blob} [blob] to send\n@returns {FormData|Blob|Null} data to send", "docstring_tokens": ["Prepare", "Xhr", "request", ".", "Set", "query", "headers", "and", "data"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1477-L1510", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "evalOpts", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "If option is a function, evaluate it with given params\n@param {*} data\n@param {...} args arguments of a callback\n@returns {*}", "docstring_tokens": ["If", "option", "is", "a", "function", "evaluate", "it", "with", "given", "params"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1531-L1538", "partition": "test"}
+{"repo": "flowjs/flow.js", "path": "dist/flow.js", "func_name": "each", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Iterate each element of an object\n@function\n@param {Array|Object} obj object or an array to iterate\n@param {Function} callback first argument is a value and second is a key.\n@param {Object=} context Object to become context (`this`) for the iterator function.", "docstring_tokens": ["Iterate", "each", "element", "of", "an", "object"], "sha": "aadc5a72b1414d87ed1aa3563b30209f9b1f7773", "url": "https://github.com/flowjs/flow.js/blob/aadc5a72b1414d87ed1aa3563b30209f9b1f7773/dist/flow.js#L1577-L1597", "partition": "test"}
+{"repo": "alexiusacademia/electron-db", "path": "index.js", "func_name": "createTable", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a table | a json file\nThe second argument is optional, if ommitted, the file\nwill be created at the default location.\n@param {[string]} arguments[0] [Table name]\n@param {[string]} arguments[1] [Location of the database file] (Optional)\n@param {[function]} arguments[2] [Callbak ]\n function createTable(tableName, callback) {", "docstring_tokens": ["Create", "a", "table", "|", "a", "json", "file", "The", "second", "argument", "is", "optional", "if", "ommitted", "the", "file", "will", "be", "created", "at", "the", "default", "location", "."], "sha": "630ac39969e27d68bd85eb048f99e0d2b64fd67b", "url": "https://github.com/alexiusacademia/electron-db/blob/630ac39969e27d68bd85eb048f99e0d2b64fd67b/index.js#L39-L77", "partition": "test"}
+{"repo": "alexiusacademia/electron-db", "path": "index.js", "func_name": "valid", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Checks if a json file contains valid JSON string", "docstring_tokens": ["Checks", "if", "a", "json", "file", "contains", "valid", "JSON", "string"], "sha": "630ac39969e27d68bd85eb048f99e0d2b64fd67b", "url": "https://github.com/alexiusacademia/electron-db/blob/630ac39969e27d68bd85eb048f99e0d2b64fd67b/index.js#L82-L101", "partition": "test"}
+{"repo": "alexiusacademia/electron-db", "path": "index.js", "func_name": "insertTableContent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Insert object to table. The object will be appended with the property, id\nwhich uses timestamp as value.\nThere are 3 required arguments.\n@param {string} arguments[0] [Table name]\n@param {string} arguments[1] [Location of the database file] (Optional)\n@param {string} arguments[2] [Row object]\n@param {Function} arguments[3] [Callback function]\n function insertTableContent(tableName, tableRow, callback) {", "docstring_tokens": ["Insert", "object", "to", "table", ".", "The", "object", "will", "be", "appended", "with", "the", "property", "id", "which", "uses", "timestamp", "as", "value", ".", "There", "are", "3", "required", "arguments", "."], "sha": "630ac39969e27d68bd85eb048f99e0d2b64fd67b", "url": "https://github.com/alexiusacademia/electron-db/blob/630ac39969e27d68bd85eb048f99e0d2b64fd67b/index.js#L113-L154", "partition": "test"}
+{"repo": "alexiusacademia/electron-db", "path": "index.js", "func_name": "count", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Count the number of rows for a given table.\n@param {string} FirstArgument Table name\n@param {string} SecondArgument Location of the database file (Optional)\n@param {callback} ThirdArgument Function callback", "docstring_tokens": ["Count", "the", "number", "of", "rows", "for", "a", "given", "table", "."], "sha": "630ac39969e27d68bd85eb048f99e0d2b64fd67b", "url": "https://github.com/alexiusacademia/electron-db/blob/630ac39969e27d68bd85eb048f99e0d2b64fd67b/index.js#L284-L313", "partition": "test"}
+{"repo": "alexiusacademia/electron-db", "path": "index.js", "func_name": "updateRow", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Update a row or record which satisfies the where clause\n@param {[string]} arguments[0] [Table name]\n@param {string} arguments[1] [Location of the database file] (Optional)\n@param {[object]} arguments[2] [Objet for WHERE clause]\n@param {[object]} arguments[3] [Object for SET clause]\n@param {Function} arguments[4] [Callback function]\n function updateRow(tableName, where, set, callback) {", "docstring_tokens": ["Update", "a", "row", "or", "record", "which", "satisfies", "the", "where", "clause"], "sha": "630ac39969e27d68bd85eb048f99e0d2b64fd67b", "url": "https://github.com/alexiusacademia/electron-db/blob/630ac39969e27d68bd85eb048f99e0d2b64fd67b/index.js#L408-L493", "partition": "test"}
+{"repo": "expressjs/method-override", "path": "index.js", "func_name": "createHeaderGetter", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a getter for the given header name.", "docstring_tokens": ["Create", "a", "getter", "for", "the", "given", "header", "name", "."], "sha": "5b83d4f0dc3db414df6c7e4a5da93dec170153de", "url": "https://github.com/expressjs/method-override/blob/5b83d4f0dc3db414df6c7e4a5da93dec170153de/index.js#L112-L134", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "Param", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Represents a single parameter\n@class Param\n@param {string} name - The name of the parameter in snake_case\n@param {string} shortName - The name of the serialized form of the parameter.\nIf a value is not provided, the parameter will not be serialized.\n@param {function} [process=cloudinary.Util.identity ] - Manipulate origValue when value is called\n@ignore", "docstring_tokens": ["Represents", "a", "single", "parameter"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L1001-L1023", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "ArrayParam", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "A parameter that represents an array\n@param {string} name - The name of the parameter in snake_case\n@param {string} shortName - The name of the serialized form of the parameter\nIf a value is not provided, the parameter will not be serialized.\n@param {string} [sep='.'] - The separator to use when joining the array elements together\n@param {function} [process=cloudinary.Util.identity ] - Manipulate origValue when value is called\n@class ArrayParam\n@extends Param\n@ignore", "docstring_tokens": ["A", "parameter", "that", "represents", "an", "array"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L1136-L1142", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "TransformationParam", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "A parameter that represents a transformation\n@param {string} name - The name of the parameter in snake_case\n@param {string} [shortName='t'] - The name of the serialized form of the parameter\n@param {string} [sep='.'] - The separator to use when joining the array elements together\n@param {function} [process=cloudinary.Util.identity ] - Manipulate origValue when value is called\n@class TransformationParam\n@extends Param\n@ignore", "docstring_tokens": ["A", "parameter", "that", "represents", "a", "transformation"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L1214-L1223", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "RangeParam", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "A parameter that represents a range\n@param {string} name - The name of the parameter in snake_case\n@param {string} shortName - The name of the serialized form of the parameter\nIf a value is not provided, the parameter will not be serialized.\n@param {function} [process=norm_range_value ] - Manipulate origValue when value is called\n@class RangeParam\n@extends Param\n@ignore", "docstring_tokens": ["A", "parameter", "that", "represents", "a", "range"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L1288-L1293", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "Configuration", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Cloudinary configuration class\n@constructor Configuration\n@param {Object} options - configuration parameters", "docstring_tokens": ["Cloudinary", "configuration", "class"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L1899-L1905", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "js/jquery.cloudinary.js", "func_name": "Cloudinary", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Main Cloudinary class\n@class Cloudinary\n@param {Object} options - options to configure Cloudinary\n@see Configuration for more details\n@example\nvar cl = new cloudinary.Cloudinary( { cloud_name: \"mycloud\"});\nvar imgTag = cl.image(\"myPicID\");", "docstring_tokens": ["Main", "Cloudinary", "class"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/js/jquery.cloudinary.js#L3561-L3599", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "webpack.config.js", "func_name": "getMode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determine the build mode.\n@param {object} env - webpack environment\n@param {boolean} [env.production] - when true, set mode to production\n@param {boolean} [env.development] - when true, set mode to development\n@param {object} argv - webpack options\n@param {string} [argv.mode] - the build mode", "docstring_tokens": ["Determine", "the", "build", "mode", "."], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/webpack.config.js#L20-L25", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "webpack.config.js", "func_name": "resolveLodash", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "This function is used by webpack to resolve individual lodash modules\n@param context\n@param request\n@param callback", "docstring_tokens": ["This", "function", "is", "used", "by", "webpack", "to", "resolve", "individual", "lodash", "modules"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/webpack.config.js#L33-L44", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "webpack.config.js", "func_name": "baseConfig", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Generate a webpack configuration\n@param {string} name the name of the package\n@param {string} mode either development or production\n@return {object} webpack configuration", "docstring_tokens": ["Generate", "a", "webpack", "configuration"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/webpack.config.js#L53-L138", "partition": "test"}
+{"repo": "cloudinary/cloudinary_js", "path": "src/url.js", "func_name": "finalizeResourceType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Return the resource type and action type based on the given configuration\n@function Cloudinary#finalizeResourceType\n@param {Object|string} resourceType\n@param {string} [type='upload']\n@param {string} [urlSuffix]\n@param {boolean} [useRootPath]\n@param {boolean} [shorten]\n@returns {string} resource_type/type\n@ignore", "docstring_tokens": ["Return", "the", "resource", "type", "and", "action", "type", "based", "on", "the", "given", "configuration"], "sha": "c5ef98e858ba83e7c2c13a1d898748b571a5931b", "url": "https://github.com/cloudinary/cloudinary_js/blob/c5ef98e858ba83e7c2c13a1d898748b571a5931b/src/url.js#L95-L130", "partition": "test"}
+{"repo": "davidfig/pixi-viewport", "path": "dist/drag.js", "func_name": "Drag", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "enable one-finger touch to drag\n@private\n@param {Viewport} parent\n@param {object} [options]\n@param {string} [options.direction=all] direction to drag (all, x, or y)\n@param {boolean} [options.wheel=true] use wheel to scroll in y direction (unless wheel plugin is active)\n@param {number} [options.wheelScroll=1] number of pixels to scroll with each wheel spin\n@param {boolean} [options.reverse] reverse the direction of the wheel scroll\n@param {boolean|string} [options.clampWheel] (true, x, or y) clamp wheel (to avoid weird bounce with mouse wheel)\n@param {string} [options.underflow=center] (top/bottom/center and left/right/center, or center) where to place world if too small for screen\n@param {number} [options.factor=1] factor to multiply drag to increase the speed of movement\n@param {string} [options.mouseButtons=all] changes which mouse buttons trigger drag, use: 'all', 'left', right' 'middle', or some combination, like, 'middle-right'", "docstring_tokens": ["enable", "one", "-", "finger", "touch", "to", "drag"], "sha": "b769a1eb8f7d7ec0295d74f7d7714848b92efebb", "url": "https://github.com/davidfig/pixi-viewport/blob/b769a1eb8f7d7ec0295d74f7d7714848b92efebb/dist/drag.js#L33-L51", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "each", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Array-like iteration for objects.\n\n@param {Object} object\nThe object to iterate over\n\n@param {obj:EachCallback} fn\nThe callback function which is called for each key in the object.", "docstring_tokens": ["Array", "-", "like", "iteration", "for", "objects", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L271-L275", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "reduce", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Array-like reduce for objects.\n\n@param {Object} object\nThe Object that you want to reduce.\n\n@param {Function} fn\nA callback function which is called for each key in the object. It\nreceives the accumulated value and the per-iteration value and key\nas arguments.\n\n@param {Mixed} [initial = 0]\nStarting value\n\n@return {Mixed}\nThe final accumulated value.", "docstring_tokens": ["Array", "-", "like", "reduce", "for", "objects", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L294-L300", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "isPlain", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns whether an object appears to be a \"plain\" object - that is, a\ndirect instance of `Object`.\n\n@param {Object} value\n@return {Boolean}", "docstring_tokens": ["Returns", "whether", "an", "object", "appears", "to", "be", "a", "plain", "object", "-", "that", "is", "a", "direct", "instance", "of", "Object", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L352-L354", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "logByType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Log messages to the console and history based on the type of message\n\n@private\n@param {string} type\nThe name of the console method to use.\n\n@param {Array} args\nThe arguments to be passed to the matching console method.\n\n@param {boolean} [stringify]\nBy default, only old IEs should get console argument stringification,\nbut this is exposed as a parameter to facilitate testing.", "docstring_tokens": ["Log", "messages", "to", "the", "console", "and", "history", "based", "on", "the", "type", "of", "message"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L382-L441", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "createEl", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates an element and applies properties.\n\n@param {string} [tagName='div']\nName of tag to be created.\n\n@param {Object} [properties={}]\nElement properties to be applied.\n\n@param {Object} [attributes={}]\nElement attributes to be applied.\n\n@param {String|Element|TextNode|Array|Function} [content]\nContents for the element (see: {@link dom:normalizeContent})\n\n@return {Element}\nThe element that was created.", "docstring_tokens": ["Creates", "an", "element", "and", "applies", "properties", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L737-L773", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "addClass", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Add a CSS class name to an element\n\n@param {Element} element\nElement to add class name to.\n\n@param {string} classToAdd\nClass name to add.\n\n@return {Element}\nThe dom element with the added class name.", "docstring_tokens": ["Add", "a", "CSS", "class", "name", "to", "an", "element"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L849-L860", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "toggleClass", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The callback definition for toggleElClass.\n\n@callback Dom~PredicateCallback\n@param {Element} element\nThe DOM element of the Component.\n\n@param {string} classToToggle\nThe `className` that wants to be toggled\n\n@return {boolean|undefined}\n- If true the `classToToggle` will get added to `element`.\n- If false the `classToToggle` will get removed from `element`.\n- If undefined this callback will be ignored\n \nAdds or removes a CSS class name on an element depending on an optional\ncondition or the presence/absence of the class name.\n\n@param {Element} element\nThe element to toggle a class name on.\n\n@param {string} classToToggle\nThe class that should be toggled\n\n@param {boolean|PredicateCallback} [predicate]\nSee the return value for {@link Dom~PredicateCallback}\n\n@return {Element}\nThe element with a class that has been toggled.", "docstring_tokens": ["The", "callback", "definition", "for", "toggleElClass", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L919-L947", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "getPointerPosition", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "x and y coordinates for a dom element or mouse pointer\n\n@typedef {Object} Dom~Coordinates\n\n@property {number} x\nx coordinate in pixels\n\n@property {number} y\ny coordinate in pixels\n \nGet pointer position in element\nReturns an object with x and y coordinates.\nThe base on the coordinates are the bottom left of the element.\n\n@param {Element} el\nElement on which to get the pointer position on\n\n@param {EventTarget~Event} event\nEvent object\n\n@return {Dom~Coordinates}\nA Coordinates object corresponding to the mouse position.", "docstring_tokens": ["x", "and", "y", "coordinates", "for", "a", "dom", "element", "or", "mouse", "pointer"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1203-L1223", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "appendContent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Normalizes and appends content to an element.\n\n@param {Element} el\nElement to append normalized content to.\n\n\n@param {String|Element|TextNode|Array|Function} content\nSee the `content` argument of {@link dom:normalizeContent}\n\n@return {Element}\nThe element with appended normalized content.", "docstring_tokens": ["Normalizes", "and", "appends", "content", "to", "an", "element", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1319-L1324", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "getData", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the cache object where data for an element is stored\n\n@param {Element} el\nElement to store data for.\n\n@return {Object}\nThe cache object for that el that was passed in.", "docstring_tokens": ["Returns", "the", "cache", "object", "where", "data", "for", "an", "element", "is", "stored"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1467-L1479", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "hasData", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns whether or not an element has cached data\n\n@param {Element} el\nCheck if this element has cached data.\n\n@return {boolean}\n- True if the DOM element has cached data.\n- False otherwise.", "docstring_tokens": ["Returns", "whether", "or", "not", "an", "element", "has", "cached", "data"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1491-L1499", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "removeData", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Delete data for the element from the cache and the guid attr from getElementById\n\n@param {Element} el\nRemove cached data for this element.", "docstring_tokens": ["Delete", "data", "for", "the", "element", "from", "the", "cache", "and", "the", "guid", "attr", "from", "getElementById"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1507-L1528", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "_handleMultipleEvents", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Loops through an array of event types and calls the requested method for each type.\n\n@param {Function} fn\nThe event method we want to use.\n\n@param {Element|Object} elem\nElement or object to bind listeners to\n\n@param {string} type\nType of event to bind to.\n\n@param {EventTarget~EventListener} callback\nEvent listener.", "docstring_tokens": ["Loops", "through", "an", "array", "of", "event", "types", "and", "calls", "the", "requested", "method", "for", "each", "type", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1593-L1598", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "off", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Removes event listeners from an element\n\n@param {Element|Object} elem\nObject to remove listeners from.\n\n@param {string|string[]} [type]\nType of listener to remove. Don't include to remove all events from element.\n\n@param {EventTarget~EventListener} [fn]\nSpecific listener to remove. Don't include to remove listeners for an event\ntype.", "docstring_tokens": ["Removes", "event", "listeners", "from", "an", "element"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1839-L1893", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "one", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Trigger a listener only once for an event\n\n@param {Element|Object} elem\nElement or object to bind to.\n\n@param {string|string[]} type\nName/type of event\n\n@param {Event~EventListener} fn\nEvent Listener function", "docstring_tokens": ["Trigger", "a", "listener", "only", "once", "for", "an", "event"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L1970-L1982", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "autoSetup", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Set up any tags that have a data-setup `attribute` when the player is started.", "docstring_tokens": ["Set", "up", "any", "tags", "that", "have", "a", "data", "-", "setup", "attribute", "when", "the", "player", "is", "started", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L2004-L2068", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "autoSetupTimeout", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wait until the page is loaded before running autoSetup. This will be called in\nautoSetup if `hasLoaded` returns false.\n\n@param {number} wait\nHow long to wait in ms\n\n@param {module:videojs} [vjs]\nThe videojs library function", "docstring_tokens": ["Wait", "until", "the", "page", "is", "loaded", "before", "running", "autoSetup", ".", "This", "will", "be", "called", "in", "autoSetup", "if", "hasLoaded", "returns", "false", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L2080-L2086", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "setTextContent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Add text to a DOM element.\n\n@param {Element} el\nThe Element to add text content to.\n\n@param {string} content\nThe text to add to the element.", "docstring_tokens": ["Add", "text", "to", "a", "DOM", "element", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L2131-L2137", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "throttle", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wraps the given function, `fn`, with a new function that only invokes `fn`\nat most once per every `wait` milliseconds.\n\n@param {Function} fn\nThe function to be throttled.\n\n@param {Number} wait\nThe number of milliseconds by which to throttle.\n\n@return {Function}", "docstring_tokens": ["Wraps", "the", "given", "function", "fn", "with", "a", "new", "function", "that", "only", "invokes", "fn", "at", "most", "once", "per", "every", "wait", "milliseconds", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L2193-L2206", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "isValidEventType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Whether a value is a valid event type - non-empty string or array.\n\n@private\n@param {string|Array} type\nThe type value to test.\n\n@return {boolean}\nWhether or not the type is a valid event type.", "docstring_tokens": ["Whether", "a", "value", "is", "a", "valid", "event", "type", "-", "non", "-", "empty", "string", "or", "array", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L2395-L2401", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "Component", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "A callback that is called when a component is ready. Does not have any\nparamters and any callback value will be ignored.\n\n@callback Component~ReadyCallback\n@this Component\n \nCreates an instance of this class.\n\n@param {Player} player\nThe `Player` that this class should be attached to.\n\n@param {Object} [options]\nThe key/value store of player options.\n\n@param {Object[]} [options.children]\nAn array of children objects to intialize this component with. Children objects have\na name property that will be used if more than one component of the same type needs to be\nadded.\n\n@param {Component~ReadyCallback} [ready]\nFunction that gets called when the `Component` is ready.", "docstring_tokens": ["A", "callback", "that", "is", "called", "when", "a", "component", "is", "ready", ".", "Does", "not", "have", "any", "paramters", "and", "any", "callback", "value", "will", "be", "ignored", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L3015-L3072", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "rangeCheck", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "An object that contains ranges of time for various reasons.\n\n@typedef {Object} TimeRange\n\n@property {number} length\nThe number of time ranges represented by this Object\n\n@property {time-ranges:indexFunction} start\nReturns the time offset at which a specified time range begins.\n\n@property {time-ranges:indexFunction} end\nReturns the time offset at which a specified time range begins.\n\n@see https://developer.mozilla.org/en-US/docs/Web/API/TimeRanges\n \nCheck if any of the time ranges are over the maximum index.\n\n@param {string} fnName\nThe function name to use for logging\n\n@param {number} index\nThe index to check\n\n@param {number} maxIndex\nThe maximum possible index\n\n@throws {Error} if the timeRanges provided are over the maxIndex", "docstring_tokens": ["An", "object", "that", "contains", "ranges", "of", "time", "for", "various", "reasons", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L4656-L4660", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "getRange", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if any of the time ranges are over the maximum index.\n\n@param {string} fnName\nThe function name to use for logging\n\n@param {string} valueIndex\nThe proprety that should be used to get the time. should be 'start' or 'end'\n\n@param {Array} ranges\nAn array of time ranges\n\n@param {Array} [rangeIndex=0]\nThe index to start the search at\n\n@return {number}\nThe time that offset at the specified index.\n\n\n@depricated rangeIndex must be set to a value, in the future this will throw an error.\n@throws {Error} if rangeIndex is more than the length of ranges", "docstring_tokens": ["Check", "if", "any", "of", "the", "time", "ranges", "are", "over", "the", "maximum", "index", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L4684-L4687", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "createTimeRangesObj", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a time range object givent ranges of time.\n\n@param {Array} [ranges]\nAn array of time ranges.", "docstring_tokens": ["Create", "a", "time", "range", "object", "givent", "ranges", "of", "time", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L4695-L4712", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "createTimeRanges", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Should create a fake `TimeRange` object which mimics an HTML5 time range instance.\n\n@param {number|Array} start\nThe start of a single range or an array of ranges\n\n@param {number} end\nThe end of a single range.\n\n@private", "docstring_tokens": ["Should", "create", "a", "fake", "TimeRange", "object", "which", "mimics", "an", "HTML5", "time", "range", "instance", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L4725-L4732", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "TextTrackCueList", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create an instance of this class..\n\n@param {Array} cues\nA list of cues to be initialized with", "docstring_tokens": ["Create", "an", "instance", "of", "this", "class", ".."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L6295-L6327", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "getFileExtension", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the extension of the passed file name. It will return an empty string\nif passed an invalid path.\n\n@param {string} path\nThe fileName path like '/path/to/file.mp4'\n\n@returns {string}\nThe extension in lower case or an empty string if no\nextension could be found.", "docstring_tokens": ["Returns", "the", "extension", "of", "the", "passed", "file", "name", ".", "It", "will", "return", "an", "empty", "string", "if", "passed", "an", "invalid", "path", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L6702-L6713", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "loadTrack", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Load a `TextTrack` from a specifed url.\n\n@param {string} src\nUrl to load track from.\n\n@param {TextTrack} track\nTrack to add cues to. Comes from the content at the end of `url`.\n\n@private", "docstring_tokens": ["Load", "a", "TextTrack", "from", "a", "specifed", "url", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L6805-L6840", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "constructColor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Construct an rgba color from a given hex color code.\n\n@param {number} color\nHex number for color, like #f0e.\n\n@param {number} opacity\nValue for opacity, 0.0 - 1.0.\n\n@return {string}\nThe rgba color that was created, like 'rgba(255, 0, 0, 0.3)'.\n\n@private", "docstring_tokens": ["Construct", "an", "rgba", "color", "from", "a", "given", "hex", "color", "code", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L9528-L9532", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "checkVolumeSupport", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if volume control is supported and if it isn't hide the\n`Component` that was passed using the `vjs-hidden` class.\n\n@param {Component} self\nThe component that should be hidden if volume is unsupported\n\n@param {Player} player\nA reference to the player\n\n@private", "docstring_tokens": ["Check", "if", "volume", "control", "is", "supported", "and", "if", "it", "isn", "t", "hide", "the", "Component", "that", "was", "passed", "using", "the", "vjs", "-", "hidden", "class", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L12048-L12061", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "parseOptionValue", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the actual value of an option.\n\n@param {string} value\nThe value to get\n\n@param {Function} [parser]\nOptional function to adjust the value.\n\n@return {Mixed}\n- Will be `undefined` if no value exists\n- Will be `undefined` if the given value is \"none\".\n- Will be the actual value otherwise.\n\n@private", "docstring_tokens": ["Get", "the", "actual", "value", "of", "an", "option", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L15406-L15414", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "checkProgress", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wait for the first `timeupdate` with currentTime > 0 - there may be several with 0", "docstring_tokens": ["Wait", "for", "the", "first", "timeupdate", "with", "currentTime", ">", "0", "-", "there", "may", "be", "several", "with", "0"], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L16186-L16194", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "findFirstPassingTechSourcePair", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Iterate over each `innerArray` element once per `outerArray` element and execute `tester` with both. If `tester` returns a non-falsy value, exit early and return that value.", "docstring_tokens": ["Iterate", "over", "each", "innerArray", "element", "once", "per", "outerArray", "element", "and", "execute", "tester", "with", "both", ".", "If", "tester", "returns", "a", "non", "-", "falsy", "value", "exit", "early", "and", "return", "that", "value", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L19823-L19837", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "markPluginAsActive", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Marks a plugin as \"active\" on a player.\n\nAlso, ensures that the player has an object for tracking active plugins.\n\n@private\n@param {Player} player\nA Video.js player instance.\n\n@param {string} name\nThe name of a plugin.", "docstring_tokens": ["Marks", "a", "plugin", "as", "active", "on", "a", "player", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L21248-L21251", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "triggerSetupEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Triggers a pair of plugin setup events.\n\n@private\n@param {Player} player\nA Video.js player instance.\n\n@param {Plugin~PluginEventHash} hash\nA plugin event hash.\n\n@param {Boolean} [before]\nIf true, prefixes the event name with \"before\". In other words,\nuse this to trigger \"beforepluginsetup\" instead of \"pluginsetup\".", "docstring_tokens": ["Triggers", "a", "pair", "of", "plugin", "setup", "events", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L21267-L21272", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "createBasicPlugin", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Takes a basic plugin function and returns a wrapper function which marks\non the player that the plugin has been activated.\n\n@private\n@param {string} name\nThe name of the plugin.\n\n@param {Function} plugin\nThe basic plugin.\n\n@returns {Function}\nA wrapper function for the given plugin.", "docstring_tokens": ["Takes", "a", "basic", "plugin", "function", "and", "returns", "a", "wrapper", "function", "which", "marks", "on", "the", "player", "that", "the", "plugin", "has", "been", "activated", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L21288-L21312", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "createPluginFactory", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Takes a plugin sub-class and returns a factory function for generating\ninstances of it.\n\nThis factory function will replace itself with an instance of the requested\nsub-class of Plugin.\n\n@private\n@param {string} name\nThe name of the plugin.\n\n@param {Plugin} PluginSubClass\nThe advanced plugin.\n\n@returns {Function}", "docstring_tokens": ["Takes", "a", "plugin", "sub", "-", "class", "and", "returns", "a", "factory", "function", "for", "generating", "instances", "of", "it", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L21330-L21354", "partition": "test"}
+{"repo": "pureqml/qmlcore", "path": "platform/video.videojs/dist/video.es.js", "func_name": "videojs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Doubles as the main function for users to create a player instance and also\nthe main library object.\nThe `videojs` function can be used to initialize or retrieve a player.\n\n@param {string|Element} id\nVideo element or video element ID\n\n@param {Object} [options]\nOptional options object for config/settings\n\n@param {Component~ReadyCallback} [ready]\nOptional ready callback\n\n@return {Player}\nA player instance", "docstring_tokens": ["Doubles", "as", "the", "main", "function", "for", "users", "to", "create", "a", "player", "instance", "and", "also", "the", "main", "library", "object", ".", "The", "videojs", "function", "can", "be", "used", "to", "initialize", "or", "retrieve", "a", "player", "."], "sha": "21416cb4b45dce6cf6c603dfa43d6683e0d48638", "url": "https://github.com/pureqml/qmlcore/blob/21416cb4b45dce6cf6c603dfa43d6683e0d48638/platform/video.videojs/dist/video.es.js#L21837-L21907", "partition": "test"}
+{"repo": "phretaddin/schemapack", "path": "benchmarks.js", "func_name": "byteCount", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Comment out if you didn't `npm install lz-string`", "docstring_tokens": ["Comment", "out", "if", "you", "didn", "t", "npm", "install", "lz", "-", "string"], "sha": "d02de6a662830416ee3f30f2c82518d21fd71049", "url": "https://github.com/phretaddin/schemapack/blob/d02de6a662830416ee3f30f2c82518d21fd71049/benchmarks.js#L12-L14", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/pages/generator/tabs/data/tabData.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Randomizes whatever colors are currently being used.\n@private", "docstring_tokens": ["Randomizes", "whatever", "colors", "are", "currently", "being", "used", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/pages/generator/tabs/data/tabData.js#L143-L151", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/core/mediator.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Publishes a message to anyone who's subscribed to it.\n@param moduleID\n@param message\n@param data\n@private", "docstring_tokens": ["Publishes", "a", "message", "to", "anyone", "who", "s", "subscribed", "to", "it", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/core/mediator.js#L51-L67", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/core/pageHelper.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "this catches ALL nav clicks, not just in the main navbar", "docstring_tokens": ["this", "catches", "ALL", "nav", "clicks", "not", "just", "in", "the", "main", "navbar"], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/core/pageHelper.js#L28-L44", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/core/pageHelper.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "This was added to get around some CSS nonsense with the homepage slider script. It adds a class to the body\nelement that specifies the current viewport width.\n@private", "docstring_tokens": ["This", "was", "added", "to", "get", "around", "some", "CSS", "nonsense", "with", "the", "homepage", "slider", "script", ".", "It", "adds", "a", "class", "to", "the", "body", "element", "that", "specifies", "the", "current", "viewport", "width", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/core/pageHelper.js#L51-L66", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/libs/handlebars.dev.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "For compatibility and usage outside of module systems, make the Handlebars object a namespace", "docstring_tokens": ["For", "compatibility", "and", "usage", "outside", "of", "module", "systems", "make", "the", "Handlebars", "object", "a", "namespace"], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/libs/handlebars.dev.js#L509-L523", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/libs/handlebars.dev.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "the params and contexts arguments are passed in arrays to fill in", "docstring_tokens": ["the", "params", "and", "contexts", "arguments", "are", "passed", "in", "arrays", "to", "fill", "in"], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/libs/handlebars.dev.js#L2656-L2667", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/pages/generator/tabs/misc/tabMisc.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Listen for data changes so we can keep track of the current canvas size.\n@param msg\n@private", "docstring_tokens": ["Listen", "for", "data", "changes", "so", "we", "can", "keep", "track", "of", "the", "current", "canvas", "size", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/pages/generator/tabs/misc/tabMisc.js#L121-L124", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/pages/about/aboutPage.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "bah! God this plugin sucks. Doesn't even pass in the slide number we're going TO.", "docstring_tokens": ["bah!", "God", "this", "plugin", "sucks", ".", "Doesn", "t", "even", "pass", "in", "the", "slide", "number", "we", "re", "going", "TO", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/pages/about/aboutPage.js#L64-L79", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "gruntfile.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The first step of the build process. This sets various settings in the main grunt config for the current build environment.\nThese govern how the subsequent tasks behave.", "docstring_tokens": ["The", "first", "step", "of", "the", "build", "process", ".", "This", "sets", "various", "settings", "in", "the", "main", "grunt", "config", "for", "the", "current", "build", "environment", ".", "These", "govern", "how", "the", "subsequent", "tasks", "behave", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/gruntfile.js#L47-L61", "partition": "test"}
+{"repo": "benkeen/d3pie", "path": "website/pages/generator/generatorPage.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parses the generator fields and get the latest values.\n@private", "docstring_tokens": ["Parses", "the", "generator", "fields", "and", "get", "the", "latest", "values", "."], "sha": "24b488a4f44226c407186c007365ab775f92a426", "url": "https://github.com/benkeen/d3pie/blob/24b488a4f44226c407186c007365ab775f92a426/website/pages/generator/generatorPage.js#L156-L168", "partition": "test"}
+{"repo": "ressio/lazy-load-xt", "path": "dist/jquery.lazyloadxt.extra.js", "func_name": "getOrDef", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Return options.prop if obj.prop is undefined, otherwise return obj.prop\n@param {*} obj\n@param {*} prop\n@returns *", "docstring_tokens": ["Return", "options", ".", "prop", "if", "obj", ".", "prop", "is", "undefined", "otherwise", "return", "obj", ".", "prop"], "sha": "d8e620b9f7e629679dba1dc9e8376a45d4326cbe", "url": "https://github.com/ressio/lazy-load-xt/blob/d8e620b9f7e629679dba1dc9e8376a45d4326cbe/dist/jquery.lazyloadxt.extra.js#L65-L67", "partition": "test"}
+{"repo": "ressio/lazy-load-xt", "path": "src/jquery.lazyloadxt.simple.js", "func_name": "calcViewport", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Save visible viewport boundary to viewportXXX variables", "docstring_tokens": ["Save", "visible", "viewport", "boundary", "to", "viewportXXX", "variables"], "sha": "d8e620b9f7e629679dba1dc9e8376a45d4326cbe", "url": "https://github.com/ressio/lazy-load-xt/blob/d8e620b9f7e629679dba1dc9e8376a45d4326cbe/src/jquery.lazyloadxt.simple.js#L72-L82", "partition": "test"}
+{"repo": "mcdcorp/opentest", "path": "server/src/public/js/ng/root-ctrl.js", "func_name": "checkVersion", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check the release version in GitHub, compare it with the installed\nversion and notify the user if a new version is available.", "docstring_tokens": ["Check", "the", "release", "version", "in", "GitHub", "compare", "it", "with", "the", "installed", "version", "and", "notify", "the", "user", "if", "a", "new", "version", "is", "available", "."], "sha": "302967ae09f3d92cd1438f04ed701b2a3006e598", "url": "https://github.com/mcdcorp/opentest/blob/302967ae09f3d92cd1438f04ed701b2a3006e598/server/src/public/js/ng/root-ctrl.js#L33-L69", "partition": "test"}
+{"repo": "mcdcorp/opentest", "path": "server/src/public/js/ng/root-ctrl.js", "func_name": "parseVersion", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parses a semantic version string into an array of three integers.", "docstring_tokens": ["Parses", "a", "semantic", "version", "string", "into", "an", "array", "of", "three", "integers", "."], "sha": "302967ae09f3d92cd1438f04ed701b2a3006e598", "url": "https://github.com/mcdcorp/opentest/blob/302967ae09f3d92cd1438f04ed701b2a3006e598/server/src/public/js/ng/root-ctrl.js#L248-L259", "partition": "test"}
+{"repo": "natergj/excel4node", "path": "source/lib/cell/index.js", "func_name": "cellAccessor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Module repesenting a Cell Accessor\n@alias Worksheet.cell\n@namespace\n@func Worksheet.cell\n@desc Access a range of cells in order to manipulate values\n@param {Number} row1 Row of top left cell\n@param {Number} col1 Column of top left cell\n@param {Number} row2 Row of bottom right cell (optional)\n@param {Number} col2 Column of bottom right cell (optional)\n@param {Boolean} isMerged Merged the cell range into a single cell\n@returns {cellBlock}", "docstring_tokens": ["Module", "repesenting", "a", "Cell", "Accessor"], "sha": "f359412b3d3769ce338f00dfab75c5f80b9f6336", "url": "https://github.com/natergj/excel4node/blob/f359412b3d3769ce338f00dfab75c5f80b9f6336/source/lib/cell/index.js#L333-L371", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/projects.js", "func_name": "allProjects", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get a sanitized listing of all projects, along with the users who have access", "docstring_tokens": ["Get", "a", "sanitized", "listing", "of", "all", "projects", "along", "with", "the", "users", "who", "have", "access"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/projects.js#L14-L38", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/libconfig.js", "func_name": "getConfig", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "main function. Get the config, using rc", "docstring_tokens": ["main", "function", ".", "Get", "the", "config", "using", "rc"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/libconfig.js#L73-L93", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/libconfig.js", "func_name": "filterEnv", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Filter process.env.FOO to process.env.strider_foo for rc's benefit", "docstring_tokens": ["Filter", "process", ".", "env", ".", "FOO", "to", "process", ".", "env", ".", "strider_foo", "for", "rc", "s", "benefit"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/libconfig.js#L131-L141", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/utils/index.js", "func_name": "mergePlugins", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "merge plugins from the DB with ones from strider.json. The latter overrides the former", "docstring_tokens": ["merge", "plugins", "from", "the", "DB", "with", "ones", "from", "strider", ".", "json", ".", "The", "latter", "overrides", "the", "former"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/utils/index.js#L49-L64", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/plugin-templates.js", "func_name": "registerTemplate", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Generate func for string template names", "docstring_tokens": ["Generate", "func", "for", "string", "template", "names"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/plugin-templates.js#L12-L21", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/plugin-templates.js", "func_name": "getPluginTemplate", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "This generates a generator that will render the appropriate block in a form suitable for async.parallel.", "docstring_tokens": ["This", "generates", "a", "generator", "that", "will", "render", "the", "appropriate", "block", "in", "a", "form", "suitable", "for", "async", ".", "parallel", "."], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/plugin-templates.js#L32-L43", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/plugin-templates.js", "func_name": "engine", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Express 3 Template Engine", "docstring_tokens": ["Express", "3", "Template", "Engine"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/plugin-templates.js#L47-L54", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/websockets.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "-> true if the socket was found and removed. false if it wasn't found", "docstring_tokens": ["-", ">", "true", "if", "the", "socket", "was", "found", "and", "removed", ".", "false", "if", "it", "wasn", "t", "found"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/websockets.js#L39-L43", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/websockets.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "socket callback. Adds a new socket", "docstring_tokens": ["socket", "callback", ".", "Adds", "a", "new", "socket"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/websockets.js#L45-L53", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/jobs.js", "func_name": "status", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "failed, passed, errored, running, submitted", "docstring_tokens": ["failed", "passed", "errored", "running", "submitted"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/jobs.js#L43-L50", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/backchannel.js", "func_name": "prepareJob", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Prepare the job for execution, save to database, and fire off a `job.new` event.\n\njob is expected to be populated with:\n- a trigger\n- a ref\n- the project name\n- the user id (if applicable)\n- type\n- created timestamp\n\nXXX: should this function go in a different file? idk. We'll\ndefinitely move it around when we make strider OO.", "docstring_tokens": ["Prepare", "the", "job", "for", "execution", "save", "to", "database", "and", "fire", "off", "a", "job", ".", "new", "event", "."], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/backchannel.js#L60-L128", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/models/upgrade/from0to1.js", "func_name": "killAttrs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "remove attributes from a model", "docstring_tokens": ["remove", "attributes", "from", "a", "model"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/models/upgrade/from0to1.js#L162-L166", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/middleware.js", "func_name": "bodySetter", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Custom middleware to save unparsed request body to req.content", "docstring_tokens": ["Custom", "middleware", "to", "save", "unparsed", "request", "body", "to", "req", ".", "content"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/middleware.js#L28-L46", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/middleware.js", "func_name": "requireBody", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Require the specified req.body parameters, or else return a 400 with a descriptive JSON body", "docstring_tokens": ["Require", "the", "specified", "req", ".", "body", "parameters", "or", "else", "return", "a", "400", "with", "a", "descriptive", "JSON", "body"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/middleware.js#L49-L72", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/middleware.js", "func_name": "anonProject", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "just link project but doesn't fail if there's no auth", "docstring_tokens": ["just", "link", "project", "but", "doesn", "t", "fail", "if", "there", "s", "no", "auth"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/middleware.js#L204-L236", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/auth.js", "func_name": "requireUser", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Require a logged in session", "docstring_tokens": ["Require", "a", "logged", "in", "session"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/auth.js#L272-L279", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/auth.js", "func_name": "requireAdminOr401", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Require admin privileges", "docstring_tokens": ["Require", "admin", "privileges"], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/auth.js#L290-L296", "partition": "test"}
+{"repo": "Strider-CD/strider", "path": "lib/swig-tags.js", "func_name": "pluginBlock", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Plugin block is the tag used to specify that the contents can be overridden by extensions.", "docstring_tokens": ["Plugin", "block", "is", "the", "tag", "used", "to", "specify", "that", "the", "contents", "can", "be", "overridden", "by", "extensions", "."], "sha": "56cafbc9687ebb7b67d485ec387a03cb85791c7c", "url": "https://github.com/Strider-CD/strider/blob/56cafbc9687ebb7b67d485ec387a03cb85791c7c/lib/swig-tags.js#L5-L22", "partition": "test"}
+{"repo": "nowsecure/node-applesign", "path": "lib/appdir.js", "func_name": "_findNested", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "return an array of strings with the absolute paths of the sub-apps found inside appdir", "docstring_tokens": ["return", "an", "array", "of", "strings", "with", "the", "absolute", "paths", "of", "the", "sub", "-", "apps", "found", "inside", "appdir"], "sha": "84847c3f4a5037263d3b08ecc4cb049ff91ef259", "url": "https://github.com/nowsecure/node-applesign/blob/84847c3f4a5037263d3b08ecc4cb049ff91ef259/lib/appdir.js#L97-L107", "partition": "test"}
+{"repo": "nowsecure/node-applesign", "path": "lib/appdir.js", "func_name": "binAbsLibs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "return a list of the libs that must be inside the app", "docstring_tokens": ["return", "a", "list", "of", "the", "libs", "that", "must", "be", "inside", "the", "app"], "sha": "84847c3f4a5037263d3b08ecc4cb049ff91ef259", "url": "https://github.com/nowsecure/node-applesign/blob/84847c3f4a5037263d3b08ecc4cb049ff91ef259/lib/appdir.js#L135-L156", "partition": "test"}
+{"repo": "nowsecure/node-applesign", "path": "lib/appdir.js", "func_name": "_findLibraries", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "get all dependencies from appbin recursively", "docstring_tokens": ["get", "all", "dependencies", "from", "appbin", "recursively"], "sha": "84847c3f4a5037263d3b08ecc4cb049ff91ef259", "url": "https://github.com/nowsecure/node-applesign/blob/84847c3f4a5037263d3b08ecc4cb049ff91ef259/lib/appdir.js#L159-L180", "partition": "test"}
+{"repo": "nowsecure/node-applesign", "path": "lib/info-plist.js", "func_name": "fix", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "ES7 is not yet here", "docstring_tokens": ["ES7", "is", "not", "yet", "here"], "sha": "84847c3f4a5037263d3b08ecc4cb049ff91ef259", "url": "https://github.com/nowsecure/node-applesign/blob/84847c3f4a5037263d3b08ecc4cb049ff91ef259/lib/info-plist.js#L8-L36", "partition": "test"}
+{"repo": "evanshortiss/env-var", "path": "lib/variable.js", "func_name": "generateAccessor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns an accessor wrapped by error handling and args passing logic\n@param {String} accessorPath", "docstring_tokens": ["Returns", "an", "accessor", "wrapped", "by", "error", "handling", "and", "args", "passing", "logic"], "sha": "9b1e660fe0a0e9049a59ccee91fca58d718923e5", "url": "https://github.com/evanshortiss/env-var/blob/9b1e660fe0a0e9049a59ccee91fca58d718923e5/lib/variable.js#L28-L62", "partition": "test"}
+{"repo": "evanshortiss/env-var", "path": "lib/variable.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Ensures a variable is set in the given environment container. Throws an\nEnvVarError if the variable is not set or a default is not provided\n@param {Boolean} isRequired", "docstring_tokens": ["Ensures", "a", "variable", "is", "set", "in", "the", "given", "environment", "container", ".", "Throws", "an", "EnvVarError", "if", "the", "variable", "is", "not", "set", "or", "a", "default", "is", "not", "provided"], "sha": "9b1e660fe0a0e9049a59ccee91fca58d718923e5", "url": "https://github.com/evanshortiss/env-var/blob/9b1e660fe0a0e9049a59ccee91fca58d718923e5/lib/variable.js#L101-L111", "partition": "test"}
+{"repo": "shepherdwind/velocity.js", "path": "src/compile/blocks.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "parse macro call", "docstring_tokens": ["parse", "macro", "call"], "sha": "1fa2b459d1fff5c897a0671ed9797c5603505d88", "url": "https://github.com/shepherdwind/velocity.js/blob/1fa2b459d1fff5c897a0671ed9797c5603505d88/src/compile/blocks.js#L77-L135", "partition": "test"}
+{"repo": "npm/read-package-json", "path": "read-json.js", "func_name": "checkBinReferences_", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Warn if the bin references don't point to anything. This might be better in\nnormalize-package-data if it had access to the file path.", "docstring_tokens": ["Warn", "if", "the", "bin", "references", "don", "t", "point", "to", "anything", ".", "This", "might", "be", "better", "in", "normalize", "-", "package", "-", "data", "if", "it", "had", "access", "to", "the", "file", "path", "."], "sha": "67f2d8d501e2621441a8235b08d589fbeeb7dba6", "url": "https://github.com/npm/read-package-json/blob/67f2d8d501e2621441a8235b08d589fbeeb7dba6/read-json.js#L372-L400", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/file/FileInput.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initializes the file-picker, connects it to runtime and dispatches event ready when done.\n\n@method init", "docstring_tokens": ["Initializes", "the", "file", "-", "picker", "connects", "it", "to", "runtime", "and", "dispatches", "event", "ready", "when", "done", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/file/FileInput.js#L226-L271", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/file/FileInput.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Sets a new value for the option specified by name\n\n@method setOption\n@param name\n@param value", "docstring_tokens": ["Sets", "a", "new", "value", "for", "the", "option", "specified", "by", "name"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/file/FileInput.js#L293-L316", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/Transporter.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "we require this to run only once", "docstring_tokens": ["we", "require", "this", "to", "run", "only", "once"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/Transporter.js#L57-L60", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/file/FileReader.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Aborts preloading process.\n\n@method abort", "docstring_tokens": ["Aborts", "preloading", "process", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/file/FileReader.js#L153-L166", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/EventTarget.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if any handlers were registered to the specified event\n\n@method hasEventListener\n@param {String} [type] Type or basically a name of the event to check\n@return {Mixed} Returns a handler if it was found and false, if - not", "docstring_tokens": ["Check", "if", "any", "handlers", "were", "registered", "to", "the", "specified", "event"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/EventTarget.js#L96-L105", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/EventTarget.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Unregister the handler from the event, or if former was not specified - unregister all handlers\n\n@method removeEventListener\n@param {String} type Type or basically a name of the event\n@param {Function} [fn] Handler to unregister", "docstring_tokens": ["Unregister", "the", "handler", "from", "the", "event", "or", "if", "former", "was", "not", "specified", "-", "unregister", "all", "handlers"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/EventTarget.js#L114-L151", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/EventTarget.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a handler to the event type that will run only once\n\n@method bindOnce\n@since >1.4.1\n@param {String} type Type or basically a name of the event to subscribe to\n@param {Function} fn Callback function that will be called when event happens\n@param {Number} [priority=0] Priority of the event handler - handlers with higher priorities will be called first\n@param {Object} [scope=this] A scope to invoke event handler in", "docstring_tokens": ["Register", "a", "handler", "to", "the", "event", "type", "that", "will", "run", "only", "once"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/EventTarget.js#L258-L264", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/Runtime.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Checks if the runtime has specific capability\n\n@method can\n@param {String} cap Name of capability to check\n@param {Mixed} [value] If passed, capability should somehow correlate to the value\n@param {Object} [refCaps] Set of capabilities to check the specified cap against (defaults to internal set)\n@return {Boolean} true if runtime has such capability and false, if - not", "docstring_tokens": ["Checks", "if", "the", "runtime", "has", "specific", "capability"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/Runtime.js#L230-L253", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/flash/Runtime.js", "func_name": "getShimVersion", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the version of the Flash Player\n\n@method getShimVersion\n@private\n@return {Number} Flash Player version", "docstring_tokens": ["Get", "the", "version", "of", "the", "Flash", "Player"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/flash/Runtime.js#L36-L51", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/flash/Runtime.js", "func_name": "removeSWF", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Cross-browser SWF removal\n- Especially needed to safely and completely remove a SWF in Internet Explorer\n\nOriginated from SWFObject v2.2 ", "docstring_tokens": ["Cross", "-", "browser", "SWF", "removal", "-", "Especially", "needed", "to", "safely", "and", "completely", "remove", "a", "SWF", "in", "Internet", "Explorer"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/flash/Runtime.js#L60-L79", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Url.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if specified url has the same origin as the current document\n\n@method hasSameOrigin\n@static\n@param {String|Object} url\n@return {Boolean}", "docstring_tokens": ["Check", "if", "specified", "url", "has", "the", "same", "origin", "as", "the", "current", "document"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Url.js#L127-L137", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Basic.js", "func_name": "ctor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "give child `class` a place to define its own methods", "docstring_tokens": ["give", "child", "class", "a", "place", "to", "define", "its", "own", "methods"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Basic.js#L155-L166", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Basic.js", "func_name": "inArray", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Find an element in array and return it's index if present, otherwise return -1.\n\n@method inArray\n@static\n@param {Mixed} needle Element to find\n@param {Array} array\n@return {Int} Index of the element, or -1 if not found", "docstring_tokens": ["Find", "an", "element", "in", "array", "and", "return", "it", "s", "index", "if", "present", "otherwise", "return", "-", "1", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Basic.js#L317-L330", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Basic.js", "func_name": "arrayDiff", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns elements of first array if they are not present in second. And false - otherwise.\n\n@private\n@method arrayDiff\n@param {Array} needles\n@param {Array} array\n@return {Array|Boolean}", "docstring_tokens": ["Returns", "elements", "of", "first", "array", "if", "they", "are", "not", "present", "in", "second", ".", "And", "false", "-", "otherwise", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Basic.js#L342-L359", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Basic.js", "func_name": "arrayIntersect", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Find intersection of two arrays.\n\n@private\n@method arrayIntersect\n@param {Array} array1\n@param {Array} array2\n@return {Array} Intersection of two arrays or null if there is none", "docstring_tokens": ["Find", "intersection", "of", "two", "arrays", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Basic.js#L371-L379", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Basic.js", "func_name": "parseSizeStr", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parses the specified size string into a byte value. For example 10kb becomes 10240.\n\n@method parseSizeStr\n@static\n@param {String/Number} size String to parse or number to just pass through.\n@return {Number} Size in bytes.", "docstring_tokens": ["Parses", "the", "specified", "size", "string", "into", "a", "byte", "value", ".", "For", "example", "10kb", "becomes", "10240", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Basic.js#L452-L473", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/FormData.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Append another key-value pair to the FormData object\n\n@method append\n@param {String} name Name for the new field\n@param {String|Blob|Array|Object} value Value for the field", "docstring_tokens": ["Append", "another", "key", "-", "value", "pair", "to", "the", "FormData", "object"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/FormData.js#L33-L60", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/FormData.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Loop over the fields in FormData and invoke the callback for each of them.\n\n@method each\n@param {Function} cb Callback to call for each field", "docstring_tokens": ["Loop", "over", "the", "fields", "in", "FormData", "and", "invoke", "the", "callback", "for", "each", "of", "them", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/FormData.js#L98-L106", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Checks if specified DOM element has specified class.\n\n@method hasClass\n@static\n@param {Object} obj DOM element like object to add handler to.\n@param {String} name Class name", "docstring_tokens": ["Checks", "if", "specified", "DOM", "element", "has", "specified", "class", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L41-L48", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Adds specified className to specified DOM element.\n\n@method addClass\n@static\n@param {Object} obj DOM element like object to add handler to.\n@param {String} name Class name", "docstring_tokens": ["Adds", "specified", "className", "to", "specified", "DOM", "element", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L58-L62", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Removes specified className from specified DOM element.\n\n@method removeClass\n@static\n@param {Object} obj DOM element like object to add handler to.\n@param {String} name Class name", "docstring_tokens": ["Removes", "specified", "className", "from", "specified", "DOM", "element", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L72-L79", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a given computed style of a DOM element.\n\n@method getStyle\n@static\n@param {Object} obj DOM element like object.\n@param {String} name Style you want to get from the DOM element", "docstring_tokens": ["Returns", "a", "given", "computed", "style", "of", "a", "DOM", "element", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L89-L95", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the absolute x, y position of an Element. The position will be returned in a object with x, y fields.\n\n@method getPos\n@static\n@param {Element} node HTML element or element id to get x, y position from.\n@param {Element} root Optional root element to stop calculations at.\n@return {object} Absolute position of the specified element object with x, y fields.", "docstring_tokens": ["Returns", "the", "absolute", "x", "y", "position", "of", "an", "Element", ".", "The", "position", "will", "be", "returned", "in", "a", "object", "with", "x", "y", "fields", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L107-L159", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "getIEPos", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the x, y cordinate for an element on IE 6 and IE 7", "docstring_tokens": ["Returns", "the", "x", "y", "cordinate", "for", "an", "element", "on", "IE", "6", "and", "IE", "7"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L114-L128", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Dom.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the size of the specified node in pixels.\n\n@method getSize\n@static\n@param {Node} node Node to get the size of.\n@return {Object} Object with a w and h property.", "docstring_tokens": ["Returns", "the", "size", "of", "the", "specified", "node", "in", "pixels", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Dom.js#L169-L174", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Events.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Remove all kind of events from the specified object\n\n@method removeAllEvents\n@static\n@param {Object} obj DOM element to remove event listeners from.\n@param {String} [key] unique key to match, when removing events.", "docstring_tokens": ["Remove", "all", "kind", "of", "events", "from", "the", "specified", "object"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Events.js#L160-L168", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/html5/xhr/XMLHttpRequest.js", "func_name": "_preloadAndSend", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "here we go... ugly fix for ugly bug", "docstring_tokens": ["here", "we", "go", "...", "ugly", "fix", "for", "ugly", "bug"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/html5/xhr/XMLHttpRequest.js#L279-L297", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/html5/image/Image.js", "func_name": "_rotateToOrientaion", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Transform canvas coordination according to specified frame size and orientation\nOrientation value is from EXIF tag\n@author Shinichi Tomita ", "docstring_tokens": ["Transform", "canvas", "coordination", "according", "to", "specified", "frame", "size", "and", "orientation", "Orientation", "value", "is", "from", "EXIF", "tag"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/html5/image/Image.js#L315-L381", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/runtime/html5/file/FileDrop.js", "func_name": "getEntries", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "keep quering recursively till no more entries", "docstring_tokens": ["keep", "quering", "recursively", "till", "no", "more", "entries"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/runtime/html5/file/FileDrop.js#L182-L191", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Sets the request method, request URL, synchronous flag, request username, and request password.\n\nThrows a \"SyntaxError\" exception if one of the following is true:\n\nmethod is not a valid HTTP method.\nurl cannot be resolved.\nurl contains the \"user:password\" format in the userinfo production.\nThrows a \"SecurityError\" exception if method is a case-insensitive match for CONNECT, TRACE or TRACK.\n\nThrows an \"InvalidAccessError\" exception if one of the following is true:\n\nEither user or password is passed as argument and the origin of url does not match the XMLHttpRequest origin.\nThere is an associated XMLHttpRequest document and either the timeout attribute is not zero,\nthe withCredentials attribute is true, or the responseType attribute is not the empty string.\n\n\n@method open\n@param {String} method HTTP method to use on request\n@param {String} url URL to request\n@param {Boolean} [async=true] If false request will be done in synchronous manner. Asynchronous by default.\n@param {String} [user] Username to use in HTTP authentication process on server-side\n@param {String} [password] Password to use in HTTP authentication process on server-side", "docstring_tokens": ["Sets", "the", "request", "method", "request", "URL", "synchronous", "flag", "request", "username", "and", "request", "password", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L292-L357", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Appends an header to the list of author request headers, or if header is already\nin the list of author request headers, combines its value with value.\n\nThrows an \"InvalidStateError\" exception if the state is not OPENED or if the send() flag is set.\nThrows a \"SyntaxError\" exception if header is not a valid HTTP header field name or if value\nis not a valid HTTP header field value.\n\n@method setRequestHeader\n@param {String} header\n@param {String|Number} value", "docstring_tokens": ["Appends", "an", "header", "to", "the", "list", "of", "author", "request", "headers", "or", "if", "header", "is", "already", "in", "the", "list", "of", "author", "request", "headers", "combines", "its", "value", "with", "value", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L371-L430", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the header field value from the response of which the field name matches header,\nunless the field name is Set-Cookie or Set-Cookie2.\n\n@method getResponseHeader\n@param {String} header\n@return {String} value(s) for the specified header or null", "docstring_tokens": ["Returns", "the", "header", "field", "value", "from", "the", "response", "of", "which", "the", "field", "name", "matches", "header", "unless", "the", "field", "name", "is", "Set", "-", "Cookie", "or", "Set", "-", "Cookie2", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L462-L489", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Sets the Content-Type header for the response to mime.\nThrows an \"InvalidStateError\" exception if the state is LOADING or DONE.\nThrows a \"SyntaxError\" exception if mime is not a valid media type.\n\n@method overrideMimeType\n@param String mime Mime type to set", "docstring_tokens": ["Sets", "the", "Content", "-", "Type", "header", "for", "the", "response", "to", "mime", ".", "Throws", "an", "InvalidStateError", "exception", "if", "the", "state", "is", "LOADING", "or", "DONE", ".", "Throws", "a", "SyntaxError", "exception", "if", "mime", "is", "not", "a", "valid", "media", "type", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L499-L524", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initiates the request. The optional argument provides the request entity body.\nThe argument is ignored if request method is GET or HEAD.\n\nThrows an \"InvalidStateError\" exception if the state is not OPENED or if the send() flag is set.\n\n@method send\n@param {Blob|Document|String|FormData} [data] Request entity body\n@param {Object} [options] Set of requirements and pre-requisities for runtime initialization", "docstring_tokens": ["Initiates", "the", "request", ".", "The", "optional", "argument", "provides", "the", "request", "entity", "body", ".", "The", "argument", "is", "ignored", "if", "request", "method", "is", "GET", "or", "HEAD", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L536-L600", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/xhr/XMLHttpRequest.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Cancels any network activity.\n\n@method abort", "docstring_tokens": ["Cancels", "any", "network", "activity", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/xhr/XMLHttpRequest.js#L607-L625", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "build/utils.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Extends the specified object with another object.\n\n@author Moxiecode\n@method extend\n@param {Object} target Object to extend.\n@param {Object} [obj]* Multiple objects to extend with.\n@return {Object} Same as target, the extended object.", "docstring_tokens": ["Extends", "the", "specified", "object", "with", "another", "object", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/build/utils.js#L47-L64", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/image/Image.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Properly destroys the image and frees resources in use. If any. Recommended way to dispose\nmoxie.image.Image object.\n\n@method destroy", "docstring_tokens": ["Properly", "destroys", "the", "image", "and", "frees", "resources", "in", "use", ".", "If", "any", ".", "Recommended", "way", "to", "dispose", "moxie", ".", "image", ".", "Image", "object", "."], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/image/Image.js#L582-L592", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Extra.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Defines property with specified descriptor on an object\n\n@method defineProperty\n@static\n@param {Object} obj Object to add property to\n@param {String} prop Property name\n@param {Object} desc Set of key-value pairs defining descriptor for the property", "docstring_tokens": ["Defines", "property", "with", "specified", "descriptor", "on", "an", "object"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Extra.js#L30-L40", "partition": "test"}
+{"repo": "moxiecode/moxie", "path": "src/javascript/core/utils/Extra.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Defines getter or setter, depending on a type param\n\n@method defineGSetter\n@static\n@private\n@param {String} prop Property name\n@param {Object} desc Set of key-value pairs defining descriptor for the property\n@param {String} type Can take value of 'set' or 'get'", "docstring_tokens": ["Defines", "getter", "or", "setter", "depending", "on", "a", "type", "param"], "sha": "09eaf578f38480dc4b8e2017c473c496883b6168", "url": "https://github.com/moxiecode/moxie/blob/09eaf578f38480dc4b8e2017c473c496883b6168/src/javascript/core/utils/Extra.js#L78-L109", "partition": "test"}
+{"repo": "format-message/format-message", "path": "packages/format-message-parse/index.js", "func_name": "SyntaxError", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "SyntaxError\nHolds information about bad syntax found in a message pattern", "docstring_tokens": ["SyntaxError", "Holds", "information", "about", "bad", "syntax", "found", "in", "a", "message", "pattern"], "sha": "7c683c57373d2999ba60f1d2ac47e09c848606dd", "url": "https://github.com/format-message/format-message/blob/7c683c57373d2999ba60f1d2ac47e09c848606dd/packages/format-message-parse/index.js#L433-L442", "partition": "test"}
+{"repo": "ldez/cubejs", "path": "lib/solve.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The twist of the 8 corners, 0 <= twist < 3^7. The orientation of the DRB corner is fully determined by the orientation of the other corners.", "docstring_tokens": ["The", "twist", "of", "the", "8", "corners", "0", "<", "=", "twist", "<", "3^7", ".", "The", "orientation", "of", "the", "DRB", "corner", "is", "fully", "determined", "by", "the", "orientation", "of", "the", "other", "corners", "."], "sha": "36b38b676ddf4f939583e020455a0834264d61f3", "url": "https://github.com/ldez/cubejs/blob/36b38b676ddf4f939583e020455a0834264d61f3/lib/solve.js#L196-L215", "partition": "test"}
+{"repo": "ldez/cubejs", "path": "lib/solve.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The flip of the 12 edges, 0 <= flip < 2^11. The orientation of the BR edge is fully determined by the orientation of the other edges.", "docstring_tokens": ["The", "flip", "of", "the", "12", "edges", "0", "<", "=", "flip", "<", "2^11", ".", "The", "orientation", "of", "the", "BR", "edge", "is", "fully", "determined", "by", "the", "orientation", "of", "the", "other", "edges", "."], "sha": "36b38b676ddf4f939583e020455a0834264d61f3", "url": "https://github.com/ldez/cubejs/blob/36b38b676ddf4f939583e020455a0834264d61f3/lib/solve.js#L218-L237", "partition": "test"}
+{"repo": "ldez/cubejs", "path": "lib/solve.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parity of the corner permutation", "docstring_tokens": ["Parity", "of", "the", "corner", "permutation"], "sha": "36b38b676ddf4f939583e020455a0834264d61f3", "url": "https://github.com/ldez/cubejs/blob/36b38b676ddf4f939583e020455a0834264d61f3/lib/solve.js#L239-L250", "partition": "test"}
+{"repo": "ldez/cubejs", "path": "lib/solve.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parity of the edges permutation. Parity of corners and edges are the same if the cube is solvable.", "docstring_tokens": ["Parity", "of", "the", "edges", "permutation", ".", "Parity", "of", "corners", "and", "edges", "are", "the", "same", "if", "the", "cube", "is", "solvable", "."], "sha": "36b38b676ddf4f939583e020455a0834264d61f3", "url": "https://github.com/ldez/cubejs/blob/36b38b676ddf4f939583e020455a0834264d61f3/lib/solve.js#L253-L264", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/catch-chart-mistakes.js", "func_name": "all_modulo", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determine if all tickValues are modulo some interval value", "docstring_tokens": ["Determine", "if", "all", "tickValues", "are", "modulo", "some", "interval", "value"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/catch-chart-mistakes.js#L42-L60", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/process-dates.js", "func_name": "autoDateFormatAndFrequency", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Automatically calculate date frequency if not selected", "docstring_tokens": ["Automatically", "calculate", "date", "frequency", "if", "not", "selected"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/process-dates.js#L277-L366", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/validate-chart-model.js", "func_name": "validate_chart_model", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Test whether a string is a valid Chartbuilder model\n@param {string} modelStr - unparsed string of chart model JSON\n@returns {object or null} parsed - parsed object\n@static\n@memberof helper", "docstring_tokens": ["Test", "whether", "a", "string", "is", "a", "valid", "Chartbuilder", "model"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/validate-chart-model.js#L8-L24", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/helper.js", "func_name": "exact_ticks", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Generate an exact number of ticks given a domain\n\n@param {number[]} domain - min/max of the current scale\n@param {number} numticks - desired number of ticks\n@return {string[]} Array of ticks\n@static\n@memberof helper", "docstring_tokens": ["Generate", "an", "exact", "number", "of", "ticks", "given", "a", "domain"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/helper.js#L17-L42", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/helper.js", "func_name": "round_to_precision", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "round_to_precision\nRound a number to N decimal places\n\n@param {number} num - Number to be rounded\n@param {number} precision - Desired precision\n@param {boolean} supress_thou_sep\n@static\n@memberof helper\n@return {number} Rounded number", "docstring_tokens": ["round_to_precision", "Round", "a", "number", "to", "N", "decimal", "places"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/helper.js#L111-L137", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/helper.js", "func_name": "merge_or_apply", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Given a defaults object and a source object, copy the value from the source\nif it contains the same key, otherwise return the default. Skip keys that\nonly exist in the source object.\n@param {object} defaults - Default schema\n@param {object} source - Source object to copy properties from\n@returns {object} - Result has identical keys to defaults\n@static\n@memberof helper", "docstring_tokens": ["Given", "a", "defaults", "object", "and", "a", "source", "object", "copy", "the", "value", "from", "the", "source", "if", "it", "contains", "the", "same", "key", "otherwise", "return", "the", "default", ".", "Skip", "keys", "that", "only", "exist", "in", "the", "source", "object", "."], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/helper.js#L202-L214", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/util/helper.js", "func_name": "suggest_tick_num", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Given a the domain of a scale suggest the most numerous number\nof round number ticks that it cold be divided into while still containing\nvalues evenly divisible by 1, 2, 2.5, 5, 10, or 25.\n@param {array} domain - An array of two number like objects\n@returns {integer} - Result is a single integer representing a nice number of ticks to use\n@static\n@memberof helper", "docstring_tokens": ["Given", "a", "the", "domain", "of", "a", "scale", "suggest", "the", "most", "numerous", "number", "of", "round", "number", "ticks", "that", "it", "cold", "be", "divided", "into", "while", "still", "containing", "values", "evenly", "divisible", "by", "1", "2", "2", ".", "5", "5", "10", "or", "25", "."], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/util/helper.js#L225-L251", "partition": "test"}
+{"repo": "Quartz/Chartbuilder", "path": "src/js/stores/SessionStore.js", "func_name": "detectNumberSeparators", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get thousands and decimal separators based on locale", "docstring_tokens": ["Get", "thousands", "and", "decimal", "separators", "based", "on", "locale"], "sha": "fc6ce64e73b9ef378223afcab7057020f6dce260", "url": "https://github.com/Quartz/Chartbuilder/blob/fc6ce64e73b9ef378223afcab7057020f6dce260/src/js/stores/SessionStore.js#L89-L106", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "transformerFactory", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Factory to create a transformer based on the given info and set.", "docstring_tokens": ["Factory", "to", "create", "a", "transformer", "based", "on", "the", "given", "info", "and", "set", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L140-L199", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "validate", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if `file` references headings or files not in `exposed`.", "docstring_tokens": ["Check", "if", "file", "references", "headings", "or", "files", "not", "in", "exposed", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L202-L254", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "onresource", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Handle resources.", "docstring_tokens": ["Handle", "resources", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L279-L380", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "warnAll", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Utility to warn `reason` for each node in `nodes` on `file`.", "docstring_tokens": ["Utility", "to", "warn", "reason", "for", "each", "node", "in", "nodes", "on", "file", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L384-L390", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "getClosest", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Suggest a possible similar reference.", "docstring_tokens": ["Suggest", "a", "possible", "similar", "reference", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L393-L415", "partition": "test"}
+{"repo": "remarkjs/remark-validate-links", "path": "index.js", "func_name": "getHash", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the `hash` of `uri`, if applicable.", "docstring_tokens": ["Get", "the", "hash", "of", "uri", "if", "applicable", "."], "sha": "caa1f9fa8ca09567951cf28f9252f642ab36ad9a", "url": "https://github.com/remarkjs/remark-validate-links/blob/caa1f9fa8ca09567951cf28f9252f642ab36ad9a/index.js#L418-L421", "partition": "test"}
+{"repo": "nDmitry/grunt-postcss", "path": "tasks/postcss.js", "func_name": "getPrevMap", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns an input map contents if a custom map path was specified\n@param {string} from Input CSS path\n@returns {?string}", "docstring_tokens": ["Returns", "an", "input", "map", "contents", "if", "a", "custom", "map", "path", "was", "specified"], "sha": "a9f4009426e43ba32b49c879651b573897523b3c", "url": "https://github.com/nDmitry/grunt-postcss/blob/a9f4009426e43ba32b49c879651b573897523b3c/tasks/postcss.js#L17-L25", "partition": "test"}
+{"repo": "JayChase/angular2-useful-swiper", "path": "bs-config.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "to add back in logging comment this line out", "docstring_tokens": ["to", "add", "back", "in", "logging", "comment", "this", "line", "out"], "sha": "57071cb8a8e82c6a9ab86aa1d46e6195de9c9a1f", "url": "https://github.com/JayChase/angular2-useful-swiper/blob/57071cb8a8e82c6a9ab86aa1d46e6195de9c9a1f/bs-config.js#L13-L19", "partition": "test"}
+{"repo": "trevoro/node-named", "path": "lib/protocol.js", "func_name": "parseIPv4", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "turns a dotted-decimal address into a UInt32", "docstring_tokens": ["turns", "a", "dotted", "-", "decimal", "address", "into", "a", "UInt32"], "sha": "2b1adaa459ffbad19a5d81ddaa12b8e4018e10ca", "url": "https://github.com/trevoro/node-named/blob/2b1adaa459ffbad19a5d81ddaa12b8e4018e10ca/lib/protocol.js#L106-L120", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "getNested", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Iterator used to walk down a nested object.\n\nIf Bottle.config.strict is true, this method will throw an exception if it encounters an\nundefined path\n\n@param Object obj\n@param String prop\n@return mixed\n@throws Error if Bottle is unable to resolve the requested service.", "docstring_tokens": ["Iterator", "used", "to", "walk", "down", "a", "nested", "object", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L46-L52", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "getNestedBottle", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get a nested bottle. Will set and return if not set.\n\n@param String name\n@return Bottle", "docstring_tokens": ["Get", "a", "nested", "bottle", ".", "Will", "set", "and", "return", "if", "not", "set", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L60-L70", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "applyMiddleware", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function used by provider to set up middleware for each request.\n\n@param Number id\n@param String name\n@param Object instance\n@param Object container\n@return void", "docstring_tokens": ["Function", "used", "by", "provider", "to", "set", "up", "middleware", "for", "each", "request", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L91-L118", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "middleware", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register middleware.\n\n@param String name\n@param Function func\n@return Bottle", "docstring_tokens": ["Register", "middleware", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L127-L145", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "createProvider", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create the provider properties on the container\n\n@param String name\n@param Function Provider\n@return Bottle", "docstring_tokens": ["Create", "the", "provider", "properties", "on", "the", "container"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L176-L217", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "provider", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a provider.\n\n@param String fullname\n@param Function Provider\n@return Bottle", "docstring_tokens": ["Register", "a", "provider", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L227-L243", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "createService", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Private helper for creating service and service factories.\n\n@param String name\n@param Function Service\n@return Bottle", "docstring_tokens": ["Private", "helper", "for", "creating", "service", "and", "service", "factories", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L265-L277", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "service", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a class service\n\n@param String name\n@param Function Service\n@return Bottle", "docstring_tokens": ["Register", "a", "class", "service"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L286-L288", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "serviceFactory", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a function service", "docstring_tokens": ["Register", "a", "function", "service"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L293-L295", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "defineValue", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Define a mutable property on the container.\n\n@param String name\n@param mixed val\n@return void\n@scope container", "docstring_tokens": ["Define", "a", "mutable", "property", "on", "the", "container", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L305-L312", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "setValueObject", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Iterator for setting a plain object literal via defineValue\n\n@param Object container\n@param string name", "docstring_tokens": ["Iterator", "for", "setting", "a", "plain", "object", "literal", "via", "defineValue"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L320-L327", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "value", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a value\n\n@param String name\n@param mixed val\n@return Bottle", "docstring_tokens": ["Register", "a", "value"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L337-L343", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "constant", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a constant\n\n@param String name\n@param mixed value\n@return Bottle", "docstring_tokens": ["Register", "a", "constant"], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L368-L373", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "decorator", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register decorator.\n\n@param String fullname\n@param Function func\n@return Bottle", "docstring_tokens": ["Register", "decorator", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L382-L400", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "instanceFactory", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register an instance factory inside a generic factory.\n\n@param {String} name - The name of the service\n@param {Function} Factory - The factory function, matches the signature required for the\n`factory` method\n@return Bottle", "docstring_tokens": ["Register", "an", "instance", "factory", "inside", "a", "generic", "factory", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L432-L438", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "pop", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get an instance of bottle.\n\nIf a name is provided the instance will be stored in a local hash. Calling Bottle.pop multiple\ntimes with the same name will return the same instance.\n\n@param String name\n@return Bottle", "docstring_tokens": ["Get", "an", "instance", "of", "bottle", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L473-L484", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "register", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Register a service, factory, provider, or value based on properties on the object.\n\nproperties:\n* Obj.$name String required ex: `'Thing'`\n* Obj.$type String optional 'service', 'factory', 'provider', 'value'. Default: 'service'\n* Obj.$inject Mixed optional only useful with $type 'service' name or array of names\n* Obj.$value Mixed optional Normally Obj is registered on the container. However, if this\nproperty is included, it's value will be registered on the container\ninstead of the object itsself. Useful for registering objects on the\nbottle container without modifying those objects with bottle specific keys.\n\n@param Function Obj\n@return Bottle", "docstring_tokens": ["Register", "a", "service", "factory", "provider", "or", "value", "based", "on", "properties", "on", "the", "object", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L512-L515", "partition": "test"}
+{"repo": "young-steveo/bottlejs", "path": "dist/bottle.js", "func_name": "resetProviders", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Resets providers on a bottle instance. If 'names' array is provided, only the named providers will be reset.\n\n@param Array names\n@return void", "docstring_tokens": ["Resets", "providers", "on", "a", "bottle", "instance", ".", "If", "names", "array", "is", "provided", "only", "the", "named", "providers", "will", "be", "reset", "."], "sha": "2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51", "url": "https://github.com/young-steveo/bottlejs/blob/2e7652ac79aeafa2b51b12a7f7afcd1086ff5c51/dist/bottle.js#L535-L550", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/utils/ast-utils.js", "func_name": "throwIfInvalidNode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "For internal use. Throws if is passed an invalid AST node, else does nothing.", "docstring_tokens": ["For", "internal", "use", ".", "Throws", "if", "is", "passed", "an", "invalid", "AST", "node", "else", "does", "nothing", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/utils/ast-utils.js#L16-L20", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/emit.js", "func_name": "isEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determines whether the given call name refers to an event declaration using scope resolution.", "docstring_tokens": ["Determines", "whether", "the", "given", "call", "name", "refers", "to", "an", "event", "declaration", "using", "scope", "resolution", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/emit.js#L22-L29", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/emit.js", "func_name": "registerEventName", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Stores each declared event in the file and its corresponding parent contract", "docstring_tokens": ["Stores", "each", "declared", "event", "in", "the", "file", "and", "its", "corresponding", "parent", "contract"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/emit.js#L33-L36", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/no-unused-vars.js", "func_name": "inspectVariableDeclarator", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "collect all variable declarations from VariableDeclarators and DeclarativeExpressions", "docstring_tokens": ["collect", "all", "variable", "declarations", "from", "VariableDeclarators", "and", "DeclarativeExpressions"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/no-unused-vars.js#L27-L33", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/no-unused-vars.js", "func_name": "inspectProgram", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "While exiting Progam Node, all the vars that haven't been used still exist inside VariableDeclarations. Report them", "docstring_tokens": ["While", "exiting", "Progam", "Node", "all", "the", "vars", "that", "haven", "t", "been", "used", "still", "exist", "inside", "VariableDeclarations", ".", "Report", "them"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/no-unused-vars.js#L45-L56", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/no-unused-vars.js", "func_name": "inspectIdentifier", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "As soon as the first use of a variable is encountered, delete that variable's node from allVariableDeclarations", "docstring_tokens": ["As", "soon", "as", "the", "first", "use", "of", "a", "variable", "is", "encountered", "delete", "that", "variable", "s", "node", "from", "allVariableDeclarations"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/no-unused-vars.js#L59-L71", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/function-order.js", "func_name": "inspectFunctionsOfContract", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Set cursor to point to first visibility in order of vis. array.\nFor each function Fi inside contract, if Fi's vis is same as that pointed by cursor, ignore func.\nIf not, check the pos in the order of Fi's vis. If ahead, simply move cursor forward to Fi's vis.'s\nposition in array. If behind, report func.", "docstring_tokens": ["Set", "cursor", "to", "point", "to", "first", "visibility", "in", "order", "of", "vis", ".", "array", ".", "For", "each", "function", "Fi", "inside", "contract", "if", "Fi", "s", "vis", "is", "same", "as", "that", "pointed", "by", "cursor", "ignore", "func", ".", "If", "not", "check", "the", "pos", "in", "the", "order", "of", "Fi", "s", "vis", ".", "If", "ahead", "simply", "move", "cursor", "forward", "to", "Fi", "s", "vis", ".", "s", "position", "in", "array", ".", "If", "behind", "report", "func", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/function-order.js#L130-L159", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/function-whitespace.js", "func_name": "inspectCallExpression", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "same could potentially be applied to FunctionDeclaration", "docstring_tokens": ["same", "could", "potentially", "be", "applied", "to", "FunctionDeclaration"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/function-whitespace.js#L74-L127", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/pragma-on-top.js", "func_name": "inspectExperimentalPragmaStatement", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Experimental pragmas, if they exist, must be above everything EXCEPT pragma solidity & other experimental pragmas.", "docstring_tokens": ["Experimental", "pragmas", "if", "they", "exist", "must", "be", "above", "everything", "EXCEPT", "pragma", "solidity", "&", "other", "experimental", "pragmas", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/pragma-on-top.js#L76-L107", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/autofix/source-code-fixer.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Apply fixes to source code depending on whichever errors can be fixed.\n@param {String} sourceCode Code to fix\n@param {Array} errorMessages Error objects that describe the error and possibly how to fix it.\n@returns {Object} fixed Contains fixed code and information about fixes applied & remaining un-fixed errors.", "docstring_tokens": ["Apply", "fixes", "to", "source", "code", "depending", "on", "whichever", "errors", "can", "be", "fixed", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/autofix/source-code-fixer.js#L29-L85", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/indentation.js", "func_name": "inspectTopLevelDeclaration", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Ensure level 1 indentation before all immediate children of top-level declarations", "docstring_tokens": ["Ensure", "level", "1", "indentation", "before", "all", "immediate", "children", "of", "top", "-", "level", "declarations"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/indentation.js#L132-L196", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/indentation.js", "func_name": "inspectBlockStatement", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Ensure 1 extra indentation inside Block than before it", "docstring_tokens": ["Ensure", "1", "extra", "indentation", "inside", "Block", "than", "before", "it"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/indentation.js#L201-L279", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/utils/source-code-utils.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function to retrieve the source code text being linted. Returns the complete source code if no node specified\n@param {Object} node The AST node whose source code (specifically) is needed\n@param {int} beforeCount Include beforeCount number of characters prior to the node's code\n@param {int} afterCount Include afterCount number of characters following the node's code\n@returns {String} sourceCodeText source code of the specified node plus extra characters specified by beforeCount & afterCount", "docstring_tokens": ["Function", "to", "retrieve", "the", "source", "code", "text", "being", "linted", ".", "Returns", "the", "complete", "source", "code", "if", "no", "node", "specified"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/utils/source-code-utils.js#L48-L65", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/operator-whitespace.js", "func_name": "inspectVariableDeclaration", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "statement like `var x = 10` doesn't come under AssignmentExpression, so needs to be checked separately", "docstring_tokens": ["statement", "like", "var", "x", "=", "10", "doesn", "t", "come", "under", "AssignmentExpression", "so", "needs", "to", "be", "checked", "separately"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/operator-whitespace.js#L51-L72", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rule-context.js", "func_name": "RuleContext", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "context object Constructor to set read-only properties and provide additional functionality to the rules using it\n@param {String} ruleName Name of the rule the object is for\n@param {Object} ruleDesc Description of the rule the object is for\n@param {Object} ruleMeta meta object defined inside the rule file by rule developer\n@param {Object} Solium Main Solium object from which to inherit functionality to provide to the rules", "docstring_tokens": ["context", "object", "Constructor", "to", "set", "read", "-", "only", "properties", "and", "provide", "additional", "functionality", "to", "the", "rules", "using", "it"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rule-context.js#L23-L67", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/utils/rule-loader.js", "func_name": "resolveUpstream", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Given a ruleset name, determine whether its a core set or a sharable config and load the rule config accordingly.\n@param {String} upstream The ruleset to resolve\n@returns {Object} ruleConfigs Set of rule configs exported by the upstream ruleset.", "docstring_tokens": ["Given", "a", "ruleset", "name", "determine", "whether", "its", "a", "core", "set", "or", "a", "sharable", "config", "and", "load", "the", "rule", "config", "accordingly", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/utils/rule-loader.js#L27-L63", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/utils/rule-loader.js", "func_name": "resolvePluginConfig", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create provided plugin's default rule configuration\n@param {String} name Plugin name without 'solium-plugin-' prefix\n@param {Object} plugin The plugin Object as exported by the solium plugin\n@returns {Object} config Rule configuration object for the given plugin", "docstring_tokens": ["Create", "provided", "plugin", "s", "default", "rule", "configuration"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/utils/rule-loader.js#L73-L81", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/cli.js", "func_name": "writeConfigFile", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Synchronously write the passed configuration to the file whose absolute path is SOLIUMRC_FILENAME_ABSOLUTE\n@param {Object} config User Configuration object\n@returns {void}", "docstring_tokens": ["Synchronously", "write", "the", "passed", "configuration", "to", "the", "file", "whose", "absolute", "path", "is", "SOLIUMRC_FILENAME_ABSOLUTE"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/cli.js#L43-L54", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/cli.js", "func_name": "lintString", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Lint a source code string based on user settings. If autofix is enabled, write the fixed code back to file.\n@param {String} sourceCode The source code to be linted\n@param {Object} userConfig User configuration\n@param {Object} errorReporter The error reporter to use\n@param {String} fileName (optional) File name to use when reporting errors\n@returns {Integer} numOfErrors Number of Lint ERRORS that occured.", "docstring_tokens": ["Lint", "a", "source", "code", "string", "based", "on", "user", "settings", ".", "If", "autofix", "is", "enabled", "write", "the", "fixed", "code", "back", "to", "file", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/cli.js#L89-L131", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/cli.js", "func_name": "lintFile", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Lint a file based on user settings\n@param {String} fileName The path to the file to be linted\n@param {Object} userConfig User configuration\n@param {Object} errorReporter The error reporter to use\n@returns {Integer} numOfErrors Number of Lint ERRORS that occured (the result returned by lintString())", "docstring_tokens": ["Lint", "a", "file", "based", "on", "user", "settings"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/cli.js#L144-L155", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/cli.js", "func_name": "createCliOptions", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function responsible for defining all the available commandline options & version information\n@param {Object} cliObject Commander Object handling the cli", "docstring_tokens": ["Function", "responsible", "for", "defining", "all", "the", "available", "commandline", "options", "&", "version", "information"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/cli.js#L211-L247", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/utils/rule-inspector.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determine whether the options object supplied is valid according to the schema passed.\n@param {Array} options List of options\n@param {Array} listItemsSchema A list of schema objects defining schema for every item in the options list.\n@returns {Boolean} isValid True if options list is valid, false otherwise.", "docstring_tokens": ["Determine", "whether", "the", "options", "object", "supplied", "is", "valid", "according", "to", "the", "schema", "passed", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/utils/rule-inspector.js#L38-L47", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/visibility-first.js", "func_name": "inspectFD", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Find index of the first visibility modifier in declaration. Find the first non-VM before this first VM found above. If non-VM found, report the VM.", "docstring_tokens": ["Find", "index", "of", "the", "first", "visibility", "modifier", "in", "declaration", ".", "Find", "the", "first", "non", "-", "VM", "before", "this", "first", "VM", "found", "above", ".", "If", "non", "-", "VM", "found", "report", "the", "VM", "."], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/visibility-first.js#L23-L44", "partition": "test"}
+{"repo": "duaraghav8/Ethlint", "path": "lib/rules/double-quotes.js", "func_name": "isHex", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determine whether the provided literal is in Hex Notation\n@param {String} literal The literal to test for Hex Notation\n@returns {Boolean}", "docstring_tokens": ["Determine", "whether", "the", "provided", "literal", "is", "in", "Hex", "Notation"], "sha": "7d264373709561148c7166601ac39370e78f74b1", "url": "https://github.com/duaraghav8/Ethlint/blob/7d264373709561148c7166601ac39370e78f74b1/lib/rules/double-quotes.js#L13-L22", "partition": "test"}
+{"repo": "danigb/soundfont-player", "path": "lib/legacy.js", "func_name": "Soundfont", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a Soundfont object\n\n@param {AudioContext} context - the [audio context](https://developer.mozilla.org/en/docs/Web/API/AudioContext)\n@param {Function} nameToUrl - (Optional) a function that maps the sound font name to the url\n@return {Soundfont} a soundfont object", "docstring_tokens": ["Create", "a", "Soundfont", "object"], "sha": "42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad", "url": "https://github.com/danigb/soundfont-player/blob/42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad/lib/legacy.js#L12-L21", "partition": "test"}
+{"repo": "danigb/soundfont-player", "path": "lib/legacy.js", "func_name": "oscillatorPlayer", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a function that plays an oscillator\n\n@param {AudioContext} ac - the audio context\n@param {Hash} defaultOptions - (Optional) a hash of options:\n- vcoType: the oscillator type (default: 'sine')\n- gain: the output gain value (default: 0.4)\n- destination: the player destination (default: ac.destination)", "docstring_tokens": ["Returns", "a", "function", "that", "plays", "an", "oscillator"], "sha": "42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad", "url": "https://github.com/danigb/soundfont-player/blob/42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad/lib/legacy.js#L96-L128", "partition": "test"}
+{"repo": "danigb/soundfont-player", "path": "lib/index.js", "func_name": "instrument", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Load a soundfont instrument. It returns a promise that resolves to a\ninstrument object.\n\nThe instrument object returned by the promise has the following properties:\n\n- name: the instrument name\n- play: A function to play notes from the buffer with the signature\n`play(note, time, duration, options)`\n\n\nThe valid options are:\n\n- `format`: the soundfont format. 'mp3' by default. Can be 'ogg'\n- `soundfont`: the soundfont name. 'MusyngKite' by default. Can be 'FluidR3_GM'\n- `nameToUrl` : a function to convert from instrument names to URL\n- `destination`: by default Soundfont uses the `audioContext.destination` but you can override it.\n- `gain`: the gain of the player (1 by default)\n- `notes`: an array of the notes to decode. It can be an array of strings\nwith note names or an array of numbers with midi note numbers. This is a\nperformance option: since decoding mp3 is a cpu intensive process, you can limit\nlimit the number of notes you want and reduce the time to load the instrument.\n\n@param {AudioContext} ac - the audio context\n@param {String} name - the instrument name. For example: 'acoustic_grand_piano'\n@param {Object} options - (Optional) the same options as Soundfont.loadBuffers\n@return {Promise}\n\n@example\nvar Soundfont = require('sounfont-player')\nSoundfont.instrument('marimba').then(function (marimba) {\nmarimba.play('C4')\n})", "docstring_tokens": ["Load", "a", "soundfont", "instrument", ".", "It", "returns", "a", "promise", "that", "resolves", "to", "a", "instrument", "object", "."], "sha": "42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad", "url": "https://github.com/danigb/soundfont-player/blob/42f2e6ee5afb84dc5c483a906f7b9d108ba2c0ad/lib/index.js#L40-L53", "partition": "test"}
+{"repo": "moovel/node-yolo", "path": "util/has_lib.js", "func_name": "hasSystemLib", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Checks for lib using ldconfig if present, or searching SYSTEM_PATHS\notherwise.\n@param String library name, e.g. 'jpeg' in 'libjpeg64.so' (see first line)\n@return Boolean exists", "docstring_tokens": ["Checks", "for", "lib", "using", "ldconfig", "if", "present", "or", "searching", "SYSTEM_PATHS", "otherwise", "."], "sha": "1c52c30de306854a7bd22d6cac4bc5bf9a71d3fa", "url": "https://github.com/moovel/node-yolo/blob/1c52c30de306854a7bd22d6cac4bc5bf9a71d3fa/util/has_lib.js#L36-L62", "partition": "test"}
+{"repo": "koajs/ratelimit", "path": "index.js", "func_name": "thenify", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Helper function to convert a callback to a Promise.", "docstring_tokens": ["Helper", "function", "to", "convert", "a", "callback", "to", "a", "Promise", "."], "sha": "3eb2e7d1694f77628041af0b1a3f1bc4b8dbf275", "url": "https://github.com/koajs/ratelimit/blob/3eb2e7d1694f77628041af0b1a3f1bc4b8dbf275/index.js#L97-L106", "partition": "test"}
+{"repo": "kimmobrunfeldt/chokidar-cli", "path": "index.js", "func_name": "startWatching", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Estimates spent working hours based on commit dates", "docstring_tokens": ["Estimates", "spent", "working", "hours", "based", "on", "commit", "dates"], "sha": "00aee901e41673e85ab5183d4e58eacafec5c983", "url": "https://github.com/kimmobrunfeldt/chokidar-cli/blob/00aee901e41673e85ab5183d4e58eacafec5c983/index.js#L136-L174", "partition": "test"}
+{"repo": "kimmobrunfeldt/chokidar-cli", "path": "index.js", "func_name": "_resolveIgnoreOpt", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Takes string or array of strings", "docstring_tokens": ["Takes", "string", "or", "array", "of", "strings"], "sha": "00aee901e41673e85ab5183d4e58eacafec5c983", "url": "https://github.com/kimmobrunfeldt/chokidar-cli/blob/00aee901e41673e85ab5183d4e58eacafec5c983/index.js#L193-L210", "partition": "test"}
+{"repo": "aragon/aragon-ui", "path": "src/proptypes.js", "func_name": "requireProp", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Require a prop to not be empty", "docstring_tokens": ["Require", "a", "prop", "to", "not", "be", "empty"], "sha": "1c55ea5b5fe4885eab907602fb9d45cccf8f55dc", "url": "https://github.com/aragon/aragon-ui/blob/1c55ea5b5fe4885eab907602fb9d45cccf8f55dc/src/proptypes.js#L9-L15", "partition": "test"}
+{"repo": "aragon/aragon-ui", "path": "src/proptypes.js", "func_name": "_0to1", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Accept any number in the 0 => 1 range", "docstring_tokens": ["Accept", "any", "number", "in", "the", "0", "=", ">", "1", "range"], "sha": "1c55ea5b5fe4885eab907602fb9d45cccf8f55dc", "url": "https://github.com/aragon/aragon-ui/blob/1c55ea5b5fe4885eab907602fb9d45cccf8f55dc/src/proptypes.js#L18-L32", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/webpack-preset-accurapp/customBlocks.js", "func_name": "babel", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The thread-loader parallelizes code compilation, useful with babel since\nit transpiles both application javascript and node_modules javascript", "docstring_tokens": ["The", "thread", "-", "loader", "parallelizes", "code", "compilation", "useful", "with", "babel", "since", "it", "transpiles", "both", "application", "javascript", "and", "node_modules", "javascript"], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/webpack-preset-accurapp/customBlocks.js#L17-L37", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/webpack-preset-accurapp/customBlocks.js", "func_name": "imageLoader", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Images smaller than 10kb are loaded as a base64 encoded url instead of file url", "docstring_tokens": ["Images", "smaller", "than", "10kb", "are", "loaded", "as", "a", "base64", "encoded", "url", "instead", "of", "file", "url"], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/webpack-preset-accurapp/customBlocks.js#L58-L68", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/webpack-preset-accurapp/customBlocks.js", "func_name": "csvLoader", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse .csv files with PapaParse and return it in a JSON format", "docstring_tokens": ["Parse", ".", "csv", "files", "with", "PapaParse", "and", "return", "it", "in", "a", "JSON", "format"], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/webpack-preset-accurapp/customBlocks.js#L128-L139", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/webpack-preset-accurapp/customBlocks.js", "func_name": "cssSvgLoader", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Url-loader for svgs in css", "docstring_tokens": ["Url", "-", "loader", "for", "svgs", "in", "css"], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/webpack-preset-accurapp/customBlocks.js#L192-L206", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/webpack-preset-accurapp/customBlocks.js", "func_name": "prependEntry", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Add entryPoint at beginning of 'entry' array", "docstring_tokens": ["Add", "entryPoint", "at", "beginning", "of", "entry", "array"], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/webpack-preset-accurapp/customBlocks.js#L259-L268", "partition": "test"}
+{"repo": "accurat/accurapp", "path": "packages/accurapp-scripts/scripts/build.js", "func_name": "build", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create the production build and print the deployment instructions.", "docstring_tokens": ["Create", "the", "production", "build", "and", "print", "the", "deployment", "instructions", "."], "sha": "4658397daa4a983830b4f881287c880e66efaaae", "url": "https://github.com/accurat/accurapp/blob/4658397daa4a983830b4f881287c880e66efaaae/packages/accurapp-scripts/scripts/build.js#L52-L73", "partition": "test"}
+{"repo": "dwightjack/vue-types", "path": "examples/userlist/dist/bundle.js", "func_name": "mergeData", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Helper that recursively merges two data objects together.", "docstring_tokens": ["Helper", "that", "recursively", "merges", "two", "data", "objects", "together", "."], "sha": "083089dbef1bc351b7b242546c24e6f5a2ddaed0", "url": "https://github.com/dwightjack/vue-types/blob/083089dbef1bc351b7b242546c24e6f5a2ddaed0/examples/userlist/dist/bundle.js#L1175-L1194", "partition": "test"}
+{"repo": "dwightjack/vue-types", "path": "examples/userlist/dist/bundle.js", "func_name": "withDefault", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Adds a `def` method to the object returning a new object with passed in argument as `default` property\n\n@param {object} type - Object to enhance\n@returns {object} the passed-in prop type", "docstring_tokens": ["Adds", "a", "def", "method", "to", "the", "object", "returning", "a", "new", "object", "with", "passed", "in", "argument", "as", "default", "property"], "sha": "083089dbef1bc351b7b242546c24e6f5a2ddaed0", "url": "https://github.com/dwightjack/vue-types/blob/083089dbef1bc351b7b242546c24e6f5a2ddaed0/examples/userlist/dist/bundle.js#L11364-L11393", "partition": "test"}
+{"repo": "dwightjack/vue-types", "path": "examples/userlist/dist/bundle.js", "func_name": "withValidate", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Adds a validate method useful to set the prop `validator` function.\n\n@param {object} type Prop type to extend\n@returns {object} the passed-in prop type", "docstring_tokens": ["Adds", "a", "validate", "method", "useful", "to", "set", "the", "prop", "validator", "function", "."], "sha": "083089dbef1bc351b7b242546c24e6f5a2ddaed0", "url": "https://github.com/dwightjack/vue-types/blob/083089dbef1bc351b7b242546c24e6f5a2ddaed0/examples/userlist/dist/bundle.js#L11417-L11425", "partition": "test"}
+{"repo": "dwightjack/vue-types", "path": "examples/userlist/dist/bundle.js", "func_name": "toType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Adds `isRequired` and `def` modifiers to an object\n\n@param {string} name - Type internal name\n@param {object} obj - Object to enhance\n@returns {object}", "docstring_tokens": ["Adds", "isRequired", "and", "def", "modifiers", "to", "an", "object"], "sha": "083089dbef1bc351b7b242546c24e6f5a2ddaed0", "url": "https://github.com/dwightjack/vue-types/blob/083089dbef1bc351b7b242546c24e6f5a2ddaed0/examples/userlist/dist/bundle.js#L11434-L11455", "partition": "test"}
+{"repo": "dwightjack/vue-types", "path": "examples/userlist/dist/bundle.js", "func_name": "validateType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Validates a given value against a prop type object\n\n@param {Object|*} type - Type to use for validation. Either a type object or a constructor\n@param {*} value - Value to check\n@param {boolean} silent - Silence warnings\n@returns {boolean}", "docstring_tokens": ["Validates", "a", "given", "value", "against", "a", "prop", "type", "object"], "sha": "083089dbef1bc351b7b242546c24e6f5a2ddaed0", "url": "https://github.com/dwightjack/vue-types/blob/083089dbef1bc351b7b242546c24e6f5a2ddaed0/examples/userlist/dist/bundle.js#L11465-L11526", "partition": "test"}
+{"repo": "WebReflection/dom4", "path": "build/dom4.max.js", "func_name": "CustomEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "the infamous substitute", "docstring_tokens": ["the", "infamous", "substitute"], "sha": "2189e1b75d442ab4f776e69d0d77d23b8ed4581b", "url": "https://github.com/WebReflection/dom4/blob/2189e1b75d442ab4f776e69d0d77d23b8ed4581b/build/dom4.max.js#L456-L475", "partition": "test"}
+{"repo": "WebReflection/dom4", "path": "build/dom4.max.js", "func_name": "initCustomEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "attached at runtime", "docstring_tokens": ["attached", "at", "runtime"], "sha": "2189e1b75d442ab4f776e69d0d77d23b8ed4581b", "url": "https://github.com/WebReflection/dom4/blob/2189e1b75d442ab4f776e69d0d77d23b8ed4581b/build/dom4.max.js#L478-L484", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "cleanUpRuntimeEvents", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Removes all events set by this instance during runtime", "docstring_tokens": ["Removes", "all", "events", "set", "by", "this", "instance", "during", "runtime"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L174-L181", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "addRuntimeEvents", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Add all required runtime events", "docstring_tokens": ["Add", "all", "required", "runtime", "events"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L186-L195", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "normalizeEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates a custom normalized event object from touch and mouse events\n@param {Event} ev\n@returns {Object} with x, y, and id properties", "docstring_tokens": ["Creates", "a", "custom", "normalized", "event", "object", "from", "touch", "and", "mouse", "events"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L209-L225", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "onDown", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initializes movement tracking\n@param {Object} ev Normalized event", "docstring_tokens": ["Initializes", "movement", "tracking"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L231-L245", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "onMove", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Handles move events\n@param {Object} ev Normalized event", "docstring_tokens": ["Handles", "move", "events"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L251-L261", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "addTrackingPoint", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Records movement for the last 100ms\n@param {number} x\n@param {number} y [description]", "docstring_tokens": ["Records", "movement", "for", "the", "last", "100ms"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L291-L301", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "updateAndRender", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Calculate new values, call update function", "docstring_tokens": ["Calculate", "new", "values", "call", "update", "function"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L306-L330", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "startDecelAnim", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initialize animation of values coming to a stop", "docstring_tokens": ["Initialize", "animation", "of", "values", "coming", "to", "a", "stop"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L389-L408", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "dist/impetus.js", "func_name": "stepDecelAnim", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Animates values slowing down", "docstring_tokens": ["Animates", "values", "slowing", "down"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/dist/impetus.js#L413-L472", "partition": "test"}
+{"repo": "chrisbateman/impetus", "path": "src/Impetus.js", "func_name": "checkBounds", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Determine position relative to bounds\n@param {Boolean} restrict Whether to restrict target to bounds", "docstring_tokens": ["Determine", "position", "relative", "to", "bounds"], "sha": "ef9fefec150655c06e2aec9e628422909fd5f4ce", "url": "https://github.com/chrisbateman/impetus/blob/ef9fefec150655c06e2aec9e628422909fd5f4ce/src/Impetus.js#L338-L368", "partition": "test"}
+{"repo": "aliqin/atui", "path": "build/webpack.lib.js", "func_name": "initCompDirs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "get all components dirs", "docstring_tokens": ["get", "all", "components", "dirs"], "sha": "910e25b2dd8db456b5f7e47b48271c898dcb9a21", "url": "https://github.com/aliqin/atui/blob/910e25b2dd8db456b5f7e47b48271c898dcb9a21/build/webpack.lib.js#L10-L20", "partition": "test"}
+{"repo": "micmro/PerfCascade", "path": "build-utils/grunt-tasks/changelog-custom.js", "func_name": "appendLogToFileStream", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Writes a log to a file\n@param {string} fileName filename/path to write to\n@param {string} newLog new Changelog entry to add\n@param {number} headerLineCount Number of lines the header occupies", "docstring_tokens": ["Writes", "a", "log", "to", "a", "file"], "sha": "de4c4ac60d2683d4820175645bc5f99164a2ace6", "url": "https://github.com/micmro/PerfCascade/blob/de4c4ac60d2683d4820175645bc5f99164a2ace6/build-utils/grunt-tasks/changelog-custom.js#L30-L48", "partition": "test"}
+{"repo": "micmro/PerfCascade", "path": "src/zip/zip.js", "func_name": "doSeek", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "seek last length bytes of file for EOCDR", "docstring_tokens": ["seek", "last", "length", "bytes", "of", "file", "for", "EOCDR"], "sha": "de4c4ac60d2683d4820175645bc5f99164a2ace6", "url": "https://github.com/micmro/PerfCascade/blob/de4c4ac60d2683d4820175645bc5f99164a2ace6/src/zip/zip.js#L626-L638", "partition": "test"}
+{"repo": "auth0/sandboxjs", "path": "lib/cronJob.js", "func_name": "CronJob", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates an object representing a CronJob\n\n@constructor", "docstring_tokens": ["Creates", "an", "object", "representing", "a", "CronJob"], "sha": "285d9cc995eda9c2ad76618c2805b9d126994ab4", "url": "https://github.com/auth0/sandboxjs/blob/285d9cc995eda9c2ad76618c2805b9d126994ab4/lib/cronJob.js#L15-L50", "partition": "test"}
+{"repo": "auth0/sandboxjs", "path": "lib/sandbox.js", "func_name": "Sandbox", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates an object representing a user's webtask.io credentials\n\n@constructor\n@param {Object} options - Options used to configure the profile\n@param {String} options.url - The url of the webtask cluster where code will run\n@param {String} options.container - The name of the container in which code will run\n@param {String} options.token - The JWT (see: http://jwt.io) issued by webtask.io that grants rights to run code in the indicated container\n@param {String} [options.onBeforeRequest] - An array of hook functions to be invoked with a prepared request", "docstring_tokens": ["Creates", "an", "object", "representing", "a", "user", "s", "webtask", ".", "io", "credentials"], "sha": "285d9cc995eda9c2ad76618c2805b9d126994ab4", "url": "https://github.com/auth0/sandboxjs/blob/285d9cc995eda9c2ad76618c2805b9d126994ab4/lib/sandbox.js#L35-L56", "partition": "test"}
+{"repo": "auth0/sandboxjs", "path": "lib/webtask.js", "func_name": "Webtask", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates an object representing a Webtask\n\n@constructor", "docstring_tokens": ["Creates", "an", "object", "representing", "a", "Webtask"], "sha": "285d9cc995eda9c2ad76618c2805b9d126994ab4", "url": "https://github.com/auth0/sandboxjs/blob/285d9cc995eda9c2ad76618c2805b9d126994ab4/lib/webtask.js#L17-L101", "partition": "test"}
+{"repo": "othiym23/async-listener", "path": "index.js", "func_name": "wrappedPromise", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Updates to this class should also be applied to the the ES6 version in es6-wrapped-promise.js.", "docstring_tokens": ["Updates", "to", "this", "class", "should", "also", "be", "applied", "to", "the", "the", "ES6", "version", "in", "es6", "-", "wrapped", "-", "promise", ".", "js", "."], "sha": "01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e", "url": "https://github.com/othiym23/async-listener/blob/01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e/index.js#L427-L464", "partition": "test"}
+{"repo": "othiym23/async-listener", "path": "glue.js", "func_name": "union", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Simple helper function that's probably faster than using Array\nfilter methods and can be inlined.", "docstring_tokens": ["Simple", "helper", "function", "that", "s", "probably", "faster", "than", "using", "Array", "filter", "methods", "and", "can", "be", "inlined", "."], "sha": "01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e", "url": "https://github.com/othiym23/async-listener/blob/01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e/glue.js#L60-L83", "partition": "test"}
+{"repo": "othiym23/async-listener", "path": "glue.js", "func_name": "simpleWrap", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "for performance in the case where there are no handlers, just the listener", "docstring_tokens": ["for", "performance", "in", "the", "case", "where", "there", "are", "no", "handlers", "just", "the", "listener"], "sha": "01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e", "url": "https://github.com/othiym23/async-listener/blob/01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e/glue.js#L363-L383", "partition": "test"}
+{"repo": "othiym23/async-listener", "path": "glue.js", "func_name": "wrapCallback", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Called each time an asynchronous function that's been monkeypatched in\nindex.js is called. If there are no listeners, return the function\nunwrapped. If there are any asyncListeners and any of them have callbacks,\npass them off to asyncWrap for later use, otherwise just call the listener.", "docstring_tokens": ["Called", "each", "time", "an", "asynchronous", "function", "that", "s", "been", "monkeypatched", "in", "index", ".", "js", "is", "called", ".", "If", "there", "are", "no", "listeners", "return", "the", "function", "unwrapped", ".", "If", "there", "are", "any", "asyncListeners", "and", "any", "of", "them", "have", "callbacks", "pass", "them", "off", "to", "asyncWrap", "for", "later", "use", "otherwise", "just", "call", "the", "listener", "."], "sha": "01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e", "url": "https://github.com/othiym23/async-listener/blob/01a02ee123db3d4a98e0cc5dda6f8ef82c55f81e/glue.js#L391-L405", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "comparison/largest/largest-bluebird.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Finds the largest file in the given directory, optionally performing a recursive search.\n@param {string} dir - the directory to search.\n@param {object?} options - optional settings: { recurse?: boolean; preview?: boolean }.\n@returns {object?} null if no files found, otherwise an object of the form\n{ path: string; size: number; preview?: string, searched: number; }", "docstring_tokens": ["Finds", "the", "largest", "file", "in", "the", "given", "directory", "optionally", "performing", "a", "recursive", "search", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/comparison/largest/largest-bluebird.js#L15-L70", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "src/async/makeAsyncFunc.js", "func_name": "makeAsyncFunc", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function for creating a specific variant of the async function.", "docstring_tokens": ["Function", "for", "creating", "a", "specific", "variant", "of", "the", "async", "function", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/src/async/makeAsyncFunc.js#L11-L31", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "src/async/makeAsyncFunc.js", "func_name": "makeAsyncIterator", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function for creating iterable suspendable functions.", "docstring_tokens": ["Function", "for", "creating", "iterable", "suspendable", "functions", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/src/async/makeAsyncFunc.js#L33-L71", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "src/async/makeAsyncFunc.js", "func_name": "makeAsyncNonIterator", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Function for creating non-iterable suspendable functions.", "docstring_tokens": ["Function", "for", "creating", "non", "-", "iterable", "suspendable", "functions", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/src/async/makeAsyncFunc.js#L73-L112", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "src/await/makeAwaitFunc.js", "func_name": "traverseClone", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Object traversal with cloning.", "docstring_tokens": ["Object", "traversal", "with", "cloning", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/src/await/makeAwaitFunc.js#L90-L113", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "src/await/makeAwaitFunc.js", "func_name": "thunkToPromise", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Convert a thunk to a promise.", "docstring_tokens": ["Convert", "a", "thunk", "to", "a", "promise", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/src/await/makeAwaitFunc.js#L133-L138", "partition": "test"}
+{"repo": "yortus/asyncawait", "path": "comparison/countFiles/countFiles-synchronous.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns the number of files in the given directory.", "docstring_tokens": ["Returns", "the", "number", "of", "files", "in", "the", "given", "directory", "."], "sha": "7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2", "url": "https://github.com/yortus/asyncawait/blob/7b4f573ecc7e388a1b05fa0c454bbe5d1b0154f2/comparison/countFiles/countFiles-synchronous.js#L7-L16", "partition": "test"}
+{"repo": "algolia/gatsby-plugin-algolia", "path": "gatsby-node.js", "func_name": "scopedCopyIndex", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Copy the settings, synonyms, and rules of the source index to the target index\n@param client\n@param sourceIndex\n@param targetIndex\n@return {Promise}", "docstring_tokens": ["Copy", "the", "settings", "synonyms", "and", "rules", "of", "the", "source", "index", "to", "the", "target", "index"], "sha": "8bc3959f6d23fc683fa9b7041391faaa8d831f5d", "url": "https://github.com/algolia/gatsby-plugin-algolia/blob/8bc3959f6d23fc683fa9b7041391faaa8d831f5d/gatsby-node.js#L83-L90", "partition": "test"}
+{"repo": "algolia/gatsby-plugin-algolia", "path": "gatsby-node.js", "func_name": "moveIndex", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "moves the source index to the target index\n@param client\n@param sourceIndex\n@param targetIndex\n@return {Promise}", "docstring_tokens": ["moves", "the", "source", "index", "to", "the", "target", "index"], "sha": "8bc3959f6d23fc683fa9b7041391faaa8d831f5d", "url": "https://github.com/algolia/gatsby-plugin-algolia/blob/8bc3959f6d23fc683fa9b7041391faaa8d831f5d/gatsby-node.js#L99-L105", "partition": "test"}
+{"repo": "algolia/gatsby-plugin-algolia", "path": "gatsby-node.js", "func_name": "indexExists", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Does an Algolia index exist already\n\n@param index", "docstring_tokens": ["Does", "an", "Algolia", "index", "exist", "already"], "sha": "8bc3959f6d23fc683fa9b7041391faaa8d831f5d", "url": "https://github.com/algolia/gatsby-plugin-algolia/blob/8bc3959f6d23fc683fa9b7041391faaa8d831f5d/gatsby-node.js#L112-L119", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "index.js", "func_name": "loadModule", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Load the given module.\n@private", "docstring_tokens": ["Load", "the", "given", "module", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/index.js#L95-L124", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "parseAcceptLanguage", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse the Accept-Language header.\n@private", "docstring_tokens": ["Parse", "the", "Accept", "-", "Language", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L31-L46", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "parseLanguage", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse a language from the Accept-Language header.\n@private", "docstring_tokens": ["Parse", "a", "language", "from", "the", "Accept", "-", "Language", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L53-L79", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "getLanguagePriority", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the priority of a language.\n@private", "docstring_tokens": ["Get", "the", "priority", "of", "a", "language", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L86-L98", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "specify", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the specificity of the language.\n@private", "docstring_tokens": ["Get", "the", "specificity", "of", "the", "language", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L105-L125", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "preferredLanguages", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the preferred languages from an Accept-Language header.\n@public", "docstring_tokens": ["Get", "the", "preferred", "languages", "from", "an", "Accept", "-", "Language", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L132-L152", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/language.js", "func_name": "compareSpecs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Compare two specs.\n@private", "docstring_tokens": ["Compare", "two", "specs", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/language.js#L159-L161", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/charset.js", "func_name": "parseAcceptCharset", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse the Accept-Charset header.\n@private", "docstring_tokens": ["Parse", "the", "Accept", "-", "Charset", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/charset.js#L31-L46", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/charset.js", "func_name": "parseCharset", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse a charset from the Accept-Charset header.\n@private", "docstring_tokens": ["Parse", "a", "charset", "from", "the", "Accept", "-", "Charset", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/charset.js#L53-L75", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/charset.js", "func_name": "getCharsetPriority", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the priority of a charset.\n@private", "docstring_tokens": ["Get", "the", "priority", "of", "a", "charset", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/charset.js#L82-L94", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/charset.js", "func_name": "specify", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the specificity of the charset.\n@private", "docstring_tokens": ["Get", "the", "specificity", "of", "the", "charset", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/charset.js#L101-L115", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/charset.js", "func_name": "preferredCharsets", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the preferred charsets from an Accept-Charset header.\n@public", "docstring_tokens": ["Get", "the", "preferred", "charsets", "from", "an", "Accept", "-", "Charset", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/charset.js#L122-L142", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/encoding.js", "func_name": "parseEncoding", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse an encoding from the Accept-Encoding header.\n@private", "docstring_tokens": ["Parse", "an", "encoding", "from", "the", "Accept", "-", "Encoding", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/encoding.js#L69-L91", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/encoding.js", "func_name": "getEncodingPriority", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the priority of an encoding.\n@private", "docstring_tokens": ["Get", "the", "priority", "of", "an", "encoding", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/encoding.js#L98-L110", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/encoding.js", "func_name": "preferredEncodings", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the preferred encodings from an Accept-Encoding header.\n@public", "docstring_tokens": ["Get", "the", "preferred", "encodings", "from", "an", "Accept", "-", "Encoding", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/encoding.js#L138-L157", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "parseAccept", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse the Accept header.\n@private", "docstring_tokens": ["Parse", "the", "Accept", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L31-L46", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "parseMediaType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse a media type from the Accept header.\n@private", "docstring_tokens": ["Parse", "a", "media", "type", "from", "the", "Accept", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L53-L92", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "getMediaTypePriority", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the priority of a media type.\n@private", "docstring_tokens": ["Get", "the", "priority", "of", "a", "media", "type", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L99-L111", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "specify", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the specificity of the media type.\n@private", "docstring_tokens": ["Get", "the", "specificity", "of", "the", "media", "type", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L118-L155", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "preferredMediaTypes", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the preferred media types from an Accept header.\n@public", "docstring_tokens": ["Get", "the", "preferred", "media", "types", "from", "an", "Accept", "header", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L162-L182", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "quoteCount", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Count the number of quotes in a string.\n@private", "docstring_tokens": ["Count", "the", "number", "of", "quotes", "in", "a", "string", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L216-L226", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "splitKeyValuePair", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Split a key value pair.\n@private", "docstring_tokens": ["Split", "a", "key", "value", "pair", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L233-L246", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "splitMediaTypes", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Split an Accept header into media types.\n@private", "docstring_tokens": ["Split", "an", "Accept", "header", "into", "media", "types", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L253-L268", "partition": "test"}
+{"repo": "jshttp/negotiator", "path": "lib/mediaType.js", "func_name": "splitParameters", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Split a string of parameters.\n@private", "docstring_tokens": ["Split", "a", "string", "of", "parameters", "."], "sha": "99f418e11907b60e63f0addc09fc596ddc7be5be", "url": "https://github.com/jshttp/negotiator/blob/99f418e11907b60e63f0addc09fc596ddc7be5be/lib/mediaType.js#L275-L294", "partition": "test"}
+{"repo": "scup/atellier", "path": "karma.conf.js", "func_name": "loadWebpackConfig", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Loads configuration while ensuring sounce-map is enabled", "docstring_tokens": ["Loads", "configuration", "while", "ensuring", "sounce", "-", "map", "is", "enabled"], "sha": "5ad6a401d78b5625eb5293891b4741aad0149788", "url": "https://github.com/scup/atellier/blob/5ad6a401d78b5625eb5293891b4741aad0149788/karma.conf.js#L46-L57", "partition": "test"}
+{"repo": "jsonmaur/namor", "path": "data/scripts/build.js", "func_name": "assign", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "assigns values to an object, creating keys in\n`keyPath` if they don't exist yet.\n@param {object} obj - The object to assign values to\n@param {array} keyPath - The path to assign in object [a,b] => obj.a.b\n@param {any} value - The value to assign to the object", "docstring_tokens": ["assigns", "values", "to", "an", "object", "creating", "keys", "in", "keyPath", "if", "they", "don", "t", "exist", "yet", "."], "sha": "428aafc9eb56d5a5b25a78ff842aab535aebbb74", "url": "https://github.com/jsonmaur/namor/blob/428aafc9eb56d5a5b25a78ff842aab535aebbb74/data/scripts/build.js#L15-L25", "partition": "test"}
+{"repo": "appbaseio/reactivecore", "path": "src/utils/analytics.js", "func_name": "getFilterString", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "transforms the selectedValues from store into the X-Search-Filters string for analytics", "docstring_tokens": ["transforms", "the", "selectedValues", "from", "store", "into", "the", "X", "-", "Search", "-", "Filters", "string", "for", "analytics"], "sha": "793de229c19013e5f2734d8d0b91332618aeb1ec", "url": "https://github.com/appbaseio/reactivecore/blob/793de229c19013e5f2734d8d0b91332618aeb1ec/src/utils/analytics.js#L67-L87", "partition": "test"}
+{"repo": "johntitus/node-horseman", "path": "lib/actions.js", "func_name": "evaluatePage", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Evaluates a function on the given page.\n@this Horseman\n@param {Page} page\n@param {function} fn\n@param {...*} [arguments]", "docstring_tokens": ["Evaluates", "a", "function", "on", "the", "given", "page", "."], "sha": "831699df1708d96c91d8010a8ee975c4d022fe0e", "url": "https://github.com/johntitus/node-horseman/blob/831699df1708d96c91d8010a8ee975c4d022fe0e/lib/actions.js#L985-L1021", "partition": "test"}
+{"repo": "johntitus/node-horseman", "path": "lib/actions.js", "func_name": "waitForPage", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Waits for a function to evaluate to a given value on the given page\n@param {Page | undefined} page\n@param {function | object} optsOrFn - If optsOrFn is a function, use the classic signature waitForPage(page, fn, arg1, arg2, value), If arg is an object, use waitForPage(page, options)\n@param {array} optsOrFn.args - arguments of fn\n@param {function} optsOrFn.fn - function to evaluate\n@param {*} optsOrFn.value - expected value of function\n@param {number} [optsOrFn.timeout=null] - timeout in ms\n@param {...*} [arguments]\n@param {*} value\n@emits Horseman#TimeoutError", "docstring_tokens": ["Waits", "for", "a", "function", "to", "evaluate", "to", "a", "given", "value", "on", "the", "given", "page"], "sha": "831699df1708d96c91d8010a8ee975c4d022fe0e", "url": "https://github.com/johntitus/node-horseman/blob/831699df1708d96c91d8010a8ee975c4d022fe0e/lib/actions.js#L1656-L1715", "partition": "test"}
+{"repo": "johntitus/node-horseman", "path": "lib/index.js", "func_name": "Horseman", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Creates a new Horseman.\n@constructor", "docstring_tokens": ["Creates", "a", "new", "Horseman", "."], "sha": "831699df1708d96c91d8010a8ee975c4d022fe0e", "url": "https://github.com/johntitus/node-horseman/blob/831699df1708d96c91d8010a8ee975c4d022fe0e/lib/index.js#L90-L162", "partition": "test"}
+{"repo": "bpostlethwaite/colormap", "path": "res/draw.js", "func_name": "getColors", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Helpers here get image colors", "docstring_tokens": ["Helpers", "here", "get", "image", "colors"], "sha": "cb22a04d23b9fd47a6663d80d44ad77594bd394a", "url": "https://github.com/bpostlethwaite/colormap/blob/cb22a04d23b9fd47a6663d80d44ad77594bd394a/res/draw.js#L116-L142", "partition": "test"}
+{"repo": "bpostlethwaite/colormap", "path": "res/draw.js", "func_name": "createCubehelix", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "create colormap by rotating cubehelix", "docstring_tokens": ["create", "colormap", "by", "rotating", "cubehelix"], "sha": "cb22a04d23b9fd47a6663d80d44ad77594bd394a", "url": "https://github.com/bpostlethwaite/colormap/blob/cb22a04d23b9fd47a6663d80d44ad77594bd394a/res/draw.js#L155-L163", "partition": "test"}
+{"repo": "bpostlethwaite/colormap", "path": "res/draw.js", "func_name": "toImageData", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "return imagedata from colormap", "docstring_tokens": ["return", "imagedata", "from", "colormap"], "sha": "cb22a04d23b9fd47a6663d80d44ad77594bd394a", "url": "https://github.com/bpostlethwaite/colormap/blob/cb22a04d23b9fd47a6663d80d44ad77594bd394a/res/draw.js#L166-L169", "partition": "test"}
+{"repo": "bpostlethwaite/colormap", "path": "res/draw.js", "func_name": "compress", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "return interpolated imagedata with only each @factor pixel left", "docstring_tokens": ["return", "interpolated", "imagedata", "with", "only", "each"], "sha": "cb22a04d23b9fd47a6663d80d44ad77594bd394a", "url": "https://github.com/bpostlethwaite/colormap/blob/cb22a04d23b9fd47a6663d80d44ad77594bd394a/res/draw.js#L172-L183", "partition": "test"}
+{"repo": "bpostlethwaite/colormap", "path": "res/draw.js", "func_name": "toColormap", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "convert imagedata to colormap JSON", "docstring_tokens": ["convert", "imagedata", "to", "colormap", "JSON"], "sha": "cb22a04d23b9fd47a6663d80d44ad77594bd394a", "url": "https://github.com/bpostlethwaite/colormap/blob/cb22a04d23b9fd47a6663d80d44ad77594bd394a/res/draw.js#L186-L197", "partition": "test"}
+{"repo": "phonegap/phonegap-plugin-contentsync", "path": "src/windows/SyncProxy.js", "func_name": "startDownload", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "this can throw exceptions, callers responsibility", "docstring_tokens": ["this", "can", "throw", "exceptions", "callers", "responsibility"], "sha": "2e4a40732fc444185033cfa711f0bd779413cbcf", "url": "https://github.com/phonegap/phonegap-plugin-contentsync/blob/2e4a40732fc444185033cfa711f0bd779413cbcf/src/windows/SyncProxy.js#L38-L43", "partition": "test"}
+{"repo": "phonegap/phonegap-plugin-contentsync", "path": "www/index.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "ContentSync constructor.\n\n@param {Object} options to initiate a new content synchronization.\n@param {String} src is a URL to the content sync end-point.\n@param {String} id is used as a unique identifier for the sync operation\n@param {Object} type defines the sync strategy applied to the content.\n@param {String} replace completely removes existing content then copies new content.\n@param {String} merge does not modify existing content, but adds new content.\n@param {Object} headers are used to set the headers for when we send a request to the src URL\n@param {Boolean} validateSrc whether to validate src url with a HEAD request before download (ios only, default true).\n@return {ContentSync} instance that can be monitored and cancelled.", "docstring_tokens": ["ContentSync", "constructor", "."], "sha": "2e4a40732fc444185033cfa711f0bd779413cbcf", "url": "https://github.com/phonegap/phonegap-plugin-contentsync/blob/2e4a40732fc444185033cfa711f0bd779413cbcf/www/index.js#L23-L111", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/rabbit-utils/create-app-channel.js", "func_name": "createAppChannel", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create consumer or publisher RabbitMQ channel\n@param {String} key channel key {consumer, publisher}\n@return {Promise} channel promise", "docstring_tokens": ["Create", "consumer", "or", "publisher", "RabbitMQ", "channel"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/rabbit-utils/create-app-channel.js#L20-L55", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/rabbit-utils/create-app-channel.js", "func_name": "errorHandler", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "channel error handler", "docstring_tokens": ["channel", "error", "handler"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/rabbit-utils/create-app-channel.js#L71-L80", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/rabbit-utils/create-app-connection.js", "func_name": "createAppConnection", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create a RabbitMQ connection\n@param {Application} app coworkers application\n@param {String} url connection url\n@param {Object} [socketOptions] connection socket options\n@return {Promise} connection promise", "docstring_tokens": ["Create", "a", "RabbitMQ", "connection"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/rabbit-utils/create-app-connection.js#L22-L38", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/rabbit-utils/create-app-connection.js", "func_name": "errorHandler", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "connection error handler", "docstring_tokens": ["connection", "error", "handler"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/rabbit-utils/create-app-connection.js#L52-L60", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/application.js", "func_name": "Application", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initialize a new `Application` inherits from EventEmitter\n@constructor\n@param {Object|RabbitSchema} [options|schema] coworkers application options or rabbitmq schema\n@param {RabbitSchema} [options.schema] a RabbitMQ schema created by https://npmjs.com/rabbitmq-schema, optional\n@param {Boolean} [options.cluster] whether to use clustering or not\n@param {String} [options.queueName] queue name which this application is consuming\n@api public", "docstring_tokens": ["Initialize", "a", "new", "Application", "inherits", "from", "EventEmitter"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/application.js#L41-L92", "partition": "test"}
+{"repo": "tjmehta/coworkers", "path": "lib/rabbit-utils/assert-and-consume-app-queue.js", "func_name": "assertAndConsumeAppQueue", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Start consuming message from app's queues\n@param {Application} app coworkers instance\n@param {String} queueName app queue's name\n@return {Promise} consume promise (yields consumer tag)", "docstring_tokens": ["Start", "consuming", "message", "from", "app", "s", "queues"], "sha": "358049d2e77e9bfe4eab4ebf384ccb7cade9f11b", "url": "https://github.com/tjmehta/coworkers/blob/358049d2e77e9bfe4eab4ebf384ccb7cade9f11b/lib/rabbit-utils/assert-and-consume-app-queue.js#L13-L24", "partition": "test"}
+{"repo": "ipfs/js-datastore-core", "path": "src/shard.js", "func_name": "parseShardFun", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Convert a given string to the matching sharding function.\n\n@param {string} str\n@returns {ShardV1}", "docstring_tokens": ["Convert", "a", "given", "string", "to", "the", "matching", "sharding", "function", "."], "sha": "60de9e4f61f96503bbe589a42755ee9b24f961d0", "url": "https://github.com/ipfs/js-datastore-core/blob/60de9e4f61f96503bbe589a42755ee9b24f961d0/src/shard.js#L87-L123", "partition": "test"}
+{"repo": "DylanPiercey/set-dom", "path": "src/index.js", "func_name": "isEqualNode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Checks if nodes are equal using the following by checking if\nthey are both ignored, have the same checksum, or have the\nsame contents.\n\n@param {Node} a - One of the nodes to compare.\n@param {Node} b - Another node to compare.", "docstring_tokens": ["Checks", "if", "nodes", "are", "equal", "using", "the", "following", "by", "checking", "if", "they", "are", "both", "ignored", "have", "the", "same", "checksum", "or", "have", "the", "same", "contents", "."], "sha": "846b9337246e3b06e6b41b228beeea21e66d0b03", "url": "https://github.com/DylanPiercey/set-dom/blob/846b9337246e3b06e6b41b228beeea21e66d0b03/src/index.js#L228-L237", "partition": "test"}
+{"repo": "DylanPiercey/set-dom", "path": "src/index.js", "func_name": "dispatch", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Recursively trigger an event for a node and it's children.\nOnly emits events for keyed nodes.\n\n@param {Node} node - the initial node.\n@return {Node}", "docstring_tokens": ["Recursively", "trigger", "an", "event", "for", "a", "node", "and", "it", "s", "children", ".", "Only", "emits", "events", "for", "keyed", "nodes", "."], "sha": "846b9337246e3b06e6b41b228beeea21e66d0b03", "url": "https://github.com/DylanPiercey/set-dom/blob/846b9337246e3b06e6b41b228beeea21e66d0b03/src/index.js#L292-L307", "partition": "test"}
+{"repo": "libp2p/js-libp2p-websocket-star-rendezvous", "path": "src/routes.js", "func_name": "join", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "join this signaling server network", "docstring_tokens": ["join", "this", "signaling", "server", "network"], "sha": "78cdf22892aede27a705363352fa86e819d9e950", "url": "https://github.com/libp2p/js-libp2p-websocket-star-rendezvous/blob/78cdf22892aede27a705363352fa86e819d9e950/src/routes.js#L68-L126", "partition": "test"}
+{"repo": "bootprint/bootprint-json-schema", "path": "handlebars/helpers.js", "func_name": "dataType", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Returns a descriptive string for a datatype\n@param value\n@returns {String} a string like string[] or object[][]", "docstring_tokens": ["Returns", "a", "descriptive", "string", "for", "a", "datatype"], "sha": "4c2f990ebd48a2bba924dc93bbf008e1328d071f", "url": "https://github.com/bootprint/bootprint-json-schema/blob/4c2f990ebd48a2bba924dc93bbf008e1328d071f/handlebars/helpers.js#L93-L105", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "pd", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get private data.\n@param {Event} event The event object to get private data.\n@returns {PrivateData} The private data of the event.\n@private", "docstring_tokens": ["Get", "private", "data", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L44-L52", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "defineRedirectDescriptor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the property descriptor to redirect a given property.\n@param {string} key Property name to define property descriptor.\n@returns {PropertyDescriptor} The property descriptor to redirect the property.\n@private", "docstring_tokens": ["Get", "the", "property", "descriptor", "to", "redirect", "a", "given", "property", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L345-L356", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "defineCallDescriptor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the property descriptor to call a given method property.\n@param {string} key Property name to define property descriptor.\n@returns {PropertyDescriptor} The property descriptor to call the method property.\n@private", "docstring_tokens": ["Get", "the", "property", "descriptor", "to", "call", "a", "given", "method", "property", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L364-L373", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "defineWrapper", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Define new wrapper class.\n@param {Function} BaseEvent The base wrapper class.\n@param {Object} proto The prototype of the original event.\n@returns {Function} The defined wrapper class.\n@private", "docstring_tokens": ["Define", "new", "wrapper", "class", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L382-L414", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "getWrapper", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the wrapper class of a given prototype.\n@param {Object} proto The prototype of the original event to get its wrapper.\n@returns {Function} The wrapper class.\n@private", "docstring_tokens": ["Get", "the", "wrapper", "class", "of", "a", "given", "prototype", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L422-L433", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "wrapEvent", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Wrap a given event to management a dispatching.\n@param {EventTarget} eventTarget The event target of this dispatching.\n@param {Object} event The event to wrap.\n@returns {Event} The wrapper instance.\n@private", "docstring_tokens": ["Wrap", "a", "given", "event", "to", "management", "a", "dispatching", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L442-L445", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "getListeners", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get listeners.\n@param {EventTarget} eventTarget The event target to get.\n@returns {Map} The listeners.\n@private", "docstring_tokens": ["Get", "listeners", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L526-L534", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "defineEventAttributeDescriptor", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the property descriptor for the event attribute of a given event.\n@param {string} eventName The event name to get property descriptor.\n@returns {PropertyDescriptor} The property descriptor.\n@private", "docstring_tokens": ["Get", "the", "property", "descriptor", "for", "the", "event", "attribute", "of", "a", "given", "event", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L542-L601", "partition": "test"}
+{"repo": "mysticatea/event-target-shim", "path": "dist/event-target-shim.js", "func_name": "defineCustomEventTarget", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Define a custom EventTarget with event attributes.\n@param {string[]} eventNames Event names for event attributes.\n@returns {EventTarget} The custom EventTarget.\n@private", "docstring_tokens": ["Define", "a", "custom", "EventTarget", "with", "event", "attributes", "."], "sha": "89a7c7cb62971c45ae566a47f42436af923011b9", "url": "https://github.com/mysticatea/event-target-shim/blob/89a7c7cb62971c45ae566a47f42436af923011b9/dist/event-target-shim.js#L623-L642", "partition": "test"}
+{"repo": "lyfeyaj/qn-webpack", "path": "index.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Perform upload to qiniu", "docstring_tokens": ["Perform", "upload", "to", "qiniu"], "sha": "46d262f6235caa894198d73fcf926306e29ddd72", "url": "https://github.com/lyfeyaj/qn-webpack/blob/46d262f6235caa894198d73fcf926306e29ddd72/index.js#L106-L137", "partition": "test"}
+{"repo": "lyfeyaj/qn-webpack", "path": "index.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Retry all failed files one by one", "docstring_tokens": ["Retry", "all", "failed", "files", "one", "by", "one"], "sha": "46d262f6235caa894198d73fcf926306e29ddd72", "url": "https://github.com/lyfeyaj/qn-webpack/blob/46d262f6235caa894198d73fcf926306e29ddd72/index.js#L140-L168", "partition": "test"}
+{"repo": "taataa/tapspace", "path": "lib/Touchable/Sensor.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Mouse support No hover support.", "docstring_tokens": ["Mouse", "support", "No", "hover", "support", "."], "sha": "7ad0ecf4e410d8b761c0a843f34aac97f08e6eb3", "url": "https://github.com/taataa/tapspace/blob/7ad0ecf4e410d8b761c0a843f34aac97f08e6eb3/lib/Touchable/Sensor.js#L143-L165", "partition": "test"}
+{"repo": "travisjeffery/mocha-teamcity-reporter", "path": "lib/teamcityBrowser.js", "func_name": "teamcity", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Initialize a new `Teamcity` reporter for the browser.\n\n@param {Runner} runner\n@param {options} options\n@api public", "docstring_tokens": ["Initialize", "a", "new", "Teamcity", "reporter", "for", "the", "browser", "."], "sha": "7d7f185a648d4fc6f6f329e9b660c5abad9eda5c", "url": "https://github.com/travisjeffery/mocha-teamcity-reporter/blob/7d7f185a648d4fc6f6f329e9b660c5abad9eda5c/lib/teamcityBrowser.js#L41-L76", "partition": "test"}
+{"repo": "mongodb-js/mongodb-extjson", "path": "lib/bson/binary.js", "func_name": "convert", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Module dependencies.\n@ignore", "docstring_tokens": ["Module", "dependencies", "."], "sha": "d60c810266dcaa31e124a87a7224567c8330ea62", "url": "https://github.com/mongodb-js/mongodb-extjson/blob/d60c810266dcaa31e124a87a7224567c8330ea62/lib/bson/binary.js#L7-L10", "partition": "test"}
+{"repo": "mongodb-js/mongodb-extjson", "path": "lib/ext_json.js", "func_name": "parse", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Parse an Extended JSON string, constructing the JavaScript value or object described by that\nstring.\n\n@param {string} text\n@param {object} [options] Optional settings\n@param {boolean} [options.relaxed=true] Attempt to return native JS types where possible, rather than BSON types (if true)\n@return {object}\n\n@example\nconst EJSON = require('mongodb-extjson');\nconst text = '{ \"int32\": { \"$numberInt\": \"10\" } }';\n\n// prints { int32: { [String: '10'] _bsontype: 'Int32', value: '10' } }\nconsole.log(EJSON.parse(text, { relaxed: false }));\n\n// prints { int32: 10 }\nconsole.log(EJSON.parse(text));", "docstring_tokens": ["Parse", "an", "Extended", "JSON", "string", "constructing", "the", "JavaScript", "value", "or", "object", "described", "by", "that", "string", "."], "sha": "d60c810266dcaa31e124a87a7224567c8330ea62", "url": "https://github.com/mongodb-js/mongodb-extjson/blob/d60c810266dcaa31e124a87a7224567c8330ea62/lib/ext_json.js#L131-L139", "partition": "test"}
+{"repo": "mongodb-js/mongodb-extjson", "path": "lib/ext_json.js", "func_name": "stringify", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Converts a BSON document to an Extended JSON string, optionally replacing values if a replacer\nfunction is specified or optionally including only the specified properties if a replacer array\nis specified.\n\n@param {object} value The value to convert to extended JSON\n@param {function|array} [replacer] A function that alters the behavior of the stringification process, or an array of String and Number objects that serve as a whitelist for selecting/filtering the properties of the value object to be included in the JSON string. If this value is null or not provided, all properties of the object are included in the resulting JSON string\n@param {string|number} [space] A String or Number object that's used to insert white space into the output JSON string for readability purposes.\n@param {object} [options] Optional settings\n@param {boolean} [options.relaxed=true] Enabled Extended JSON's `relaxed` mode\n@returns {string}\n\n@example\nconst EJSON = require('mongodb-extjson');\nconst Int32 = require('mongodb').Int32;\nconst doc = { int32: new Int32(10) };\n\n// prints '{\"int32\":{\"$numberInt\":\"10\"}}'\nconsole.log(EJSON.stringify(doc, { relaxed: false }));\n\n// prints '{\"int32\":10}'\nconsole.log(EJSON.stringify(doc));", "docstring_tokens": ["Converts", "a", "BSON", "document", "to", "an", "Extended", "JSON", "string", "optionally", "replacing", "values", "if", "a", "replacer", "function", "is", "specified", "or", "optionally", "including", "only", "the", "specified", "properties", "if", "a", "replacer", "array", "is", "specified", "."], "sha": "d60c810266dcaa31e124a87a7224567c8330ea62", "url": "https://github.com/mongodb-js/mongodb-extjson/blob/d60c810266dcaa31e124a87a7224567c8330ea62/lib/ext_json.js#L174-L185", "partition": "test"}
+{"repo": "mongodb-js/mongodb-extjson", "path": "lib/ext_json.js", "func_name": "serialize", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Serializes an object to an Extended JSON string, and reparse it as a JavaScript object.\n\n@param {object} bson The object to serialize\n@param {object} [options] Optional settings passed to the `stringify` function\n@return {object}", "docstring_tokens": ["Serializes", "an", "object", "to", "an", "Extended", "JSON", "string", "and", "reparse", "it", "as", "a", "JavaScript", "object", "."], "sha": "d60c810266dcaa31e124a87a7224567c8330ea62", "url": "https://github.com/mongodb-js/mongodb-extjson/blob/d60c810266dcaa31e124a87a7224567c8330ea62/lib/ext_json.js#L194-L197", "partition": "test"}
+{"repo": "donejs/done-component", "path": "component.js", "func_name": "makeDefineVirtualModule", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Make functions that will define virtual modules", "docstring_tokens": ["Make", "functions", "that", "will", "define", "virtual", "modules"], "sha": "8ba12f3ea84629d0a3bc81660eeda199b9bb9c70", "url": "https://github.com/donejs/done-component/blob/8ba12f3ea84629d0a3bc81660eeda199b9bb9c70/component.js#L156-L242", "partition": "test"}
+{"repo": "donejs/done-component", "path": "component.js", "func_name": "getFilename", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "!steal-remove-start", "docstring_tokens": ["!steal", "-", "remove", "-", "start"], "sha": "8ba12f3ea84629d0a3bc81660eeda199b9bb9c70", "url": "https://github.com/donejs/done-component/blob/8ba12f3ea84629d0a3bc81660eeda199b9bb9c70/component.js#L259-L264", "partition": "test"}
+{"repo": "multiformats/js-multistream-select", "path": "src/listener/match-semver.js", "func_name": "matchSemver", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Match protocols using semver `~` matching.\n\n@param {string} myProtocol\n@param {string} senderProtocol\n@param {function(Error, boolean)} callback\n@returns {undefined}\n@type {matchHandler}", "docstring_tokens": ["Match", "protocols", "using", "semver", "~", "matching", "."], "sha": "9854a1de5f44249a5d75a193f9033b4067403142", "url": "https://github.com/multiformats/js-multistream-select/blob/9854a1de5f44249a5d75a193f9033b4067403142/src/listener/match-semver.js#L14-L30", "partition": "test"}
+{"repo": "multiformats/js-multistream-select", "path": "src/listener/match-exact.js", "func_name": "matchExact", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Match protocols exactly.\n\n@param {string} myProtocol\n@param {string} senderProtocol\n@param {function(Error, boolean)} callback\n@returns {undefined}\n@type {matchHandler}", "docstring_tokens": ["Match", "protocols", "exactly", "."], "sha": "9854a1de5f44249a5d75a193f9033b4067403142", "url": "https://github.com/multiformats/js-multistream-select/blob/9854a1de5f44249a5d75a193f9033b4067403142/src/listener/match-exact.js#L12-L15", "partition": "test"}
+{"repo": "arusahni/ngtweet", "path": "dist/ngtweet.js", "func_name": "diffArrays", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Diff two arrays.\n@param {Array} arr1 - The first array\n@param {Array} arr2 - The second array\n@return {boolean} true if the arrays are different, false otherwise", "docstring_tokens": ["Diff", "two", "arrays", "."], "sha": "60e19c174be0f868193568858ad8172def50d5fa", "url": "https://github.com/arusahni/ngtweet/blob/60e19c174be0f868193568858ad8172def50d5fa/dist/ngtweet.js#L116-L129", "partition": "test"}
+{"repo": "arusahni/ngtweet", "path": "dist/ngtweet.js", "func_name": "getSourceRuleString", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Turn the rules for a sourceType into a human-readable string\n@param {string[][]} sourceRule - The sourceType rules\n@return {string} the readable rules", "docstring_tokens": ["Turn", "the", "rules", "for", "a", "sourceType", "into", "a", "human", "-", "readable", "string"], "sha": "60e19c174be0f868193568858ad8172def50d5fa", "url": "https://github.com/arusahni/ngtweet/blob/60e19c174be0f868193568858ad8172def50d5fa/dist/ngtweet.js#L136-L145", "partition": "test"}
+{"repo": "arusahni/ngtweet", "path": "dist/ngtweet.js", "func_name": "getTimelineArgs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Get the arguments for the timeline based on parameter rules\n@param {Object} scope - The directive scope\n@return {Object} Key-Value arg object", "docstring_tokens": ["Get", "the", "arguments", "for", "the", "timeline", "based", "on", "parameter", "rules"], "sha": "60e19c174be0f868193568858ad8172def50d5fa", "url": "https://github.com/arusahni/ngtweet/blob/60e19c174be0f868193568858ad8172def50d5fa/dist/ngtweet.js#L152-L181", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/util/klass.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "find method in klass prototype chain", "docstring_tokens": ["find", "method", "in", "klass", "prototype", "chain"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/util/klass.js#L8-L28", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/cache.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "dump files to temporary directory\n@param {Object} config - config object\n@return {Void}", "docstring_tokens": ["dump", "files", "to", "temporary", "directory"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/cache.js#L17-L60", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/cache.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "zip files package\n@param {Object} config - config object\n@return {Void}", "docstring_tokens": ["zip", "files", "package"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/cache.js#L66-L89", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/cache.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "upload package to web cache server\n@param {Object} config - config object\n@return {Void}", "docstring_tokens": ["upload", "package", "to", "web", "cache", "server"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/cache.js#L95-L158", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/cache.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "clear temporary infomation\n@param {Object} config - config object\n@return {Void}", "docstring_tokens": ["clear", "temporary", "infomation"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/cache.js#L164-L168", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/cache.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "abort process when error\n@param {Object} config - config object\n@return {Void}", "docstring_tokens": ["abort", "process", "when", "error"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/cache.js#L174-L179", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/script/nej/util.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "dump dependency config", "docstring_tokens": ["dump", "dependency", "config"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/script/nej/util.js#L209-L224", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/script/nej/util.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "parse nej patch", "docstring_tokens": ["parse", "nej", "patch"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/script/nej/util.js#L304-L321", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/script/nej/util.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "eval content to dump nej patch", "docstring_tokens": ["eval", "content", "to", "dump", "nej", "patch"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/script/nej/util.js#L323-L340", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/script/nej/util.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "do nej define", "docstring_tokens": ["do", "nej", "define"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/script/nej/util.js#L359-L366", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/explorer/html.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "check all html file", "docstring_tokens": ["check", "all", "html", "file"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/explorer/html.js#L70-L78", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/meta/html.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "source map file path", "docstring_tokens": ["source", "map", "file", "path"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/meta/html.js#L108-L114", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/meta/html.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "nej module root", "docstring_tokens": ["nej", "module", "root"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/meta/html.js#L127-L137", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "lib/meta/html.js", "func_name": "", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "html path adjust", "docstring_tokens": ["html", "path", "adjust"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/lib/meta/html.js#L143-L150", "partition": "test"}
+{"repo": "genify/toolkit2", "path": "main.js", "func_name": "global", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "export klass or api", "docstring_tokens": ["export", "klass", "or", "api"], "sha": "bb40480731f363327e055f7120d3fd6de6336cda", "url": "https://github.com/genify/toolkit2/blob/bb40480731f363327e055f7120d3fd6de6336cda/main.js#L53-L74", "partition": "test"}
+{"repo": "bigeasy/strata", "path": "benchmark/murmur3.js", "func_name": "fmix32", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "We don't use `>>> 0`. We let the values negate. The only use of addition in Murmur uses the result of a multiplication, which will be converted to unsigned integer by our 16-bit at a time multiplication.", "docstring_tokens": ["We", "don", "t", "use", ">>>", "0", ".", "We", "let", "the", "values", "negate", ".", "The", "only", "use", "of", "addition", "in", "Murmur", "uses", "the", "result", "of", "a", "multiplication", "which", "will", "be", "converted", "to", "unsigned", "integer", "by", "our", "16", "-", "bit", "at", "a", "time", "multiplication", "."], "sha": "76bc8cc38de0fc7eb7fad3c0c59dbe4d253ed35a", "url": "https://github.com/bigeasy/strata/blob/76bc8cc38de0fc7eb7fad3c0c59dbe4d253ed35a/benchmark/murmur3.js#L19-L26", "partition": "test"}
+{"repo": "bigeasy/strata", "path": "benchmark/murmur3.js", "func_name": "fmix32_pure", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "With this, unused, function we always make sure we have an unsigned integer value, but it's not absolutely necessary. We're only interested in the integer value when we perform addition or write the value to our buffer. We do not do this within Murmur's mix function. I'm leaving it in place for a benchmark where I can gauge the cost of `>>> 0`.", "docstring_tokens": ["With", "this", "unused", "function", "we", "always", "make", "sure", "we", "have", "an", "unsigned", "integer", "value", "but", "it", "s", "not", "absolutely", "necessary", ".", "We", "re", "only", "interested", "in", "the", "integer", "value", "when", "we", "perform", "addition", "or", "write", "the", "value", "to", "our", "buffer", ".", "We", "do", "not", "do", "this", "within", "Murmur", "s", "mix", "function", ".", "I", "m", "leaving", "it", "in", "place", "for", "a", "benchmark", "where", "I", "can", "gauge", "the", "cost", "of", ">>>", "0", "."], "sha": "76bc8cc38de0fc7eb7fad3c0c59dbe4d253ed35a", "url": "https://github.com/bigeasy/strata/blob/76bc8cc38de0fc7eb7fad3c0c59dbe4d253ed35a/benchmark/murmur3.js#L34-L41", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "bindKeys", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Define getters & setters. This function is the internal entry point to a lot\nof functionality.\n\n@param {*} [scope]\n@param {Object} obj\n@param {Object} def\n@param {Node} parentNode - This is not the same as\n`Node.prototype.parentNode`, this is the internal parent node if the key\nwas bound to its parent.\n@param {Array} path", "docstring_tokens": ["Define", "getters", "&", "setters", ".", "This", "function", "is", "the", "internal", "entry", "point", "to", "a", "lot", "of", "functionality", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L37-L75", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "parentSetter", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Special case for binding same node as parent.", "docstring_tokens": ["Special", "case", "for", "binding", "same", "node", "as", "parent", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L110-L133", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "replaceNode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "The return value of this function is a Node to be added, otherwise null.", "docstring_tokens": ["The", "return", "value", "of", "this", "function", "is", "a", "Node", "to", "be", "added", "otherwise", "null", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L244-L302", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "pop", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Below are optimized array mutator methods. They have to exist within this closure. Note that the native implementations of these methods do not trigger setter functions on array indices.", "docstring_tokens": ["Below", "are", "optimized", "array", "mutator", "methods", ".", "They", "have", "to", "exist", "within", "this", "closure", ".", "Note", "that", "the", "native", "implementations", "of", "these", "methods", "do", "not", "trigger", "setter", "functions", "on", "array", "indices", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L309-L318", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "changeValue", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Default behavior when a return value is given for a change function.", "docstring_tokens": ["Default", "behavior", "when", "a", "return", "value", "is", "given", "for", "a", "change", "function", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L426-L448", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "getNextNode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Find next node in a potentially sparse array.", "docstring_tokens": ["Find", "next", "node", "in", "a", "potentially", "sparse", "array", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L452-L462", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/bind_keys.js", "func_name": "updateChange", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Internal event listener to update data on input change.", "docstring_tokens": ["Internal", "event", "listener", "to", "update", "data", "on", "input", "change", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/bind_keys.js#L466-L479", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/index.js", "func_name": "simulacra", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Bind an object to the DOM.\n\n@param {Object} obj\n@param {Object} def\n@param {Node} [matchNode]\n@return {Node}", "docstring_tokens": ["Bind", "an", "object", "to", "the", "DOM", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/index.js#L66-L110", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/index.js", "func_name": "cleanNode", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Internal function to strip empty text nodes.", "docstring_tokens": ["Internal", "function", "to", "strip", "empty", "text", "nodes", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/index.js#L225-L239", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/process_nodes.js", "func_name": "processNodes", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Internal function to remove bound nodes and replace them with markers.\n\n@param {*} [scope]\n@param {Node} node\n@param {Object} def\n@return {Node}", "docstring_tokens": ["Internal", "function", "to", "remove", "bound", "nodes", "and", "replace", "them", "with", "markers", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/process_nodes.js#L31-L118", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/process_nodes.js", "func_name": "matchNodes", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Internal function to find and set matching DOM nodes on cloned nodes.\n\n@param {*} [scope]\n@param {Node} node\n@param {Object} def", "docstring_tokens": ["Internal", "function", "to", "find", "and", "set", "matching", "DOM", "nodes", "on", "cloned", "nodes", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/process_nodes.js#L128-L164", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/rehydrate.js", "func_name": "rehydrate", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Rehydration of existing DOM nodes by recursively checking equality.\n\n@param {*} scope\n@param {Object} obj\n@param {Object} def\n@param {Node} node\n@param {Node} matchNode", "docstring_tokens": ["Rehydration", "of", "existing", "DOM", "nodes", "by", "recursively", "checking", "equality", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/rehydrate.js#L31-L107", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/render.js", "func_name": "render", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Internal function for rendering strings. The benchmark to beat is plain old\nstring concatenation and for loops. Although this won't be faster, it should\nwork with more or less the same functionality as the DOM version.\n\nOnly a tiny subset of the actual DOM is implemented here, so it may not work\nfor all front-end functionality.\n\n@param {Object} obj\n@param {Object} def\n@param {String} [html]\n@return {String}", "docstring_tokens": ["Internal", "function", "for", "rendering", "strings", ".", "The", "benchmark", "to", "beat", "is", "plain", "old", "string", "concatenation", "and", "for", "loops", ".", "Although", "this", "won", "t", "be", "faster", "it", "should", "work", "with", "more", "or", "less", "the", "same", "functionality", "as", "the", "DOM", "version", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/render.js#L123-L158", "partition": "test"}
+{"repo": "daliwali/simulacra", "path": "lib/feature_check.js", "func_name": "featureCheck", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Check if capabilities are available, or throw an error.\n\n@param {*} globalScope", "docstring_tokens": ["Check", "if", "capabilities", "are", "available", "or", "throw", "an", "error", "."], "sha": "b6bb7e2486f7722101f9e416ec345d49f3afa901", "url": "https://github.com/daliwali/simulacra/blob/b6bb7e2486f7722101f9e416ec345d49f3afa901/lib/feature_check.js#L10-L39", "partition": "test"}
+{"repo": "c01nd01r/vue-bem-cn", "path": "dist/vue-bem-cn.es6.js", "func_name": "bemNames", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Create String from BEM entitys\n@param {Object} entitys BEM entitys\n@param {String} entitys.block Block\n@param {String} [entitys.el] Element\n@param {Object} [entitys.mods] Modifiers\n@param {String} [entitys.mixin] Mixin\n@param {Object} delimiters Delimiters for BEM entitys\n@returns {String}", "docstring_tokens": ["Create", "String", "from", "BEM", "entitys"], "sha": "7d5c910e21691ba6e3ecb2702aa277292fe33aca", "url": "https://github.com/c01nd01r/vue-bem-cn/blob/7d5c910e21691ba6e3ecb2702aa277292fe33aca/dist/vue-bem-cn.es6.js#L66-L97", "partition": "test"}
+{"repo": "probot/probot-config", "path": "lib/index.js", "func_name": "deepMergeConfigs", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Merges an array of configs\n\n@param {array} configs The configs to merge\n@param {object} options https://github.com/KyleAMathews/deepmerge#options\n@returns {object} The merged configuration", "docstring_tokens": ["Merges", "an", "array", "of", "configs"], "sha": "dbdbc8b2d421997797a6e229f2e01c189c1696db", "url": "https://github.com/probot/probot-config/blob/dbdbc8b2d421997797a6e229f2e01c189c1696db/lib/index.js#L34-L36", "partition": "test"}
+{"repo": "probot/probot-config", "path": "lib/index.js", "func_name": "loadYaml", "original_string": "", "language": "javascript", "code": "", "code_tokens": [], "docstring": "Loads a file from GitHub\n\n@param {Context} context A Probot context\n@param {object} params Params to fetch the file with\n@returns {Promise