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

Method CopyFullChunk

util/generic/bitmap.h:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 2

ReverseCopyFunction · 0.85
CopyFunction · 0.70

Tested by

no test coverage detected