MCPcopy Create free account
hub / github.com/BIT-MCS/DRL-eFresh / switch

Method switch

utils/base_utils.py:172–174  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 return self.val.value
171
172 def switch(self):
173 with self.lock:
174 self.val.value = (not self.val.value)
175
176
177class Counter:

Callers 1

chiefFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected