Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 776 for math3 (0.05 sec)

  1. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.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. pkg/kubelet/kubelet_pods_linux_test.go

    					{
    						MountPath:        "/etc/hosts",
    						Name:             "disk",
    						ReadOnly:         false,
    						MountPropagation: &propagationHostToContainer,
    					},
    					{
    						MountPath:        "/mnt/path3",
    						Name:             "disk",
    						ReadOnly:         true,
    						MountPropagation: &propagationNone,
    					},
    					{
    						MountPath: "/mnt/path4",
    						Name:      "disk4",
    						ReadOnly:  false,
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	case "url", "lowerAscii", "upperAscii", "substring", "trim":
    		if len(args) >= 1 {
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "replace", "split":
    		if len(args) >= 1 {
    			// cost is the traversal plus the construction of the result
    			cost := uint64(math.Ceil(float64(actualSize(args[0])) * 2 * common.StringTraversalCostFactor))
    			return &cost
    		}
    	case "join":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/math/rand/rand_test.go

    	testWn = make([]float32, 128)
    	testFn = make([]float32, 128)
    
    	q := vn / math.Exp(-0.5*dn*dn)
    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    	testWn[127] = float32(dn / m1)
    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		// choose a single representation for all NaN values. For the purposes of this test,
    		// all NaN representations are equivalent.
    		func(a float64, b float64) bool {
    			if math.IsNaN(a) && math.IsNaN(b) {
    				return true
    			}
    			return math.Float64bits(a) == math.Float64bits(b)
    		},
    	)
    
    	const (
    		reasonArrayFixedLength  = "indefinite-length arrays are re-encoded with fixed length"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls1.go

    	t11 *complex64 = &v
    	t12 complex64 = -(u + *t11) / *&v
    	t13 int = a /* ERROR "shifted operand" */ << d
    	t14 int = i << j
    	t15 math /* ERROR "math is not a type" */
    	t16 math.xxx /* ERROR "undefined" */
    	t17 math /* ERROR "not a type" */ .Pi
    	t18 float64 = math.Pi * 10.0
    	t19 int = t1 /* ERROR "cannot call" */ ()
    	t20 int = f0 /* ERROR "no value" */ ()
    	t21 int = a /* ERRORx `cannot use .* variable declaration` */
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top