Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ to_ptr
Method
to_ptr
kernel/oswrapper/vspace.h:443–445 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
441
vaddr = internals::allocated_ptr_to_vaddr(ptr);
442
}
443
void *to_ptr() const {
444
return internals::vmem.to_ptr(vaddr);
445
}
446
T *as_ptr() const {
447
return (T *) to_ptr();
448
}
Callers
nothing calls this directly
Calls
1
to_ptr
Method · 0.45
Tested by
no test coverage detected