Libraryless. Click here for Pure Java version (9911L/55K).
1 | svoid test_SynchronizedLongBufferStoredAsLinearInts() { |
2 | var buf = new SynchronizedLongBufferStoredAsLinearInts(100, 10); |
3 | buf.add(105); |
4 | buf.addAll(ll(110L, 130L)); |
5 | assertEquals(110L, buf.get(0)); |
6 | assertEquals(ll(110L, 110L, 130L), buf.asVirtualList()); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036284 |
Snippet name: | test_SynchronizedLongBufferStoredAsLinearInts (OK) |
Eternal ID of this version: | #1036284/4 |
Text MD5: | c8e2ee6c85e666cc6904c93554de8a1c |
Transpilation MD5: | e7a2ccdbe0ddada06b1d4a72838c4a4e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-08 13:58:11 |
Source code size: | 269 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 202 |
Version history: | 3 change(s) |
Referenced in: | [show references] |