(int size)
| 2448 | |
| 2449 | |
| 2450 | protected static ShortBuffer allocateShortBuffer(int size) { |
| 2451 | if (USE_DIRECT_BUFFERS) { |
| 2452 | return allocateDirectShortBuffer(size); |
| 2453 | } else { |
| 2454 | return ShortBuffer.allocate(size); |
| 2455 | } |
| 2456 | } |
| 2457 | |
| 2458 | |
| 2459 | protected static ShortBuffer allocateShortBuffer(short[] arr) { |
no test coverage detected