Skip to content

Commit

Permalink
remove unused addOvf32
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Jan 26, 2023
1 parent 2247cf3 commit f38109e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions go/arrow/array/concat.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,6 @@ func addOvf(x, y int) (int, bool) {
return sum, ((x&y)|((x|y)&^sum))>>(bits.UintSize-2) == 1
}

// like addOvf but explicitly for int32
func addOvf32(x, y int32) (int32, bool) {
sum := x + y
return sum, ((x&y)|((x|y)&^sum))>>30 == 1
}

// concatenate bitmaps together and return a buffer with the combined bitmaps
func concatBitmaps(bitmaps []bitmap, mem memory.Allocator) (*memory.Buffer, error) {
var (
Expand Down

0 comments on commit f38109e

Please sign in to comment.