1 | static long uniqueNow_last; |
2 | |
3 | static long uniqueNow() { |
4 | ret uniqueNow_last = max(uniqueNow_last + 1, now()); |
5 | } |
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: | #1002705 |
Snippet name: | uniqueNow - a per-program-unique value similar to now() - also called "smartNow" |
Eternal ID of this version: | #1002705/1 |
Text MD5: | bc160625ec3bac5936d06cb47d781be0 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-15 21:27:25 |
Source code size: | 115 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 708 / 662 |
Referenced in: | [show references] |