Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,948 for integers (0.29 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. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td

    include "mlir/IR/PatternBase.td"
    
    // Here, the element type can be any integer or float type. But, note that only
    // 32 bit integers are supported for the values.
    class GetScalarOfType<int value> : NativeCodeCall<
      "GetScalarOfType(getElementTypeOrSelf($0)," # value # ")">;
    
    // Here, the element type can be any integer or float type. But, note that only
    // 32 bit integers are supported for the values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 21 02:54:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Set<Integer> subset : powerSet) {
            for (Integer value : subset) {
              sum += value;
            }
          }
        }
        return sum;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
                    new CacheLoader<Integer, Integer>() {
                      @Override
                      public Integer load(Integer from) {
                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top