Nick Mathewson
|
1f7ba115a4
Rename cast_double_to_int64 to clamp_double_to_int64
|
9 years ago |
Nick Mathewson
|
0694263b75
Make round_to_next_multiple_of always round upwards.
|
8 years ago |
Sebastian Hahn
|
5cf24ff3af
Fix a bunch of check-spaces complaints
|
8 years ago |
Nick Mathewson
|
7f9a33a800
Bring the dimap tests up to 100%
|
9 years ago |
Nick Mathewson
|
3fdc07df5b
Fix a 32-bit compilation warning
|
9 years ago |
Nick Mathewson
|
50049df0d4
Add a compat function to check how much disk space is free.
|
9 years ago |
Yawning Angel
|
da6aa7bfa5
Allow a single trailing `.` when validating FQDNs from SOCKS.
|
9 years ago |
Yawning Angel
|
3f336966a2
Work around nytimes.com's broken hostnames in our SOCKS checks.
|
9 years ago |
teor
|
e0477de0e2
Remove undefined directive-in-macro in test_util_writepid
|
9 years ago |
Nick Mathewson
|
e086db7952
Merge branch 'writing_tests'
|
9 years ago |
Nick Mathewson
|
79e85313aa
Write the outlines of a WritingTests.txt document
|
9 years ago |
teor
|
75fc4d5511
Remove test for strclear as it no longer exists in the codebase
|
9 years ago |
teor
|
e60c612447
Use standard float.h header and resolve undefined left shift behaviour
|
9 years ago |
teor
|
0fcd150959
Add unit tests for cast_double_to_int64().
|
9 years ago |
Karsten Loesing
|
dad5eb7e1f
Tweak teor's and dgoulet's #13192 patches.
|
9 years ago |
David Goulet
|
dcf0f808c0
Test: change INT64_MAX to DBL_MAX in laplace test
|
9 years ago |
David Goulet
|
aecc354ee7
Test: remove edge cases that assert in laplace test
|
9 years ago |
teor
|
09cac24373
Handle edge cases in the round_*_to_next_multiple_of functions
|
9 years ago |
teor
|
6d54bdbdcf
Handle edge cases in laplace functions
|
9 years ago |
Nick Mathewson
|
0dde4d6fa2
Merge remote-tracking branch 'yawning/bug14922'
|
9 years ago |
cypherpunks
|
5246e8f992
Remove lingering mempool code
|
9 years ago |
Yawning Angel
|
cbd26157c5
Remove tor_strclear(), and replace previous calls with memwipe().
|
9 years ago |
Nick Mathewson
|
6f331645c7
Remove mempools and buf freelists
|
9 years ago |
Nick Mathewson
|
7322de15dc
Split the slow unit tests into their own binary
|
9 years ago |
Nick Mathewson
|
23fc1691b6
Merge branch 'better_workqueue_v3_squashed'
|
9 years ago |
George Kadianakis
|
bb56fd1f8f
unittests: use tt_i64_op() instead of tt_int_op() in laplace tests.
|
9 years ago |
George Kadianakis
|
354ddf8712
unittests: use tt_i64_op() instead of tt_int_op() in laplace tests.
|
9 years ago |
George Kadianakis
|
25e7821bb1
unittests: Change some tt_assert()s to tt_int_op()s.
|
9 years ago |
George Kadianakis
|
45bc5a0743
Restrict sample values of the Laplace distribution to int64_t.
|
9 years ago |
Nick Mathewson
|
7a63005220
Basic unit test for condition variables.
|
10 years ago |