Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 159 for andc (0.04 sec)

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

    		N = 1 << 10
    	}
    
    	// Set and then clear every bit in the array bit-by-bit in different goroutines.
    	done := make(chan bool)
    	for i := 0; i < 8; i++ {
    		m := uint8(1 << i)
    		go func() {
    			for n := 0; n < N; n++ {
    				for i := range a {
    					atomic.Or8(&a[i], m)
    					if atomic.Load8(&a[i])&m != m {
    						t.Errorf("a[%v] bit %#x not set", i, m)
    					}
    					atomic.And8(&a[i], ^m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_ppc64x.go

    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_riscv64.go

    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_mipsx.s

    	AND	R1, R3
    #ifdef GOARCH_mips
    	// Big endian.  ptr = ptr ^ 3
    	XOR	$3, R1
    #endif
    	AND	$3, R1, R4	// R4 = ((ptr & 3) * 8)
    	SLL	$3, R4
    	SLL	R4, R2, R2	// Shift val for aligned ptr. R2 = val << R4
    	SYNC
    try_or8:
    	LL	(R3), R4	// R4 = *R3
    	OR	R2, R4
    	SC	R4, (R3)	// *R3 = R4
    	BEQ	R4, try_or8
    	SYNC
    	RET
    
    // void	And8(byte volatile*, byte);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/riscv/anames.go

    package riscv
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ADDI",
    	"SLTI",
    	"SLTIU",
    	"ANDI",
    	"ORI",
    	"XORI",
    	"SLLI",
    	"SRLI",
    	"SRAI",
    	"LUI",
    	"AUIPC",
    	"ADD",
    	"SLT",
    	"SLTU",
    	"AND",
    	"OR",
    	"XOR",
    	"SLL",
    	"SRL",
    	"SUB",
    	"SRA",
    	"JAL",
    	"JALR",
    	"BEQ",
    	"BNE",
    	"BLT",
    	"BLTU",
    	"BGE",
    	"BGEU",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_loong64.go

    //go:noescape
    func LoadAcq(ptr *uint32) uint32
    
    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_arm64.go

    //go:noescape
    func LoadAcq64(ptr *uint64) uint64
    
    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //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)
  8. src/crypto/sha1/sha1block_386.s

    //
    // There are 80 rounds of 4 types:
    //   - rounds 0-15 are type 1 and load data (ROUND1 macro).
    //   - rounds 16-19 are type 1 and do not load data (ROUND1x macro).
    //   - rounds 20-39 are type 2 and do not load data (ROUND2 macro).
    //   - rounds 40-59 are type 3 and do not load data (ROUND3 macro).
    //   - rounds 60-79 are type 4 and do not load data (ROUND4 macro).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_amd64.go

    //go:noescape
    func Xchguintptr(ptr *uintptr, new uintptr) uintptr
    
    //go:nosplit
    //go:noinline
    func Load8(ptr *uint8) uint8 {
    	return *ptr
    }
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val 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)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    				// to write to the response should return a http.ErrHandlerTimeout error.
    				_, innerHandlerWriteErr := w.Write([]byte("foo"))
    				reqHandlerErrCh <- innerHandlerWriteErr
    
    				panic(http.ErrAbortHandler)
    			}
    		})
    
    		// NOTE: the server will enforce a 5s timeout on every
    		//  incoming request, and the client enforces a timeout of 1m.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top