Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _write_u32
Function
_write_u32
tools/python-3.11.9-amd64/Lib/sunau.py:152–158 ·
view source on GitHub ↗
(file, x)
Source
from the content-addressed store, hash-verified
150
return
x
151
152
def
_write_u32(file, x):
153
data = []
154
for
i in range(4):
155
d, m = divmod(x, 256)
156
data.insert(0, int(m))
157
x = d
158
file.write(bytes(data))
159
160
class
Au_read:
161
Callers
2
_write_header
Method · 0.85
_patchheader
Method · 0.85
Calls
2
insert
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected