Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,784 for nmPath (0.12 sec)

  1. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.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.randomNonZeroBigInteger;
    import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
    
    import com.google.caliper.BeforeExperiment;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  2. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/internal/fuzz/mutator.go

    	case int8:
    		vals[i] = int8(m.mutateInt(int64(v), math.MaxInt8))
    	case int16:
    		vals[i] = int16(m.mutateInt(int64(v), math.MaxInt16))
    	case int64:
    		vals[i] = m.mutateInt(v, maxInt)
    	case uint:
    		vals[i] = uint(m.mutateUInt(uint64(v), maxUint))
    	case uint16:
    		vals[i] = uint16(m.mutateUInt(uint64(v), math.MaxUint16))
    	case uint32:
    		vals[i] = uint32(m.mutateUInt(uint64(v), math.MaxUint32))
    	case uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int_test.go

    		{big.NewInt(0).Sub(maxInt64, bigOne), 1, 0, (math.MaxInt64-1)/10 + 1},
    		// large intermediate result.
    		{big.NewInt(1).Exp(big.NewInt(10), big.NewInt(100), nil), 100, 0, 1},
    
    		// scale up
    		{big.NewInt(0), 0, 3, 0},
    		{big.NewInt(1), 0, 3, 1000},
    		{big.NewInt(1), -3, 0, 1000},
    		{big.NewInt(1000), -3, 2, 100000000},
    		{big.NewInt(0).Div(big.NewInt(math.MaxInt64), bigThousand), 0, 3,
    			(math.MaxInt64 / 1000) * 1000},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue16804.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 16804: internal error for math.Sqrt as statement
    //              rather than expression
    
    package main
    
    import "math"
    
    func sqrt() {
    	math.Sqrt(2.0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 21 16:49:48 UTC 2016
    - 331 bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.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 java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/importdecl0/importdecl0b.go

    package importdecl0
    
    import "math"
    import m "math"
    
    import . "testing" // declares T in file scope
    import . /* ERRORx `.unsafe. imported and not used` */ "unsafe"
    import . "fmt"     // declares Println in file scope
    
    import (
    	"" /* ERROR "invalid import path" */
    	"a!b" /* ERROR "invalid import path" */
    	"abc\xffdef" /* ERROR "invalid import path" */
    )
    
    // using "math" in this file doesn't affect its use in other files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 742 bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/histogram.go

    package traceviewer
    
    import (
    	"fmt"
    	"html/template"
    	"math"
    	"strings"
    	"time"
    )
    
    // TimeHistogram is an high-dynamic-range histogram for durations.
    type TimeHistogram struct {
    	Count                int
    	Buckets              []int
    	MinBucket, MaxBucket int
    }
    
    // Five buckets for every power of 10.
    var logDiv = math.Log(math.Pow(10, 1.0/5))
    
    // Add adds a single sample to the histogram.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uintptr(0)), 0, 1, 5),
    	ct(reflect.TypeOf(string("")), "", "a", "ab"),
    	ct(reflect.TypeOf(float32(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(float64(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(complex64(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. test/convinline.go

    		return fmt.Sprintf("%s(%#x)", t2, uint64(v))
    	case "uintptr":
    		return fmt.Sprintf("%s(%#x)", t2, uintptr(v))
    	case "float32":
    		v := float32(v)
    		if math.IsInf(float64(v), -1) {
    			return "float32(math.Inf(-1))"
    		}
    		if math.IsInf(float64(v), +1) {
    			return "float32(math.Inf(+1))"
    		}
    		return fmt.Sprintf("%s(%v)", t2, float64(v))
    	case "float64":
    		return fmt.Sprintf("%s(%v)", t2, float64(v))
    	}
    	panic(t2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top