Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,287 for Math (0.09 sec)

  1. guava/src/com/google/common/math/ToDoubleRounder.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.RoundingMode;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.get());
          assertFalse(at.compareAndSet(unused, x));
          assertBitEquals(prev, at.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    		tot := v[Total]
    		lavg += v[Large].Avg
    		lcurr += v[Large].Curr
    		savg += v[Small].Avg
    		scurr += v[Small].Curr
    		totpeak = math.Max(math.Max(tot.Peak, totpeak), tot.Curr)
    		lpeak = math.Max(math.Max(v[Large].Peak, lpeak), v[Large].Curr)
    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomExponent;
    import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static com.google.common.math.MathBenchmarking.randomDouble;
    import static com.google.common.math.MathBenchmarking.randomPositiveDouble;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/DoubleUtils.java

    import static java.lang.Double.isNaN;
    import static java.lang.Double.longBitsToDouble;
    import static java.lang.Math.getExponent;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.math.BigInteger;
    
    /**
     * Utilities for {@code double} primitives.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. internal/pubsub/mask.go

    package pubsub
    
    import (
    	"math"
    	"math/bits"
    )
    
    // Mask allows filtering by a bitset mask.
    type Mask uint64
    
    const (
    	// MaskAll is the mask for all entries.
    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    				cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. api/next/62384.txt

    pkg log/slog, method (Level) AppendText([]uint8) ([]uint8, error) #62384
    pkg log/slog, method (*LevelVar) AppendText([]uint8) ([]uint8, error) #62384
    pkg math/big, method (*Float) AppendText([]uint8) ([]uint8, error) #62384
    pkg math/big, method (*Int) AppendText([]uint8) ([]uint8, error) #62384
    pkg math/big, method (*Rat) AppendText([]uint8) ([]uint8, error) #62384
    pkg regexp, method (*Regexp) AppendText([]uint8) ([]uint8, error) #62384
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 18:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top