Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,448 for UInt32 (0.19 sec)

  1. src/crypto/aes/block.go

    	s0 = uint32(sbox0[t0>>24])<<24 | uint32(sbox0[t1>>16&0xff])<<16 | uint32(sbox0[t2>>8&0xff])<<8 | uint32(sbox0[t3&0xff])
    	s1 = uint32(sbox0[t1>>24])<<24 | uint32(sbox0[t2>>16&0xff])<<16 | uint32(sbox0[t3>>8&0xff])<<8 | uint32(sbox0[t0&0xff])
    	s2 = uint32(sbox0[t2>>24])<<24 | uint32(sbox0[t3>>16&0xff])<<16 | uint32(sbox0[t0>>8&0xff])<<8 | uint32(sbox0[t1&0xff])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd_syscall2.go

    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    func closefd(fd int32) int32
    
    func exit(code int32)
    func usleep(usec uint32)
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    // write1 calls the write system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    //
    //go:noescape
    func write1(fd uintptr, p unsafe.Pointer, n int32) int32
    
    //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)
  3. src/runtime/defs_windows.go

    	allocationBase    uintptr
    	allocationProtect uint32
    	regionSize        uintptr
    	state             uint32
    	protect           uint32
    	type_             uint32
    }
    
    // https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfow
    type _OSVERSIONINFOW struct {
    	osVersionInfoSize uint32
    	majorVersion      uint32
    	minorVersion      uint32
    	buildNumber       uint32
    	platformId        uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_mipsx.s

    	SC	R3, (R1)
    	BEQ	R3, -4(PC)
    	SYNC
    	RET
    
    // func Or32(addr *uint32, v uint32) old uint32
    TEXT ·Or32(SB), NOSPLIT, $0-12
    	MOVW	ptr+0(FP), R1
    	MOVW	val+4(FP), R2
    
    	SYNC
    	LL	(R1), R3
    	OR	R2, R3, R4
    	SC	R4, (R1)
    	BEQ	R4, -4(PC)
    	SYNC
    	MOVW	R3, ret+8(FP)
    	RET
    
    // func And32(addr *uint32, v uint32) old uint32
    TEXT ·And32(SB), NOSPLIT, $0-12
    	MOVW	ptr+0(FP), R1
    	MOVW	val+4(FP), R2
    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/internal/bytealg/bytealg.go

    // HashStr returns the hash and the appropriate multiplicative
    // factor for use in Rabin-Karp algorithm.
    func HashStr[T string | []byte](sep T) (uint32, uint32) {
    	hash := uint32(0)
    	for i := 0; i < len(sep); i++ {
    		hash = hash*PrimeRK + uint32(sep[i])
    	}
    	var pow, sq uint32 = 1, PrimeRK
    	for i := len(sep); i > 0; i >>= 1 {
    		if i&1 != 0 {
    			pow *= sq
    		}
    		sq *= sq
    	}
    	return hash, pow
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/version_windows.go

    	"unsafe"
    )
    
    // https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfow
    type _OSVERSIONINFOW struct {
    	osVersionInfoSize uint32
    	majorVersion      uint32
    	minorVersion      uint32
    	buildNumber       uint32
    	platformId        uint32
    	csdVersion        [128]uint16
    }
    
    // According to documentation, RtlGetVersion function always succeeds.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/pcln.go

    		}
    		off = sb.SetUint32(ctxt.Arch, off, uint32(entryOff))
    
    		// nameOff int32
    		nameOff, ok := nameOffsets[s]
    		if !ok {
    			panic("couldn't find function name offset")
    		}
    		off = sb.SetUint32(ctxt.Arch, off, uint32(nameOff))
    
    		// args int32
    		// TODO: Move into funcinfo.
    		args := uint32(0)
    		if fi.Valid() {
    			args = uint32(fi.Args())
    		}
    		off = sb.SetUint32(ctxt.Arch, off, args)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. test/codegen/memcombine.go

    	// amd64:`MOVL\s\([A-Z]+\)`,-`MOV[BW]`,-`OR`
    	return uint32(b[0]) | uint32(b[2])<<16 | uint32(b[1])<<8 | uint32(b[3])<<24
    }
    
    func extraOr_load_uint32(b []byte, x, y uint32) uint32 {
    	// amd64:`ORL\s\([A-Z]+\)`,-`MOV[BW]`
    	return x | binary.LittleEndian.Uint32(b) | y
    	// TODO: Note that
    	//   x | uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24 | y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. src/sync/atomic/atomic_test.go

    func hammerSwapInt32Method(uaddr *uint32, count int) {
    	addr := (*Int32)(unsafe.Pointer(uaddr))
    	seed := int(uintptr(unsafe.Pointer(&count)))
    	for i := 0; i < count; i++ {
    		new := uint32(seed+i)<<16 | uint32(seed+i)<<16>>16
    		old := uint32(addr.Swap(int32(new)))
    		if old>>16 != old<<16>>16 {
    			panic(fmt.Sprintf("SwapInt32 is not atomic: %v", old))
    		}
    	}
    }
    
    func hammerSwapUint32(addr *uint32, count int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  10. test/codegen/bits.go

    	return a & (1 << 63)
    }
    
    func and_mask_3(a, b uint32) (uint32, uint32) {
    	// arm/7:`BIC`,-`AND`
    	a &= 0xffffaaaa
    	// arm/7:`BFC`,-`AND`,-`BIC`
    	b &= 0xffc003ff
    	return a, b
    }
    
    // Check generation of arm64 BIC/EON/ORN instructions
    
    func op_bic(x, y uint32) uint32 {
    	// arm64:`BIC\t`,-`AND`
    	return x &^ y
    }
    
    func op_eon(x, y, z uint32, a []uint32, n, m uint64) uint64 {
    	// arm64:`EON\t`,-`EOR`,-`MVN`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top