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

Method expand

core/src/processing/core/PApplet.java:8398–8400  ·  view source on GitHub ↗

( begin auto-generated from expand.xml ) Increases the size of an array. By default, this function doubles the size of the array, but the optional newSize parameter provides precise control over the increase in size. When using an array of objects, the data returned from the func

(boolean list[])

Source from the content-addressed store, hash-verified

8396 * @see PApplet#shorten(boolean[])
8397 */
8398 static public boolean[] expand(boolean list[]) {
8399 return expand(list, list.length > 0 ? list.length << 1 : 1);
8400 }
8401
8402 /**
8403 * @param newSize new size for the array

Callers 15

textSentenceBreakMethod · 0.95
pushStyleMethod · 0.95
parsePathCodeMethod · 0.95
addMethod · 0.95
appendMethod · 0.95
addGlyphMethod · 0.95
beginContourImplMethod · 0.95
vertexMethod · 0.95
bezierVertexMethod · 0.95
quadraticVertexMethod · 0.95
addChildMethod · 0.95
setMethod · 0.95

Calls 2

arraycopyMethod · 0.80
minMethod · 0.45

Tested by

no test coverage detected