 Preserve Original Source
Address within Istio#IstioCon Preserve Original Source Address within Istio Zhonghu Xu @hzxuzhonghu #IstioCon About me Zhonghu Xu:an open source engineer from Huawei Cloud. - Github:https://github.com/hzxuzhonghu 1. TCP Original Address Preserve Background Demo 1. HTTP Original Address Preserve #IstioCon Content 1. TCP Original Address Preserve Background Demo 1. HTTP Original Address Preserve #IstioCon #IstioCon What is the use case of original address 1. Sticky Session: based on ip hash, traffic from same client is forwarded to the same backend 2. Security Policy: set white/black list 3. Access log &0 码力 | 29 页 | 713.08 KB | 1 年前3 Preserve Original Source
Address within Istio#IstioCon Preserve Original Source Address within Istio Zhonghu Xu @hzxuzhonghu #IstioCon About me Zhonghu Xu:an open source engineer from Huawei Cloud. - Github:https://github.com/hzxuzhonghu 1. TCP Original Address Preserve Background Demo 1. HTTP Original Address Preserve #IstioCon Content 1. TCP Original Address Preserve Background Demo 1. HTTP Original Address Preserve #IstioCon #IstioCon What is the use case of original address 1. Sticky Session: based on ip hash, traffic from same client is forwarded to the same backend 2. Security Policy: set white/black list 3. Access log &0 码力 | 29 页 | 713.08 KB | 1 年前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
 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 码力 | 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
 The Zig Programming Language 0.10.1 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_short short for ABI compatibility len == 1); 9 } Shell 1 $ zig test test.zig 2 1/1 test.detect leak... OK 3 [gpa] (err): memory address 0x7f5ea8dc6000 leaked: 4 /home/ci/release-0.10.1/out/zig-x86_64-linux-musl-baseline/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; Runtime Integer Values Integer literals have no size limitation, and if0 码力 | 239 页 | 8.03 MB | 1 年前3 The Zig Programming Language 0.10.1 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_short short for ABI compatibility len == 1); 9 } Shell 1 $ zig test test.zig 2 1/1 test.detect leak... OK 3 [gpa] (err): memory address 0x7f5ea8dc6000 leaked: 4 /home/ci/release-0.10.1/out/zig-x86_64-linux-musl-baseline/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; Runtime Integer Values Integer literals have no size limitation, and if0 码力 | 239 页 | 8.03 MB | 1 年前3
 The Zig Programming Language 0.4.0 DocumentationError Code Invalid Enum Cast Invalid Error Set Cast Incorrect Pointer Alignment Wrong Union Field Access Out of Bounds Float to Integer Cast Pointer Cast Invalid Null Memory Choosing an Allocator Where are u128 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 128169); assert(mem.eql(u8, "hello", "h\x65llo")); // A C string literal is a null terminated pointer. const null_terminated_bytes = c"hello"; assert(@typeOf(null_terminated_bytes) == [*]const0 码力 | 207 页 | 5.29 MB | 1 年前3 The Zig Programming Language 0.4.0 DocumentationError Code Invalid Enum Cast Invalid Error Set Cast Incorrect Pointer Alignment Wrong Union Field Access Out of Bounds Float to Integer Cast Pointer Cast Invalid Null Memory Choosing an Allocator Where are u128 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 128169); assert(mem.eql(u8, "hello", "h\x65llo")); // A C string literal is a null terminated pointer. const null_terminated_bytes = c"hello"; assert(@typeOf(null_terminated_bytes) == [*]const0 码力 | 207 页 | 5.29 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













