go.opencensus.io/trace.bucket.nextIndex (field)
11 uses
go.opencensus.io/trace (current package)
spanbucket.go#L41: nextIndex int // location next SpanData should be placed in buffer
spanbucket.go#L60: b.buffer[b.nextIndex] = s
spanbucket.go#L61: b.nextIndex++
spanbucket.go#L62: if b.nextIndex == len(b.buffer) {
spanbucket.go#L63: b.nextIndex = 0
spanbucket.go#L73: return b.nextIndex
spanbucket.go#L81: if i < len(b.buffer)-b.nextIndex {
spanbucket.go#L82: return b.buffer[b.nextIndex+i]
spanbucket.go#L84: return b.buffer[b.nextIndex+i-len(b.buffer)]
spanbucket.go#L96: b.nextIndex = cur
spanbucket.go#L104: b.nextIndex = 0
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |