about summary refs log tree commit diff
path: root/library/std/src/io/tests.rs
AgeCommit message (Expand)AuthorLines
2025-05-19Add `std::io::Seek` instance for `std::io::Take`Mario Pastorelli-0/+120
2025-03-11Simulate OOM for the `try_oom_error` testJosh Stone-6/+10
2025-01-26Move `std::io::pipe` code into its own fileTobias Bucher-17/+0
2025-01-24Remove a bunch of emscripten test ignoresbjorn3-2/+0
2025-01-17Move `std::pipe::*` into `std::io`Jiahao XU-0/+17
2024-11-26std: update internal uses of `io::const_error!`joboet-2/+2
2024-11-09Add as_slice/into_slice for IoSlice/IoSliceMut.Alona Enraght-Moony-0/+14
2024-09-23Add testsBenoît du Garreau-0/+63
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-31Fixed some typos in the standard library documentation/commentsranger-ross-1/+1
2024-07-29Rollup merge of #109174 - soerenmeier:cursor_fns, r=dtolnayMatthias Krüger-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-07-28Replace `io::Cursor::{remaining_slice, is_empty}` with `io::Cursor::{split, s...Sören Meier-2/+2
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-05-20Address review commentsBenoît du Garreau-0/+32
2024-04-11core: panic on overflow in `BorrowedCursor`joboet-0/+9
2024-03-10disable OOM test in MiriRalf Jung-0/+2
2024-02-21TryReserveError to ErrorKind::OutOfMemoryKornel-0/+10
2024-02-19Auto merge of #105917 - a1phyr:read_chain_more_impls, r=workingjubileebors-0/+11
2024-02-07Make `io::BorrowedCursor::advance` safeBenoît du Garreau-1/+1
2024-02-03add another test to make sure it still works with full readsConrad Ludgate-2/+15
2024-02-03fix #120603 by adding a check in default_read_bufConrad Ludgate-0/+16
2023-11-23Auto merge of #98943 - WilliamVenner:feat/bufread_skip_until, r=dtolnaybors-0/+30
2023-08-03Add assertion to test `skip_until` return valueWilliam Venner-2/+4
2023-07-26Add tests and comments about `read_to_string` and `read_line` specializationsBenoît du Garreau-0/+11
2023-05-18Move `BufRead::skip_until` test to a more appropriate locationWilliam Venner-0/+28
2023-04-21Limit read size in `File::read_to_end` loopChris Denton-1/+1
2022-08-28Rollup merge of #97015 - nrc:read-buf-cursor, r=Mark-SimulacrumMatthias Krüger-10/+10
2022-08-18make many std tests work in MiriRalf Jung-1/+2
2022-08-05non-linux platformsNick Cameron-3/+3
2022-08-04std::io: migrate ReadBuf to BorrowBuf/BorrowCursorNick Cameron-10/+10
2022-07-25Rollup merge of #95040 - frank-king:fix/94981, r=Mark-SimulacrumYuki Okushi-0/+19
2022-05-29protect `std::io::Take::limit` from overflow in `read`Frank King-0/+19
2022-03-11Update tests.Mara Bos-4/+4
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-2/+2
2021-11-02read_bufDrMeepster-1/+44
2021-10-07Optimize File::read_to_end and read_to_stringJohn Kugelman-1/+1
2021-09-22Fix read_to_end to not grow an exact size bufferJohn Kugelman-15/+3
2021-07-01Stabilize `Seek::rewind`Aris Merchant-0/+4
2021-06-18Auto merge of #85815 - YuhanLiin:buf-read-data-left, r=m-ou-sebors-0/+10
2021-06-17Rollup merge of #86202 - a1phyr:spec_io_bytes_size_hint, r=m-ou-seMara Bos-1/+19
2021-06-10Specialize `io::Bytes::size_hint` for more typesBenoît du Garreau-1/+19
2021-06-05Rename IoSlice(Mut)::advance_slice to advance_slicesThomas de Zeeuw-16/+16
2021-05-29Add has_data_left() to BufReadYuhanLiin-0/+10
2021-05-29Rename IoSlice(Mut)::advance to advance_sliceThomas de Zeeuw-18/+18
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-2/+2
2021-01-31Add tests for SizeHint implementationsXavientois-2/+29
2021-01-31Use fully qualified syntax to avoid dynXavientois-1/+21
2020-11-13move copy specialization tests to their own moduleThe8472-181/+0
2020-11-13add benchmarksThe8472-1/+131