MCPcopy Index your code
hub / github.com/apache/groovy / main

Method main

benchmark/bench/lists.java:11–18  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

9 static int SIZE = 10000;
10
11 public static void main(String args[]) {
12 int n = Integer.parseInt(args[0]);
13 int result = 0;
14 for (int i = 0; i < n; i++) {
15 result = test_lists();
16 }
17 System.out.println(result);
18 }
19 public static int test_lists() {
20 int result = 0;
21 // create a list of integers (Li1) from 1 to SIZE

Callers

nothing calls this directly

Calls 3

test_listsMethod · 0.95
parseIntMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected