OpendTect-6_4  6.4
Functions
checksum.h File Reference
Include dependency graph for checksum.h:

Go to the source code of this file.

Functions

od_uint64 checksum64 (const unsigned char *, od_uint64 arrsize, od_uint64 prevsum=0)
 
void initChecksum ()
 

Function Documentation

od_uint64 checksum64 ( const unsigned char *  ,
od_uint64  arrsize,
od_uint64  prevsum = 0 
)

Computes the CRC-64 for an array in memory. Algorithm is taken from public domain code. For very long arrays, code can be called in chunks and putting int last checksum in the prevsum argument.

void initChecksum ( )

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019