/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/misc/broot/broot-1.7.0/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/bytemuck-1.7.3/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/bytemuck/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/graphics/viu/viu-1.1/cargo-crates/bytemuck-1.4.1/tests/ |
H A D | cast_slice_tests.rs | 128 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 129 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 130 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 137 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 138 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 139 assert_eq!(from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, a_addr); in test_from_bytes_mut() 163 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 164 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/bytemuck-1.7.0/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/www/zola/zola-0.15.2/cargo-crates/bytemuck-1.7.2/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/bytemuck-1.7.3/tests/ |
H A D | cast_slice_tests.rs | 151 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 152 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 153 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 160 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 161 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 163 from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, in test_from_bytes_mut() 192 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 193 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/bytemuck-1.4.1/tests/ |
H A D | cast_slice_tests.rs | 128 let aligned_bytes = bytemuck::bytes_of(&abcd); in test_from_bytes() localVariable 129 assert_eq!(from_bytes::<u32>(aligned_bytes), &abcd); in test_from_bytes() 130 assert!(core::ptr::eq(from_bytes(aligned_bytes), &abcd)); in test_from_bytes() 137 let aligned_bytes = bytemuck::bytes_of_mut(&mut a); in test_from_bytes_mut() localVariable 138 assert_eq!(*from_bytes_mut::<u32>(aligned_bytes), 0xaabbccdd_u32); in test_from_bytes_mut() 139 assert_eq!(from_bytes_mut::<u32>(aligned_bytes) as *const u32 as usize, a_addr); in test_from_bytes_mut() 163 let aligned_bytes = bytemuck::cast_slice::<u32, u8>(&[0, 0]); in test_panics() localVariable 164 should_panic!(from_bytes::<u32>(&aligned_bytes[1..5])); in test_panics()
|
/dports/sysutils/cpdup/cpdup-1.22/src/ |
H A D | hclink.c | 155 int aligned_bytes; in hcc_read_command() local 188 aligned_bytes = HCC_ALIGN(tmp.bytes); in hcc_read_command() 190 while (n < aligned_bytes) { in hcc_read_command() 191 r = read(hc->fdin, trans->rbuf + n, aligned_bytes - n); in hcc_read_command() 255 int aligned_bytes; in hcc_finish_command() local 261 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_command() 266 if (write(hc->fdout, whead, aligned_bytes) != aligned_bytes) { in hcc_finish_command() 310 int aligned_bytes; in hcc_finish_reply() local 315 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_reply() 319 return (write(trans->hc->fdout, whead, aligned_bytes) == aligned_bytes); in hcc_finish_reply() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 114 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 115 if (aligned_bytes == 0){ in expand() 122 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 126 if (aligned_expand_bytes > aligned_bytes) { in expand() 130 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 114 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 115 if (aligned_bytes == 0){ in expand() 122 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 126 if (aligned_expand_bytes > aligned_bytes) { in expand() 130 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 114 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 115 if (aligned_bytes == 0){ in expand() 122 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 126 if (aligned_expand_bytes > aligned_bytes) { in expand() 130 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 111 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 112 if (aligned_bytes == 0){ in expand() 119 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 123 if (aligned_expand_bytes > aligned_bytes) { in expand() 127 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 111 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 112 if (aligned_bytes == 0){ in expand() 119 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 123 if (aligned_expand_bytes > aligned_bytes) { in expand() 127 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 114 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 115 if (aligned_bytes == 0){ in expand() 122 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 126 if (aligned_expand_bytes > aligned_bytes) { in expand() 130 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 111 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 112 if (aligned_bytes == 0){ in expand() 119 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 123 if (aligned_expand_bytes > aligned_bytes) { in expand() 127 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/shared/ |
H A D | cardGeneration.cpp | 114 size_t aligned_bytes = ReservedSpace::page_align_size_up(bytes); in expand() local 115 if (aligned_bytes == 0){ in expand() 122 aligned_bytes = ReservedSpace::page_align_size_down(bytes); in expand() 126 if (aligned_expand_bytes > aligned_bytes) { in expand() 130 success = grow_by(aligned_bytes); in expand()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/parallel/ |
H A D | psOldGen.cpp | 196 size_t aligned_bytes = align_up(bytes, alignment); in expand() local 204 if (aligned_bytes == 0){ in expand() 211 aligned_bytes = align_down(bytes, alignment); in expand() 215 if (aligned_expand_bytes > aligned_bytes) { in expand() 219 success = expand_by(aligned_bytes); in expand()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/parallel/ |
H A D | psOldGen.cpp | 222 size_t aligned_bytes = align_up(bytes, alignment); in expand() local 230 if (aligned_bytes == 0){ in expand() 237 aligned_bytes = align_down(bytes, alignment); in expand() 241 if (aligned_expand_bytes > aligned_bytes) { in expand() 245 success = expand_by(aligned_bytes); in expand()
|