search for: aabbccddeeffgghhiijj

Displaying 2 results from an estimated 2 matches for "aabbccddeeffgghhiijj".

2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...; File1(TestDirectory); > + File1.append("/file1"); > + { > + OwningPtr<FileOutputBuffer> Buffer; > + ASSERT_NO_ERROR(FileOutputBuffer::create(File1, 8192, Buffer)); > + // Start buffer with special header. > + memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); > + // Write to end of buffer to verify it is writable. > + memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20); > + // Commit buffer. > + ASSERT_NO_ERROR(Buffer->commit()); > + } > + // Verify file exists and starts with speci...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL: