<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/MultiFileAllocationIterator.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>2013-03-01T12:17:52Z</updated>
<entry>
<title>Hygiene: Fix some clang warnings, mostly unused private members.</title>
<updated>2013-03-01T12:17:52Z</updated>
<author>
<name>Nils Maier</name>
<email>maierman@web.de</email>
</author>
<published>2013-03-01T12:17:52Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=7f6a4467505afb23f55d756bfcf8680681ee4d99'/>
<id>urn:sha1:7f6a4467505afb23f55d756bfcf8680681ee4d99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added new file allocation method called 'trunc'</title>
<updated>2012-08-12T07:52:53Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-08-12T07:52:53Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=d734ff7d298d0abee4e6f75f94afd2d33e0c8fc6'/>
<id>urn:sha1:d734ff7d298d0abee4e6f75f94afd2d33e0c8fc6</id>
<content type='text'>
--file-allocation option can now take new value 'trunc'. 'trunc' uses
ftruncate() system call or platform-specific counterpart to truncate a
file to a specified length.
</content>
</entry>
<entry>
<title>Use enum to select file allocation method</title>
<updated>2012-08-11T14:38:58Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-08-11T14:38:58Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e2fcd6d72c577688160ce2ae3886edb67416525d'/>
<id>urn:sha1:e2fcd6d72c577688160ce2ae3886edb67416525d</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-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-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>
<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-06-11  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-06-11T12:49:14Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-06-11T12:49:14Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=b914f6d810c0fe001eed26011cdc955ca5ecd3e0'/>
<id>urn:sha1:b914f6d810c0fe001eed26011cdc955ca5ecd3e0</id>
<content type='text'>
	Made protected member variable private. Added accessor funcs.
	* src/AbstractSingleDiskAdaptor.cc
	* src/AbstractSingleDiskAdaptor.h
	* src/DirectDiskAdaptor.cc
	* src/DirectDiskAdaptor.h
	* src/DiskAdaptor.cc
	* src/DiskAdaptor.h
	* src/MultiDiskAdaptor.cc
	* src/MultiDiskAdaptor.h
	* src/MultiFileAllocationIterator.cc
	* src/MultiFileAllocationIterator.h
	* test/BtBitfieldMessageTest.cc
	* test/BtHaveAllMessageTest.cc
	* test/BtHaveMessageTest.cc


</content>
</entry>
<entry>
<title>2010-02-28  Tatsuhiro Tsujikawa  &lt;t-tujikawa@users.sourceforge.net&gt;</title>
<updated>2010-02-28T12:30:11Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2010-02-28T12:30:11Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=c342bde9627b434effbc0cd10b817670d1da0923'/>
<id>urn:sha1:c342bde9627b434effbc0cd10b817670d1da0923</id>
<content type='text'>
	Use vector instead of deque for containers which is used for
	mostly read-only purpose.


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