[chord] what is mpz_get_raw and others

Emil Sit sit at MIT.EDU
Thu Mar 29 12:59:45 EST 2007


On Tue, 27 March 2007 at 09:51 (+0800), zkfzle wrote:
>  I found in the database,the length of key/value pairs of inode
>  information usually larger than what it should be,about 10 bytes.What
>  had happened to them?

Content hash blocks are encoded as IDA fragments; the code to
extract them from the database format and reassemble it can
be found in client.C.

> mpz_get_raw appeared often.What is it?Is it the reason of the '10 bytes'?

This is a libgmp function that takes raw bytes and interprets it as
a big-endian integer.

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list