Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 652 for UInt32 (0.15 sec)

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

    	s := uint8(0)
    	if value {
    		s = 1
    	}
    	b.u.Store(s)
    }
    
    // Uint32 is an atomically accessed uint32 value.
    //
    // A Uint32 must not be copied.
    type Uint32 struct {
    	noCopy noCopy
    	value  uint32
    }
    
    // Load accesses and returns the value atomically.
    //
    //go:nosplit
    func (u *Uint32) Load() uint32 {
    	return Load(&u.value)
    }
    
    // LoadAcquire is a partially unsynchronized version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/runtime/memmove_test.go

    	var x [32 / 4]uint32
    	p := new([32 / 4]uint32)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = x
    	}
    }
    
    func BenchmarkCopyFat64(b *testing.B) {
    	var x [64 / 4]uint32
    	p := new([64 / 4]uint32)
    	Escape(p)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		*p = x
    	}
    }
    
    func BenchmarkCopyFat72(b *testing.B) {
    	var x [72 / 4]uint32
    	p := new([72 / 4]uint32)
    	Escape(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/os3_solaris.go

    }
    
    //go:nosplit
    func pipe2(flags int32) (r, w int32, errno int32) {
    	var p [2]int32
    	_, e := sysvicall2Err(&libc_pipe2, uintptr(noescape(unsafe.Pointer(&p))), uintptr(flags))
    	return p[0], p[1], int32(e)
    }
    
    //go:nosplit
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
    	r1, err := sysvicall3Err(&libc_fcntl, uintptr(fd), uintptr(cmd), uintptr(arg))
    	return int32(r1), int32(err)
    }
    
    func osyield1()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/regexp/onepass.go

    }
    
    func (q *queueOnePass) contains(u uint32) bool {
    	if u >= uint32(len(q.sparse)) {
    		return false
    	}
    	return q.sparse[u] < q.size && q.dense[q.sparse[u]] == u
    }
    
    func (q *queueOnePass) insert(u uint32) {
    	if !q.contains(u) {
    		q.insertNew(u)
    	}
    }
    
    func (q *queueOnePass) insertNew(u uint32) {
    	if u >= uint32(len(q.sparse)) {
    		return
    	}
    	q.sparse[u] = q.size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. 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)
  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/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)
  9. 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)
  10. 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)
Back to top