Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,948 for integers (0.17 sec)

  1. 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)
  2. 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)
  3. test/peano.go

    }
    
    func fact(n *Number) *Number {
    	if is_zero(n) {
    		return add1(zero())
    	}
    
    	return mul(fact(sub1(n)), n)
    }
    
    // -------------------------------------
    // Helpers to generate/count Peano integers
    
    func gen(n int) *Number {
    	if n > 0 {
    		return add1(gen(n - 1))
    	}
    
    	return zero()
    }
    
    func count(x *Number) int {
    	if is_zero(x) {
    		return 0
    	}
    
    	return count(sub1(x)) + 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 30 19:39:18 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/cc/gradients/grad_helper.cc

      // Normalize any negative indices in the reduction_axes to positive
      // values.
      auto axes = Mod(scope, Add(scope, reduction_axes, input_rank), input_rank);
    
      // This [0..input_rank) range of integers is used in DynamicStitch to
      // first copy input_shape to the result.
      // input_rank_range = [0, 1, 2, 3]
      auto input_rank_range = Range(scope, zero, input_rank, one);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/math/BigDecimalMath.java

       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sparsemap.go

    type sparseEntry struct {
    	key ID
    	val int32
    }
    
    type sparseMap struct {
    	dense  []sparseEntry
    	sparse []int32
    }
    
    // newSparseMap returns a sparseMap that can map
    // integers between 0 and n-1 to int32s.
    func newSparseMap(n int) *sparseMap {
    	return &sparseMap{dense: nil, sparse: make([]int32, n)}
    }
    
    func (s *sparseMap) cap() int {
    	return len(s.sparse)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:06 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/math/BigDecimalMath.java

       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top