Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ IsValid
Method
IsValid
tests/unit_test/mocks/io_buffer_mock.cpp:46–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
auto IoBuffer::GetBuffer() -> std::span<uint8_t> { return {data_, size_}; }
45
46
auto IoBuffer::IsValid() const -> bool { return data_ != nullptr; }
47
48
auto IoBuffer::ToDmaRegion(VirtToPhysFunc v2p) const -> DmaRegion {
49
return DmaRegion{
Callers
1
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36