/external/rust/crates/fnv/ |
D | lib.rs | 163 assert_eq!(fnv1a(b""), 0xcbf29ce484222325); in basic_tests() 164 assert_eq!(fnv1a(b"a"), 0xaf63dc4c8601ec8c); in basic_tests() 165 assert_eq!(fnv1a(b"b"), 0xaf63df4c8601f1a5); in basic_tests() 166 assert_eq!(fnv1a(b"c"), 0xaf63de4c8601eff2); in basic_tests() 167 assert_eq!(fnv1a(b"d"), 0xaf63d94c8601e773); in basic_tests() 168 assert_eq!(fnv1a(b"e"), 0xaf63d84c8601e5c0); in basic_tests() 169 assert_eq!(fnv1a(b"f"), 0xaf63db4c8601ead9); in basic_tests() 170 assert_eq!(fnv1a(b"fo"), 0x08985907b541d342); in basic_tests() 171 assert_eq!(fnv1a(b"foo"), 0xdcb27518fed9d577); in basic_tests() 172 assert_eq!(fnv1a(b"foob"), 0xdd120e790c2512af); in basic_tests() [all …]
|
/external/rust/crates/glam/tests/ |
D | swizzles_u32.rs | 8 assert_eq!(v, v.xyzw()); 9 assert_eq!(v.xxxx(), uvec4(1_u32, 1_u32, 1_u32, 1_u32)); 10 assert_eq!(v.xxxy(), uvec4(1_u32, 1_u32, 1_u32, 2_u32)); 11 assert_eq!(v.xxxz(), uvec4(1_u32, 1_u32, 1_u32, 3_u32)); 12 assert_eq!(v.xxxw(), uvec4(1_u32, 1_u32, 1_u32, 4_u32)); 13 assert_eq!(v.xxyx(), uvec4(1_u32, 1_u32, 2_u32, 1_u32)); 14 assert_eq!(v.xxyy(), uvec4(1_u32, 1_u32, 2_u32, 2_u32)); 15 assert_eq!(v.xxyz(), uvec4(1_u32, 1_u32, 2_u32, 3_u32)); 16 assert_eq!(v.xxyw(), uvec4(1_u32, 1_u32, 2_u32, 4_u32)); 17 assert_eq!(v.xxzx(), uvec4(1_u32, 1_u32, 3_u32, 1_u32)); [all …]
|
D | swizzles_f64.rs | 8 assert_eq!(v, v.xyzw()); 9 assert_eq!(v.xxxx(), dvec4(1_f64, 1_f64, 1_f64, 1_f64)); 10 assert_eq!(v.xxxy(), dvec4(1_f64, 1_f64, 1_f64, 2_f64)); 11 assert_eq!(v.xxxz(), dvec4(1_f64, 1_f64, 1_f64, 3_f64)); 12 assert_eq!(v.xxxw(), dvec4(1_f64, 1_f64, 1_f64, 4_f64)); 13 assert_eq!(v.xxyx(), dvec4(1_f64, 1_f64, 2_f64, 1_f64)); 14 assert_eq!(v.xxyy(), dvec4(1_f64, 1_f64, 2_f64, 2_f64)); 15 assert_eq!(v.xxyz(), dvec4(1_f64, 1_f64, 2_f64, 3_f64)); 16 assert_eq!(v.xxyw(), dvec4(1_f64, 1_f64, 2_f64, 4_f64)); 17 assert_eq!(v.xxzx(), dvec4(1_f64, 1_f64, 3_f64, 1_f64)); [all …]
|
D | swizzles_i32.rs | 8 assert_eq!(v, v.xyzw()); 9 assert_eq!(v.xxxx(), ivec4(1_i32, 1_i32, 1_i32, 1_i32)); 10 assert_eq!(v.xxxy(), ivec4(1_i32, 1_i32, 1_i32, 2_i32)); 11 assert_eq!(v.xxxz(), ivec4(1_i32, 1_i32, 1_i32, 3_i32)); 12 assert_eq!(v.xxxw(), ivec4(1_i32, 1_i32, 1_i32, 4_i32)); 13 assert_eq!(v.xxyx(), ivec4(1_i32, 1_i32, 2_i32, 1_i32)); 14 assert_eq!(v.xxyy(), ivec4(1_i32, 1_i32, 2_i32, 2_i32)); 15 assert_eq!(v.xxyz(), ivec4(1_i32, 1_i32, 2_i32, 3_i32)); 16 assert_eq!(v.xxyw(), ivec4(1_i32, 1_i32, 2_i32, 4_i32)); 17 assert_eq!(v.xxzx(), ivec4(1_i32, 1_i32, 3_i32, 1_i32)); [all …]
|
D | swizzles_f32.rs | 8 assert_eq!(v, v.xyzw()); 9 assert_eq!(v.xxxx(), vec4(1_f32, 1_f32, 1_f32, 1_f32)); 10 assert_eq!(v.xxxy(), vec4(1_f32, 1_f32, 1_f32, 2_f32)); 11 assert_eq!(v.xxxz(), vec4(1_f32, 1_f32, 1_f32, 3_f32)); 12 assert_eq!(v.xxxw(), vec4(1_f32, 1_f32, 1_f32, 4_f32)); 13 assert_eq!(v.xxyx(), vec4(1_f32, 1_f32, 2_f32, 1_f32)); 14 assert_eq!(v.xxyy(), vec4(1_f32, 1_f32, 2_f32, 2_f32)); 15 assert_eq!(v.xxyz(), vec4(1_f32, 1_f32, 2_f32, 3_f32)); 16 assert_eq!(v.xxyw(), vec4(1_f32, 1_f32, 2_f32, 4_f32)); 17 assert_eq!(v.xxzx(), vec4(1_f32, 1_f32, 3_f32, 1_f32)); [all …]
|
D | vec2.rs | 12 assert_eq!([1 as $t, 1 as $t], *V0.as_ref()); 13 assert_eq!([1 as $t, 2 as $t], *V1.as_ref()); 14 assert_eq!([1 as $t, 2 as $t], *V2.as_ref()); 18 assert_eq!($vec2::ZERO, $new(0 as $t, 0 as $t)); 19 assert_eq!($vec2::ONE, $new(1 as $t, 1 as $t)); 20 assert_eq!($vec2::X, $new(1 as $t, 0 as $t)); 21 assert_eq!($vec2::Y, $new(0 as $t, 1 as $t)); 27 assert_eq!(v.x, 1 as $t); 28 assert_eq!(v.y, 2 as $t); 32 assert_eq!(t, v.into()); [all …]
|
D | vec3.rs | 12 assert_eq!([1 as $t, 1 as $t, 1 as $t], *V0.as_ref()); 13 assert_eq!([1 as $t, 2 as $t, 3 as $t], *V1.as_ref()); 14 assert_eq!([1 as $t, 2 as $t, 3 as $t], *V2.as_ref()); 18 assert_eq!($vec3::ZERO, $new(0 as $t, 0 as $t, 0 as $t)); 19 assert_eq!($vec3::ONE, $new(1 as $t, 1 as $t, 1 as $t)); 20 assert_eq!($vec3::X, $new(1 as $t, 0 as $t, 0 as $t)); 21 assert_eq!($vec3::Y, $new(0 as $t, 1 as $t, 0 as $t)); 22 assert_eq!($vec3::Z, $new(0 as $t, 0 as $t, 1 as $t)); 28 assert_eq!(v.x, 1 as $t); 29 assert_eq!(v.y, 2 as $t); [all …]
|
D | vec4.rs | 12 assert_eq!([1 as $t, 1 as $t, 1 as $t, 1 as $t], *V0.as_ref()); 13 assert_eq!([1 as $t, 2 as $t, 3 as $t, 4 as $t], *V1.as_ref()); 14 assert_eq!([1 as $t, 2 as $t, 3 as $t, 4 as $t], *V2.as_ref()); 18 assert_eq!($vec4::ZERO, $new(0 as $t, 0 as $t, 0 as $t, 0 as $t)); 19 assert_eq!($vec4::ONE, $new(1 as $t, 1 as $t, 1 as $t, 1 as $t)); 20 assert_eq!($vec4::X, $new(1 as $t, 0 as $t, 0 as $t, 0 as $t)); 21 assert_eq!($vec4::Y, $new(0 as $t, 1 as $t, 0 as $t, 0 as $t)); 22 assert_eq!($vec4::Z, $new(0 as $t, 0 as $t, 1 as $t, 0 as $t)); 23 assert_eq!($vec4::W, $new(0 as $t, 0 as $t, 0 as $t, 1 as $t)); 29 assert_eq!(v.x, 1 as $t); [all …]
|
/external/crosvm/usb_util/src/ |
D | descriptor.rs | 266 assert_eq!(u16::from(d.bcdUSB), 0x03_00); in parse_descriptors_mass_storage() 267 assert_eq!(d.bDeviceClass, 0x00); in parse_descriptors_mass_storage() 268 assert_eq!(d.bDeviceSubClass, 0x00); in parse_descriptors_mass_storage() 269 assert_eq!(d.bDeviceProtocol, 0x00); in parse_descriptors_mass_storage() 270 assert_eq!(d.bMaxPacketSize0, 9); in parse_descriptors_mass_storage() 271 assert_eq!(u16::from(d.idVendor), 0x0781); in parse_descriptors_mass_storage() 272 assert_eq!(u16::from(d.idProduct), 0x5580); in parse_descriptors_mass_storage() 273 assert_eq!(u16::from(d.bcdDevice), 0x00_10); in parse_descriptors_mass_storage() 274 assert_eq!(d.iManufacturer, 1); in parse_descriptors_mass_storage() 275 assert_eq!(d.iProduct, 2); in parse_descriptors_mass_storage() [all …]
|
/external/rust/crates/minimal-lexical/tests/ |
D | lemire_tests.rs | 41 assert_eq!(compute_error32(0, 16777216), (111 + f32::INVALID_FP, 9223372036854775808)); in compute_error32_test() 42 assert_eq!(compute_error32(0, 16777217), (111 + f32::INVALID_FP, 9223372586610589696)); in compute_error32_test() 43 assert_eq!(compute_error32(0, 16777218), (111 + f32::INVALID_FP, 9223373136366403584)); in compute_error32_test() 44 assert_eq!(compute_error32(0, 16777219), (111 + f32::INVALID_FP, 9223373686122217472)); in compute_error32_test() 45 assert_eq!(compute_error32(0, 16777220), (111 + f32::INVALID_FP, 9223374235878031360)); in compute_error32_test() 49 assert_eq!( in compute_error32_test() 53 assert_eq!( in compute_error32_test() 57 assert_eq!( in compute_error32_test() 62 assert_eq!( in compute_error32_test() 66 assert_eq!( in compute_error32_test() [all …]
|
/external/rust/crates/bitreader/src/ |
D | tests.rs | 20 assert_eq!(reader.read_u8(1).unwrap(), 0b1); in read_buffer() 21 assert_eq!(reader.peek_u8(3).unwrap(), 0b011); in read_buffer() 22 assert_eq!(reader.read_u8(1).unwrap(), 0b0); in read_buffer() 23 assert_eq!(reader.read_u8(2).unwrap(), 0b11); in read_buffer() 29 assert_eq!(reader.position(), 4); in read_buffer() 30 assert_eq!(reader.remaining(), 60); in read_buffer() 32 assert_eq!(reader.read_u8(4).unwrap(), 0b0101); in read_buffer() 38 assert_eq!(reader.align(1), Ok(())); // shouldn't do anything if already aligned in read_buffer() 40 assert_eq!(reader.peek_u64(16).unwrap(), 0b110_1010_1010_1100); in read_buffer() 41 assert_eq!(reader.read_u8(3).unwrap(), 0b11); in read_buffer() [all …]
|
/external/rust/crates/atomic/src/ |
D | lib.rs | 397 assert_eq!(Atomic::<bool>::is_lock_free(), cfg!(has_atomic_u8),); in atomic_bool() 398 assert_eq!(format!("{:?}", a), "Atomic(false)"); in atomic_bool() 399 assert_eq!(a.load(SeqCst), false); in atomic_bool() 401 assert_eq!(a.swap(false, SeqCst), true); in atomic_bool() 402 assert_eq!(a.compare_exchange(true, false, SeqCst, SeqCst), Err(false)); in atomic_bool() 403 assert_eq!(a.compare_exchange(false, true, SeqCst, SeqCst), Ok(false)); in atomic_bool() 404 assert_eq!(a.fetch_and(false, SeqCst), true); in atomic_bool() 405 assert_eq!(a.fetch_or(true, SeqCst), false); in atomic_bool() 406 assert_eq!(a.fetch_xor(false, SeqCst), true); in atomic_bool() 407 assert_eq!(a.load(SeqCst), true); in atomic_bool() [all …]
|
/external/rust/crates/quiche/src/ |
D | stream.rs | 1674 assert_eq!(recv.len, 0); in empty_read() 1678 assert_eq!(recv.emit(&mut buf), Err(Error::Done)); in empty_read() 1684 assert_eq!(recv.len, 0); in empty_stream_frame() 1688 assert_eq!(recv.len, 5); in empty_stream_frame() 1689 assert_eq!(recv.off, 0); in empty_stream_frame() 1690 assert_eq!(recv.data.len(), 1); in empty_stream_frame() 1693 assert_eq!(recv.emit(&mut buf), Ok((5, false))); in empty_stream_frame() 1698 assert_eq!(recv.len, 5); in empty_stream_frame() 1699 assert_eq!(recv.off, 5); in empty_stream_frame() 1700 assert_eq!(recv.data.len(), 0); in empty_stream_frame() [all …]
|
/external/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/ |
D | other_api.rs | 45 assert_eq!(r.as_i8(), 3); // length. in as_num() 46 assert_eq!(r.as_i16(), 3); in as_num() 47 assert_eq!(r.as_i32(), 3); in as_num() 48 assert_eq!(r.as_i64(), 3); in as_num() 49 assert_eq!(r.as_u8(), 3); in as_num() 50 assert_eq!(r.as_u16(), 3); in as_num() 51 assert_eq!(r.as_u32(), 3); in as_num() 52 assert_eq!(r.as_u64(), 3); in as_num() 53 assert_eq!(r.as_f32(), 3.0); in as_num() 54 assert_eq!(r.as_f64(), 3.0); in as_num() [all …]
|
/external/rust/crates/tinyvec/tests/ |
D | arrayvec.rs | 17 assert_eq!(expected, actual); in test_a_vec() 19 assert_eq!(array_vec![0u8; 4], array_vec!(0u8, 0u8, 0u8, 0u8)); in test_a_vec() 20 assert_eq!(array_vec![0u8; 4], array_vec!([u8; 4] => 0, 0, 0, 0)); in test_a_vec() 21 assert_eq!(array_vec![0; 4], array_vec!(0, 0, 0, 0)); in test_a_vec() 22 assert_eq!(array_vec![0; 4], array_vec!([u8; 4] => 0, 0, 0, 0)); in test_a_vec() 26 assert_eq!(expected2, actual2); in test_a_vec() 32 assert_eq!(av.len(), 0); in ArrayVec_push_pop() 33 assert_eq!(av.pop(), None); in ArrayVec_push_pop() 36 assert_eq!(av.len(), 1); in ArrayVec_push_pop() 37 assert_eq!(av[0], 10); in ArrayVec_push_pop() [all …]
|
/external/rust/crates/tempfile/tests/ |
D | spooled.rs | 13 assert_eq!(t.seek(SeekFrom::Current(0)).unwrap(), 0); in test_automatic_rollover() 14 assert_eq!(t.read_to_end(&mut buf).unwrap(), 0); in test_automatic_rollover() 15 assert_eq!(buf.as_slice(), b""); in test_automatic_rollover() 18 assert_eq!(t.write(b"abcde").unwrap(), 5); in test_automatic_rollover() 21 assert_eq!(t.seek(SeekFrom::Start(0)).unwrap(), 0); in test_automatic_rollover() 22 assert_eq!(t.read_to_end(&mut buf).unwrap(), 5); in test_automatic_rollover() 23 assert_eq!(buf.as_slice(), b"abcde"); in test_automatic_rollover() 25 assert_eq!(t.write(b"fghijklmno").unwrap(), 10); in test_automatic_rollover() 27 assert_eq!(t.seek(SeekFrom::Current(0)).unwrap(), 15); in test_automatic_rollover() 34 assert_eq!(t.write(b"abcdefghijklmnopqrstuvwxyz").unwrap(), 26); in test_explicit_rollover() [all …]
|
/external/rust/crates/serde_json/tests/lexical/ |
D | rounding.rs | 11 assert_eq!(lower_n_mask(0u64), 0b0); in lower_n_mask_test() 12 assert_eq!(lower_n_mask(1u64), 0b1); in lower_n_mask_test() 13 assert_eq!(lower_n_mask(2u64), 0b11); in lower_n_mask_test() 14 assert_eq!(lower_n_mask(10u64), 0b1111111111); in lower_n_mask_test() 15 assert_eq!(lower_n_mask(32u64), 0b11111111111111111111111111111111); in lower_n_mask_test() 20 assert_eq!(lower_n_halfway(0u64), 0b0); in lower_n_halfway_test() 21 assert_eq!(lower_n_halfway(1u64), 0b1); in lower_n_halfway_test() 22 assert_eq!(lower_n_halfway(2u64), 0b10); in lower_n_halfway_test() 23 assert_eq!(lower_n_halfway(10u64), 0b1000000000); in lower_n_halfway_test() 24 assert_eq!(lower_n_halfway(32u64), 0b10000000000000000000000000000000); in lower_n_halfway_test() [all …]
|
/external/rust/crates/unicode-bidi/src/char_data/ |
D | mod.rs | 95 assert_eq!(bidi_class('\u{0000}'), BN); in test_ascii() 96 assert_eq!(bidi_class('\u{0040}'), ON); in test_ascii() 97 assert_eq!(bidi_class('\u{0041}'), L); in test_ascii() 98 assert_eq!(bidi_class('\u{0062}'), L); in test_ascii() 99 assert_eq!(bidi_class('\u{007F}'), BN); in test_ascii() 105 assert_eq!(bidi_class('\u{0590}'), R); in test_bmp() 106 assert_eq!(bidi_class('\u{05D0}'), R); in test_bmp() 107 assert_eq!(bidi_class('\u{05D1}'), R); in test_bmp() 108 assert_eq!(bidi_class('\u{05FF}'), R); in test_bmp() 111 assert_eq!(bidi_class('\u{0600}'), AN); in test_bmp() [all …]
|
/external/rust/crates/async-task/tests/ |
D | waker_pending.rs | 108 assert_eq!(POLL.load(Ordering::SeqCst), 2); in wake_during_run() 109 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 2); in wake_during_run() 110 assert_eq!(DROP_F.load(Ordering::SeqCst), 0); in wake_during_run() 111 assert_eq!(DROP_S.load(Ordering::SeqCst), 0); in wake_during_run() 112 assert_eq!(chan.len(), 1); in wake_during_run() 118 assert_eq!(POLL.load(Ordering::SeqCst), 2); in wake_during_run() 119 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake_during_run() 120 assert_eq!(DROP_F.load(Ordering::SeqCst), 0); in wake_during_run() 121 assert_eq!(DROP_S.load(Ordering::SeqCst), 0); in wake_during_run() 122 assert_eq!(chan.len(), 0); in wake_during_run() [all …]
|
D | waker_ready.rs | 110 assert_eq!(POLL.load(Ordering::SeqCst), 1); in wake() 111 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 0); in wake() 112 assert_eq!(DROP_F.load(Ordering::SeqCst), 0); in wake() 113 assert_eq!(DROP_S.load(Ordering::SeqCst), 0); in wake() 114 assert_eq!(chan.len(), 0); in wake() 118 assert_eq!(POLL.load(Ordering::SeqCst), 1); in wake() 119 assert_eq!(SCHEDULE.load(Ordering::SeqCst), 1); in wake() 120 assert_eq!(DROP_F.load(Ordering::SeqCst), 0); in wake() 121 assert_eq!(DROP_S.load(Ordering::SeqCst), 0); in wake() 122 assert_eq!(chan.len(), 0); in wake() [all …]
|
/external/rust/crates/const-oid/tests/ |
D | lib.rs | 34 assert_eq!(oid0.arc(0).unwrap(), 0); in from_bytes() 35 assert_eq!(oid0.arc(1).unwrap(), 9); in from_bytes() 36 assert_eq!(oid0, EXAMPLE_OID_0); in from_bytes() 39 assert_eq!(oid1.arc(0).unwrap(), 1); in from_bytes() 40 assert_eq!(oid1.arc(1).unwrap(), 2); in from_bytes() 41 assert_eq!(oid1, EXAMPLE_OID_1); in from_bytes() 44 assert_eq!(oid2.arc(0).unwrap(), 2); in from_bytes() 45 assert_eq!(oid2.arc(1).unwrap(), 16); in from_bytes() 46 assert_eq!(oid2, EXAMPLE_OID_2); in from_bytes() 49 assert_eq!(oid3.arc(0).unwrap(), 0); in from_bytes() [all …]
|
/external/crosvm/media/cros-codecs/src/decoders/vp9/backends/ |
D | vaapi.rs | 520 assert_eq!(pic_param.inner().frame_width, 320); in test_25fps_vp9() 521 assert_eq!(pic_param.inner().frame_height, 240); in test_25fps_vp9() 522 assert_eq!( in test_25fps_vp9() 528 assert_eq!(unsafe { pic_param.inner().pic_fields.value }, unsafe { in test_25fps_vp9() 536 assert_eq!(pic_param.inner().filter_level, 9); in test_25fps_vp9() 537 assert_eq!(pic_param.inner().sharpness_level, 0); in test_25fps_vp9() 538 assert_eq!(pic_param.inner().log2_tile_rows, 0); in test_25fps_vp9() 539 assert_eq!(pic_param.inner().log2_tile_columns, 0); in test_25fps_vp9() 540 assert_eq!(pic_param.inner().frame_header_length_in_bytes, 18); in test_25fps_vp9() 541 assert_eq!(pic_param.inner().first_partition_size, 120); in test_25fps_vp9() [all …]
|
/external/rust/crates/clap/3.2.23/src/builder/ |
D | usage_parser.rs | 253 assert_eq!(a.name, "flag"); in create_flag_usage() 254 assert_eq!(a.short.unwrap(), 'f'); in create_flag_usage() 256 assert_eq!(a.help.unwrap(), "some help info"); in create_flag_usage() 261 assert_eq!(a.name, "flag"); in create_flag_usage() 262 assert_eq!(a.long.unwrap(), "flag"); in create_flag_usage() 264 assert_eq!(a.help.unwrap(), "some help info"); in create_flag_usage() 269 assert_eq!(a.name, "flag"); in create_flag_usage() 270 assert_eq!(a.long.unwrap(), "flag"); in create_flag_usage() 272 assert_eq!(a.help.unwrap(), "some help info"); in create_flag_usage() 277 assert_eq!(a.name, "flag"); in create_flag_usage() [all …]
|
/external/rust/crates/bstr/src/ |
D | utf8.rs | 881 assert_eq!(Ok(()), utf8::validate(s.as_bytes())); in validate_all_codepoints() 887 assert_eq!(Ok(()), utf8::validate(b"abc")); in validate_multiple_codepoints() 888 assert_eq!(Ok(()), utf8::validate(b"a\xE2\x98\x83a")); in validate_multiple_codepoints() 889 assert_eq!(Ok(()), utf8::validate(b"a\xF0\x9D\x9C\xB7a")); in validate_multiple_codepoints() 890 assert_eq!(Ok(()), utf8::validate(b"\xE2\x98\x83\xF0\x9D\x9C\xB7",)); in validate_multiple_codepoints() 891 assert_eq!( in validate_multiple_codepoints() 895 assert_eq!( in validate_multiple_codepoints() 904 assert_eq!(Err(utf8e2(0, 1)), utf8::validate(b"\xFF")); in validate_errors() 906 assert_eq!(Err(utf8e2(1, 1)), utf8::validate(b"a\xFF")); in validate_errors() 908 assert_eq!(Err(utf8e2(2, 1)), utf8::validate(b"\xCE\xB2\xFF")); in validate_errors() [all …]
|
/external/rust/crates/slab/tests/ |
D | slab.rs | 14 assert_eq!(slab[key], 10); in insert_get_remove_one() 15 assert_eq!(slab.get(key), Some(&10)); in insert_get_remove_one() 19 assert_eq!(slab.remove(key), 10); in insert_get_remove_one() 30 assert_eq!(slab[key], i + 10); in insert_get_many() 33 assert_eq!(slab.capacity(), 10); in insert_get_many() 37 assert_eq!(slab[key], 20); in insert_get_many() 40 assert_eq!(slab.capacity(), 20); in insert_get_many() 54 assert_eq!(slab[key], val); in insert_get_remove_many() 58 assert_eq!(val, slab.remove(key)); in insert_get_remove_many() 62 assert_eq!(10, slab.capacity()); in insert_get_remove_many() [all …]
|