github.com/parquet-go/parquet-go@v0.20.0/encoding/delta/delta_amd64.go (about) 1 //go:build !purego 2 3 package delta 4 5 const ( 6 padding = 64 7 ) 8 9 func findNegativeLength(lengths []int32) int { 10 for _, n := range lengths { 11 if n < 0 { 12 return int(n) 13 } 14 } 15 return -1 16 }