Parolin
0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
val
xcx_Zstandard
zstd-1.5.2
tests
Namespaces
|
Variables
rateLimiter.py File Reference
Namespaces
namespace
rateLimiter
Variables
int
MB
= 1024 * 1024
int
rate
= float(sys.argv[1]) *
MB
start
= time.time()
int
total_read
= 0
str
buf
= " "
now
= time.time()
to_read
= max(
int
(
rate
* (
now
-
start
)), 1)
int
max_buf_size
= 1 *
MB
Generated by
1.12.0