MCPcopy Create free account
hub / github.com/catboost/catboost / CopyChunk

Method CopyChunk

util/generic/bitmap.h:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 };
53
54 static inline void CopyChunk(TTargetChunk* target, TSourceChunk source) {
55 TCnv c;
56 c.BigData = source;
57#if defined(_big_endian_)
58 ::ReverseCopy(c.SmallData, c.SmallData + Y_ARRAY_SIZE(c.SmallData), target);
59#else
60 ::Copy(c.SmallData, c.SmallData + Y_ARRAY_SIZE(c.SmallData), target);
61#endif
62 }
63
64 static inline void Copy(TTargetChunk* target, size_t targetSize, const TSourceChunk* source, size_t sourceSize) {
65 Y_ASSERT(targetSize >= sourceSize * BLOCK_SIZE);

Callers

nothing calls this directly

Calls 2

ReverseCopyFunction · 0.85
CopyFunction · 0.70

Tested by

no test coverage detected