(int size)
| 2482 | |
| 2483 | |
| 2484 | protected static IntBuffer allocateIntBuffer(int size) { |
| 2485 | if (USE_DIRECT_BUFFERS) { |
| 2486 | return allocateDirectIntBuffer(size); |
| 2487 | } else { |
| 2488 | return IntBuffer.allocate(size); |
| 2489 | } |
| 2490 | } |
| 2491 | |
| 2492 | |
| 2493 | protected static IntBuffer allocateIntBuffer(int[] arr) { |
no test coverage detected