Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDDS/OpenDDS
/ print_hex
Function
print_hex
tests/DCPS/KeyTest/md5_test.cpp:11–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
#include <math.h>
10
11
void print_hex(void* d)
12
{
13
unsigned char* a = (unsigned char*) d;
14
printf(
"0x"
);
15
for (int j=0;j<16; j++){
16
printf(
"%02x"
,a[j]);
17
}
18
printf(
"\n"
);
19
}
20
21
int
22
ACE_TMAIN(int, ACE_TCHAR*[])
Callers
1
ACE_TMAIN
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected