Performing CRC32 on big files
Performing CRC32 on big files
How can i perform a CRC32 on a file that is bigger than my aviable free disk space? , i can't load it into a buffer. It has to be some way because i have a program that does it, any idea?.
I hope you mean "memory"? If so, from memory (mine, not the computers), I think determining the crc involves serial processing the data from start to end, ie, at no time refering to data already processed. Therefore I think you need to check how to combine crc from successive blocks of data. Sorry I don't have time to search the web for more info... but you could 
You should take a look at Rings's FastFile Lib, it has a command calculating
a CRC32 of a file on disk.
http://www.reelmediaproductions.com/pb/ ... stFile.zip
look at the FastFileCRC32Test.pb file.
Timo
a CRC32 of a file on disk.
http://www.reelmediaproductions.com/pb/ ... stFile.zip
look at the FastFileCRC32Test.pb file.
Timo
quidquid Latine dictum sit altum videtur
Re: Performing CRC32 on big files
Make for, example, for every 64Kb a own CRC.Justin wrote:How can i perform a CRC32 on a file that is bigger than my aviable free disk space? , i can't load it into a buffer. It has to be some way because i have a program that does it, any idea?.
Yes, i made a crc of a cd and took some time, but this is normal. Do you plan to make it linux compatible? , also working with handles to have unlimited files would be great.
hfile1=FastOpenFile(Filename.s)
hfile2=FastOpenFile(Filename.s)
.
.
FastReadData(hfile1,Offset.l,Length.l,AdressofDestination)
etc.
hfile1=FastOpenFile(Filename.s)
hfile2=FastOpenFile(Filename.s)
.
.
FastReadData(hfile1,Offset.l,Length.l,AdressofDestination)
etc.
thanx for your interrest in this library.Justin wrote:Yes, i made a crc of a cd and took some time, but this is normal. Do you plan to make it linux compatible? , also working with handles to have unlimited files would be great.
hfile1=FastOpenFile(Filename.s)
hfile2=FastOpenFile(Filename.s)
.
.
FastReadData(hfile1,Offset.l,Length.l,AdressofDestination)
etc.
Yes , multiply files (With Filepointer) are in progress.
No for the linux version, coz i'm not familar enough (or better say Not ) with the linux api.
SPAMINATOR NR.1


