Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ to_little
Function
to_little
dlib/test/hash.cpp:25–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
24
template <typename T>
25
void to_little (
26
std::vector<T>& item
27
)
28
{
29
byte_orderer bo;
30
for (unsigned long i = 0; i < item.size(); ++i)
31
bo.host_to_little(item[i]);
32
}
33
34
35
template <typename T>
Callers
1
perform_test
Method · 0.85
Calls
4
host_to_little
Method · 0.80
size
Method · 0.45
nr
Method · 0.45
nc
Method · 0.45
Tested by
no test coverage detected