Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1015653 // machineTimeOffset - TODO: reload sometimes

JavaX fragment (include)

1  
scope machineTimeOffset.
2  
3  
please include function machineTime.
4  
5  
static Long #value;
6  
7  
static long machineTimeOffset() {
8  
  lock machineTime_lock;
9  
  if (value == null)
10  
    value = parseLongOpt(trim(loadTextFile(machineTimeOffsetFile())));
11  
  ret value;
12  
}
13  
14  
end scope

Author comment

Began life as a copy of #1015652

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: #1015653
Snippet name: machineTimeOffset - TODO: reload sometimes
Eternal ID of this version: #1015653/3
Text MD5: f65ba260a4d05ccdf9546487c64fb192
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-20 15:54:00
Source code size: 274 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 386
Version history: 2 change(s)
Referenced in: [show references]