Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,146 for integers (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go

    	// back quota evaluations that touch the same quota doc.  This only works because we can compare etcd resourceVersions
    	// for the same resource as integers.  Before this change: 22 updates with 12 conflicts.  after this change: 15 updates with 0 conflicts
    	updatedQuotas *lru.Cache
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/IntMath.java

       */
      public static int floorPowerOfTwo(int x) {
        checkPositive("x", x);
        return Integer.highestOneBit(x);
      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code
       * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two.
       */
      public static boolean isPowerOfTwo(int x) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

       */
      public static int floorPowerOfTwo(int x) {
        checkPositive("x", x);
        return Integer.highestOneBit(x);
      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code
       * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two.
       */
      public static boolean isPowerOfTwo(int x) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLongs.java

      /**
       * Sorts the array, treating its elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

      /**
       * Sorts the array, treating its elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisData.java

         * Gets the accessible, inlineable constants of the given class.
         */
        public IntSet getConstants(String className) {
            IntSet integers = classesToConstants.get(className);
            if (integers == null) {
                return IntSets.EMPTY_SET;
            }
            return integers;
        }
    
        public static class Serializer extends AbstractSerializer<ClassSetAnalysisData> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/const1.go

    	maxUint16
    	maxUint32
    	maxUint64
    	maxUint    = 1<<(8<<logSizeofUint) - 1
    	maxUintptr = 1<<(8<<logSizeofUintptr) - 1
    )
    
    const (
    	smallestFloat32 = 1.0 / (1<<(127 - 1 + 23))
    	// TODO(gri) The compiler limits integers to 512 bit and thus
    	//           we cannot compute the value (1<<(1023 - 1 + 52))
    	//           without overflow. For now we match the compiler.
    	//           See also issue #44057.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/JoinerTest.java

      private static class IterableIterator implements Iterable<Integer>, Iterator<Integer> {
        private static final ImmutableSet<Integer> INTEGERS = ImmutableSet.of(1, 2, 3, 4);
        private final Iterator<Integer> iterator;
    
        public IterableIterator() {
          this.iterator = iterator();
        }
    
        @Override
        public Iterator<Integer> iterator() {
          return INTEGERS.iterator();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/JoinerTest.java

      private static class IterableIterator implements Iterable<Integer>, Iterator<Integer> {
        private static final ImmutableSet<Integer> INTEGERS = ImmutableSet.of(1, 2, 3, 4);
        private final Iterator<Integer> iterator;
    
        public IterableIterator() {
          this.iterator = iterator();
        }
    
        @Override
        public Iterator<Integer> iterator() {
          return INTEGERS.iterator();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/strconv/atoi.go

    // digits, err.Err = [ErrSyntax] and the returned value is 0;
    // if the value corresponding to s cannot be represented by a
    // signed integer of the given size, err.Err = [ErrRange] and the
    // returned value is the maximum magnitude integer of the
    // appropriate bitSize and sign.
    //
    // [integer literals]: https://go.dev/ref/spec#Integer_literals
    func ParseInt(s string, base int, bitSize int) (i int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top