MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / IncrementalCopyFastPath

Function IncrementalCopyFastPath

Libraries/snappy/snappy.cc:141–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139const int kMaxIncrementCopyOverflow = 10;
140
141inline void IncrementalCopyFastPath(const char* src, char* op, ssize_t len) {
142 while (op - src < 8) {
143 UnalignedCopy64(src, op);
144 len -= op - src;
145 op += op - src;
146 }
147 while (len > 0) {
148 UnalignedCopy64(src, op);
149 src += 8;
150 op += 8;
151 len -= 8;
152 }
153}
154
155} // namespace
156

Callers 1

AppendFromSelfMethod · 0.85

Calls 1

UnalignedCopy64Function · 0.85

Tested by

no test coverage detected