static LL<S> tok_marchPatternThroughInput(LS patTok, LS inputTok) { int lp = l(patTok); int n = l(inputTok)-lp+1; new LL<S> out; for (int i = 0; i < n; i += 2) out.add(subList(inputTok, i, i+lp)); ret out; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018376 |
Snippet name: | tok_marchPatternThroughInput |
Eternal ID of this version: | #1018376/1 |
Text MD5: | d483a1454de61e09abc72d67ae0cb129 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-23 14:59:10 |
Source code size: | 228 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 352 / 377 |
Referenced in: | [show references] |