<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/AdaptiveFileAllocationIterator.h, 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>Use int64_t instead of off_t</title>
<updated>2012-07-23T12:42:47Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-07-23T12:36:24Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=860f4dd06ace859470e118d4b9a8d10ddf92d076'/>
<id>urn:sha1:860f4dd06ace859470e118d4b9a8d10ddf92d076</id>
<content type='text'>
Using off_t, at least, in DiskAdaptor layer is problematic because
torrent can contain under 2GiB files but total sum of those files may
exceed 2GiB limit, which makes off_t overflow in 32 bit system without
large file support. So we use int64_t in API. We'll check the file
length before download so that it does not exceed max off_t.
</content>
</entry>
<entry>
<title>Replaced uint64_t with off_t or int64_t.</title>
<updated>2011-12-09T12:39:43Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2011-12-07T13:57:34Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=12988e5282ef52a2806cbaca9f4074698f35e399'/>
<id>urn:sha1:12988e5282ef52a2806cbaca9f4074698f35e399</id>
<content type='text'>
Since off_t is int64_t with LFS, we cannot take advantage of extra
capacity of uint64_t.
</content>
</entry>
<entry>
<title>2010-11-20  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-11-20T08:21:36Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-11-20T08:21:36Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=580098eb4929a3bdbf424af18da361259ef2efe5'/>
<id>urn:sha1:580098eb4929a3bdbf424af18da361259ef2efe5</id>
<content type='text'>
	Rewritten Logger interface. Logger now writes source file name and
	line number in log file.


</content>
</entry>
<entry>
<title>2010-11-14  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-11-14T07:17:55Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-11-14T07:17:55Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=1372ac51ade17bc27126449bf29f99c6c2cf7703'/>
<id>urn:sha1:1372ac51ade17bc27126449bf29f99c6c2cf7703</id>
<content type='text'>
	Added .cc file for classes/structs that only provided by header
	file. Defined non-POD classes' ctor, dtor in .cc file.  Moved
	implementation code in header file to .cc file for major
	classes/strucsts.


</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-07-31  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-07-31T13:58:25Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-07-31T13:58:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=4280650e299cd880993f9a256fd267ceeceac303'/>
<id>urn:sha1:4280650e299cd880993f9a256fd267ceeceac303</id>
<content type='text'>
	Fixed the bug that
	AdaptiveFileAllocationIterator::getCurrentLength() does not return
	updated allocated bytes.
	* src/AdaptiveFileAllocationIterator.h


</content>
</entry>
<entry>
<title>2010-07-04  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-07-04T15:03:35Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-07-04T15:03:35Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=a5cc350dcf6cf83a84b5845e0f61230f1f42e7c7'/>
<id>urn:sha1:a5cc350dcf6cf83a84b5845e0f61230f1f42e7c7</id>
<content type='text'>
	When allocating disk space, for Linux system with fallocate()
	system call, first check file system supports fallocate.  This
	just run fallocate with small chunk and see it succeeds or fails.
	If it succeeds, use fallocate() to allocate entire file otherwise
	fall back to traditional slower method: writing zeros. This
	behavior is enabled in --file-allocation=prealloc, so this is
	enabled by default for most modern Linux.
	* configure.ac
	* src/AbstractDiskWriter.cc
	* src/AbstractDiskWriter.h
	* src/AbstractSingleDiskAdaptor.cc
	* src/AdaptiveFileAllocationIterator.cc
	* src/AdaptiveFileAllocationIterator.h
	* src/DefaultPieceStorage.cc
	* src/DiskAdaptor.cc
	* src/DiskAdaptor.h
	* src/FallocFileAllocationIterator.cc
	* src/Makefile.am
	* src/MultiFileAllocationIterator.cc
	* src/OptionHandlerFactory.cc
	* test/FallocFileAllocationIteratorTest.cc
	* test/Makefile.am


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