MCPcopy Index your code
hub / github.com/processing/processing / getShortArray

Method getShortArray

core/src/processing/opengl/PGL.java:2448–2454  ·  view source on GitHub ↗
(ShortBuffer buf, short[] arr)

Source from the content-addressed store, hash-verified

2446
2447
2448 protected static void getShortArray(ShortBuffer buf, short[] arr) {
2449 if (!buf.hasArray() || buf.array() != arr) {
2450 buf.position(0);
2451 buf.get(arr);
2452 buf.rewind();
2453 }
2454 }
2455
2456
2457 protected static void putShortArray(ShortBuffer buf, short[] arr) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
arrayMethod · 0.45

Tested by

no test coverage detected