static int ai_forgetAllHttpRequests() { int n = 0; new L<TripleWeb> toInvalidate; for ping (TripleWeb w : cloneList(ai_triplesWithB("was for path"))) { if (isCIPrefixPlusGlobalID_oneOf(w.a, "HTTP request ", "Bot HTTP request ")) { toInvalidate.addAll(triplesWithA(w.a)); if (l(toInvalidate) >= 500000) n += ai_removeTriplesInMemoryAndClear(toInvalidate); } } ret n + ai_removeTriplesInMemory(toInvalidate); }
Began life as a copy of #1013516
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: | #1013651 | 
| Snippet name: | ai_forgetAllHttpRequests | 
| Eternal ID of this version: | #1013651/9 | 
| Text MD5: | 8c9b7015f305f6a25d61a9f64f556523 | 
| 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-24 13:47:40 | 
| Source code size: | 457 bytes / 12 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 616 / 673 | 
| Version history: | 8 change(s) | 
| Referenced in: | [show references] |