about summary refs log tree commit diff
path: root/library/core/tests/hash
AgeCommit message (Collapse)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-490/+0
2025-01-24Remove a bunch of emscripten test ignoresbjorn3-3/+0
They are either outdated as emscripten now supports i128 or they are subsumed by #[cfg_attr(not(panic = "unwind"), ignore]
2024-12-23Use `#[derive(Default)]` instead of manually implementing itEsteban Küber-12/+3
2024-10-09Library: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-1/+1
2024-09-08add FIXME(const-hack)Ralf Jung-5/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-2/+2
also introduce ptr::dangling matching NonNull::dangling
2024-01-11apply fmtklensy-2/+4
2023-12-10remove redundant importssurechen-1/+0
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-1/+1
2023-04-16fix library and rustdoc testsDeadbeef-5/+9
2023-04-16rm const traits in libcoreDeadbeef-9/+9
2022-11-08Test const `Hash`, fix nitsonestacked-11/+42
2022-06-27libcore tests: avoid int2ptr castsRalf Jung-2/+3
2022-05-06Add a dedicated length-prefixing method to `Hasher`Scott McMurray-0/+4
This accomplishes two main goals: - Make it clear who is responsible for prefix-freedom, including how they should do it - Make it feasible for a `Hasher` that *doesn't* care about Hash-DoS resistance to get better performance by not hashing lengths This does not change rustc-hash, since that's in an external crate, but that could potentially use it in future.
2022-04-17Replace u8to64_le macro with u64::from_le_bytesest31-24/+2
The macro was a reimplementation of the function.
2022-02-02add teststamaron-0/+8
2021-08-15move object safety test to library/coreibraheemdev-1/+8
2020-07-27mv std libs to library/mark-0/+472