MCPcopy 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

44auto IoBuffer::GetBuffer() -> std::span<uint8_t> { return {data_, size_}; }
45
46auto IoBuffer::IsValid() const -> bool { return data_ != nullptr; }
47
48auto IoBuffer::ToDmaRegion(VirtToPhysFunc v2p) const -> DmaRegion {
49 return DmaRegion{

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36