- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 21 - 30 of 473 for test (0.07 sec)
-
Processing a Series of Items with Iterators - T...
rs #[cfg(test)] mod tests { #[test] fn iterator_demonstration()...src/lib.rs #[cfg(test)] mod tests { #[test] fn iterator_sum()...doc.rust-lang.org/book/ch13-02-iterators.htmlRegistered: Fri May 10 01:28:51 UTC 2024 - Last Modified: Thu May 02 12:18:16 UTC 2024 - 41.7K bytes - Viewed (0) -
Simd in std::simd - Rust
copy_to_slice( &mut dest); assert_eq! ( & dest, & [ 1 , 2 , 3 ,...<T, N>) -> bool This method tests for self and other values to...doc.rust-lang.org/std/simd/struct.Simd.htmlRegistered: Fri May 10 02:14:39 UTC 2024 - Last Modified: Thu May 02 12:26:29 UTC 2024 - 2.1M bytes - Viewed (0) -
Simd in std::simd::prelude - Rust
copy_to_slice( &mut dest); assert_eq! ( & dest, & [ 1 , 2 , 3 ,...<T, N>) -> bool This method tests for self and other values to...doc.rust-lang.org/std/simd/prelude/struct.Simd.htmlRegistered: Fri May 10 01:50:45 UTC 2024 - Last Modified: Thu May 02 12:26:28 UTC 2024 - 2.1M bytes - Viewed (0) -
SimdPartialEq in std::simd::cmp - Rust
( portable_simd #86656 ) Test if each element is equal to...API. ( portable_simd #86656 ) Test if each element is equal to...doc.rust-lang.org/std/simd/cmp/trait.SimdPartialEq.htmlRegistered: Fri May 10 02:35:23 UTC 2024 - Last Modified: Thu May 02 12:26:28 UTC 2024 - 39.2K bytes - Viewed (0) -
std::process - Rust
write_all( b"test" ).expect( "failed to write...on child" ); assert_eq! ( b"test" , output.stdout.as_slice());...doc.rust-lang.org/std/process/index.htmlRegistered: Fri May 10 01:39:38 UTC 2024 - Last Modified: Thu May 02 12:26:27 UTC 2024 - 20.6K bytes - Viewed (0) -
Reading a File - The Rust Programming Language
Dickinson makes a good test case With the text in place, edit src/main.rs...First, we need a sample file to test it with: we’ll use a file with...doc.rust-lang.org/book/ch12-02-reading-a-file.htmlRegistered: Fri May 10 01:30:38 UTC 2024 - Last Modified: Thu May 02 12:18:16 UTC 2024 - 31K bytes - Viewed (0) -
writeln in std - Rust
"test" ) ? ; writeln! ( &mut w, "formatted...? ; assert_eq! ( & w[..], "\ntest\nformatted arguments\n" .as_bytes());...doc.rust-lang.org/std/macro.writeln.htmlRegistered: Fri May 10 01:43:54 UTC 2024 - Last Modified: Thu May 02 12:26:23 UTC 2024 - 6.6K bytes - Viewed (0) -
format in std - Rust
( "test" ); // => "test" format! ( "hello {}"...doc.rust-lang.org/std/macro.format.htmlRegistered: Fri May 10 01:31:57 UTC 2024 - Last Modified: Thu May 02 12:26:23 UTC 2024 - 7.6K bytes - Viewed (0) -
CastTransmute in std::intrinsics::mir - Rust
Needed to test the UB when sizeof(T) != sizeof(U)...doc.rust-lang.org/std/intrinsics/mir/fn.CastTransmute.htmlRegistered: Fri May 10 02:54:32 UTC 2024 - Last Modified: Thu May 02 12:26:20 UTC 2024 - 4.9K bytes - Viewed (0) -
Comparing Performance: Loops vs. Iterators - Th...
the version using iterators: test bench_search_for ... bench:...19,620,300 ns/iter (+/- 915,700) test bench_search_iter ... bench:...doc.rust-lang.org/book/ch13-04-performance.htmlRegistered: Fri May 10 01:29:40 UTC 2024 - Last Modified: Thu May 02 12:18:21 UTC 2024 - 32.5K bytes - Viewed (0)