MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / allocaIntZeroed

Method allocaIntZeroed

CodenameOne/src/com/codename1/util/Simd.java:120–124  ·  view source on GitHub ↗
(int size)

Source from the content-addressed store, hash-verified

118 /// Special scratch-allocation API that guarantees a zero-initialized int array while retaining
119 /// the same method-local constraints as `allocaInt(int)`.
120 public int[] allocaIntZeroed(int size) {
121 int[] out = allocaInt(size);
122 fillInt(out, 0);
123 return out;
124 }
125
126 /// Special scratch-allocation API that guarantees a zero-initialized float array while retaining
127 /// the same method-local constraints as `allocaFloat(int)`.

Calls 2

allocaIntMethod · 0.95
fillIntMethod · 0.95