Libraryless. Click here for Pure Java version (706L/5K/17K).
1 | !752 |
2 | |
3 | p {
|
4 | File file = new File(getCacheProgramDir(), "irrelevant"); |
5 | saveTextFile(file, "it really is"); |
6 | |
7 | for (int i = 1; i <= 2000000; i++) {
|
8 | new FileInputStream(file); // never closing hahahaha |
9 | print("Opened " + i + " files!");
|
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002605 |
| Snippet name: | Try opening a file many times at once |
| Eternal ID of this version: | #1002605/1 |
| Text MD5: | da40d79d3a554af28eac309e3b910175 |
| Transpilation MD5: | eeb03d57ba09c8f647e597891b8a007f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-05 02:39:27 |
| Source code size: | 260 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 883 / 956 |
| Referenced in: | [show references] |