 hazard pointer synchronous reclamation1 Basic Hazard Pointer Algorithm read pointer A from SRC remove A from SRC 1 5 4 Safe to use pointer A SRC A hazard pointer is a single-writer multi-reader pointer. set HP to A if SRC == A clear ACCESS If a hazard pointer points to an object before its removal, then the object will not be reclaimed as long as the hazard pointer remains unchanged unchanged. *A Hazard Pointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael Protector Remover / Reclaimer Hazard pointers protect access to objects that may be removed concurrently. SAFE RECLAMATION0 码力 | 31 页 | 856.38 KB | 6 月前3 hazard pointer synchronous reclamation1 Basic Hazard Pointer Algorithm read pointer A from SRC remove A from SRC 1 5 4 Safe to use pointer A SRC A hazard pointer is a single-writer multi-reader pointer. set HP to A if SRC == A clear ACCESS If a hazard pointer points to an object before its removal, then the object will not be reclaimed as long as the hazard pointer remains unchanged unchanged. *A Hazard Pointer Synchronous Reclamation Beyond Concurrency TS2 – Maged Michael Protector Remover / Reclaimer Hazard pointers protect access to objects that may be removed concurrently. SAFE RECLAMATION0 码力 | 31 页 | 856.38 KB | 6 月前3
 Back to Basics: Pointerslanguage. In this talk, we will discuss the low level foundations of what a raw pointer is--a variable that stores an address. We will then see some examples of raw pointers for creating data structures leave understanding how we can use pointers in a safe manner through the standard library smart pointer abstractions. 4 The abstract that you read and enticed you to join me is here!Code for the talk and more on: www.mshah.io 6One of my fondest programming memories was... 7... when I used a pointer correctly on the first try 8 ● And maybe as a C or C++ programmer you have a similar memory or0 码力 | 152 页 | 5.61 MB | 6 月前3 Back to Basics: Pointerslanguage. In this talk, we will discuss the low level foundations of what a raw pointer is--a variable that stores an address. We will then see some examples of raw pointers for creating data structures leave understanding how we can use pointers in a safe manner through the standard library smart pointer abstractions. 4 The abstract that you read and enticed you to join me is here!Code for the talk and more on: www.mshah.io 6One of my fondest programming memories was... 7... when I used a pointer correctly on the first try 8 ● And maybe as a C or C++ programmer you have a similar memory or0 码力 | 152 页 | 5.61 MB | 6 月前3
 Reference guide for RTL units. Document version 3.2.2get_run_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807 54.19.32 get_segment_base_address . . . . . . . . . . . . . . . . . . . . . . . . . 808 54.19.33 get_segment_limit . . . . . . . set_rm_interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822 54.19.59 set_segment_base_address . . . . . . . . . . . . . . . . . . . . . . . . . 822 54.19.60 set_segment_limit . . . . . . . Permission denied ESysEADDRINUSE = 98 System error: Address already in use ESysEADDRNOTAVAIL = 99 System error: Cannot assign requested address ESysEADV = 68 System error: Advertise error 141 CHAPTER0 码力 | 2191 页 | 4.93 MB | 1 年前3 Reference guide for RTL units. Document version 3.2.2get_run_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807 54.19.32 get_segment_base_address . . . . . . . . . . . . . . . . . . . . . . . . . 808 54.19.33 get_segment_limit . . . . . . . set_rm_interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822 54.19.59 set_segment_base_address . . . . . . . . . . . . . . . . . . . . . . . . . 822 54.19.60 set_segment_limit . . . . . . . Permission denied ESysEADDRINUSE = 98 System error: Address already in use ESysEADDRNOTAVAIL = 99 System error: Cannot assign requested address ESysEADV = 68 System error: Advertise error 141 CHAPTER0 码力 | 2191 页 | 4.93 MB | 1 年前3
 The Zig Programming Language 0.12.0 Documentationunsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t , size_t unsigned pointer sized integer. Also see #5185 c_char char for ABI compatibility with test testing_detect_leak.zig 1/1 testing_detect_leak.test.detect leak... OK [gpa] (err): memory address 0x7fd0fba04000 leaked: /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/array_list one_billion = 1_000_000_000; const binary_mask = 0b1_1111_1111; const permissions = 0o7_5_5; const big_address = 0xFF80_0000_0000_0000; Runtime Integer Values Integer literals have no size limitation, and if0 码力 | 241 页 | 7.37 MB | 1 年前3 The Zig Programming Language 0.12.0 Documentationunsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t , size_t unsigned pointer sized integer. Also see #5185 c_char char for ABI compatibility with test testing_detect_leak.zig 1/1 testing_detect_leak.test.detect leak... OK [gpa] (err): memory address 0x7fd0fba04000 leaked: /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/array_list one_billion = 1_000_000_000; const binary_mask = 0b1_1111_1111; const permissions = 0o7_5_5; const big_address = 0xFF80_0000_0000_0000; Runtime Integer Values Integer literals have no size limitation, and if0 码力 | 241 页 | 7.37 MB | 1 年前3
 Programmer’s Guide for Free Pascal, Version 3.2.2Specify calling convention . . . . . . . . . . . . . . . . . . . . 17 1.2.8 $CHECKPOINTER : Check pointer values . . . . . . . . . . . . . . . . . . . 17 1.2.9 $CODEALIGN : Set the code alignment . . . Ignored . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.2.75 $T or $TYPEDADDRESS : Typed address operator (@) . . . . . . . . . . . 41 1.2.76 $UNDEF or $UNDEFC : Undefine a symbol . . . . . . code or not . . . . . . . . . . . . . . . . . . . . . . . 52 1.3.29 $POINTERMATH : Allow use of pointer math . . . . . . . . . . . . . . . . . 53 1.3.30 $PROFILE : Profiling . . . . . . . . . . . . .0 码力 | 187 页 | 531.58 KB | 1 年前3 Programmer’s Guide for Free Pascal, Version 3.2.2Specify calling convention . . . . . . . . . . . . . . . . . . . . 17 1.2.8 $CHECKPOINTER : Check pointer values . . . . . . . . . . . . . . . . . . . 17 1.2.9 $CODEALIGN : Set the code alignment . . . Ignored . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.2.75 $T or $TYPEDADDRESS : Typed address operator (@) . . . . . . . . . . . 41 1.2.76 $UNDEF or $UNDEFC : Undefine a symbol . . . . . . code or not . . . . . . . . . . . . . . . . . . . . . . . 52 1.3.29 $POINTERMATH : Allow use of pointer math . . . . . . . . . . . . . . . . . 53 1.3.30 $PROFILE : Profiling . . . . . . . . . . . . .0 码力 | 187 页 | 531.58 KB | 1 年前3
 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 610 页 | 945.17 KB | 1 年前3 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 610 页 | 945.17 KB | 1 年前3
 The Zig Programming Language 0.11.0 Documentationunsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t , size_t unsigned pointer sized integer. Also see #5185 c_char char for ABI compatibility with 1); 9 } Shell $ zig test testing_detect_leak.zig 1/1 test.detect leak... OK [gpa] (err): memory address 0x7f2a48e13000 leaked: /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/array_list 1_000_000_000; 9 const binary_mask = 0b1_1111_1111; 10 const permissions = 0o7_5_5; 11 const big_address = 0xFF80_0000_0000_0000; 8.2. Runtime Integer Values Integer literals have no size limitation,0 码力 | 238 页 | 7.80 MB | 1 年前3 The Zig Programming Language 0.11.0 Documentationunsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t , size_t unsigned pointer sized integer. Also see #5185 c_char char for ABI compatibility with 1); 9 } Shell $ zig test testing_detect_leak.zig 1/1 test.detect leak... OK [gpa] (err): memory address 0x7f2a48e13000 leaked: /home/ci/actions-runner/_work/zig-bootstrap/out/host/lib/zig/std/array_list 1_000_000_000; 9 const binary_mask = 0b1_1111_1111; 10 const permissions = 0o7_5_5; 11 const big_address = 0xFF80_0000_0000_0000; 8.2. Runtime Integer Values Integer literals have no size limitation,0 码力 | 238 页 | 7.80 MB | 1 年前3
 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. 1| var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 880 页 | 833.34 KB | 1 年前3 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. 1| var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 880 页 | 833.34 KB | 1 年前3
 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. 1| var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 630 页 | 3.77 MB | 1 年前3 Go 101 (Golang 101)  v1.21.0architectures. The size of uintptr value must be large enough to store the uninterpreted bits of any memory address. The real and imaginary parts of a complex64 value are both float32 values, and the real and imaginary can't appear at the left of :=. These items include qualified identifiers, container elements, pointer dereferences and struct field selectors. Pure assignments have no such limit. About the terminology compile. 1| var x, y = y, x Value Addressability In Go, some values are addressable (there is an address to find them). All variables are addressable and all constants are unaddressable. We can learn more0 码力 | 630 页 | 3.77 MB | 1 年前3
 The Zig Programming Language 0.7.1 Documentationu128 unsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t unsigned pointer sized integer c_short short for ABI compatibility with C c_ushort unsigned one_billion = 1_000_000_000; const binary_mask = 0b1_1111_1111; const permissions = 0o7_5_5; const big_address = 0xFF80_0000_0000_0000; Runtime Integer Values Integer literals have no size limitation, and if = @imp const pattern = mem.eql(u8, patt a.* Pointers Pointer dereference. const x: u32 = 1 const ptr = &x; ptr.* == 1234 &a All types Address of. const x: u32 = 1 const ptr = &x; ptr.* == 1234 a0 码力 | 225 页 | 5.74 MB | 1 年前3 The Zig Programming Language 0.7.1 Documentationu128 unsigned __int128 unsigned 128-bit integer isize intptr_t signed pointer sized integer usize uintptr_t unsigned pointer sized integer c_short short for ABI compatibility with C c_ushort unsigned one_billion = 1_000_000_000; const binary_mask = 0b1_1111_1111; const permissions = 0o7_5_5; const big_address = 0xFF80_0000_0000_0000; Runtime Integer Values Integer literals have no size limitation, and if = @imp const pattern = mem.eql(u8, patt a.* Pointers Pointer dereference. const x: u32 = 1 const ptr = &x; ptr.* == 1234 &a All types Address of. const x: u32 = 1 const ptr = &x; ptr.* == 1234 a0 码力 | 225 页 | 5.74 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100














 
  
 