- 24 Feb, 2016 1 commit
-
-
William Ahern authored
-
- 23 Feb, 2016 5 commits
-
-
git://github.com/nmathewson/timeoutWilliam Ahern authored
Merge branch 'portable_bitops' of git://github.com/nmathewson/timeout into nmathewson-portable_bitops
-
William Ahern authored
-
William Ahern authored
-
William Ahern authored
-
William Ahern authored
-
- 22 Feb, 2016 4 commits
-
-
William Ahern authored
-
Nick Mathewson authored
According to the documentation, 32-bit x86 builds do not have the 64-bit _BitScan{Forward,Reverse}64 intrinsics.
-
Nick Mathewson authored
-
Nick Mathewson authored
Given these, we can remove the code to check for the zero case.
-
- 19 Feb, 2016 1 commit
-
-
Nick Mathewson authored
This patch includes an intrinsic implementation for these functions when the compiler is GCC, Clang, or MSVC--or if the compiler claims to be one of those. Otherwise, a naive implementation is used. Tests are included for all of these functions, which turned up a possible problem: according to the gcc documentation, __builtin_ctz and __builtin_clz give an undefined result when their inputs is zero. I was not able to persuade myself that we always called them with a nonzero argument.
-
- 03 Feb, 2014 5 commits
- 01 Feb, 2014 3 commits
- 13 Jan, 2014 1 commit
-
-
william authored
-
- 11 Jan, 2014 7 commits
-
-
william authored
-
william authored
remove main() testing code from timeout.c and tweak Makefile so we can compare different wheel sizes with the benchmark framework
-
william authored
-
william authored
re-add one of our old bit fill operations, as it turns out it was actually needed (probably shouldn't have worked on that code in a sleep-deprived state)
-
william authored
-
william authored
-
william authored
-
- 09 Jan, 2014 2 commits
- 04 Jan, 2014 7 commits
- 03 Jan, 2014 1 commit
-
-
william authored
add version routines and TIMEOUT_PUBLIC prefix to exported routines so applications can optionally compile completely statically (by defining TIMEOUT_PUBLIC to `static'
-
- 14 Dec, 2013 3 commits