Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 366 for bucketsOf (0.17 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        // deal with empty-map optimization.
        map1.put(0, null);
    
        int initialBuckets = bucketsOf(map1);
    
        for (int i = 1; i < size; i++) {
          map1.put(i, null);
        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. .teamcity/test-buckets.json

    [
    	{
    		"buckets":[
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"dependency-management"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"configuration-cache"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    				"subprojects":[
    					"tooling-api"
    				]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  3. releasenotes/notes/bootstrap-histogram-buckets.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 13 21:29:54 UTC 2023
    - 221 bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    				sys.Unlock()
    
    				// Initialize the failed buckets
    				if _, ok := failedBuckets[buckets[i].Name]; ok {
    					globalEventNotifier.set(buckets[i], meta)
    					globalBucketTargetSys.set(buckets[i], meta)
    					delete(failedBuckets, buckets[i].Name)
    				}
    
    				wait() // wait to proceed to next entry.
    			}
    		}
    		t.Reset(bucketMetadataRefresh)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. cmd/bucket-metadata.go

    	"context"
    	"crypto/rand"
    	"encoding/binary"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"path"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/tags"
    	bucketsse "github.com/minio/minio/internal/bucket/encryption"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/replication"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. src/runtime/metrics/histogram.go

    	// Counts contains the weights for each histogram bucket.
    	//
    	// Given N buckets, Count[n] is the weight of the range
    	// [bucket[n], bucket[n+1]), for 0 <= n < N.
    	Counts []uint64
    
    	// Buckets contains the boundaries of the histogram buckets, in increasing order.
    	//
    	// Buckets[0] is the inclusive lower bound of the minimum bucket while
    	// Buckets[len(Buckets)-1] is the exclusive upper bound of the maximum bucket.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 03:43:44 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  7. cmd/metacache-manager.go

    // It should never be used directly since buckets are
    // distributed deterministically.
    // Therefore no cluster locks are required.
    var localMetacacheMgr = &metacacheManager{
    	buckets: make(map[string]*bucketMetacache),
    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/histogram.go

    		h.Buckets = h.Buckets[:cap(h.Buckets)]
    	}
    	h.Buckets[bucket]++
    	if bucket < h.MinBucket || h.MaxBucket == 0 {
    		h.MinBucket = bucket
    	}
    	if bucket > h.MaxBucket {
    		h.MaxBucket = bucket
    	}
    	h.Count++
    }
    
    // BucketMin returns the minimum duration value for a provided bucket.
    func (h *TimeHistogram) BucketMin(bucket int) time.Duration {
    	return time.Duration(math.Exp(float64(bucket) * logDiv))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/runtime/map.go

    		// To keep the overhead of tracking these overflow buckets to a minimum,
    		// we use the convention that if a preallocated overflow bucket's overflow
    		// pointer is nil, then there are more available by bumping the pointer.
    		// We need a safe non-nil pointer for the last overflow bucket; just use buckets.
    		nextOverflow = (*bmap)(add(buckets, base*uintptr(t.BucketSize)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/runtime/histogram.go

    	// Values are placed in buckets based solely on the most
    	// significant set bit. Thus, buckets are power-of-2 sized.
    	// Values are then placed into sub-buckets based on the value of
    	// the next timeHistSubBucketBits most significant bits. Thus,
    	// sub-buckets are linear within a bucket.
    	//
    	// Therefore, the number of sub-buckets (timeHistNumSubBuckets)
    	// defines the error. This error may be computed as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top