Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,221 for integers (0.1 sec)

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

        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atLeast(Integer.MIN_VALUE), integers()));
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.atMost(Integer.MAX_VALUE), integers()));
      }
    
      @GwtIncompatible // SerializableTester
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt

                "foo"
            )
        }
    
        @Test
        fun `can parse integers`() {
            val parser = combinator.integerLiteral
    
            // regular integers
            assertSuccess(parser("0"))
            assertSuccess(parser("5"))
            assertSuccess(parser("13"))
            assertSuccess(parser("1_000_000"))
    
            // unsigned integers
            assertSuccess(parser("0u"))
            assertSuccess(parser("5U"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. pkg/apis/resource/namedresources.go

    	VersionValue *string
    }
    
    // NamedResourcesIntSlice contains a slice of 64-bit integers.
    type NamedResourcesIntSlice struct {
    	// Ints is the slice of 64-bit integers.
    	Ints []int64
    }
    
    // NamedResourcesStringSlice contains a slice of strings.
    type NamedResourcesStringSlice struct {
    	// Strings is the slice of strings.
    	Strings []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/encoding/binary/varint.go

    package binary
    
    // This file implements "varint" encoding of 64-bit integers.
    // The encoding is:
    // - unsigned integers are serialized 7 bits at a time, starting with the
    //   least significant bits
    // - the most significant bit (msb) in each output byte indicates if there
    //   is a continuation byte (msb = 1)
    // - signed integers are mapped to unsigned integers using "zig-zag"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ContiguousSet.java

       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DiscreteDomain.java

          return (i == Integer.MIN_VALUE) ? null : i - 1;
        }
    
        @Override
        Integer offset(Integer origin, long distance) {
          checkNonnegative(distance, "distance");
          return Ints.checkedCast(origin.longValue() + distance);
        }
    
        @Override
        public long distance(Integer start, Integer end) {
          return (long) end - start;
        }
    
        @Override
        public Integer minValue() {
          return Integer.MIN_VALUE;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	VersionValue *string `json:"version,omitempty" protobuf:"bytes,10,opt,name=version"`
    }
    
    // NamedResourcesIntSlice contains a slice of 64-bit integers.
    type NamedResourcesIntSlice struct {
    	// Ints is the slice of 64-bit integers.
    	//
    	// +listType=atomic
    	Ints []int64 `json:"ints" protobuf:"bytes,1,opt,name=ints"`
    }
    
    // NamedResourcesStringSlice contains a slice of strings.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ContiguousSet.java

       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

          return (i == Integer.MIN_VALUE) ? null : i - 1;
        }
    
        @Override
        Integer offset(Integer origin, long distance) {
          checkNonnegative(distance, "distance");
          return Ints.checkedCast(origin.longValue() + distance);
        }
    
        @Override
        public long distance(Integer start, Integer end) {
          return (long) end - start;
        }
    
        @Override
        public Integer minValue() {
          return Integer.MIN_VALUE;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc

    // multiplier.
    //
    // Args:
    //   double_multiplier: The double-precision floating-point multiplier.
    //
    // Returns:
    //   A quantized multiplier, represented as a pair of integers: the quantized
    //   multiplier and the shift amount. The shift amount is the number of bits
    //   that the quantized multiplier should be shifted to the right before being
    //   used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 19:57:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top