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

Function MemMove

util/generic/mem_copy.h:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33template <class T>
34static inline TIfPOD<T> MemMove(T* to, const T* from, size_t n) noexcept {
35 if (n) {
36 memmove(to, from, n * sizeof(T));
37 }
38
39 return to;
40}
41
42template <class T>
43static inline TIfNotPOD<T> MemMove(T* to, const T* from, size_t n) {

Callers 2

Y_UNIT_TESTFunction · 0.85
NextMethod · 0.85

Calls 2

memmoveFunction · 0.85
MemCopyFunction · 0.85

Tested by

no test coverage detected