Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeNA/PacketProxy
/ checkFlag
Method
checkFlag
src/main/java/core/org/xbill/DNS/Header.java:90–94 ·
view source on GitHub ↗
(int bit)
Source
from the content-addressed store, hash-verified
88
}
89
90
static
private
void
91
checkFlag(
int
bit) {
92
if
(!validFlag(bit))
93
throw
new
IllegalArgumentException(
"invalid flag bit "
+ bit);
94
}
95
96
static
int
97
setFlag(
int
flags,
int
bit, boolean value) {
Callers
3
setFlag
Method · 0.95
unsetFlag
Method · 0.95
getFlag
Method · 0.95
Calls
1
validFlag
Method · 0.95
Tested by
no test coverage detected