- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for freeInt64Slice (0.17 sec)
-
src/cmd/compile/internal/ssa/allocators.go
if v == nil { s = make([]int64, 1<<b) } else { sp := v.(*[]int64) s = *sp *sp = nil c.hdrInt64Slice = append(c.hdrInt64Slice, sp) } s = s[:n] return s } func (c *Cache) freeInt64Slice(s []int64) { for i := range s { s[i] = 0 } b := bits.Len(uint(cap(s)) - 1) var sp *[]int64 if len(c.hdrInt64Slice) == 0 { sp = new([]int64) } else { sp = c.hdrInt64Slice[len(c.hdrInt64Slice)-1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 23:00:54 UTC 2023 - 7.4K bytes - Viewed (0)