Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for isChan (1.69 sec)

  1. src/math/big/floatconv_test.go

    		{"1.0e0_0", 1},
    		{"1p+1_0", 1024},
    		{"0b_1000", 0x8},
    		{"0b_1011_1101", 0xbd},
    		{"0x_f0_0d_1eP+0_8", 0xf00d1e00},
    	} {
    		var x Float
    		x.SetPrec(53)
    		_, ok := x.SetString(test.s)
    		if math.IsNaN(test.x) {
    			// test.s is invalid
    			if ok {
    				t.Errorf("%s: want parse error", test.s)
    			}
    			continue
    		}
    		// test.s is valid
    		if !ok {
    			t.Errorf("%s: got parse error", test.s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 24.3K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge_test.go

    		t.Error("failed pack/unpack check for scavChunkData 2")
    	}
    }
    
    func FuzzPIController(f *testing.F) {
    	isNormal := func(x float64) bool {
    		return !math.IsInf(x, 0) && !math.IsNaN(x)
    	}
    	isPositive := func(x float64) bool {
    		return isNormal(x) && x > 0
    	}
    	// Seed with constants from controllers in the runtime.
    	// It's not critical that we keep these in sync, they're just
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero
       */
      public final void setRate(double permitsPerSecond) {
        checkArgument(
            permitsPerSecond > 0.0 && !Double.isNaN(permitsPerSecond), "rate must be positive");
        synchronized (mutex()) {
          doSetRate(permitsPerSecond, stopwatch.readMicros());
        }
      }
    
      abstract void doSetRate(double permitsPerSecond, long nowMicros);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. go.work.sum

    github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=
    github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc=
    github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=
    github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
    github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:12 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

        return Float.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#isFinite(float)} instead.
       *
       * @since 10.0
       */
      public static boolean isFinite(float value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Floats.java

        return Float.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#isFinite(float)} instead.
       *
       * @since 10.0
       */
      public static boolean isFinite(float value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/math/big/float.go

    }
    
    // NewFloat allocates and returns a new [Float] set to x,
    // with precision 53 and rounding mode [ToNearestEven].
    // NewFloat panics with [ErrNaN] if x is a NaN.
    func NewFloat(x float64) *Float {
    	if math.IsNaN(x) {
    		panic(ErrNaN{"NewFloat(NaN)"})
    	}
    	return new(Float).SetFloat64(x)
    }
    
    // Exponent and precision limits.
    const (
    	MaxExp  = math.MaxInt32  // largest supported exponent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  8. src/internal/trace/gc.go

    	c.mmu(window, &acc)
    
    	// Evaluate the quantiles on the accumulated MUD.
    	out := make([]float64, len(quantiles))
    	for i := range out {
    		mu, _ := acc.mud.invCumulativeSum(float64(duration) * quantiles[i])
    		if math.IsNaN(mu) {
    			// There are a few legitimate ways this can
    			// happen:
    			//
    			// 1. If the window is the full trace
    			// duration, then the windowed MU function is
    			// only defined at a single point, so the MU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Doubles.java

        return Double.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Double.isInfinite(value) || Double.isNaN(value))}.
       *
       * <p><b>Java 8+ users:</b> use {@link Double#isFinite(double)} instead.
       *
       * @since 10.0
       */
      public static boolean isFinite(double value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Doubles.java

        return Double.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Double.isInfinite(value) || Double.isNaN(value))}.
       *
       * <p><b>Java 8+ users:</b> use {@link Double#isFinite(double)} instead.
       *
       * @since 10.0
       */
      public static boolean isFinite(double value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top