Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1013544 // lCommonPrefixIC

JavaX fragment (include)

static int lCommonPrefixIC(S a, S b) {
  int i = 0, n = Math.min(l(a), l(b));
  while (i < n && eqic(a.charAt(i), b.charAt(i)))
    ++i;
  ret i;
}

Author comment

Began life as a copy of #1004030

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013544
Snippet name: lCommonPrefixIC
Eternal ID of this version: #1013544/4
Text MD5: 6de59117122869328153bd6d5d839cef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-12 10:52:30
Source code size: 154 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 265 / 334
Version history: 3 change(s)
Referenced in: [show references]