updated HashTest
This commit is contained in:
parent
53d2a61d60
commit
1727440211
@ -25,14 +25,14 @@ int os_main(int argc,os_char **argv)
|
|||||||
|
|
||||||
cout<<"file length: "<<file_length<<endl;
|
cout<<"file length: "<<file_length<<endl;
|
||||||
|
|
||||||
UTF8String hash_name;
|
AnsiString hash_name;
|
||||||
int hash_length;
|
int hash_length;
|
||||||
char *hash_code;
|
char *hash_code;
|
||||||
char hash_str[256];
|
char hash_str[256];
|
||||||
|
|
||||||
double start_time,end_time;
|
double start_time,end_time;
|
||||||
|
|
||||||
ENUM_CLASS_FOR(HASH,int,i)
|
ENUM_CLASS_FOR(HASH,size_t,i)
|
||||||
{
|
{
|
||||||
Hash *h=CreateHash(HASH(i));
|
Hash *h=CreateHash(HASH(i));
|
||||||
hash_length=h->GetHashBytes();
|
hash_length=h->GetHashBytes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user