summary refs log tree commit diff
path: root/library/alloc/tests
AgeCommit message (Expand)AuthorLines
2023-02-25Add test for VecDeque::append ZST capacity overflowpommicket-0/+14
2023-01-17refactor[alloc]: remove unused box syntax featurejoboet-1/+0
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-348/+1
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-1/+1
2022-12-24add lib tests for vec::IntoIter alignment issuesRalf Jung-2/+27
2022-12-08Apply review feedback; Fix no_global_oom_handling buildScott McMurray-3/+13
2022-12-08Make `VecDeque::from_iter` O(1) from `vec(_deque)::IntoIter`Scott McMurray-0/+26
2022-11-28Auto merge of #102991 - Sp00ph:master, r=scottmcmbors-6/+7
2022-11-23Add `#![deny(unsafe_op_in_unsafe_fn)]` in liballoc testsThom Chiovoloni-7/+38
2022-11-22Rollup merge of #104647 - RalfJung:alloc-strict-provenance, r=thomccManish Goregaokar-6/+8
2022-11-22add test for issue 104726The 8472-0/+12
2022-11-20enable fuzzy_provenance_casts lint in liballocRalf Jung-6/+8
2022-11-20Update VecDeque implementationMarkus Everling-6/+7
2022-11-20Rollup merge of #104435 - scottmcm:iter-repeat-n, r=thomccYuki Okushi-0/+8
2022-11-18Remove Vec/Rc storage reuse optclubby789-30/+0
2022-11-17Auto merge of #104205 - clubby789:grow-rc, r=thomccbors-0/+30
2022-11-15generalize str.contains() tests to a range of haystack sizesThe 8472-5/+21
2022-11-15`VecDeque::resize` should re-use the buffer in the passed-in elementScott McMurray-0/+8
2022-11-14Add `Vec` storage optimization to `Arc` and add testsclubby789-0/+30
2022-10-05Add regression test for lifetimes in alloc internals autotraitsDavid Tolnay-0/+297
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-30/+35
2022-09-28Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8KiYuki Okushi-1/+0
2022-09-27Stabilize bench_black_boxUrgau-1/+0
2022-09-23Stabilize const `BTree{Map,Set}::new`Nilstrieb-1/+1
2022-09-10Update testGiacomo Stevanato-33/+34
2022-09-10Adapt inplace collection leak test to check for no leaksGiacomo Stevanato-16/+20
2022-08-31fix into_iter on ZSTRalf Jung-0/+6
2022-08-30Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnayDylan DPC-0/+60
2022-08-22Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC-4/+5
2022-08-22Rollup merge of #99386 - AngelicosPhosphoros:add_retain_test_maybeuninit, r=J...Dylan DPC-0/+45
2022-08-21Make use of `pointer::is_aligned[_to]`Maybe Waffle-4/+5
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-5/+5
2022-07-27Auto merge of #98553 - the8472:next_chunk_opt, r=Mark-Simulacrumbors-0/+11
2022-07-26add test for vec::IntoIter::next_chunk() implThe 8472-0/+11
2022-07-17Add tests that check `Vec::retain` predicate execution order.AngelicosPhosphoros-0/+45
2022-07-15Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett-1/+0
2022-07-14Rollup merge of #98315 - joshtriplett:stabilize-core-ffi-c, r=Mark-SimulacrumDylan DPC-1/+0
2022-07-13Stabilize `core::ffi:c_*` and rexport in `std::ffi`Josh Triplett-1/+0
2022-07-10Auto merge of #95295 - CAD97:layout-isize, r=scottmcmbors-311/+142
2022-07-01Rollup merge of #98585 - cuviper:covariant-thinbox, r=thomccDylan DPC-0/+7
2022-06-27Make `ThinBox<T>` covariant in `T`Josh Stone-0/+7
2022-06-27liballoc tests: avoid int2ptr castRalf Jung-1/+1
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-0/+9
2022-06-08Stabilize `const_intrinsic_copy`Yuki Okushi-1/+0
2022-06-05Add vec::Drain{,Filter}::keep_restMaybe Waffle-0/+60
2022-06-04Rollup merge of #96642 - thomcc:thinbox-zst-ugh, r=yaahcDylan DPC-0/+232
2022-05-29Use Box::new() instead of box syntax in alloc testsest31-12/+12
2022-05-27Avoid zero-sized allocs in ThinBox if T and H are both ZSTs.Thom Chiovoloni-0/+232
2022-05-26improve case conversion happy pathConrad Ludgate-0/+14