- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addSegments (1.52 sec)
-
src/net/http/routing_tree.go
// Second level of tree is method. n = n.addChild(p.method) // Remaining levels are path. n.addSegments(p.segments, p, h) } // addSegments adds the given segments to the tree rooted at n. // If there are no segments, then n is a leaf node that holds // the given pattern and handler. func (n *routingNode) addSegments(segs []segment, p *pattern, h Handler) { if len(segs) == 0 { n.set(p, h) return } seg := segs[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7.5K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
// is enabled. Counter data files may contain multiple segments; the file // header and first segment are written via the "Write" method below, and // additional segments can then be added using "AddSegment". type CoverageDataWriter struct { stab *stringtab.Writer w *bufio.Writer csh coverage.CounterSegmentHeader tmp []byte cflavor coverage.CounterFlavor segs uint32 debug bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
get expectations(){return this.expectations_;} clone(){const clone=new Segment(this.start,this.duration);clone.expectations.push(...this.expectations);return clone;} addSegment(other){this.duration+=other.duration;this.expectations.push(...other.expectations);}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)