File: size.rs

package info (click to toggle)
rust-xxhash-rust 0.8.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 484 kB
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[cfg(feature = "xxh32")]
#[test]
fn size_xxh32() {
    assert_eq!(core::mem::size_of::<xxhash_rust::xxh32::Xxh32>(), 44);
}

#[cfg(feature = "xxh64")]
#[test]
fn size_xxh64() {
    assert_eq!(core::mem::size_of::<xxhash_rust::xxh64::Xxh64>(), 80);
}

#[cfg(feature = "xxh3")]
#[test]
fn size_xxh3() {
    assert_eq!(core::mem::size_of::<xxhash_rust::xxh3::Xxh3>(), 576);
}