Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for StorepNoWB (0.2 sec)

  1. src/internal/runtime/atomic/atomic_amd64.go

    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //go:noescape
    func StoreReluintptr(ptr *uintptr, val uintptr)
    
    // StorepNoWB performs *ptr = val atomically and without a write
    // barrier.
    //
    // NO go:noescape annotation; see atomic_pointer.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_wasm.s

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    TEXT ยทStorepNoWB(SB), NOSPLIT, $0-16
    	MOVD ptr+0(FP), R0
    	MOVD val+8(FP), 0(R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 269 bytes
    - Viewed (0)
  3. test/escape_runtime_atomic.go

    	return atomic.Loadp(addr)
    }
    
    var ptr unsafe.Pointer
    
    func Storep() {
    	var x int // ERROR "moved to heap: x"
    	atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x))
    }
    
    func Casp1() {
    	// BAD: should always be "does not escape"
    	x := new(int) // ERROR "escapes to heap|does not escape"
    	var y int     // ERROR "moved to heap: y"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 874 bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_386.go

    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreReluintptr(ptr *uintptr, val uintptr)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_loong64.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //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)
  6. src/internal/runtime/atomic/atomic_mips64x.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_wasm.go

    	*ptr = val
    }
    
    //go:nosplit
    //go:noinline
    func Store64(ptr *uint64, val uint64) {
    	*ptr = val
    }
    
    // StorepNoWB performs *ptr = val atomically and without a write
    // barrier.
    //
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:nosplit
    //go:noinline
    func Casint32(ptr *int32, old, new int32) bool {
    	if *ptr == old {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_s390x.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:nosplit
    //go:noinline
    func StoreRel(ptr *uint32, val uint32) {
    	*ptr = val
    }
    
    //go:nosplit
    //go:noinline
    func StoreRel64(ptr *uint64, val uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm64.go

    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
    
    //go:noescape
    func StoreRel(ptr *uint32, val uint32)
    
    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //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)
  10. src/internal/runtime/atomic/atomic_ppc64x.go

    //go:noescape
    func StoreRel64(ptr *uint64, val uint64)
    
    //go:noescape
    func StoreReluintptr(ptr *uintptr, val uintptr)
    
    // NO go:noescape annotation; see atomic_pointer.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top