(array []uint16, size int)
| 814 | } |
| 815 | |
| 816 | func copyOf(array []uint16, size int) []uint16 { |
| 817 | result := make([]uint16, size) |
| 818 | for i, x := range array { |
| 819 | if i == size { |
| 820 | break |
| 821 | } |
| 822 | result[i] = x |
| 823 | } |
| 824 | return result |
| 825 | } |
| 826 | |
| 827 | // flip the values in the range [firstOfRange,endx) |
| 828 | func (ac *arrayContainer) inot(firstOfRange, endx int) container { |
no outgoing calls
no test coverage detected
searching dependent graphs…