MCPcopy
hub / github.com/google/brotli / main

Method main

java/org/brotli/dec/Decoder.java:56–71  ·  view source on GitHub ↗
(String... args)

Source from the content-addressed store, hash-verified

54 }
55
56 public static void main(String... args) throws IOException {
57 if (args.length != 2 && args.length != 3) {
58 System.out.println("Usage: decoder <compressed_in> <decompressed_out> [repeat]");
59 return;
60 }
61
62 int repeat = 1;
63 if (args.length == 3) {
64 repeat = Integer.parseInt(args[2]);
65 }
66
67 byte[] buffer = new byte[1024 * 1024];
68 for (int i = 0; i < repeat; ++i) {
69 decompress(args[0], args[1], buffer);
70 }
71 }
72}

Callers 5

compressor_test.pyFile · 0.45
decompress_test.pyFile · 0.45
bro_test.pyFile · 0.45
compress_test.pyFile · 0.45

Calls 1

decompressMethod · 0.95

Tested by

no test coverage detected