Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ BytePrecision
Function
BytePrecision
extra/yassl/taocrypt/src/misc.cpp:124–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
122
123
124
unsigned int BytePrecision(word value)
125
{
126
unsigned int i;
127
for (i=sizeof(value); i; --i)
128
if (value >> (i-1)*8)
129
break;
130
131
return i;
132
}
133
134
135
unsigned int BitPrecision(word value)
Callers
2
AS2
Function · 0.85
SetLength
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected