MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / enlargeSymbolTable

Method enlargeSymbolTable

ij/src/main/java/ij/macro/Program.java:92–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 void enlargeSymbolTable() {
93 Symbol[] tmp = new Symbol[maxSymbols*2];
94 System.arraycopy(table, 0, tmp, 0, maxSymbols);
95 table = tmp;
96 maxSymbols *= 2;
97 if (IJ.debugMode) IJ.log("enlargeSymbolTable: "+table.length);
98 }
99
100 void addToken(int tok, int lineNumber) {//n__
101 pc++;

Callers 2

ProgramMethod · 0.95
addSymbolMethod · 0.95

Calls 2

logMethod · 0.95
arraycopyMethod · 0.45

Tested by

no test coverage detected