Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1031714 // VAddr - virtual address in an int-based 32 bit memory system

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (56L/1K).

sinterface VAddr {
  replace Addr with int.
  replace BoxedAddr with Int.
  
  int get();
  int get(Addr ofs);
  void set(int val);
  void set(Addr ofs, int val);
  
  VAddr plus(Addr ofs);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031714
Snippet name: VAddr - virtual address in an int-based 32 bit memory system
Eternal ID of this version: #1031714/7
Text MD5: 35f16149ad7d077b19cd950e6db1c349
Transpilation MD5: 59fa70d4baa2ebcf8ec6595b6e086329
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-28 20:54:58
Source code size: 201 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 102 / 249
Version history: 6 change(s)
Referenced in: [show references]