Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 265 for UInt32 (0.18 sec)

  1. src/cmd/internal/goobj/objfile.go

    	b := r.BytesAt(off, 4)
    	return binary.LittleEndian.Uint32(b)
    }
    
    func (r *Reader) int32At(off uint32) int32 {
    	return int32(r.uint32At(off))
    }
    
    func (r *Reader) uint16At(off uint32) uint16 {
    	b := r.BytesAt(off, 2)
    	return binary.LittleEndian.Uint16(b)
    }
    
    func (r *Reader) uint8At(off uint32) uint8 {
    	b := r.BytesAt(off, 1)
    	return b[0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. test/codegen/shift.go

    }
    
    func rsh5Mask32Ux64(v uint32, s uint64) uint32 {
    	// riscv64:"SRLW",-"AND\t",-"SLTIU",-"SRL\t"
    	return v >> (s & 31)
    }
    
    func rshMask32x64(v int32, s uint64) int32 {
    	// arm64:"ASR",-"AND"
    	// ppc64x:"ISEL",-"ORN"
    	// riscv64:"SRAW","OR","SLTIU"
    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v >> (s & 63)
    }
    
    func rsh5Mask32x64(v int32, s uint64) int32 {
    	// riscv64:"SRAW",-"OR",-"SLTIU"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/encoding/binary/binary.go

    		for i, x := range v {
    			order.PutUint16(bs[2*i:], x)
    		}
    	case *int32:
    		order.PutUint32(bs, uint32(*v))
    	case int32:
    		order.PutUint32(bs, uint32(v))
    	case []int32:
    		for i, x := range v {
    			order.PutUint32(bs[4*i:], uint32(x))
    		}
    	case *uint32:
    		order.PutUint32(bs, *v)
    	case uint32:
    		order.PutUint32(bs, v)
    	case []uint32:
    		for i, x := range v {
    			order.PutUint32(bs[4*i:], x)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    // Consider using the more ergonomic and less error-prone [Int32.And] instead.
    func AndInt32(addr *int32, mask int32) (old int32)
    
    // AndUint32 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Uint32.And] instead.
    func AndUint32(addr *uint32, mask uint32) (old uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.src.Uint64() >> 32) }
    
    // Uint64 returns a pseudo-random 64-bit value as a uint64.
    func (r *Rand) Uint64() uint64 { return r.src.Uint64() }
    
    // Int32 returns a non-negative pseudo-random 31-bit integer as an int32.
    func (r *Rand) Int32() int32 { return int32(r.src.Uint64() >> 33) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/encoding/binary/binary_test.go

    			}
    
    			want32 := uint32(value)
    			order.PutUint32(buf[:4], want32)
    			if got := order.Uint32(buf[:4]); got != want32 {
    				t.Errorf("PutUint32: Uint32 = %v, want %v", got, want32)
    			}
    			buf = order.AppendUint32(buf[:offset], want32)
    			if got := order.Uint32(buf[offset:]); got != want32 {
    				t.Errorf("AppendUint32: Uint32 = %v, want %v", got, want32)
    			}
    			if len(buf) != offset+4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho.go

    	"io"
    	"os"
    	"sort"
    	"strings"
    	"unsafe"
    )
    
    type MachoHdr struct {
    	cpu    uint32
    	subcpu uint32
    }
    
    type MachoSect struct {
    	name    string
    	segname string
    	addr    uint64
    	size    uint64
    	off     uint32
    	align   uint32
    	reloc   uint32
    	nreloc  uint32
    	flag    uint32
    	res1    uint32
    	res2    uint32
    }
    
    type MachoSeg struct {
    	name       string
    	vsize      uint64
    	vaddr      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. src/runtime/race.go

    func abigen_sync_atomic_SwapInt32(addr *int32, new int32) (old int32)
    
    //go:linkname abigen_sync_atomic_SwapInt64 sync/atomic.SwapInt64
    func abigen_sync_atomic_SwapInt64(addr *int64, new int64) (old int64)
    
    //go:linkname abigen_sync_atomic_SwapUint32 sync/atomic.SwapUint32
    func abigen_sync_atomic_SwapUint32(addr *uint32, new uint32) (old uint32)
    
    //go:linkname abigen_sync_atomic_SwapUint64 sync/atomic.SwapUint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	"unsafe"
    )
    
    type loadCmd struct {
    	Cmd macho.LoadCmd
    	Len uint32
    }
    
    type dyldInfoCmd struct {
    	Cmd                      macho.LoadCmd
    	Len                      uint32
    	RebaseOff, RebaseLen     uint32
    	BindOff, BindLen         uint32
    	WeakBindOff, WeakBindLen uint32
    	LazyBindOff, LazyBindLen uint32
    	ExportOff, ExportLen     uint32
    }
    
    type linkEditDataCmd struct {
    	Cmd              macho.LoadCmd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/runtime/os_plan9.go

    //go:noescape
    func exits(msg *byte)
    
    //go:noescape
    func brk_(addr unsafe.Pointer) int32
    
    func sleep(ms int32) int32
    
    func rfork(flags int32) int32
    
    //go:noescape
    func plan9_semacquire(addr *uint32, block int32) int32
    
    //go:noescape
    func plan9_tsemacquire(addr *uint32, ms int32) int32
    
    //go:noescape
    func plan9_semrelease(addr *uint32, count int32) int32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top