Libraryless. Click here for Pure Java version (4761L/26K).
static long intPairToLong(IntPair p) { ret p == null ? 0 : (((long) p.a) << 32) | (((long) p.b) & 0xFFFFFFFF); } static long intPairToLong(int a, int b) { ret (((long) a) << 32) | (((long) b) & 0xFFFFFFFF); }
Began life as a copy of #1028235
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: | #1028504 |
| Snippet name: | intPairToLong - big-endian |
| Eternal ID of this version: | #1028504/5 |
| Text MD5: | 55e180c4b28e034c22d84ab0d0a9c133 |
| Transpilation MD5: | 115bf294d6a9d1308fd9de50c903dc0a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-01 22:34:56 |
| Source code size: | 219 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 614 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |