MCPcopy Create free account
hub / github.com/dynjs/dynjs / chunk

Method chunk

src/main/java/org/dynjs/compiler/bytecode/Chunker.java:16–18  ·  view source on GitHub ↗
(BlockStatement block)

Source from the content-addressed store, hash-verified

14 public static final int CHUNKS_PER_CLASS = 50;
15
16 public static List<BlockStatement> chunk(BlockStatement block) {
17 return chunk(block, CHUNK_LIMIT);
18 }
19
20 public static List<BlockStatement> chunk(BlockStatement block, int chunkSize) {
21 int size = 0;

Callers 1

planMethod · 0.95

Calls 4

getBlockContentMethod · 0.80
getSizeMetricMethod · 0.65
sizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected