MCPcopy Index your code
hub / github.com/dataease/SQLBot / _update_length

Method _update_length

frontend/public/swagger-ui-bundle.js:26648–26650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26646 ;((this.ranges = []), (this.length = 0), null != s && this.add(s, o))
26647 }
26648 _update_length() {
26649 this.length = this.ranges.reduce((s, o) => s + o.length, 0)
26650 }
26651 add(s, o) {
26652 var _add = (s) => {
26653 for (var o = 0; o < this.ranges.length && !s.touches(this.ranges[o]); ) o++

Callers 3

_addMethod · 0.95
_subtractMethod · 0.95
intersectMethod · 0.95

Calls 1

reduceMethod · 0.45

Tested by

no test coverage detected