-
Notifications
You must be signed in to change notification settings - Fork 234
Reorg SHM examples #2209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Reorg SHM examples #2209
Conversation
- add custom shm provider example
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2209 +/- ##
==========================================
+ Coverage 71.84% 71.86% +0.01%
==========================================
Files 377 377
Lines 61281 61272 -9
==========================================
+ Hits 44030 44035 +5
+ Misses 17251 17237 -14 ☔ View full report in Codecov by Sentry. |
- brush-up
evshary
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nitpicks
|
|
||
| impl From<&MemoryLayout> for core::alloc::Layout { | ||
| fn from(value: &MemoryLayout) -> Self { | ||
| // SAFERY: this is safe because `MemoryLayout`'s size and alignment are already checked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SAFETY?
| @@ -0,0 +1,262 @@ | |||
| // | |||
| // Copyright (c) 2023 ZettaScale Technology | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use 2025 as this is a new file.
Uh oh!
There was an error while loading. Please reload this page.