Home
last modified time | relevance | path

Searched refs:ByteBlock (Results 1 – 25 of 88) sorted by relevance

1234

/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/thrill/data/
H A Dbyte_block.cpp29 ByteBlock::ByteBlock(BlockPool* block_pool, Byte* data, size_t size) in ByteBlock() function in thrill::data::ByteBlock
35 ByteBlock::ByteBlock( in ByteBlock() function in thrill::data::ByteBlock
45 void ByteBlock::Deleter::operator () (ByteBlock* bb) const { in operator ()()
59 void ByteBlock::Deleter::operator () (const ByteBlock* bb) const { in operator ()()
60 return operator () (const_cast<ByteBlock*>(bb)); in operator ()()
63 std::string ByteBlock::pin_count_str() const { in pin_count_str()
67 void ByteBlock::IncPinCount(size_t local_worker_id) { in IncPinCount()
71 void ByteBlock::DecPinCount(size_t local_worker_id) { in DecPinCount()
75 void ByteBlock::OnWriteComplete(foxxll::request* req, bool success) { in OnWriteComplete()
79 std::ostream& operator << (std::ostream& os, const ByteBlock& b) { in operator <<()
H A Dbyte_block.hpp51 class ByteBlock : public tlx::ReferenceCounter class
60 void operator () (ByteBlock* bb) const;
61 void operator () (const ByteBlock* bb) const;
64 using ByteBlockPtr = tlx::CountingPtr<ByteBlock, Deleter>;
65 using ByteBlockCPtr = tlx::CountingPtr<const ByteBlock, Deleter>;
148 ByteBlock() = delete;
158 ByteBlock(BlockPool* block_pool, Byte* data, size_t size);
162 ByteBlock(BlockPool* block_pool, const foxxll::file_ptr& ext_file,
176 class ByteBlockPtr : public ByteBlock::ByteBlockPtr
178 using Super = ByteBlock::ByteBlockPtr;
[all …]
H A Dblock_pool.hpp121 void IncBlockPinCount(ByteBlock* block_ptr, size_t local_worker_id);
124 void DecBlockPinCount(ByteBlock* block_ptr, size_t local_worker_id);
127 void DestroyBlock(ByteBlock* block_ptr);
131 void EvictBlock(ByteBlock* block_ptr);
209 void IntIncBlockPinCount(ByteBlock* block_ptr, size_t local_worker_id);
212 void OnWriteComplete(ByteBlock* block_ptr, foxxll::request* req, bool success);
221 friend class ByteBlock;
H A Dblock_pool.cpp231 ByteBlock*, foxxll::request_ptr,
232 std::hash<ByteBlock*>, std::equal_to<>,
237 ByteBlock*, PinRequestPtr,
238 std::hash<ByteBlock*>, std::equal_to<>,
261 ByteBlock*, mem::GPoolAllocator<ByteBlock*> > unpinned_blocks_;
271 ByteBlock*, std::hash<ByteBlock*>, std::equal_to<>,
272 mem::GPoolAllocator<ByteBlock*> > swapped_;
552 ByteBlock* block_ptr = block.byte_block().get(); in PinBlock()
1210 void BlockPool::EvictBlock(ByteBlock* block_ptr) { in EvictBlock()
1237 ByteBlock* block_ptr = unpinned_blocks_.pop(); in IntEvictBlockLRU()
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/plugins/esi/lib/
H A Dgzip.h44 struct ByteBlock { struct
47 ByteBlock(const char *d = nullptr, int d_len = 0) : data(d), data_len(d_len){}; in data() argument
50 typedef std::list<ByteBlock> ByteBlockList;
58 blocks.push_back(ByteBlock(data, data_len)); in gzip()
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/yassl/taocrypt/include/
H A Dcoding.hpp36 ByteBlock encoded_;
50 ByteBlock decoded_;
64 ByteBlock encoded_;
78 ByteBlock decoded_;
H A Dfile.hpp35 ByteBlock buffer_;
68 void reset(ByteBlock&);
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/yassl/taocrypt/include/
H A Dcoding.hpp36 ByteBlock encoded_;
50 ByteBlock decoded_;
64 ByteBlock encoded_;
78 ByteBlock decoded_;
H A Dfile.hpp35 ByteBlock buffer_;
68 void reset(ByteBlock&);
/dports/databases/mysql55-client/mysql-5.5.62/extra/yassl/taocrypt/include/
H A Dcoding.hpp36 ByteBlock encoded_;
50 ByteBlock decoded_;
64 ByteBlock encoded_;
78 ByteBlock decoded_;
H A Dfile.hpp35 ByteBlock buffer_;
68 void reset(ByteBlock&);
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/serial/
H A Dobjistrjson.hpp188 virtual void BeginBytes(ByteBlock& block) override;
191 virtual size_t ReadBytes(ByteBlock& block, char* buffer, size_t count) override;
192 virtual void EndBytes(const ByteBlock& block) override;
237 size_t ReadCustomBytes(ByteBlock& block, char* buffer, size_t count);
238 size_t ReadBase64Bytes(ByteBlock& block, char* buffer, size_t count);
239 size_t ReadHexBytes(ByteBlock& block, char* buffer, size_t count);
H A Dobjostr.hpp598 class ByteBlock;
599 friend class ByteBlock;
600 class NCBI_XSERIAL_EXPORT ByteBlock class in CObjectOStream
603 ByteBlock(CObjectOStream& out, size_t length);
604 ~ByteBlock(void);
744 virtual void BeginBytes(const ByteBlock& block);
745 virtual void WriteBytes(const ByteBlock& block,
747 virtual void EndBytes(const ByteBlock& block);
H A Dobjostrasn.hpp177 virtual void BeginBytes(const ByteBlock& block) override;
178 virtual void WriteBytes(const ByteBlock& block,
180 virtual void EndBytes(const ByteBlock& block) override;
H A Dobjostrjson.hpp206 virtual void BeginBytes(const ByteBlock& block) override;
207 virtual void WriteBytes(const ByteBlock& block,
209 virtual void EndBytes(const ByteBlock& block) override;
H A Dobjistrasn.hpp198 virtual void BeginBytes(ByteBlock& block) override;
200 virtual size_t ReadBytes(ByteBlock& block, char* dst, size_t length) override;
201 virtual void EndBytes(const ByteBlock& block) override;
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/serial/
H A Dobjistrjson.hpp188 virtual void BeginBytes(ByteBlock& block) override;
191 virtual size_t ReadBytes(ByteBlock& block, char* buffer, size_t count) override;
192 virtual void EndBytes(const ByteBlock& block) override;
237 size_t ReadCustomBytes(ByteBlock& block, char* buffer, size_t count);
238 size_t ReadBase64Bytes(ByteBlock& block, char* buffer, size_t count);
239 size_t ReadHexBytes(ByteBlock& block, char* buffer, size_t count);
H A Dobjostr.hpp598 class ByteBlock;
599 friend class ByteBlock;
600 class NCBI_XSERIAL_EXPORT ByteBlock class in CObjectOStream
603 ByteBlock(CObjectOStream& out, size_t length);
604 ~ByteBlock(void);
744 virtual void BeginBytes(const ByteBlock& block);
745 virtual void WriteBytes(const ByteBlock& block,
747 virtual void EndBytes(const ByteBlock& block);
H A Dobjostrasn.hpp177 virtual void BeginBytes(const ByteBlock& block) override;
178 virtual void WriteBytes(const ByteBlock& block,
180 virtual void EndBytes(const ByteBlock& block) override;
H A Dobjostrjson.hpp206 virtual void BeginBytes(const ByteBlock& block) override;
207 virtual void WriteBytes(const ByteBlock& block,
209 virtual void EndBytes(const ByteBlock& block) override;
H A Dobjistrasn.hpp198 virtual void BeginBytes(ByteBlock& block) override;
200 virtual size_t ReadBytes(ByteBlock& block, char* dst, size_t length) override;
201 virtual void EndBytes(const ByteBlock& block) override;
H A Dobjistr.hpp852 class NCBI_XSERIAL_EXPORT ByteBlock class in CObjectIStream
855 ByteBlock(CObjectIStream& in);
856 ~ByteBlock(void);
997 virtual void BeginBytes(ByteBlock& block) = 0;
998 virtual size_t ReadBytes(ByteBlock& block, char* buffer, size_t count) = 0;
999 virtual void EndBytes(const ByteBlock& block);
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/doc/
H A Ddata.dox20 ## ByteBlock, Block, BlockWriter, BlockReader, and File
22ByteBlock objects, which are (usually equally sized) chunks of memory. Much of the other classes a…
26 …tems. ByteBlocks are usually wrapped in a Block object (referencing the ByteBlock via a shared poi…
30 …ficial shorting of the contents of a Block while sharing the underlying ByteBlock (used for scatte…
32 A BlockWriter is parameterized by a BlockSink; it allocates, fills a ByteBlock, and delivers full B…
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/serial/
H A Dobjcopy.cpp193 CObjectIStream::ByteBlock ib(In()); in CopyByteBlock()
196 CObjectOStream::ByteBlock ob(Out(), length); in CopyByteBlock()
218 CObjectOStream::ByteBlock ob(Out(), length); in CopyByteBlock()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/serial/
H A Dobjcopy.cpp193 CObjectIStream::ByteBlock ib(In()); in CopyByteBlock()
196 CObjectOStream::ByteBlock ob(Out(), length); in CopyByteBlock()
218 CObjectOStream::ByteBlock ob(Out(), length); in CopyByteBlock()

1234