MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / listFiles

Method listFiles

test/test/kernel/ListFiles.java:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 private static volatile int value;
12
13 private static void listFiles() {
14 for (String s : new File("/").list()) {
15 value += s.hashCode();
16 }
17 }
18
19 public static void main(String[] args) {
20 while (true) {

Callers 2

mainMethod · 0.95
parseMethod · 0.80

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected