1 | svoid rangeCheck(int i, int n) { |
2 | if (i < 0 || i >= n) fail("Range check fail: " + i + "/" + n); |
3 | } |
4 | |
5 | svoid rangeCheck(long i, long n) { |
6 | if (i < 0 || i >= n) fail("Range check fail: " + i + "/" + n); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029233 |
Snippet name: | rangeCheck |
Eternal ID of this version: | #1029233/2 |
Text MD5: | c05b9019e23d67d86895b6200c5f1a7f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-07 14:04:47 |
Source code size: | 208 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 258 / 296 |
Version history: | 1 change(s) |
Referenced in: | [show references] |