forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added VmSlice class, a slice in the virtual address space. (#12)
* Added VmSlice class (untested). A slice in the virtual address space. * Fixed up the Rust, removed iterator because not currently needed * Added a block comment of description * Update programs/bpf_loader/src/syscalls/mod.rs comment tweak Co-authored-by: Petar Vujović <[email protected]> * Simplified the VmSlice so it matches a real slice's structure. Implemented one use of it (out of six) * Finished integration of VmSlice * Added is_empty and an (unsafe, unchecked) resize function that adjusts vector length --------- Co-authored-by: Petar Vujović <[email protected]>
- Loading branch information
1 parent
f0d7e4f
commit bbf5700
Showing
3 changed files
with
136 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters