static int indexOfSubListIC(L<S> x, L<S> y) { ret indexOfSubListIC(x, y, 0); } static int indexOfSubListIC(L<S> x, L<S> y, int i) { outer: for (; i+l(y) <= l(x); i++) { for (int j = 0; j < l(y); j++) if (neqic(x.get(i+j), y.get(j))) continue outer; ret i; } ret -1; }
Began life as a copy of #1002135
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020304 |
| Snippet name: | indexOfSubListIC |
| Eternal ID of this version: | #1020304/1 |
| Text MD5: | 6182c265c7df36c6374b6a6f75879013 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-13 16:32:41 |
| Source code size: | 310 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 564 / 593 |
| Referenced in: | [show references] |