1 | please include function mechList_raw. |
2 | |
3 | static S mechListOrCreate_raw(S name) ctex {
|
4 | lock mechList_raw_lock; |
5 | |
6 | // get from cache |
7 | S src = mechList_raw_cache.get(name); |
8 | if (src != null) ret src; |
9 | |
10 | // load & put in cache |
11 | src = mechListOrCreate_raw_fresh(name); |
12 | mechList_raw_cache.put(name, unnull(src)); |
13 | ret src; |
14 | } |
Began life as a copy of #1014209
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: | #1014747 |
| Snippet name: | mechListOrCreate_raw |
| Eternal ID of this version: | #1014747/1 |
| Text MD5: | 448c67ee9a256fbcd1056230e2f1c754 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-01 17:04:08 |
| Source code size: | 341 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 573 / 618 |
| Referenced in: | [show references] |