OpendTect-6_4  6.4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 12/02/2019 10:55:49 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019