| 85 | }; |
| 86 | |
| 87 | static inline TTargetChunk CopyFullChunk(const TSourceChunk* source) { |
| 88 | TCnv c; |
| 89 | #if defined(_big_endian_) |
| 90 | ::ReverseCopy(source, source + BLOCK_SIZE, c.SmallData); |
| 91 | #else |
| 92 | ::Copy(source, source + BLOCK_SIZE, c.SmallData); |
| 93 | #endif |
| 94 | return c.BigData; |
| 95 | } |
| 96 | |
| 97 | static inline TTargetChunk CopyPartChunk(const TSourceChunk* source, size_t count) { |
| 98 | Y_ASSERT(count <= BLOCK_SIZE); |
nothing calls this directly
no test coverage detected