Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 431 for UInt32 (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/aot/codegen_test_h.golden

      tensorflow::uint32* result0_data() {
        return static_cast<tensorflow::uint32*>(result_data(0));
      }
      tensorflow::uint32& result0(size_t dim0, size_t dim1) {
        return (*static_cast<tensorflow::uint32(*)[5][6]>(
            result_data(0)))[dim0][dim1];
      }
      const tensorflow::uint32* result0_data() const {
        return static_cast<const tensorflow::uint32*>(result_data(0));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    func hashString(s string) uint32 {
    	var h uint32
    	for i := 0; i < len(s); i++ {
    		h ^= uint32(s[i])
    		h *= 16777619
    	}
    	return h
    }
    
    // hashFor computes the hash of t.
    func (h Hasher) hashFor(t types.Type) uint32 {
    	// See Identical for rationale.
    	switch t := t.(type) {
    	case *types.Basic:
    		return uint32(t.Kind())
    
    	case *aliases.Alias:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/debug/elf/file.go

    				Type:   ProgType(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Type):])),
    				Flags:  ProgFlag(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Flags):])),
    				Off:    uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Off):])),
    				Vaddr:  uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Vaddr):])),
    				Paddr:  uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Paddr):])),
    				Filesz: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Filesz):])),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. 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)
  10. src/os/types_windows.go

    	FileAttributes uint32
    	CreationTime   syscall.Filetime
    	LastAccessTime syscall.Filetime
    	LastWriteTime  syscall.Filetime
    	FileSizeHigh   uint32
    	FileSizeLow    uint32
    
    	// from Win32finddata and GetFileInformationByHandleEx
    	ReparseTag uint32
    
    	// what syscall.GetFileType returns
    	filetype uint32
    
    	// used to implement SameFile
    	sync.Mutex
    	path             string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top