Ran
|
Files
11
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
github
avoid overflow when computing middle `from+to` may be greater than `math.MaxInt`, so we need to take care of overflow. casting int to uint is reasonable way. Actually, Go's standard library uses this trick: https://github.com/golang/go/blob/2eca0b1e1/src/sort/search.go#L63
835 of 875 relevant lines covered (95.43%)
1.18 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|