// i = C index sbool codeTokenSubListEqualsIC(LS l, LS pat, int i) { if (i < 0) false; int j = i+l(pat)-1; if (j > l(l)) false; for (int k = i; k < j; k += 2) if (neqic(l.get(k), pat.get(k-i+1))) false; true; }
Began life as a copy of #1022225
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022229 |
Snippet name: | codeTokenSubListEqualsIC |
Eternal ID of this version: | #1022229/3 |
Text MD5: | f9ad4097a53c6da6dd72a24d30cb854c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-11 13:47:58 |
Source code size: | 239 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 260 / 291 |
Version history: | 2 change(s) |
Referenced in: | [show references] |