Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for atomic (0.2 sec)

  1. doc/go_mem.html

    twice.
    </p>
    
    <h3 id="atomic">Atomic Values</h3>
    
    <p>
    The APIs in the <a href="/pkg/sync/atomic/"><code>sync/atomic</code></a>
    package are collectively “atomic operations”
    that can be used to synchronize the execution of different goroutines.
    If the effect of an atomic operation <i>A</i> is observed by atomic operation <i>B</i>,
    then <i>A</i> is synchronized before <i>B</i>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. api/go1.19.txt

    pkg sync/atomic, method (*Uintptr) Load() uintptr #50860
    pkg sync/atomic, method (*Uintptr) Store(uintptr) #50860
    pkg sync/atomic, method (*Uintptr) Swap(uintptr) uintptr #50860
    pkg sync/atomic, type Bool struct #50860
    pkg sync/atomic, type Int32 struct #50860
    pkg sync/atomic, type Int64 struct #50860
    pkg sync/atomic, type Pointer[$0 interface{}] struct #50860
    pkg sync/atomic, type Uint32 struct #50860
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  3. src/cmd/asm/internal/asm/operand_test.go

    	{"racecall<>(SB)", "racecall<>(SB)"},
    	{"rcv_name+20(FP)", "rcv_name+20(FP)"},
    	{"retoffset+28(FP)", "retoffset+28(FP)"},
    	{"runtime·_GetStdHandle(SB)", "runtime._GetStdHandle(SB)"},
    	{"sync\u2215atomic·AddInt64(SB)", "sync/atomic.AddInt64(SB)"},
    	{"timeout+20(FP)", "timeout+20(FP)"},
    	{"ts+16(FP)", "ts+16(FP)"},
    	{"x+24(FP)", "x+24(FP)"},
    	{"x·y(SB)", "x.y(SB)"},
    	{"x·y(SP)", "x.y(SP)"},
    	{"x·y+8(SB)", "x.y+8(SB)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/swig/swig_test.go

    		return
    	}
    
    	var parseError error
    	atoi := func(s string) int {
    		x, err := strconv.Atoi(s)
    		if err != nil && parseError == nil {
    			parseError = err
    		}
    		return x
    	}
    	var major, minor, patch int
    	major = atoi(string(matches[1]))
    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. doc/asm.html

    and <code>WORD</code> directives
    to lay down explicit data into the instruction stream within a <code>TEXT</code>.
    Here's how the 386 runtime defines the 64-bit atomic load function.
    </p>
    
    <pre>
    // uint64 atomicload64(uint64 volatile* addr);
    // so actually
    // void atomicload64(uint64 *res, uint64 volatile *addr);
    TEXT runtime·atomicload64(SB), NOSPLIT, $0-12
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm64.go

    	case arm64.ASTLXRB, arm64.ASTLXRH, arm64.ASTLXRW, arm64.ASTLXR,
    		arm64.ASTXRB, arm64.ASTXRH, arm64.ASTXRW, arm64.ASTXR,
    		arm64.ASTXP, arm64.ASTXPW, arm64.ASTLXP, arm64.ASTLXPW:
    		return true
    	}
    	// LDADDx/SWPx/CASx atomic instructions
    	return arm64.IsAtomicInstruction(op)
    }
    
    // IsARM64TBL reports whether the op (as defined by an arm64.A*
    // constant) is one of the TBL-like instructions and one of its
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg runtime/cgo (openbsd-amd64-cgo), type Handle uintptr
    pkg strconv, func QuotedPrefix(string) (string, error)
    pkg sync/atomic, method (*Value) CompareAndSwap(interface{}, interface{}) bool
    pkg sync/atomic, method (*Value) Swap(interface{}) interface{}
    pkg syscall (netbsd-386), const SYS_WAIT6 = 481
    pkg syscall (netbsd-386), const SYS_WAIT6 ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64.s

    	CINC	EQ, R4, R9	// 8914849a
    	CINCW	PL, R2, ZR	// 5f44821a
    	CINV	PL, R11, R22	// 76418bda
    	CINVW	LS, R7, R13	// ed80875a
    	CNEG	LS, R13, R7	// a7858dda
    	CNEGW	EQ, R8, R13	// 0d15885a
    
    // atomic ops
    	LDARB	(R25), R2                            // 22ffdf08
    	LDARH	(R5), R7                             // a7fcdf48
    	LDAXPW	(R10), (R20, R16)                    // 54c17f88
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			if n, err := strconv.Atoi(s[len("__cgodebug_str__"):]); err == nil {
    				return n
    			}
    		}
    		return -1
    	}
    	indexOfDebugStrlen := func(s string) int {
    		// Some systems use leading _ to denote non-assembly symbols.
    		if strings.HasPrefix(s, "___") {
    			s = s[1:]
    		}
    		if strings.HasPrefix(s, "__cgodebug_strlen__") {
    			if n, err := strconv.Atoi(s[len("__cgodebug_strlen__"):]); err == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// 8.2: Load-Reserved/Store-Conditional
    	LRW	(X5), X6				// 2fa30214
    	LRD	(X5), X6				// 2fb30214
    	SCW	X5, (X6), X7				// af23531a
    	SCD	X5, (X6), X7				// af33531a
    
    	// 8.3: Atomic Memory Operations
    	AMOSWAPW	X5, (X6), X7			// af23530e
    	AMOSWAPD	X5, (X6), X7			// af33530e
    	AMOADDW		X5, (X6), X7			// af235306
    	AMOADDD		X5, (X6), X7			// af335306
    	AMOANDW		X5, (X6), X7			// af235366
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (1)
Back to top