Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 491 for uptr (7.54 sec)

  1. src/cmd/compile/internal/ssa/_gen/dec.rules

    (StringLen (StringMake _ len)) => len
    
    (Load <t> ptr mem) && t.IsString() =>
      (StringMake
        (Load <typ.BytePtr> ptr mem)
        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem))
    (Store dst (StringMake ptr len) mem) =>
      (Store {typ.Int}
        (OffPtr <typ.IntPtr> [config.PtrSize] dst)
        len
        (Store {typ.BytePtr} dst ptr mem))
    
    // slice ops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/upgradeconfiguration_test.go

    					CertificateRenewal: ptr.To(true),
    					EtcdUpgrade:        ptr.To(true),
    					ImagePullPolicy:    v1.PullIfNotPresent,
    					ImagePullSerial:    ptr.To(true),
    				},
    				Node: kubeadmapi.UpgradeNodeConfiguration{
    					CertificateRenewal: ptr.To(true),
    					EtcdUpgrade:        ptr.To(true),
    					ImagePullPolicy:    v1.PullIfNotPresent,
    					ImagePullSerial:    ptr.To(true),
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_amd64.go

    	return *ptr
    }
    
    //go:nosplit
    //go:noinline
    func LoadAcquintptr(ptr *uintptr) uintptr {
    	return *ptr
    }
    
    //go:noescape
    func Xadd(ptr *uint32, delta int32) uint32
    
    //go:noescape
    func Xadd64(ptr *uint64, delta int64) uint64
    
    //go:noescape
    func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
    
    //go:noescape
    func Xchg(ptr *uint32, new uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    		(MOVHstore ptr (MOVDconst [0]) mem))
    (Zero [5] ptr mem) =>
    	(MOVBstore [4] ptr (MOVDconst [0])
    		(MOVWstore ptr (MOVDconst [0]) mem))
    (Zero [6] ptr mem) =>
    	(MOVHstore [4] ptr (MOVDconst [0])
    		(MOVWstore ptr (MOVDconst [0]) mem))
    (Zero [7] ptr mem) =>
    	(MOVWstore [3] ptr (MOVDconst [0])
    		(MOVWstore ptr (MOVDconst [0]) mem))
    (Zero [8] ptr mem) => (MOVDstore ptr (MOVDconst [0]) mem)
    (Zero [9] ptr mem) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. src/encoding/json/decode_test.go

    	{CaseName: Name(""), in: `-5`, ptr: new(int16), out: int16(-5)},
    	{CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2"), useNumber: true},
    	{CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2")},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: float64(2.0)},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: Number("2"), useNumber: true},
    	{CaseName: Name(""), in: `"a\u1234"`, ptr: new(string), out: "a\u1234"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. test/uintptrescapes3.go

    var tests = []func(ptr unsafe.Pointer){
    	func(ptr unsafe.Pointer) { F(uintptr(ptr)) },
    	func(ptr unsafe.Pointer) { Fv(uintptr(ptr)) },
    	func(ptr unsafe.Pointer) { T{}.M(uintptr(ptr)) },
    	func(ptr unsafe.Pointer) { T{}.Mv(uintptr(ptr)) },
    }
    
    func main() {
    	for i, test := range tests {
    		finalized := false
    
    		ptr := new([64]byte)
    		runtime.SetFinalizer(ptr, func(*[64]byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 05 00:26:30 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_s390x.s

    // func Xaddint64(ptr *int64, delta int64) int64
    TEXT ·Xaddint64(SB), NOSPLIT, $0-24
    	BR	·Xadd64(SB)
    
    // func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool
    // Atomically:
    //	if *ptr == old {
    //		*ptr = new
    //		return 1
    //	} else {
    //		return 0
    //	}
    TEXT ·Casp1(SB), NOSPLIT, $0-25
    	BR ·Cas64(SB)
    
    // func Xadd(ptr *uint32, delta int32) uint32
    // Atomically:
    //	*ptr += delta
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_arm64.go

    //go:noescape
    func Load8(ptr *uint8) uint8
    
    //go:noescape
    func Load64(ptr *uint64) uint64
    
    // NO go:noescape annotation; *ptr escapes if result escapes (#31525)
    func Loadp(ptr unsafe.Pointer) unsafe.Pointer
    
    //go:noescape
    func LoadAcq(addr *uint32) uint32
    
    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm64.s

    	B	·Store64(SB)
    
    TEXT ·Store(SB), NOSPLIT, $0-12
    	MOVD	ptr+0(FP), R0
    	MOVW	val+8(FP), R1
    	STLRW	R1, (R0)
    	RET
    
    TEXT ·Store8(SB), NOSPLIT, $0-9
    	MOVD	ptr+0(FP), R0
    	MOVB	val+8(FP), R1
    	STLRB	R1, (R0)
    	RET
    
    TEXT ·Store64(SB), NOSPLIT, $0-16
    	MOVD	ptr+0(FP), R0
    	MOVD	val+8(FP), R1
    	STLR	R1, (R0)
    	RET
    
    // uint32 Xchg(ptr *uint32, new uint32)
    // Atomically:
    //	old := *ptr;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    				},
    				{
    					Name:     ptr.To("dns-udp"),
    					Port:     ptr.To[int32](53),
    					Protocol: ptr.To(v1.ProtocolUDP),
    				},
    				{
    					Name:     ptr.To("dns-tcp"),
    					Port:     ptr.To[int32](5353),
    					Protocol: ptr.To(v1.ProtocolTCP),
    				},
    				{
    					Name:     ptr.To("dns-sctp"),
    					Port:     ptr.To[int32](53),
    					Protocol: ptr.To(v1.ProtocolSCTP),
    				},
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top