更新libclamav库1.0.0版本
This commit is contained in:
22
clamav/libclamav_rust/.cargo/vendor/sha2/benches/mod.rs
vendored
Normal file
22
clamav/libclamav_rust/.cargo/vendor/sha2/benches/mod.rs
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
#![feature(test)]
|
||||
extern crate test;
|
||||
|
||||
use digest::bench_update;
|
||||
use sha2::{Sha256, Sha512};
|
||||
use test::Bencher;
|
||||
|
||||
bench_update!(
|
||||
Sha256::default();
|
||||
sha256_10 10;
|
||||
sha256_100 100;
|
||||
sha256_1000 1000;
|
||||
sha256_10000 10000;
|
||||
);
|
||||
|
||||
bench_update!(
|
||||
Sha512::default();
|
||||
sha512_10 10;
|
||||
sha512_100 100;
|
||||
sha512_1000 1000;
|
||||
sha512_10000 10000;
|
||||
);
|
||||
Reference in New Issue
Block a user