Nick Mathewson
|
0dab29ce10
Run rectify_include_paths.py
|
6 anos atrás |
Nick Mathewson
|
fb0019daf9
Update copyrights to 2018.
|
6 anos atrás |
Nick Mathewson
|
b36c450b57
Amend token_bucket_rw_dec to indicate which buckets became empty.
|
6 anos atrás |
Nick Mathewson
|
2bf6f1cd39
token bucket: Add parens to rate_per_sec_to_rate_per_step()
|
6 anos atrás |
David Goulet
|
ae4e5b9824
token: Fix uint32_t to uint64_t conversion
|
6 anos atrás |
David Goulet
|
c2f83746f4
token_bucket: Fix indentation
|
6 anos atrás |
Nick Mathewson
|
003e6595bf
Refactor "timestamp" not to be its own type coupled to token buffers
|
6 anos atrás |
Nick Mathewson
|
2307bef7a2
Move token_bucket_raw_* functions to the start of the module.
|
6 anos atrás |
Nick Mathewson
|
9c405ba595
Never pick a rate of 0.
|
6 anos atrás |
Nick Mathewson
|
0b40ed5e70
Start re-refactoring the token bucket interface.
|
6 anos atrás |
Nick Mathewson
|
03b96882de
Rename token_bucket_t to token_bucket_rw_t.
|
6 anos atrás |
Nick Mathewson
|
3f514fe3b1
Accept small hops backward in the monotonic timer.
|
6 anos atrás |
Nick Mathewson
|
8a85239746
Add a helper function to decrement read and write at the same time
|
6 anos atrás |
Nick Mathewson
|
c376200f6a
Add a new token-bucket backend abstraction, with tests
|
6 anos atrás |