Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 246 for xBuckets (0.1 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static int consistentHash(HashCode hashCode, int buckets) {
        return consistentHash(hashCode.padToLong(), buckets);
      }
    
      /**
       * Assigns to {@code input} a "bucket" in the range {@code [0, buckets)}, in a uniform manner that
       * minimizes the need for remapping as {@code buckets} grows. That is, {@code consistentHash(h,
       * n)} equals:
       *
       * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. cmd/peer-s3-client.go

    					resultMap[bi.Name] = bi
    				}
    			}
    		}
    		// loop through buckets and see if some with lost quorum
    		// these could be stale buckets lying around, queue a heal
    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	buckets, err := obj.ListBuckets(context.Background(), BucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if len(buckets) != 2 {
    		t.Errorf("%s: Expected number of bucket to be `%d`, but instead found `%d`", instanceType, 2, len(buckets))
    	}
    
    	if buckets[0].Name != "bucket1" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/bucket-extensions.kt

            bucketsOfFirstElement + bucketsOfRestElements
        } else {
            val buckets = arrayListOf(largestElement)
            var restCapacity = expectedBucketSize - toIntFunction(largestElement)
            while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) {
                val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break
                list.remove(smallestElement)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. cmd/data-usage-utils.go

    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    	VersionsTotalCount uint64 `json:"versionsCount"`
    
    	// Delete markers total count across all buckets
    	DeleteMarkersTotalCount uint64 `json:"deleteMarkersCount"`
    
    	// Objects total size across all buckets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/monitor.go

    }
    
    // SelectionFunction for buckets
    type SelectionFunction func(bucket string) bool
    
    // SelectBuckets will select all the buckets passed in.
    func SelectBuckets(buckets ...string) SelectionFunction {
    	if len(buckets) == 0 {
    		return func(bucket string) bool {
    			return true
    		}
    	}
    	return func(bucket string) bool {
    		for _, bkt := range buckets {
    			if bkt == bucket {
    				return true
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    import java.util.LinkedList
    
    const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check"
    const val MAX_PROJECT_NUMBER_IN_BUCKET = 11
    
    /**
     * Process test-class-data.json and generates test-buckets.json
     *
     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. helm/minio/templates/_helper_create_bucket.txt

    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.buckets }}
    {{ $global := . }}
    # Create the buckets
    {{- range .Values.buckets }}
    createBucket {{ tpl .name $global }} {{ .policy | default "none" | quote }} {{ .purge | default false }} {{ .versioning | default false }} {{ .objectlocking | default false }}
    {{- end }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

      static Object createTable(int buckets) {
        if (buckets < 2
            || buckets > Ints.MAX_POWER_OF_TWO
            || Integer.highestOneBit(buckets) != buckets) {
          throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets);
        }
        if (buckets <= BYTE_MAX_SIZE) {
          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top