static Pair<S[], Int> find2plusIndex(L<S> pat, L<S> tok) { for (int idx = 0; idx < tok.size(); idx += 2) { S[] result = find2(pat, tok, idx); if (result != null) ret pair(result, idx+1); } null; }
Began life as a copy of #1001234
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: | #1014421 |
Snippet name: | find2plusIndex - returns C index |
Eternal ID of this version: | #1014421/3 |
Text MD5: | 5dd8e14d6e6f1a22ac8d678f988ff8cc |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-21 17:09:18 |
Source code size: | 216 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 468 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022863 - find2_index - returns C index or -1 |