Home
last modified time | relevance | path

Searched defs:disk_buffer_holder (Results 1 – 7 of 7) sorted by relevance

/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/include/libtorrent/
H A Ddisk_buffer_holder.hpp57 struct TORRENT_EXTRA_EXPORT disk_buffer_holder struct
86 char* data() const noexcept { return m_buf; } in data()
87 char* get() const noexcept { return m_buf; } in get()
96 void swap(disk_buffer_holder& h) noexcept in swap()
105 bool is_mutable() const noexcept { return m_ref.cookie == aux::block_cache_reference::none; } in is_mutable()
109 explicit operator bool() const noexcept { return m_buf != nullptr; } in operator bool()
111 std::size_t size() const { return m_size; } in size()
115 buffer_allocator_interface* m_allocator;
116 char* m_buf;
117 std::size_t m_size;
[all …]
H A Dweb_connection_base.hpp90 void write_piece(peer_request const&, disk_buffer_holder) override in write_piece() argument
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/include/libtorrent/
H A Ddisk_buffer_holder.hpp57 struct TORRENT_EXTRA_EXPORT disk_buffer_holder struct
86 char* data() const noexcept { return m_buf; } in data()
87 char* get() const noexcept { return m_buf; } in get()
96 void swap(disk_buffer_holder& h) noexcept in swap()
105 bool is_mutable() const noexcept { return m_ref.cookie == aux::block_cache_reference::none; } in is_mutable()
109 explicit operator bool() const noexcept { return m_buf != nullptr; } in operator bool()
111 std::size_t size() const { return m_size; } in size()
115 buffer_allocator_interface* m_allocator;
116 char* m_buf;
117 std::size_t m_size;
[all …]
H A Dweb_connection_base.hpp90 void write_piece(peer_request const&, disk_buffer_holder) override in write_piece() argument
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/src/
H A Ddisk_buffer_holder.cpp37 disk_buffer_holder::disk_buffer_holder(buffer_allocator_interface& alloc in disk_buffer_holder() function in libtorrent::disk_buffer_holder
49 disk_buffer_holder::disk_buffer_holder(disk_buffer_holder&& h) noexcept in disk_buffer_holder() function in libtorrent::disk_buffer_holder
57 disk_buffer_holder::disk_buffer_holder(buffer_allocator_interface& alloc in disk_buffer_holder() function in libtorrent::disk_buffer_holder
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/src/
H A Ddisk_buffer_holder.cpp37 disk_buffer_holder::disk_buffer_holder(buffer_allocator_interface& alloc in disk_buffer_holder() function in libtorrent::disk_buffer_holder
49 disk_buffer_holder::disk_buffer_holder(disk_buffer_holder&& h) noexcept in disk_buffer_holder() function in libtorrent::disk_buffer_holder
57 disk_buffer_holder::disk_buffer_holder(buffer_allocator_interface& alloc in disk_buffer_holder() function in libtorrent::disk_buffer_holder
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/base/bittorrent/
H A Dcustomstorage.cpp72 … , std::function<void (lt::disk_buffer_holder, const lt::storage_error &)> handler in async_read()