Browse Source

chore: fix function name in comment

Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
pull/15228/head
shenpengfeng 3 weeks ago
parent
commit
a44db5f784
  1. 2
      storage/buffer.go

2
storage/buffer.go

@ -626,7 +626,7 @@ func addF(s fSample, buf []fSample, r *sampleRing) []fSample {
return buf return buf
} }
// addF adds an hSample to a (specialized) hSample buffer. // addH adds an hSample to a (specialized) hSample buffer.
func addH(s hSample, buf []hSample, r *sampleRing) []hSample { func addH(s hSample, buf []hSample, r *sampleRing) []hSample {
l := len(buf) l := len(buf)
// Grow the ring buffer if it fits no more elements. // Grow the ring buffer if it fits no more elements.

Loading…
Cancel
Save