MCPcopy Create free account
hub / github.com/google/re2j / initNewCap

Method initNewCap

java/com/google/re2j/Machine.java:151–157  ·  view source on GitHub ↗
(int ncap)

Source from the content-addressed store, hash-verified

149 }
150
151 private void initNewCap(int ncap) {
152 for (int i = 0; i < poolSize; i++) {
153 Thread t = pool[i];
154 t.cap = new int[ncap];
155 }
156 this.matchcap = new int[ncap];
157 }
158
159 int[] submatches() {
160 if (ncap == 0) {

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected