MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / close

Method close

test/mockgpu/driver.py:8–8  ·  view source on GitHub ↗
(self, fd)

Source from the content-addressed store, hash-verified

6 def ioctl(self, fd, req, argp): raise NotImplementedError()
7 def mmap(self, st, sz, prot, flags, fd, off): raise NotImplementedError()
8 def close(self, fd): return 0
9
10class TextFileDesc(VirtFileDesc):
11 def __init__(self, fd, text):

Callers 15

diskcache_putFunction · 0.45
fetchFunction · 0.45
_freeMethod · 0.45
init_dspMethod · 0.45
runMethod · 0.45
finalizeMethod · 0.45
_start_threadMethod · 0.45
_might_openMethod · 0.45
_might_closeMethod · 0.45
__del__Method · 0.45
close_poolFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 9

tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
tearDownClassMethod · 0.36
testCopySHMtoDefaultMethod · 0.36
test_e2eMethod · 0.36
test_e2e_bigMethod · 0.36