MCPcopy Create free account
hub / github.com/apple/foundationdb / Copy

Method Copy

contrib/SimpleOpt/include/SimpleOpt/SimpleOpt.h:521–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519 bool IsEqual(SOCHAR a_cLeft, SOCHAR a_cRight, int a_nArgType) const;
520
521 inline void Copy(SOCHAR** ppDst, SOCHAR** ppSrc, int nCount) const {
522#ifdef SO_MAX_ARGS
523 // keep our promise of no CLIB usage
524 while (nCount-- > 0)
525 *ppDst++ = *ppSrc++;
526#else
527 memcpy(ppDst, ppSrc, nCount * sizeof(SOCHAR*));
528#endif
529 }
530
531private:
532 const SOption* m_rgOptions; //!< pointer to options table

Callers 1

RemoteMethod · 0.80

Calls 1

memcpyFunction · 0.85

Tested by

no test coverage detected