Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 670 for UInt32 (0.25 sec)

  1. src/compress/flate/deflate.go

    func hash4(b []byte) uint32 {
    	return ((uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24) * hashmul) >> (32 - hashBits)
    }
    
    // bulkHash4 will compute hashes using the same
    // algorithm as hash4.
    func bulkHash4(b []byte, dst []uint32) {
    	if len(b) < minMatchLength {
    		return
    	}
    	hb := uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	hdr := make([]byte, n)
    	copy(hdr, hdrPrefix)
    	*(*uint32)(unsafe.Pointer(&hdr[np])) = uint32(n)
    	copy(hdr[np+4:], meta)
    	return hdr, nil
    }
    
    func (m *mappedFile) place(limit uint32, name string) (start, end uint32) {
    	if limit == 0 {
    		// first record in file
    		limit = m.hdrLen + hashOff + 4*numHash
    	}
    	n := round(uint32(16+len(name)), recordUnit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceCmp1(uint8, uint8, uint)
    func libfuzzerTraceCmp2(uint16, uint16, uint)
    func libfuzzerTraceCmp4(uint32, uint32, uint)
    func libfuzzerTraceCmp8(uint64, uint64, uint)
    func libfuzzerTraceConstCmp1(uint8, uint8, uint)
    func libfuzzerTraceConstCmp2(uint16, uint16, uint)
    func libfuzzerTraceConstCmp4(uint32, uint32, uint)
    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/math/rand/rand.go

    // https://lemire.me/blog/2016/06/30/fast-random-shuffling
    func (r *Rand) int31n(n int32) int32 {
    	v := r.Uint32()
    	prod := uint64(v) * uint64(n)
    	low := uint32(prod)
    	if low < uint32(n) {
    		thresh := uint32(-n) % uint32(n)
    		for low < thresh {
    			v = r.Uint32()
    			prod = uint64(v) * uint64(n)
    			low = uint32(prod)
    		}
    	}
    	return int32(prod >> 32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/internal/poll/fd_windows.go

    	runtimeCtx uintptr
    	mode       int32
    
    	// fields used only by net package
    	fd     *FD
    	buf    syscall.WSABuf
    	msg    windows.WSAMsg
    	sa     syscall.Sockaddr
    	rsa    *syscall.RawSockaddrAny
    	rsan   int32
    	handle syscall.Handle
    	flags  uint32
    	qty    uint32
    	bufs   []syscall.WSABuf
    }
    
    func (o *operation) InitBuf(buf []byte) {
    	o.buf.Len = uint32(len(buf))
    	o.buf.Buf = nil
    	if len(buf) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. src/runtime/signal_unix.go

    // the signal handler is currently set to the Go signal handler or not.
    // This is uint32 rather than bool so that we can use atomic instructions.
    var handlingSig [_NSIG]uint32
    
    // channels for synchronizing signal mask updates with the signal mask
    // thread
    var (
    	disableSigChan  chan uint32
    	enableSigChan   chan uint32
    	maskUpdatedChan chan struct{}
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/objfile.go

    			w.Uint32(naux)
    			naux += uint32(nAuxSym(s))
    		}
    	}
    	w.Uint32(naux)
    
    	// Data indexes
    	h.Offsets[goobj.BlkDataIdx] = w.Offset()
    	dataOff := int64(0)
    	for _, list := range lists {
    		for _, s := range list {
    			w.Uint32(uint32(dataOff))
    			dataOff += int64(len(s.P))
    			if file := s.File(); file != nil {
    				dataOff += int64(file.Size)
    			}
    		}
    	}
    	if int64(uint32(dataOff)) != dataOff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. src/syscall/fs_wasip1.go

    	SetNonblock(1, true)
    	SetNonblock(2, true)
    }
    
    type uintptr32 = uint32
    type size = uint32
    type fdflags = uint32
    type filesize = uint64
    type filetype = uint8
    type lookupflags = uint32
    type oflags = uint32
    type rights = uint64
    type timestamp = uint64
    type dircookie = uint64
    type filedelta = int64
    type fstflags = uint32
    
    type iovec struct {
    	buf    uintptr32
    	bufLen size
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. src/compress/bzip2/bzip2.go

    type reader struct {
    	br           bitReader
    	fileCRC      uint32
    	blockCRC     uint32
    	wantBlockCRC uint32
    	setupDone    bool // true if we have parsed the bzip2 header.
    	eof          bool
    	blockSize    int       // blockSize in bytes, i.e. 900 * 1000.
    	c            [256]uint // the ``C'' array for the inverse BWT.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. src/runtime/symtab.go

    	pcdelta := uint32(p[0])
    	n = 1
    	if pcdelta&0x80 != 0 {
    		n, pcdelta = readvarint(p)
    	}
    	p = p[n:]
    	*pc += uintptr(pcdelta * sys.PCQuantum)
    	return p, true
    }
    
    // readvarint reads a varint from p.
    func readvarint(p []byte) (read uint32, val uint32) {
    	var v, shift, n uint32
    	for {
    		b := p[n]
    		n++
    		v |= uint32(b&0x7F) << (shift & 31)
    		if b&0x80 == 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top