summaryrefslogtreecommitdiff
path: root/library/std/src/io/tests.rs
Commit message (Expand)AuthorAgeFilesLines
* Limit read size in `File::read_to_end` loopChris Denton2023-04-211-1/+1
* Rollup merge of #97015 - nrc:read-buf-cursor, r=Mark-SimulacrumMatthias Krüger2022-08-281-10/+10
|\
| * non-linux platformsNick Cameron2022-08-051-3/+3
| * std::io: migrate ReadBuf to BorrowBuf/BorrowCursorNick Cameron2022-08-041-10/+10
* | make many std tests work in MiriRalf Jung2022-08-181-1/+2
|/
* Rollup merge of #95040 - frank-king:fix/94981, r=Mark-SimulacrumYuki Okushi2022-07-251-0/+19
|\
| * protect `std::io::Take::limit` from overflow in `read`Frank King2022-05-291-0/+19
* | Update tests.Mara Bos2022-03-111-4/+4
|/
* Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni2022-02-041-2/+2
* read_bufDrMeepster2021-11-021-1/+44
* Optimize File::read_to_end and read_to_stringJohn Kugelman2021-10-071-1/+1
* Fix read_to_end to not grow an exact size bufferJohn Kugelman2021-09-221-15/+3
* Stabilize `Seek::rewind`Aris Merchant2021-07-011-0/+4
* Auto merge of #85815 - YuhanLiin:buf-read-data-left, r=m-ou-sebors2021-06-181-0/+10
|\
| * Add has_data_left() to BufReadYuhanLiin2021-05-291-0/+10
* | Rollup merge of #86202 - a1phyr:spec_io_bytes_size_hint, r=m-ou-seMara Bos2021-06-171-1/+19
|\ \
| * | Specialize `io::Bytes::size_hint` for more typesBenoît du Garreau2021-06-101-1/+19
| |/
* | Rename IoSlice(Mut)::advance_slice to advance_slicesThomas de Zeeuw2021-06-051-16/+16
* | Rename IoSlice(Mut)::advance to advance_sliceThomas de Zeeuw2021-05-291-18/+18
|/
* Use io::Error::new_const everywhere to avoid allocations.Mara Bos2021-03-211-2/+2
* Add tests for SizeHint implementationsXavientois2021-01-311-2/+29
* Use fully qualified syntax to avoid dynXavientois2021-01-311-1/+21
* move copy specialization tests to their own moduleThe84722020-11-131-181/+0
* add benchmarksThe84722020-11-131-1/+131
* move tests module into separate fileThe84722020-11-131-1/+52
* std: move "mod tests/benches" to separate filesLzu Tao2020-08-311-0/+494