Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 568 for ceiling (0.03 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double fpp = 0.03;
        for (int i = 1; i < 10000; i++) {
          long numBits = BloomFilter.optimalNumOfBits(i, fpp);
          int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING));
          assertEquals(
              arraySize * Long.SIZE,
              BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
      public void testApproximateElementCount() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

        }
      }
    
      /** A bit mask were all bits are set. */
      private static final int ALL_SET = ~0;
    
      private static int ceilToPowerOfTwo(int x) {
        return 1 << IntMath.log2(x, RoundingMode.CEILING);
      }
    
      /*
       * This method was written by Doug Lea with assistance from members of JCP JSR-166 Expert Group
       * and released to the public domain, as explained at
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        NavigableSet<E> delegate() {
          return (NavigableSet<E>) super.delegate();
        }
    
        @Override
        public @Nullable E ceiling(E e) {
          synchronized (mutex) {
            return delegate().ceiling(e);
          }
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return delegate().descendingIterator(); // manually synchronized
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        NavigableSet<E> delegate() {
          return (NavigableSet<E>) super.delegate();
        }
    
        @Override
        public @Nullable E ceiling(E e) {
          synchronized (mutex) {
            return delegate().ceiling(e);
          }
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return delegate().descendingIterator(); // manually synchronized
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Lists.java

          int end = min(start + size, list.size());
          return list.subList(start, end);
        }
    
        @Override
        public int size() {
          return IntMath.divide(list.size(), size, RoundingMode.CEILING);
        }
    
        @Override
        public boolean isEmpty() {
          return list.isEmpty();
        }
      }
    
      private static final class RandomAccessPartition<T extends @Nullable Object> extends Partition<T>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

        return max(
            ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY,
            sqrt(inputElementsIncludingAnyDuplicates, RoundingMode.CEILING));
      }
    
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 0xcafebabe;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. cmd/utils.go

    		TCPOptions:       globalTCPOptions,
    		EnableHTTP2:      false,
    	}.NewRemoteTargetHTTPTransport(insecure)
    }
    
    // ceilFrac takes a numerator and denominator representing a fraction
    // and returns its ceiling. If denominator is 0, it returns 0 instead
    // of crashing.
    func ceilFrac(numerator, denominator int64) (ceil int64) {
    	if denominator == 0 {
    		// do nothing on invalid input
    		return ceil
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/failing-test.yaml

    name: Failing Test
    description: Report continuously failing tests or jobs in Kubernetes CI
    labels: kind/failing-test
    body:
      - type: textarea
        id: jobs
        attributes:
          label: Which jobs are failing?
          placeholder: |
            Please only use this template for submitting reports about continuously failing tests or jobs in Kubernetes CI.
        validations:
          required: true
    
      - type: textarea
        id: tests
        attributes:
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. .github/workflows/go-healing.yml

            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make verify-healing
              make verify-healing-inconsistent-versions
              make verify-healing-with-root-disks
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    const (
    	xMinIOHealing = ReservedMetadataPrefix + "healing"
    	xMinIODataMov = ReservedMetadataPrefix + "data-mov"
    )
    
    // SetHealing marks object (version) as being healed.
    // Note: this is to be used only from healObject
    func (fi *FileInfo) SetHealing() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[xMinIOHealing] = "true"
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top