summary refs log tree commit diff
path: root/library/std/src/io/tests.rs
AgeCommit message (Expand)AuthorLines
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-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
2020-11-13move tests module into separate fileThe8472-1/+52
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+494