1 | static SS stdFunctions_cached_map; // name -> snippet ID |
2 | static Lock stdFunctions_cached_lock = lock(); |
3 | |
4 | static SS stdFunctions_cached() {
|
5 | lock stdFunctions_cached_lock; |
6 | if (stdFunctions_cached_map == null) |
7 | stdFunctions_cached_map = stdFunctions_uncached(); |
8 | ret stdFunctions_cached_map; |
9 | } |
10 | |
11 | static synchronized void stdFunctions_clearCache() {
|
12 | stdFunctions_cached_map = null; |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006435 |
| Snippet name: | stdFunctions_cached - get map of standard functions (loaded per program run) |
| Eternal ID of this version: | #1006435/8 |
| Text MD5: | bc4686e25e354165895c8e61f43321d9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-08 00:29:58 |
| Source code size: | 400 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1278 / 1322 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |