bind9/lib/isc
Ondřej Surý 3d4ec2f244 Add isc_time_add and isc_time_subtract unit test
The isc_time_add() and isc_time_subtract() didn't have a unit test, add
the unit test with couple of edge case vectors to check whether overflow
and underflow is correctly handled.

(cherry picked from commit 04511736a0)
2021-10-21 09:51:53 +02:00
..
include Update the source code formatting using clang-format-13 2021-10-12 11:31:55 +02:00
netmgr Address use before NULL check warning of ievent->sock 2021-09-29 11:43:14 +10:00
pthreads Update the source code formatting using clang-format-13 2021-10-12 11:31:55 +02:00
tests Add isc_time_add and isc_time_subtract unit test 2021-10-21 09:51:53 +02:00
unix Add isc_time_add and isc_time_subtract unit test 2021-10-21 09:51:53 +02:00
win32 Update the source code formatting using clang-format-13 2021-10-12 11:31:55 +02:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
aes.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
app.c Add missing initialisations 2021-05-26 17:19:06 +02:00
assertions.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
astack.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
backtrace-emptytbl.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
backtrace.c Fix getrbp() 2020-10-30 09:12:50 +01:00
base32.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
base64.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
bind9.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
buffer.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
bufferlist.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
commandline.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
counter.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
crc64.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
entropy.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
entropy_private.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
error.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
event.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
fsaccess.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
heap.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hex.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hmac.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
hp.c Use globally assigned thread_id in the isc_hp API 2021-02-26 21:14:17 +01:00
ht.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
httpd.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
iterated_hash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lex.c Add support for parsing <tag>[=<value>] 2021-08-18 14:59:29 +10:00
lfsr.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
lib.c Initialize the main thread trampoline for Windows Service process 2021-08-31 17:53:30 +00:00
lib_p.h Call isc__initialize()/isc__shutdown() from win32 DllMain 2021-03-02 08:50:29 +01:00
log.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
Makefile.in Remove TLSDNS, TLS and HTTP protocols from netmgr 2021-05-14 12:52:48 +02:00
managers.c backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
md.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
mem.c backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
mem_p.h Use library constructor/destructor to initialize OpenSSL 2021-02-26 17:18:06 +01:00
mutexblock.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
netaddr.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
netmgr_p.h backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
netscope.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
nonce.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
openssl_shim.c Refactor TLSDNS module to work with libuv/ssl directly 2021-02-26 16:14:50 +01:00
openssl_shim.h Refactor TLSDNS module to work with libuv/ssl directly 2021-02-26 16:14:50 +01:00
parseint.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pk11.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pk11_result.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
pool.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
portset.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
queue.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
quota.c Refactor netmgr and add more unit tests 2020-12-09 10:46:16 +01:00
radix.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
random.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
ratelimiter.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
regex.c Reformat sources using clang-format-11 2020-12-08 19:34:05 +01:00
region.c Reformat sources using clang-format-11 2020-12-08 19:34:05 +01:00
result.c Replace netmgr quantum with loop-preventing barrier 2021-05-17 12:06:07 +02:00
rwlock.c Fix unchecked return of isc_rwlock_lock and isc_rwlock_unlock 2021-07-12 02:40:25 +00:00
safe.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
serial.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
siphash.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
sockaddr.c netmgr: server-side TLS support 2020-12-09 10:46:16 +01:00
stats.c Add a function isc_stats_resize 2021-08-24 09:51:45 +02:00
string.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
symtab.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
task.c Lock access to task->threadid 2021-06-15 12:53:13 +10:00
task_p.h backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
taskpool.c backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
timer.c Cleanup the isc_<*>mgr_createinc() constructors 2021-04-19 15:57:40 +02:00
timer_p.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
tls.c Remove TLSDNS, TLS and HTTP protocols from netmgr 2021-05-14 12:52:48 +02:00
tls_p.h Use library constructor/destructor to initialize OpenSSL 2021-02-26 17:18:06 +01:00
tm.c Use isdigit instead of checking character range 2021-05-05 18:23:53 +02:00
trampoline.c Initialize the main thread trampoline for Windows Service process 2021-08-31 17:53:30 +00:00
trampoline_p.h Initialize the main thread trampoline for Windows Service process 2021-08-31 17:53:30 +00:00
url.c backport of netmgr/taskmgr to 9.16 2021-05-14 12:52:48 +02:00
utf8.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
version.c Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
xoshiro128starstar.c update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00