Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeNA/PacketProxy
/ toLOCformat
Method
toLOCformat
src/main/java/core/org/xbill/DNS/LOCRecord.java:304–312 ·
view source on GitHub ↗
(long l)
Source
from the content-addressed store, hash-verified
302
}
303
304
private
int
305
toLOCformat(long l) {
306
byte exp = 0;
307
while
(l > 9) {
308
exp++;
309
l /= 10;
310
}
311
return
(
int
)((l << 4) + exp);
312
}
313
314
}
Callers
1
rrToWire
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected