1 | // i = C index |
2 | sbool codeTokenSubListEqualsIC_skipFirst(LS l, LS pat, int i) { |
3 | if (i < 0) false; |
4 | int j = i+l(pat)-1; |
5 | if (j > l(l)) false; |
6 | for (int k = i+2; k < j; k += 2) |
7 | if (neqic(l.get(k), pat.get(k-i+1))) |
8 | false; |
9 | true; |
10 | } |
Began life as a copy of #1022229
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: | #1022267 |
Snippet name: | codeTokenSubListEqualsIC_skipFirst |
Eternal ID of this version: | #1022267/1 |
Text MD5: | 62778529d9806bc33bc711ce7c8e0cda |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-12 13:33:00 |
Source code size: | 251 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 259 / 298 |
Referenced in: | [show references] |