Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,829 for UInt32 (0.15 sec)

  1. src/vendor/golang.org/x/sys/cpu/byteorder.go

    // byteOrder is a subset of encoding/binary.ByteOrder.
    type byteOrder interface {
    	Uint32([]byte) uint32
    	Uint64([]byte) uint64
    }
    
    type littleEndian struct{}
    type bigEndian struct{}
    
    func (littleEndian) Uint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24
    }
    
    func (littleEndian) Uint64(b []byte) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 19:48:07 UTC 2022
    - 1.8K 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/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)
  5. src/runtime/vdso_linux.go

    	vdsoSymStringsSize = vdsoArrayMax     // byte
    	vdsoVerSymSize     = vdsoArrayMax / 2 // uint16
    	vdsoHashSize       = vdsoArrayMax / 4 // uint32
    
    	// vdsoBloomSizeScale is a scaling factor for gnuhash tables which are uint32 indexed,
    	// but contain uintptrs
    	vdsoBloomSizeScale = unsafe.Sizeof(uintptr(0)) / 4 // uint32
    )
    
    /* How to extract and insert information held in the st_info field.  */
    func _ELF_ST_BIND(val byte) byte { return val >> 4 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go

    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	var writtenOut uint64 = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/os/signal/signal_unix.go

    //go:build unix || (js && wasm) || wasip1 || windows
    
    package signal
    
    import (
    	"os"
    	"syscall"
    )
    
    // Defined by the runtime package.
    func signal_disable(uint32)
    func signal_enable(uint32)
    func signal_ignore(uint32)
    func signal_ignored(uint32) bool
    func signal_recv() uint32
    
    func loop() {
    	for {
    		process(syscall.Signal(signal_recv()))
    	}
    }
    
    func init() {
    	watchSignalLoop = loop
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ uint32 = 0 /* ERROR "overflows" */ - 1
    	_ uint32 = 0
    	_ uint32 = maxUint32
    	_ uint32 = maxUint32 /* ERROR "overflows" */ + 1
    	_ uint32 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = uint32(0 /* ERROR "overflows" */ - 1)
    	_ = uint32(0)
    	_ = uint32(maxUint32)
    	_ = uint32(maxUint32 /* ERROR "overflows" */ + 1)
    	_ = uint32(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/runtime/hash32.go

    		b ^= t
    	}
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    	return uintptr(a ^ b)
    }
    
    func mix32(a, b uint32) (uint32, uint32) {
    	c := uint64(a^uint32(hashkey[1])) * uint64(b^uint32(hashkey[2]))
    	return uint32(c), uint32(c >> 32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top