Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for Floor (0.09 sec)

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

        assertThat(set.floor("f")).isNull();
      }
    
      public void testFloor_elementPresent() {
        ImmutableSortedSet<String> set =
            ImmutableSortedSet.copyOf(new String[] {"e", "a", "e", "f", "b", "i", "d", "a", "c", "k"});
        assertThat(set.floor("f")).isEqualTo("f");
        assertThat(set.floor("j")).isEqualTo("i");
        assertThat(set.floor("q")).isEqualTo("k");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

        @CheckForNull
        private AvlNode<E> floor(Comparator<? super E> comparator, @ParametricNullness E e) {
          int cmp = comparator.compare(e, getElement());
          if (cmp > 0) {
            return (right == null) ? this : MoreObjects.firstNonNull(right.floor(comparator, e), this);
          } else if (cmp == 0) {
            return this;
          } else {
            return (left == null) ? null : left.floor(comparator, e);
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand.go

    	// In general (x*n)/2⁶⁴ = k for x*n in [k*2⁶⁴,(k+1)*2⁶⁴).
    	// There are either floor(2⁶⁴/n) or ceil(2⁶⁴/n) possible products
    	// in that range, depending on k.
    	// But suppose we reject the sample and try again when
    	// x*n is in [k*2⁶⁴, k*2⁶⁴+(2⁶⁴%n)), meaning rejecting fewer than n possible
    	// outcomes out of the 2⁶⁴.
    	// Now there are exactly floor(2⁶⁴/n) possible ways to produce
    	// each output value k, so we've restored uniformity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/DoubleMath.java

          throw new ArithmeticException("input is infinite or NaN");
        }
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isMathematicalInteger(x));
            return x;
    
          case FLOOR:
            if (x >= 0.0 || isMathematicalInteger(x)) {
              return x;
            } else {
              return (long) x - 1;
            }
    
          case CEILING:
            if (x <= 0.0 || isMathematicalInteger(x)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/DoubleMath.java

          throw new ArithmeticException("input is infinite or NaN");
        }
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(isMathematicalInteger(x));
            return x;
    
          case FLOOR:
            if (x >= 0.0 || isMathematicalInteger(x)) {
              return x;
            } else {
              return (long) x - 1;
            }
    
          case CEILING:
            if (x <= 0.0 || isMathematicalInteger(x)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %9 = mhlo.multiply %7, %8 : tensor<4xf32>
      %10 = "mhlo.broadcast_in_dim"(%2) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<f32>) -> tensor<4xf32>
      %11 = mhlo.divide %9, %10 : tensor<4xf32>
      %12 = mhlo.floor %11 : tensor<4xf32>
      %13 = mhlo.convert %12 : (tensor<4xf32>) -> tensor<4xi32>
      %14 = "mhlo.broadcast_in_dim"(%1) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<i32>) -> tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            def operand22 = moduleId('crib', 'shame')
            def operand23 = moduleId('plate', 'authority')
            def operand24 = moduleId('stove', 'cave')
            def operand25 = moduleId('floor', 'shelf')
            def operand26 = moduleId('snakes', 'snakes')
            def operand27 = moduleId('crib', 'ants')
            def operand28 = moduleId('comparison', 'comparison')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @CheckForNull
        public V lower(@ParametricNullness V v) {
          return getSortedSetDelegate().lower(v);
        }
    
        @Override
        @CheckForNull
        public V floor(@ParametricNullness V v) {
          return getSortedSetDelegate().floor(v);
        }
    
        @Override
        @CheckForNull
        public V ceiling(@ParametricNullness V v) {
          return getSortedSetDelegate().ceiling(v);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. src/runtime/runtime.go

    	godebugNewIncNonDefault.Store(p)
    }
    
    // A godebugInc provides access to internal/godebug's IncNonDefault function
    // for a given GODEBUG setting.
    // Calls before internal/godebug registers itself are dropped on the floor.
    type godebugInc struct {
    	name string
    	inc  atomic.Pointer[func()]
    }
    
    func (g *godebugInc) IncNonDefault() {
    	inc := g.inc.Load()
    	if inc == nil {
    		newInc := godebugNewIncNonDefault.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0 : tensor<1x1x1x96xf32>
    //CHECK-NEXT:}
    
    func.func @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
     %0 = "vhlo.floor_v1" (%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32>
     func.return %0 : tensor<1x1x1x96xf32>
    }
    
    //CHECK:func.func private @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (1)
Back to top