This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.stream.*; | |
| import java.util.*; | |
| public class StreamBenchmark { | |
| public static final int N = 100000; | |
| public static void main(String... args) { | |
| int[] array = new int[N]; | |
| for (int i = 0; i < N; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.*; | |
| public class WriterBenchmark { | |
| public static final int N = 1000000; | |
| public static void main(String... args) throws IOException, InterruptedException { | |
| long sum = 0; | |
| for (int i = 0; i < 200; i++) { | |
| long start = System.nanoTime(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Binary files jdk1.8.0_40_taku0/bin/appletviewer and jdk1.8.0_40_wyvie/bin/appletviewer differ | |
| Binary files jdk1.8.0_40_taku0/bin/extcheck and jdk1.8.0_40_wyvie/bin/extcheck differ | |
| Binary files jdk1.8.0_40_taku0/bin/idlj and jdk1.8.0_40_wyvie/bin/idlj differ | |
| Binary files jdk1.8.0_40_taku0/bin/jar and jdk1.8.0_40_wyvie/bin/jar differ | |
| Binary files jdk1.8.0_40_taku0/bin/jarsigner and jdk1.8.0_40_wyvie/bin/jarsigner differ | |
| Binary files jdk1.8.0_40_taku0/bin/java and jdk1.8.0_40_wyvie/bin/java differ | |
| Binary files jdk1.8.0_40_taku0/bin/javac and jdk1.8.0_40_wyvie/bin/javac differ | |
| Binary files jdk1.8.0_40_taku0/bin/javadoc and jdk1.8.0_40_wyvie/bin/javadoc differ | |
| Binary files jdk1.8.0_40_taku0/bin/javah and jdk1.8.0_40_wyvie/bin/javah differ | |
| Binary files jdk1.8.0_40_taku0/bin/javap and jdk1.8.0_40_wyvie/bin/javap differ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // これは循環参照しない | |
| class Sample1 { | |
| var count = 0 | |
| init() { | |
| println("Sample1 init") | |
| } | |
| deinit { | |
| println("Sample1 deinit") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [punpacking sources | |
| [3punpacking source archive /nix/store/17izhykpk5zy5r6b216r4wdbq4f6zpmw-ncurses-5.9.tar.gz | |
| [qsource root is ncurses-5.9 | |
| [q[ppatching sources | |
| [3papplying patch /nix/store/ivdxahji4bd960l06x3m8q89f19xgrvc-gcc-5.patch | |
| patching file ncurses/base/MKlib_gen.sh | |
| Hunk #1 succeeded at 437 (offset -37 lines). | |
| [q[q[pconfiguring | |
| configure flags: --prefix=/nix/store/55wypkwnl9pzk34k2lc7m5agbi805y9j-ncurses-5.9 --with-shared --without-debug --enable-pc-files --enable-symlinks --enable-widec --includedir=/nix/store/55wypkwnl9pzk34k2lc7m5agbi805y9j-ncurses-5.9/include | |
| checking for egrep... grep -E |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Collections; | |
| import java.util.List; | |
| interface Apply<TypeConstructor, Param> { } | |
| interface EmptyCollections<Coll> { | |
| <Elem> Apply<Coll, Elem> empty(); | |
| } | |
| @SuppressWarnings("unchecked") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Foo | |
| end | |
| class Bar < Foo | |
| end | |
| class Baz < Bar | |
| end | |
| class Bar2 < Foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @testable import A | |
| @ABC class Foo<A, B where B: C<[(D, E)]>>: F<[(G, | |
| H)], | |
| [I: | |
| J]>, | |
| K { | |
| #if AAA | |
| @DEF class func a() throws | |
| -> A { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.*; | |
| public class Main { | |
| public static void main(String... args) { | |
| int repeat = 100; | |
| for (int i = 0; i < repeat; i++) { | |
| int n = 1000000; | |
| // benchCollection(n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface A { | |
| } | |
| interface B { | |
| } | |
| interface C { | |
| } | |
| // ERROR |