Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chronoxor/FastBinaryEncoding
/ has_flags
Method
has_flags
projects/Python/proto/proto.py:226–227 ·
view source on GitHub ↗
(self, flags)
Source
from the content-addressed store, hash-verified
224
225
# Is flags set?
226
def
has_flags(self, flags):
227
return
((self.value & flags.value) != 0) and ((self.value & flags.value) == flags.value)
228
229
# Set flags
230
def
set_flags(self, flags):
Callers
7
test_extending_old_new
Method · 0.45
test_extending_new_old
Method · 0.45
test_serialization_json_domain
Method · 0.45
test_clone
Method · 0.45
test_serialization_domain
Method · 0.45
test_serialization_final_domain
Method · 0.45
test_create_and_access
Method · 0.45
Calls
no outgoing calls
Tested by
7
test_extending_old_new
Method · 0.36
test_extending_new_old
Method · 0.36
test_serialization_json_domain
Method · 0.36
test_clone
Method · 0.36
test_serialization_domain
Method · 0.36
test_serialization_final_domain
Method · 0.36
test_create_and_access
Method · 0.36