rust/library/core/tests
Scott McMurray 98054377ee Add a dedicated length-prefixing method to Hasher
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-05-06 00:03:38 -07:00
..
fmt Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
hash Add a dedicated length-prefixing method to Hasher 2022-05-06 00:03:38 -07:00
iter Rollup merge of #94115 - scottmcm:iter-process-by-ref, r=yaahc 2022-03-18 21:50:44 +01:00
num Remove unused macro rules 2022-04-18 23:28:06 +02:00
ops
alloc.rs fix Layout struct member naming style 2022-04-11 13:35:18 +08:00
any.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
array.rs add cfg_panic bootstrap 2022-02-10 22:10:08 +00:00
ascii.rs
atomic.rs
bool.rs Constify bool::then{,_some} 2021-12-15 00:11:23 +08:00
cell.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
char.rs Debug print char 0 as '\0' rather than '\u{0}' 2022-03-27 04:49:10 -07:00
clone.rs
cmp.rs Add test for StructuralEq for std::cmp::Ordering. 2022-03-16 14:01:48 -05:00
const_ptr.rs
convert.rs Revert "Auto merge of #89450 - usbalbin:const_try_revert, r=oli-obk" 2021-12-12 12:34:59 +08:00
future.rs add tests 2022-02-02 23:07:02 +09:00
intrinsics.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
lazy.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
lib.rs Add a dedicated length-prefixing method to Hasher 2022-05-06 00:03:38 -07:00
macros.rs
manually_drop.rs
mem.rs add cfg_panic bootstrap 2022-02-10 22:10:08 +00:00
nonzero.rs
ops.rs
option.rs Constify (most) Option methods 2021-12-17 20:46:47 +08:00
pattern.rs
pin_macro.rs Write {ui,} tests for pin_macro and pin! 2022-02-14 16:56:37 +01:00
pin.rs
ptr.rs Rollup merge of #95556 - declanvk:nonnull-provenance, r=dtolnay 2022-04-02 03:34:24 +02:00
result.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
simd.rs Miri can run this test now 2022-03-03 14:54:18 -05:00
slice.rs Add slice::remainder 2022-04-17 17:19:45 +00:00
str_lossy.rs
str.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs Implement data and vtable getters for RawWaker 2021-12-17 04:30:13 +08:00