static volatile int numberOfCores_value; static int numberOfCores() { if (numberOfCores_value == 0) numberOfCores_value = Runtime.getRuntime().availableProcessors(); ret numberOfCores_value; }
download show line numbers debug dex old transpilations
Travelled to 24 computer(s): aoiabmzegqzx, ayivmpnvhhik, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, cvvynrlkszfz, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, odhhsrjjbcgr, omdjrrnzbjjv, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1006506 |
Snippet name: | numberOfCores - get number of cores in current computer |
Eternal ID of this version: | #1006506/2 |
Text MD5: | 74f3a73f3d43051d0b521f7bef1bd018 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-14 02:19:52 |
Source code size: | 207 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 644 / 723 |
Version history: | 1 change(s) |
Referenced in: | [show references] |