Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 260 for bucketsse (0.05 seconds)

  1. cmd/erasure.go

    		Cache: make(map[string]dataUsageEntry, len(oldCache.Cache)),
    	}
    
    	// Put all buckets into channel.
    	bucketCh := make(chan BucketInfo, len(buckets))
    
    	// Shuffle buckets to ensure total randomness of buckets, being scanned.
    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/BucketExtensions.kt

            return bucketsOfFirstElement + bucketsOfRestElements
        } else {
            val buckets = arrayListOf(largestElement)
            var restCapacity = roughSizeOfEachBucket - toIntFunction(largestElement)
            while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) {
                val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break
                list.remove(smallestElement)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. 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) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. 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>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                });
                final Terms agg = list.getAggregations().get(SearchLogPager.LOG_TYPE_CLICK_COUNT);
                final List<? extends Terms.Bucket> buckets = agg.getBuckets();
                updatePagerByAgg(pager, buckets.size());
                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  6. cmd/metrics-v3-handler.go

    			// For Bucket metrics we need to set the buckets argument inside the
    			// metric group, so that it will affect collection. If no buckets
    			// are provided, we will not return bucket metrics.
    			if bmg, ok := h.metricsData.bucketMGMap[collectorPath]; ok {
    				if len(buckets) == 0 {
    					continue
    				}
    				unLocker := bmg.LockAndSetBuckets(buckets)
    				defer unLocker()
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/SplitBucketTest.kt

                    maxNumberInBucket = 3,
                )
    
            assertTrue(buckets.size == 5)
            assertEquals("LargeSubprojectSplit(subproject=Subproject(name=a, size=20), split=1)", buckets[0].toString())
            assertEquals("LargeSubprojectSplit(subproject=Subproject(name=b, size=19), split=1)", buckets[1].toString())
            assertEquals(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  10. .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() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top