/dports/lang/rust/rustc-1.58.1-src/src/test/ui/consts/min_const_fn/ |
H A D | min_const_unsafe_fn_libstd_stability.rs | 11 const unsafe fn foo() -> u32 { 42 } in foo() const 16 const unsafe fn bar() -> u32 { unsafe { foo() } } //~ ERROR not yet stable as a const fn in bar() const 19 const unsafe fn foo2() -> u32 { 42 } in foo2() const 24 const unsafe fn bar2() -> u32 { unsafe { foo2() } } //~ ERROR not yet stable as a const fn in bar2() const 29 const unsafe fn bar3() -> u32 { (5f32 + 6f32) as u32 } in bar3() const 34 const unsafe fn foo2_gated() -> u32 { 42 } in foo2_gated() const 39 const unsafe fn bar2_gated() -> u32 { unsafe { foo2_gated() } } in bar2_gated() const
|
H A D | min_const_fn_unsafe_ok.rs | 3 const unsafe fn ret_i32_no_unsafe() -> i32 { 42 } in ret_i32_no_unsafe() const 4 const unsafe fn ret_null_ptr_no_unsafe<T>() -> *const T { std::ptr::null() } in ret_null_ptr_no_unsafe() const 5 const unsafe fn ret_null_mut_ptr_no_unsafe<T>() -> *mut T { std::ptr::null_mut() } in ret_null_mut_ptr_no_unsafe() const 20 const unsafe fn call_unsafe_const_unsafe_fn() -> i32 { in call_unsafe_const_unsafe_fn() const 23 const unsafe fn call_unsafe_generic_const_unsafe_fn() -> *const String { in call_unsafe_generic_const_unsafe_fn() const 26 const unsafe fn call_unsafe_generic_cell_const_unsafe_fn() in call_unsafe_generic_cell_const_unsafe_fn() const 32 const unsafe fn call_unsafe_const_unsafe_fn_immediate() -> i32 { in call_unsafe_const_unsafe_fn_immediate() const 35 const unsafe fn call_unsafe_generic_const_unsafe_fn_immediate() -> *const String { in call_unsafe_generic_const_unsafe_fn_immediate() const 38 const unsafe fn call_unsafe_generic_cell_const_unsafe_fn_immediate() in call_unsafe_generic_cell_const_unsafe_fn_immediate() const
|
/dports/lang/rust/rustc-1.58.1-src/src/doc/reference/src/ |
H A D | behavior-not-considered-unsafe.md | 7 ##### Deadlocks 8 ##### Leaks of memory and other resources 9 ##### Exiting without calling destructors 10 ##### Exposing randomized base addresses through pointer leaks 11 ##### Integer overflow 39 ##### Logic errors
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 43 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 46 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 49 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 52 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 55 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 61 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 65 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 69 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 72 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 75 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 43 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 46 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 49 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 52 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 55 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 61 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 65 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 69 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 72 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 75 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 44 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 47 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 50 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 53 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 56 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 62 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 66 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 70 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 73 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 76 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 44 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 47 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 50 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 53 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 56 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 62 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 66 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 70 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 73 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 76 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 44 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 47 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 50 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 53 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 56 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 62 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 66 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 70 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 73 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 76 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 43 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 46 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 49 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 52 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 55 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 61 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 65 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 69 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 72 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 75 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 43 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 46 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 49 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 52 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 55 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 61 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 65 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 69 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 72 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 75 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/compiler/unsafe/ |
H A D | UnsafeRaw.java | 43 public static int int_index(Unsafe unsafe, long base, int index) throws Exception { in int_index() 46 public static int long_index(Unsafe unsafe, long base, long index) throws Exception { in long_index() 49 public static int int_index_back_ashift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_ashift() 52 public static int int_index_back_lshift(Unsafe unsafe, long base, int index) throws Exception { in int_index_back_lshift() 55 … public static int long_index_back_ashift(Unsafe unsafe, long base, long index) throws Exception { in long_index_back_ashift() 61 public static int int_const_12345678_index(Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 65 public static int long_const_1234567890abcdef_index(Unsafe unsafe, long base) throws Exception { in long_const_1234567890abcdef_index() 69 public static int int_index_mul(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 72 public static int long_index_mul(Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() 75 public static int int_index_mul_scale_16(Unsafe unsafe, long base, int index) throws Exception { in int_index_mul_scale_16() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/unsafe/ |
H A D | UnsafeRaw.java | 37 public static int int_index(sun.misc.Unsafe unsafe, long base, int index) throws Exception { in int_index() 40 public static int long_index(sun.misc.Unsafe unsafe, long base, long index) throws Exception { in long_index() 43 …public static int int_index_back_ashift(sun.misc.Unsafe unsafe, long base, int index) throws Excep… in int_index_back_ashift() 46 …public static int int_index_back_lshift(sun.misc.Unsafe unsafe, long base, int index) throws Excep… in int_index_back_lshift() 49 …public static int long_index_back_ashift(sun.misc.Unsafe unsafe, long base, long index) throws Exc… in long_index_back_ashift() 52 …public static int long_index_back_lshift(sun.misc.Unsafe unsafe, long base, long index) throws Exc… in long_index_back_lshift() 55 public static int int_const_12345678_index(sun.misc.Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 59 …public static int long_const_1234567890abcdef_index(sun.misc.Unsafe unsafe, long base) throws Exce… in long_const_1234567890abcdef_index() 63 public static int int_index_mul(sun.misc.Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 66 … public static int long_index_mul(sun.misc.Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/unsafe/ |
H A D | UnsafeRaw.java | 37 public static int int_index(sun.misc.Unsafe unsafe, long base, int index) throws Exception { in int_index() 40 public static int long_index(sun.misc.Unsafe unsafe, long base, long index) throws Exception { in long_index() 43 …public static int int_index_back_ashift(sun.misc.Unsafe unsafe, long base, int index) throws Excep… in int_index_back_ashift() 46 …public static int int_index_back_lshift(sun.misc.Unsafe unsafe, long base, int index) throws Excep… in int_index_back_lshift() 49 …public static int long_index_back_ashift(sun.misc.Unsafe unsafe, long base, long index) throws Exc… in long_index_back_ashift() 52 …public static int long_index_back_lshift(sun.misc.Unsafe unsafe, long base, long index) throws Exc… in long_index_back_lshift() 55 public static int int_const_12345678_index(sun.misc.Unsafe unsafe, long base) throws Exception { in int_const_12345678_index() 59 …public static int long_const_1234567890abcdef_index(sun.misc.Unsafe unsafe, long base) throws Exce… in long_const_1234567890abcdef_index() 63 public static int int_index_mul(sun.misc.Unsafe unsafe, long base, int index) throws Exception { in int_index_mul() 66 … public static int long_index_mul(sun.misc.Unsafe unsafe, long base, long index) throws Exception { in long_index_mul() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | UnsafeSubstitutionsTest.java | 179 public static int unsafeGetByte(Unsafe unsafe, Object obj, long offset) { in unsafeGetByte() 184 public static int unsafeGetShort(Unsafe unsafe, Object obj, long offset) { in unsafeGetShort() 189 public static int unsafeGetChar(Unsafe unsafe, Object obj, long offset) { in unsafeGetChar() 194 public static int unsafeGetInt(Unsafe unsafe, Object obj, long offset) { in unsafeGetInt() 199 public static long unsafeGetLong(Unsafe unsafe, Object obj, long offset) { in unsafeGetLong() 204 public static float unsafeGetFloat(Unsafe unsafe, Object obj, long offset) { in unsafeGetFloat() 209 public static double unsafeGetDouble(Unsafe unsafe, Object obj, long offset) { in unsafeGetDouble() 214 public static boolean unsafeGetObject(Unsafe unsafe, Object obj, long offset) { in unsafeGetObject() 315 public static long unsafeGetAddress(Unsafe unsafe, long offset) { in unsafeGetAddress() 320 public static long unsafePutAddress(Unsafe unsafe, long offset, long value) { in unsafePutAddress() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/test/rustdoc/ |
H A D | const-display.rs | 20 pub const unsafe fn foo_unsafe() -> u32 { 42 } in foo_unsafe() const 37 pub const unsafe fn foo2_gated() -> u32 { 42 } in foo2_gated() const 43 pub const unsafe fn bar2_gated() -> u32 { 42 } in bar2_gated() const 47 pub const unsafe fn bar_not_gated() -> u32 { 42 } in bar_not_gated() const 62 pub const unsafe fn gated_unsafe() -> u32 { 42 } in gated_unsafe() const
|
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/ |
H A D | jsmath.cpp | 176 AutoUnsafeCallWithABI unsafe; in math_acos_impl() local 181 AutoUnsafeCallWithABI unsafe; in math_acos_uncached() local 205 AutoUnsafeCallWithABI unsafe; in math_asin_impl() local 210 AutoUnsafeCallWithABI unsafe; in math_asin_uncached() local 234 AutoUnsafeCallWithABI unsafe; in math_atan_impl() local 239 AutoUnsafeCallWithABI unsafe; in math_atan_uncached() local 263 AutoUnsafeCallWithABI unsafe; in ecmaAtan2() local 287 AutoUnsafeCallWithABI unsafe; in math_ceil_impl() local 333 AutoUnsafeCallWithABI unsafe; in math_cos_impl() local 338 AutoUnsafeCallWithABI unsafe; in math_cos_uncached() local [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/7190310/ |
H A D | Test7190310_unsafe.java | 53 Unsafe unsafe = (Unsafe)f.get(c); in main() local 100 static boolean verifyGet(long referent_offset, Unsafe unsafe) throws Exception { in verifyGet() 129 static Object getRef1(Unsafe unsafe, WeakReference ref, long referent_offset) throws Exception { in getRef1() 132 static Object getRef2(Unsafe unsafe, Reference ref, long referent_offset) throws Exception { in getRef2() 135 static Object getRef3(Unsafe unsafe, Object ref, long referent_offset) throws Exception { in getRef3() 138 …static Object getRef4(Unsafe unsafe, Test7190310_unsafe ref, long referent_offset) throws Exceptio… in getRef4()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/test/compiler/7190310/ |
H A D | Test7190310_unsafe.java | 53 Unsafe unsafe = (Unsafe)f.get(c); in main() local 100 static boolean verifyGet(long referent_offset, Unsafe unsafe) throws Exception { in verifyGet() 129 static Object getRef1(Unsafe unsafe, WeakReference ref, long referent_offset) throws Exception { in getRef1() 132 static Object getRef2(Unsafe unsafe, Reference ref, long referent_offset) throws Exception { in getRef2() 135 static Object getRef3(Unsafe unsafe, Object ref, long referent_offset) throws Exception { in getRef3() 138 …static Object getRef4(Unsafe unsafe, Test7190310_unsafe ref, long referent_offset) throws Exceptio… in getRef4()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/convert-source-map/node_modules/safe-buffer/ |
H A D | README.md | 331 ### Remote Memory Disclosure 366 ### Would this ever be a problem in real code? 410 ### Which real-world packages were vulnerable? 464 ### What's the solution? 492 ### How do we fix node.js core? 511 ### What's the real long-term fix? 538 ### Conclusion
|