FreeBSD/contrib/subversion/subversion/svnfsfs/dump-index-cmd.c
/* Return the 8 digit hex string for FNVV1, allocated in POOL.
 */
Return the 8 digit hex string for FNVV1, allocated in POOL.
Return the 8 digit hex string for FNVV1 allocated in POOL .
static const char *
fnv1_to_string(apr_uint32_t fnv1,
               apr_pool_t *pool)
{
  svn_checksum_t checksum = { NULL, svn_checksum_fnv1a_32 };
  apr_uint32_t digest = htonl(fnv1);
  checksum.digest = (const unsigned char *)&digest;
  return svn_checksum_to_cstring_display(&checksum, pool);
}
static const char * fnv1_to_string ( apr_uint32_t fnv1 , apr_pool_t * pool ) { svn_checksum_t checksum = { NULL , svn_checksum_fnv1a_32 } ; apr_uint32_t digest = htonl ( fnv1 ) ; checksum . digest = ( const unsigned char * ) & digest ; return svn_checksum_to_cstring_display ( & checksum , pool ) ; }
Return the 8 digit hex string for FNVV1, allocated in POOL.
Return the 8 digit hex string for FNVV1 allocated in POOL .
/* Construct a checksum object containing FNV1. */ /* Convert the digest to hex. */