Displaying 2 results from an estimated 2 matches for "write_b".
Did you mean:
writeb
2014 Mar 24
2
[LLVMdev] [RFC] Moving OnDiskHashTable from clang to LLVM
...to raw_ostream directly? Something
like:
template <typename T> raw_ostream &write_le(T V) {
for (size_t I = 0, E = sizeof(T); I < E; ++I)
*this << (unsigned char)(0xFF & (V >> (I * 8)));
return *this;
}
template <typename T> raw_ostream &write_be(T V) {
for (size_t I = sizeof(T); I; --I)
*this << (unsigned char)(0xFF & (V >> (I * 8)));
return *this;
}
Thoughts?
2014 Mar 22
3
[LLVMdev] [RFC] Moving OnDiskHashTable from clang to LLVM
Rafael Avila de Espindola <rafael.espindola at gmail.com> writes:
>> On Mar 22, 2014, at 1:31, Justin Bogner <mail at justinbogner.com> wrote:
>> Also, the header includes a "clang::io" namespace with some operations
>> for reading and writing little endian files. Should these be directly
>> renamed to "llvm::io", or would something like