Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDDS/OpenDDS
/ malloc
Method
malloc
tests/DCPS/ZeroCopyRead/main.cpp:77–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
int num_frees() { return num_frees_;};
76
77
virtual void *malloc (size_t nbytes) {
78
num_allocs_++;
79
return ACE_OS::malloc(nbytes);
80
};
81
virtual void free (void *ptr) {
82
num_frees_++;
83
ACE_OS::free(ptr);
Callers
5
test_malloc
Function · 0.45
test_mallocs
Function · 0.45
run
Method · 0.45
recv
Function · 0.45
allocbuf
Method · 0.45
Calls
1
malloc
Function · 0.85
Tested by
2
test_malloc
Function · 0.36
test_mallocs
Function · 0.36