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

Method fillIntBuffer

core/src/processing/opengl/PGL.java:2558–2565  ·  view source on GitHub ↗
(IntBuffer buf, int i0, int i1, int val)

Source from the content-addressed store, hash-verified

2556
2557
2558 protected static void fillIntBuffer(IntBuffer buf, int i0, int i1, int val) {
2559 int n = i1 - i0;
2560 int[] temp = new int[n];
2561 Arrays.fill(temp, 0, n, val);
2562 buf.position(i0);
2563 buf.put(temp, 0, n);
2564 buf.rewind();
2565 }
2566
2567
2568 protected static FloatBuffer allocateDirectFloatBuffer(int size) {

Callers 2

getBooleanvMethod · 0.80
getIntegervMethod · 0.80

Calls 2

fillMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected