- Feb 09, 2014
-
-
Stelian Ionescu authored
-
- Jul 04, 2013
-
-
Stelian Ionescu authored
-
- Mar 02, 2013
-
-
Stelian Ionescu authored
-
- Mar 01, 2013
-
-
Instead of using /dev/urandom, use an in-process 32-bit xorshift. The xorshift is a very fast but not particularly strong PRNG with a period of (1- (expt 2 32)). It has only a single 32-bit word for seed data, so that multithreaded code should play very nicely on CPUs that can store those atomically. For CPUs that cannot, it should still be safe, since it can recover from any value in the seed. We reseed from the pid and current time when we hit a collision. This is necessary for code like this to not be slow: mkstemp(...) fork() mkstemp(...) since the child process(es) will inherit the seed of the parent and collide a lot otherwise.
-
- Jun 27, 2012
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Jun 13, 2012
-
-
Stelian Ionescu authored
-
- Nov 08, 2011
-
-
Stelian Ionescu authored
-
- Nov 02, 2011
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Sep 08, 2011
-
-
Stelian Ionescu authored
-
- Sep 06, 2011
-
-
Stelian Ionescu authored
Drop test for __xpg_strerror_r and move lfp_strerror to its own file, where _GNU_SOURCE is undefined before including system headers
-
- Sep 05, 2011
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Aug 23, 2011
-
-
Stelian Ionescu authored
-
- Aug 19, 2011
-
-
Stelian Ionescu authored
-
- Jul 06, 2011
-
-
Stelian Ionescu authored
-
- Mar 15, 2011
-
-
Stelian Ionescu authored
-
- Jan 02, 2011
-
-
Stelian Ionescu authored
-
- Dec 29, 2010
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Dec 28, 2010
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Dec 27, 2010
-
-
Stelian Ionescu authored
-
Stelian Ionescu authored
-
- Dec 26, 2010
-
-
Stelian Ionescu authored
Currently only Linux, FreeBSD and Darwin have sendfile(2)
-
- Dec 20, 2010
-
-
Stelian Ionescu authored
-
- Nov 04, 2010
-
-
Stelian Ionescu authored
-
- Oct 28, 2010
-
-
Stelian Ionescu authored
-
- Oct 26, 2010
-
-
Stelian Ionescu authored
-
- Oct 24, 2010
-
-
Stelian Ionescu authored
-
- Oct 23, 2010
-
-
Stelian Ionescu authored
-
- Oct 12, 2010
-
-
Stelian Ionescu authored
-