Transpiled version (36L) is out of date.
static int[] resizeIntArray(int[] a, int n) { if (n == lIntArray(a)) ret a; int[] b = new int[n]; arraycopy(a, 0, b, 0, Math.min(lIntArray(a), n)); ret b; }
Began life as a copy of #1023056
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: | #1028792 |
Snippet name: | resizeIntArray |
Eternal ID of this version: | #1028792/5 |
Text MD5: | 15d0a077c8095e619b43e2dd884f18fa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-17 13:56:12 |
Source code size: | 169 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 245 / 367 |
Version history: | 4 change(s) |
Referenced in: | [show references] |