Transpiled version (263L) is out of date.
1 | static double[] cloneSubDoubleArray(double[] b, int start, int end) {
|
2 | start = max(start, 0); end = min(end, l(b)); |
3 | if (start >= end) ret new double[0]; |
4 | double[] x = new[end-start]; |
5 | System.arraycopy(b, start, x, 0, end-start); |
6 | ret x; |
7 | } |
Began life as a copy of #1032902
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036512 |
| Snippet name: | cloneSubDoubleArray (always return a copy) |
| Eternal ID of this version: | #1036512/4 |
| Text MD5: | 2bf1185bf2df1a514d338ec149a12b8d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-01-21 20:07:25 |
| Source code size: | 250 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 429 / 514 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |