/dports/net/miredo/miredo-1.2.6/libteredo/test/ |
H A D | list.c | 64 static bool try_insert (teredo_peerlist *l, struct in6_addr *addr) in try_insert() function 79 if ((i & 1) ? !try_insert (l, &addr) : try_lookup (l, &addr)) in test_list() 99 if ((i & 1) ? ((i < 255) != try_insert (l, &addr)) in test_list() 158 if ((i & 1) ? !try_insert (l, &addr) : try_lookup (l, &addr)) in test_list()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/generational-arena-0.2.8/tests/ |
H A D | tests.rs | 8 let i = arena.try_insert(42).unwrap(); in can_decompose_index() 17 let i = arena.try_insert(42).unwrap(); in can_get_live_value() 24 let i = arena.try_insert(42).unwrap(); in cannot_get_free_value() 32 let i = arena.try_insert(42).unwrap(); in cannot_get_other_generation_value() 35 let j = arena.try_insert(42).unwrap(); in cannot_get_other_generation_value() 44 arena.try_insert(42).unwrap(); in try_insert_when_full() 45 assert_eq!(arena.try_insert(42).unwrap_err(), 42); in try_insert_when_full()
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/arrayvec/tests/ |
H A D | tests.rs | 235 let ret2 = v.try_insert(1, 9); in test_insert() 240 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 241 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 383 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 384 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 393 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 429 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/arrayvec-0.4.7/tests/ |
H A D | tests.rs | 235 let ret2 = v.try_insert(1, 9); in test_insert() 240 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 241 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 383 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 384 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 393 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 429 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/cbindgen-0.9.1/src/bindgen/ |
H A D | parser.rs | 390 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 711 if !self.constants.try_insert(constant) { in load_syn_const() 744 self.globals.try_insert(constant); in load_syn_static() 768 self.structs.try_insert(st); in load_syn_struct() 773 self.opaque_items.try_insert( in load_syn_struct() 786 self.unions.try_insert(st); in load_syn_union() 791 self.opaque_items.try_insert( in load_syn_union() 811 self.enums.try_insert(en); in load_syn_enum() 816 self.opaque_items.try_insert( in load_syn_enum() 829 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/cbindgen-0.20.0/src/bindgen/ |
H A D | parser.rs | 434 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 862 if !self.constants.try_insert(constant) { in load_syn_const() 898 self.globals.try_insert(constant); in load_syn_static() 928 self.structs.try_insert(st); in load_syn_struct() 933 self.opaque_items.try_insert( in load_syn_struct() 952 self.unions.try_insert(st); in load_syn_union() 957 self.opaque_items.try_insert( in load_syn_union() 975 self.enums.try_insert(en); in load_syn_enum() 980 self.opaque_items.try_insert( in load_syn_enum() 993 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/devel/rust-cbindgen/cbindgen-0.20.0/src/bindgen/ |
H A D | parser.rs | 434 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 862 if !self.constants.try_insert(constant) { in load_syn_const() 898 self.globals.try_insert(constant); in load_syn_static() 928 self.structs.try_insert(st); in load_syn_struct() 933 self.opaque_items.try_insert( in load_syn_struct() 952 self.unions.try_insert(st); in load_syn_union() 957 self.opaque_items.try_insert( in load_syn_union() 975 self.enums.try_insert(en); in load_syn_enum() 980 self.opaque_items.try_insert( in load_syn_enum() 993 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/cargo-crates/cbindgen-0.13.2/src/bindgen/ |
H A D | parser.rs | 379 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 787 if !self.constants.try_insert(constant) { in load_syn_const() 823 self.globals.try_insert(constant); in load_syn_static() 853 self.structs.try_insert(st); in load_syn_struct() 858 self.opaque_items.try_insert( in load_syn_struct() 877 self.unions.try_insert(st); in load_syn_union() 882 self.opaque_items.try_insert( in load_syn_union() 908 self.enums.try_insert(en); in load_syn_enum() 913 self.opaque_items.try_insert( in load_syn_enum() 926 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/graphics/libopenraw/libopenraw-0.3.0/cargo-crates/cbindgen-0.14.3/src/bindgen/ |
H A D | parser.rs | 376 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 801 if !self.constants.try_insert(constant) { in load_syn_const() 837 self.globals.try_insert(constant); in load_syn_static() 867 self.structs.try_insert(st); in load_syn_struct() 872 self.opaque_items.try_insert( in load_syn_struct() 891 self.unions.try_insert(st); in load_syn_union() 896 self.opaque_items.try_insert( in load_syn_union() 922 self.enums.try_insert(en); in load_syn_enum() 927 self.opaque_items.try_insert( in load_syn_enum() 940 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/cbindgen-0.20.0/src/bindgen/ |
H A D | parser.rs | 434 self.opaque_items.try_insert(OpaqueItem::new( in add_std_types() 862 if !self.constants.try_insert(constant) { in load_syn_const() 898 self.globals.try_insert(constant); in load_syn_static() 928 self.structs.try_insert(st); in load_syn_struct() 933 self.opaque_items.try_insert( in load_syn_struct() 952 self.unions.try_insert(st); in load_syn_union() 957 self.opaque_items.try_insert( in load_syn_union() 975 self.enums.try_insert(en); in load_syn_enum() 980 self.opaque_items.try_insert( in load_syn_enum() 993 self.typedefs.try_insert(st); in load_syn_ty() [all …]
|
/dports/security/cloak/cloak-0.2.0/cargo-crates/arrayvec-0.4.10/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/multimedia/scte35dump/scte35dump-0.1.6/cargo-crates/arrayvec-0.4.11/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/arrayvec-0.4.11/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/arrayvec-0.4.11/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/arrayvec-0.4.10/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/arrayvec-0.4.10/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/security/suricata/suricata-6.0.4/rust/vendor/arrayvec/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/devel/tokei/tokei-12.1.2/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/www/zola/zola-0.15.2/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/sysutils/potnet/potnet-0.4.4/cargo-crates/arrayvec-0.4.11/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/arrayvec-0.4.12/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/arrayvec-0.4.11/tests/ |
H A D | tests.rs | 262 let ret2 = v.try_insert(1, 9); in test_insert() 267 assert_matches!(v.try_insert(0, 1), Err(CapacityError { .. })); in test_insert() 268 assert_matches!(v.try_insert(1, 1), Err(CapacityError { .. })); in test_insert() 410 let result1 = v.try_insert(0, "a"); in test_insert_at_length() 411 let result2 = v.try_insert(1, "b"); in test_insert_at_length() 420 let _ = v.try_insert(1, "test"); in test_insert_out_of_bounds() 456 let ret = array.try_insert(1, Bump(flag)); in test_drop_in_insert()
|