mirror of https://github.com/prometheus/prometheus
Merge pull request #15338 from bboreham/cosmetic-tsdb
[COMMENT] Remove duplicate linepull/15339/head
commit
02aa6d1de6
|
@ -27,7 +27,6 @@ import (
|
|||
|
||||
const testMaxSize int = 32
|
||||
|
||||
// Formulas chosen to make testing easy.
|
||||
// Formulas chosen to make testing easy.
|
||||
func valEven(pos int) int64 { return int64(pos*2 + 2) } // s[0]=2, s[1]=4, s[2]=6, ..., s[31]=64 - Predictable pre-existing values
|
||||
func valOdd(pos int) int64 { return int64(pos*2 + 1) } // s[0]=1, s[1]=3, s[2]=5, ..., s[31]=63 - New values will interject at chosen position because they sort before the pre-existing vals.
|
||||
|
|
Loading…
Reference in New Issue