<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/SimpleRandomizer.cc, branch libaria2</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=libaria2</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=libaria2'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2012-10-01T14:52:22Z</updated>
<entry>
<title>Removed trailing spaces</title>
<updated>2012-10-01T14:52:22Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-10-01T14:52:22Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d'/>
<id>urn:sha1:8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed segmentation fault in open solaris in unit test.</title>
<updated>2012-03-24T15:28:11Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-03-24T15:28:11Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=ae393329f7adf1c3009219ba703fc7fa2ca98fcd'/>
<id>urn:sha1:ae393329f7adf1c3009219ba703fc7fa2ca98fcd</id>
<content type='text'>
This is due to the fact that the maximum value of random() in open
solaris is not RAND_MAX, but (2**31)-1.
</content>
</entry>
<entry>
<title>MinGW32: Use CryptGenRandom() to generate random number.</title>
<updated>2011-08-18T09:03:06Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-08-18T09:03:06Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=bf42505b7b32400bfdc183fb5f1588394e6417dc'/>
<id>urn:sha1:bf42505b7b32400bfdc183fb5f1588394e6417dc</id>
<content type='text'>
MinGW32 lacks random(), so we use CryptGenRandom() as a replacement.
In the implementation, SimpleRandomizer::getRandomNumber() returns the
random number in range [0, INT32_MAX]. Thus,
simpleRandomizer::getMaxRandomNumber() returns INT32_MAX.
</content>
</entry>
<entry>
<title>Use random() instead of rand().</title>
<updated>2011-08-10T17:34:04Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-08-10T17:34:04Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=fd3e7671a5429594ba26a98d43c8271c26b15f1d'/>
<id>urn:sha1:fd3e7671a5429594ba26a98d43c8271c26b15f1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>2010-11-12  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-11-12T12:48:48Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-11-12T12:48:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=93e5dbed325f29c1bf867a2847d3b839d545cfb2'/>
<id>urn:sha1:93e5dbed325f29c1bf867a2847d3b839d545cfb2</id>
<content type='text'>
	Removed SharedHandle::isNull(). Instead we added operator* and
	operator unspecified_bool_type. Removed use of WeakHandle and
	replaced with raw pointer.


</content>
</entry>
<entry>
<title>2010-06-21  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-06-21T13:51:56Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-06-21T13:51:56Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=ca4940622c05e50a50f77c621ade914029663446'/>
<id>urn:sha1:ca4940622c05e50a50f77c621ade914029663446</id>
<content type='text'>
	Changed naming standards for class member variable: now it looks
	like var_ instead of _var.


</content>
</entry>
<entry>
<title>2010-05-08  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-05-08T12:25:28Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-05-08T12:25:28Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=7fc6c36370acc4dda24fad1315b1059b888153aa'/>
<id>urn:sha1:7fc6c36370acc4dda24fad1315b1059b888153aa</id>
<content type='text'>
	Return const reference.
	* src/DefaultPieceStorage.h
	* src/DownloadContext.h
	* src/FeatureConfig.cc
	* src/FeatureConfig.h
	* src/OptionParser.cc
	* src/OptionParser.h
	* src/SimpleRandomizer.cc
	* src/SimpleRandomizer.h


</content>
</entry>
<entry>
<title>2010-01-06  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-01-05T16:01:46Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-01-05T16:01:46Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=4db349c1f32b4a313d12d114137432441633d00a'/>
<id>urn:sha1:4db349c1f32b4a313d12d114137432441633d00a</id>
<content type='text'>
	Untabify. Fixed one line in copyright which is longer than 80
	columns.
	* src
	* test


</content>
</entry>
<entry>
<title>2008-11-15  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2008-11-16T04:25:24Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2008-11-16T04:25:24Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=9b71a5d0b55c5f840298a3385f52a71509dce02b'/>
<id>urn:sha1:9b71a5d0b55c5f840298a3385f52a71509dce02b</id>
<content type='text'>
	Given custom random number generator to std::random_shuffle.
	* src/AnnounceList.cc
	* src/BtLeecherStateChoke.cc
	* src/BtSeederStateChoke.cc
	* src/DefaultBtRequestFactory.cc
	* src/MetalinkEntry.cc
	* src/RarestPieceSelector.cc
	* src/SimpleRandomizer.cc
	* src/SimpleRandomizer.h


</content>
</entry>
<entry>
<title>2008-09-02  Tatsuhiro Tsujikawa  &lt;tujikawa at rednoah dot com&gt;</title>
<updated>2008-09-02T14:11:59Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2008-09-02T14:11:59Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=7cbe5a79346df9c045ac640e48f711610a4852ca'/>
<id>urn:sha1:7cbe5a79346df9c045ac640e48f711610a4852ca</id>
<content type='text'>
	Moved implementation to SimpleRandomizer.cc from 
SimpleRandomizer.h.
	Added return value of getpid() to argument of srand() to achieve 
more
	randomized value.
	* src/SimpleRandomizer.cc
	* src/SimpleRandomizer.h


</content>
</entry>
</feed>
