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:620–622 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
618
return ((RefCounted *) (internals::vmem.to_ptr(vaddr)))->rc;
619
}
620
void *to_ptr() {
621
return &(((RefCounted *) (internals::vmem.to_ptr(vaddr)))->data);
622
}
623
624
public:
625
ZRef() : vaddr(internals::VADDR_NULL) {
Callers
nothing calls this directly
Calls
1
to_ptr
Method · 0.45
Tested by
no test coverage detected