Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Floor (0.04 sec)

  1. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    inline float CalculateLowerBound(const float min_value, const float bin_width) {
      return std::floor(min_value / bin_width) * bin_width;
    }
    
    // Calculates the bin index of the current value.
    inline int32_t CalculateBinIndex(const float value, const float lower_bound,
                                     const float bin_width) {
      return std::floor((value - lower_bound) / bin_width);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/pool_test.go

    // license that can be found in the LICENSE file.
    
    package race_test
    
    import (
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestRacePool(t *testing.T) {
    	// Pool randomly drops the argument on the floor during Put.
    	// Repeat so that at least one iteration gets reuse.
    	for i := 0; i < 10; i++ {
    		c := make(chan int)
    		p := &sync.Pool{New: func() any { return make([]byte, 10) }}
    		x := p.Get().([]byte)
    		x[0] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 933 bytes
    - Viewed (0)
  5. src/math/trig_reduce.go

    // is set by y*C being representable as a float64 without error
    // where y is given by y = floor(x * (4 / Pi)) and C is the leading partial
    // terms of 4/Pi. Since the leading terms (PI4A and PI4B in sin.go) have 30
    // and 32 trailing zero bits, y should have less than 30 significant bits.
    //
    //	y < 1<<30  -> floor(x*4/Pi) < 1<<30 -> x < (1<<30 - 1) * Pi/4
    //
    // So, conservatively we can take x < 1<<29.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return new SafeTreeSet<>(delegate.descendingSet());
      }
    
      @Override
      public E first() {
        return delegate.first();
      }
    
      @Override
      public @Nullable E floor(E e) {
        return delegate.floor(checkValid(e));
      }
    
      @Override
      public SortedSet<E> headSet(E toElement) {
        return headSet(toElement, false);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return new SafeTreeSet<>(delegate.descendingSet());
      }
    
      @Override
      public E first() {
        return delegate.first();
      }
    
      @Override
      public @Nullable E floor(E e) {
        return delegate.floor(checkValid(e));
      }
    
      @Override
      public SortedSet<E> headSet(E toElement) {
        return headSet(toElement, false);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

      %10 = "tf.Mul"(%9, %cst_5) : (tensor<1x98x98x1xf32>, tensor<1xf32>) -> tensor<1x98x98x1xf32>
      %11 = "tf.AddV2"(%10, %cst_8) : (tensor<1x98x98x1xf32>, tensor<f32>) -> tensor<1x98x98x1xf32>
      %12 = "tf.Floor"(%11) : (tensor<1x98x98x1xf32>) -> tensor<1x98x98x1xf32>
      %13 = "tf.Cast"(%12) {Truncate = false} : (tensor<1x98x98x1xf32>) -> tensor<1x98x98x1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. src/math/rand/zipf.go

    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    	k := 0.0
    
    	for {
    		r := z.r.Float64() // r on [0,1]
    		ur := z.hxm + r*z.hx0minusHxm
    		x := z.hinv(ur)
    		k = math.Floor(x + 0.5)
    		if k-x <= z.s {
    			break
    		}
    		if ur >= z.h(k+0.5)-math.Exp(-math.Log(k+z.v)*z.q) {
    			break
    		}
    	}
    	return uint64(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/math/rand/v2/zipf.go

    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    	k := 0.0
    
    	for {
    		r := z.r.Float64() // r on [0,1]
    		ur := z.hxm + r*z.hx0minusHxm
    		x := z.hinv(ur)
    		k = math.Floor(x + 0.5)
    		if k-x <= z.s {
    			break
    		}
    		if ur >= z.h(k+0.5)-math.Exp(-math.Log(k+z.v)*z.q) {
    			break
    		}
    	}
    	return uint64(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 14:29:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top