MCPcopy Create free account
hub / github.com/ActiveState/code / open

Method open

recipes/Python/492210_dal2py/recipe-492210.py:26–30  ·  view source on GitHub ↗
(self, status)

Source from the content-addressed store, hash-verified

24
25 # Open A Block
26 def open(self, status):
27 assert type(status) is int and 1 <= status <= 255
28 index = self.__BIT.index(0)
29 self.__BIT[index] = status
30 return index
31
32 # Read A Block
33 def read(self, block):

Callers 15

testFunction · 0.95
recipe-577489.jsFile · 0.45
recipe-577193.jsFile · 0.45
recipe-577634.jsFile · 0.45
recipe-577143.jsFile · 0.45
check_all_filenamesFunction · 0.45
show_dataFunction · 0.45
show_inputFunction · 0.45
parse_feedback_dataFunction · 0.45
do_youtubeFunction · 0.45
recipe-577170.jsFile · 0.45
targzMethod · 0.45

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected