Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for subbuckets (0.77 sec)

  1. src/cmd/link/internal/ld/pcln.go

    		}
    
    		// fill in table
    		for i := int32(0); i < nbuckets; i++ {
    			base := indexes[i*SUBBUCKETS]
    			if base == NOIDX {
    				Errorf(nil, "hole in findfunctab")
    			}
    			t.SetUint32(ctxt.Arch, int64(i)*(4+SUBBUCKETS), uint32(base))
    			for j := int32(0); j < SUBBUCKETS && i*SUBBUCKETS+j < n; j++ {
    				idx = indexes[i*SUBBUCKETS+j]
    				if idx == NOIDX {
    					Errorf(nil, "hole in findfunctab")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. src/runtime/symtab.go

    }
    
    // findfuncbucket is an array of these structures.
    // Each bucket represents 4096 bytes of the text segment.
    // Each subbucket represents 256 bytes of the text segment.
    // To find a function given a pc, locate the bucket and subbucket for
    // that pc. Add together the idx and subbucket value to obtain a
    // function index. Then scan the functab array starting at that
    // index to find the target function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. src/runtime/histogram.go

    	if bucket >= timeHistNumBuckets {
    		h.overflow.Add(1)
    		return
    	}
    	// The sub-bucket index is just next timeHistSubBucketBits after the bucketBit.
    	subBucket := uint(duration>>(bucketBit-1-timeHistSubBucketBits)) % timeHistNumSubBuckets
    	h.counts[bucket*timeHistNumSubBuckets+subBucket].Add(1)
    }
    
    // write dumps the histogram to the passed metricValue as a float64 histogram.
    func (h *timeHistogram) write(out *metricValue) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. cmd/site-replication-utils.go

    		ReplicatedSize:  rs.ReplicatedSize,
    		ReplicatedCount: rs.ReplicatedCount,
    		FailedSize:      rs.FailedSize,
    		FailedCount:     rs.FailedCount,
    		Bucket:          rs.Bucket,
    		Object:          rs.Object,
    		NumBuckets:      int64(rs.TotBuckets),
    	}
    	for b, st := range rs.BucketStatuses {
    		if st == ResyncFailed {
    			m.FailedBuckets = append(m.FailedBuckets, b)
    		}
    	}
    	return &m
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  5. src/runtime/export_test.go

    )
    
    type TimeHistogram timeHistogram
    
    // Counts returns the counts for the given bucket, subBucket indices.
    // Returns true if the bucket was valid, otherwise returns the counts
    // for the overflow bucket if bucket > 0 or the underflow bucket if
    // bucket < 0, and false.
    func (th *TimeHistogram) Count(bucket, subBucket int) (uint64, bool) {
    	t := (*timeHistogram)(th)
    	if bucket < 0 {
    		return t.underflow.Load(), false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    // which is used in blocking and mutex profiles.
    type blockRecord struct {
    	count  float64
    	cycles int64
    }
    
    var (
    	mbuckets atomic.UnsafePointer // *bucket, memory profile buckets
    	bbuckets atomic.UnsafePointer // *bucket, blocking profile buckets
    	xbuckets atomic.UnsafePointer // *bucket, mutex profile buckets
    	buckhash atomic.UnsafePointer // *buckhashArray
    
    	mProfCycle mProfCycleHolder
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top