Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 128 for UInt32 (0.11 sec)

  1. src/internal/coverage/cfile/testsupport.go

    	// Read counter data files.
    	for _, cdf := range p.CounterDataFiles {
    		if err := readcdf(cdf); err != nil {
    			return err
    		}
    	}
    
    	// Visit meta-data file.
    	np := uint32(mfr.NumPackages())
    	payload := []byte{}
    	for pkIdx := uint32(0); pkIdx < np; pkIdx++ {
    		var pd *decodemeta.CoverageMetaDataDecoder
    		pd, payload, err = mfr.GetPackageDecoder(pkIdx, payload)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/sync/waitgroup.go

    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    		// The first increment must be synchronized with Wait.
    		// Need to model this as a read, because there can be
    		// several concurrent wg.counter transitions from 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    		return nil, fmt.Errorf("%s: corrupt counter file", filename)
    	}
    
    	f := &File{
    		Meta:  make(map[string]string),
    		Count: make(map[string]uint64),
    	}
    	np := round(len(hdrPrefix), 4)
    	hdrLen := *(*uint32)(unsafe.Pointer(&data[np]))
    	if hdrLen > pageSize {
    		return corrupt()
    	}
    	meta := data[np+4 : hdrLen]
    	if i := bytes.IndexByte(meta, 0); i >= 0 {
    		meta = meta[:i]
    	}
    	m := &mappedFile{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/pprof/protomem_test.go

    	actual := profileToStrings(p)
    	expected := []string{
    		"testing.tRunner;runtime/pprof.TestGenericsHashKeyInPprofBuilder;runtime/pprof.genericAllocFunc[go.shape.uint32] [1 128 0 0]",
    		"testing.tRunner;runtime/pprof.TestGenericsHashKeyInPprofBuilder;runtime/pprof.genericAllocFunc[go.shape.uint32] [1 256 0 0]",
    		"testing.tRunner;runtime/pprof.TestGenericsHashKeyInPprofBuilder;runtime/pprof.genericAllocFunc[go.shape.uint64] [1 32 0 0]",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/net/dnsconfig.go

    	lookup        []string      // OpenBSD top-level database "lookup" order
    	err           error         // any error that occurs during open of resolv.conf
    	mtime         time.Time     // time of resolv.conf modification
    	soffset       uint32        // used by serverOffset
    	singleRequest bool          // use sequential A and AAAA queries instead of parallel queries
    	useTCP        bool          // force usage of TCP for DNS resolutions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/pos.go

    	}
    	return uint(base.col)
    }
    
    func (base *PosBase) Trimmed() bool {
    	if base == nil {
    		return false
    	}
    	return base.trimmed
    }
    
    func sat32(x uint) uint32 {
    	if x > PosMax {
    		return PosMax
    	}
    	return uint32(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. internal/grid/muxserver.go

    	}
    }
    
    func (m *muxServer) unblockSend(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if m.outBlock == nil {
    		// Closed
    		return
    	}
    	select {
    	case m.outBlock <- struct{}{}:
    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxServer) ping(seq uint32) pongMsg {
    	if !m.checkSeq(seq) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. pilot/test/xdstest/endpoints.go

    	"istio.io/istio/pilot/pkg/networking/util"
    )
    
    type LbEpInfo struct {
    	Address string
    	// nolint: structcheck
    	Weight uint32
    }
    
    type LocLbEpInfo struct {
    	LbEps  []LbEpInfo
    	Weight uint32
    }
    
    func (i LocLbEpInfo) GetAddrs() []string {
    	addrs := make([]string, 0)
    	for _, ep := range i.LbEps {
    		addrs = append(addrs, ep.Address)
    	}
    	return addrs
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/log/nflog.go

    				src = v4.Src.String()
    				dst = v4.Dst.String()
    			}
    		}
    		prefix := ""
    		if attrs.Prefix != nil {
    			prefix = *attrs.Prefix
    		}
    		comment := IDToCommand[prefix].Comment
    		uid, gid := uint32(0), uint32(0)
    		if attrs.UID != nil {
    			uid = *attrs.UID
    		}
    		if attrs.GID != nil {
    			gid = *attrs.GID
    		}
    		inDev, outDev := "", ""
    		if attrs.InDev != nil {
    			ii, err := net.InterfaceByIndex(int(*attrs.InDev))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/sync/pool.go

    // See discussion on golang.org/cl/31589.
    func poolRaceAddr(x any) unsafe.Pointer {
    	ptr := uintptr((*[2]unsafe.Pointer)(unsafe.Pointer(&x))[1])
    	h := uint32((uint64(uint32(ptr)) * 0x85ebca6b) >> 16)
    	return unsafe.Pointer(&poolRaceHash[h%uint32(len(poolRaceHash))])
    }
    
    // Put adds x to the pool.
    func (p *Pool) Put(x any) {
    	if x == nil {
    		return
    	}
    	if race.Enabled {
    		if runtime_randn(4) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top