static Set<S> aggressivelyCollectPossibleMD5s(S s) { new HashSet<S> ids; aggressivelyCollectPossibleMD5s(s, ids); ret ids; } static void aggressivelyCollectPossibleMD5s(S s, Set<S> out) { if (s == null) ret; for i over s: { int j = i; while (j < l(s) && isLowerHexChar(s.charAt(j))) ++j; if (j-i == 32) addIfPossibleMD5(out, substring(s, i, j)); i = j; } }
Began life as a copy of #1007698
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: | #1015225 |
Snippet name: | aggressivelyCollectPossibleMD5s |
Eternal ID of this version: | #1015225/5 |
Text MD5: | b6a71fba1d262c4384333bbcd18f47ca |
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-10 21:47:54 |
Source code size: | 406 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 435 / 479 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015227 - aggressivelyCollectPossibleMD5sInTextFile |