rust/library/std/src
Mikhail Zabaluev 674dd623ee Reduce branching in write_vectored for BufWriter
Do what write does and optimize for the most likely case:
slices are much smaller than the buffer. If a slice does not fit
completely in the remaining capacity of the buffer, it is left out
rather than buffered partially. Special treatment is only left for
oversized slices that are written directly to the underlying writer.
2020-11-22 17:05:14 +02:00
..
backtrace Add column number support to Backtrace 2020-11-15 13:09:56 +01:00
collections Rollup merge of #77996 - tkaitchuck:master, r=m-ou-se 2020-11-13 15:26:10 +01:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
ffi Fix bootstrap doctest failure 2020-10-26 22:09:47 -04:00
fs std: Fix test got_symlink_permission on Windows 2020-11-16 21:09:26 +03:00
io Reduce branching in write_vectored for BufWriter 2020-11-22 17:05:14 +02:00
lazy std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
memchr std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
net Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obk 2020-10-25 18:43:40 +09:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Take sys/vxworks/{fd,fs,io} from sys/unix instead. 2020-10-16 06:19:00 +02:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
prelude Fix incorrect link in prelude 2020-09-02 17:38:21 -04:00
process std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
sync Convert a bunch of intra-doc links 2020-11-07 12:50:57 -08:00
sys Auto merge of #79205 - rust-lang:jdm-patch-1, r=m-ou-se 2020-11-20 13:42:44 +00:00
sys_common Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dtolnay 2020-10-16 02:10:15 +02:00
thread Merge set_panic and set_print into set_output_capture. 2020-11-10 21:58:13 +01:00
time Duration::zero() -> Duration::ZERO 2020-10-21 20:44:03 -07:00
alloc.rs Add missing newline to error message of the default OOM hook 2020-11-10 00:15:07 +08:00
ascii.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
backtrace.rs Add column number support to Backtrace 2020-11-15 13:09:56 +01:00
env.rs Improve docs for std::env::args() 2020-09-04 14:00:09 -07:00
error.rs Rename LayoutErr to LayoutError outside of core 2020-10-08 00:40:10 -04:00
f32.rs Auto merge of #77872 - Xaeroxe:stabilize-clamp, r=scottmcm 2020-11-22 10:50:04 +00:00
f64.rs Auto merge of #77872 - Xaeroxe:stabilize-clamp, r=scottmcm 2020-11-22 10:50:04 +00:00
fs.rs Disambiguate symlink argument names 2020-11-14 14:46:14 -08:00
future.rs Fix stabilization marker for future_readiness_fns 2020-09-15 23:12:08 +02:00
keyword_docs.rs Clean up docs for 'as' keyword 2020-11-04 16:05:55 -08:00
lazy.rs Simplify SyncOnceCell's take and drop. 2020-09-12 14:00:38 +02:00
lib.rs Auto merge of #77872 - Xaeroxe:stabilize-clamp, r=scottmcm 2020-11-22 10:50:04 +00:00
macros.rs Use ? in core/std macros 2020-10-26 07:15:37 +09:00
memchr.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
num.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
panic.rs Add tracking issue number for panic_any. 2020-10-28 21:23:45 +01:00
panicking.rs Merge set_panic and set_print into set_output_capture. 2020-11-10 21:58:13 +01:00
path.rs Clean up intra-doc links in std::path 2020-10-27 20:54:30 -07:00
primitive_docs.rs Rollup merge of #78757 - camelid:crate-link-text, r=jyn514 2020-11-05 10:30:02 +01:00
process.rs Apply suggestions from code review 2020-10-31 17:28:44 +01:00
rt.rs Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
time.rs Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00