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

8
LINES

< > BotCompany Repo | #1012788 // ai_tripleIndexToInvalidatedWebs

JavaX fragment (include)

1  
please include function ai_invalidatedWebs.
2  
3  
static void ai_tripleIndexToInvalidatedWebs() {
4  
  new Matches m;
5  
  for (TripleWeb w : ai_triples("$X", "is", "invalid"))
6  
    if (swic_trim(w.a, "Web ", m) && isGlobalID($1))
7  
      ai_invalidatedWebs_cache->put(asGlobalID($1), w.globalID());
8  
}

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: #1012788
Snippet name: ai_tripleIndexToInvalidatedWebs
Eternal ID of this version: #1012788/3
Text MD5: 1a6f238a10f87109d2371568a4fb9647
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 05:21:36
Source code size: 294 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 378 / 419
Version history: 2 change(s)
Referenced in: [show references]