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

8
LINES

< > BotCompany Repo | #1013516 // ai_forgetHttpRequestsForPath

JavaX fragment (include)

1  
static int ai_forgetHttpRequestsForPath(S path) {
2  
  new L<TripleWeb> toInvalidate;
3  
  for (S s : ai_texts("$X", "was for path", path))
4  
    if (isCIPrefixPlusGlobalID(s, "HTTP request "))
5  
      toInvalidate.addAll(triplesWithA(s));
6  
  ai_removeTriplesInMemory(toInvalidate);
7  
  ret l(toInvalidate);
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: #1013516
Snippet name: ai_forgetHttpRequestsForPath
Eternal ID of this version: #1013516/4
Text MD5: 55166803fdd95df016ced9513d616a57
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-08 02:13:19
Source code size: 303 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 494
Version history: 3 change(s)
Referenced in: [show references]