Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 222 for 1e23 (0.05 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            }
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
      public void testIsPowerOfTwoYes() {
        for (int i = -1074; i <= 1023; i++) {
          assertTrue(DoubleMath.isPowerOfTwo(StrictMath.pow(2.0, i)));
        }
      }
    
      @GwtIncompatible // DoubleMath.isPowerOfTwo, DoubleMath.log2(double, RoundingMode), StrictMath
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. cmd/api-router.go

    // objectAPIHandlers implements and provides http handlers for S3 API.
    type objectAPIHandlers struct {
    	ObjectAPI func() ObjectLayer
    }
    
    // getHost tries its best to return the request host.
    // According to section 14.23 of RFC 2616 the Host header
    // can include the port number if the default value of 80 is not used.
    func getHost(r *http.Request) string {
    	if r.URL.IsAbs() {
    		return r.URL.Host
    	}
    	return r.Host
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/array_grad_test.cc

    }
    
    TEST_F(ArrayGradTest, StackGrad_Axis1) {
      TensorShape x_shape({1, 2, 3});
      std::vector<Output> xs;
      xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)));
      xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)));
      auto y = Stack(scope_, xs, Stack::Axis(1));
      TensorShape y_shape({1, 2, 2, 3});
      RunTest(xs, {x_shape, x_shape}, {y}, {y_shape});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    				KeyID:                  "1",
    				Annotations:            map[string][]byte{"@": nil},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  5. src/math/big/rat.go

    	mantissa := bits & (1<<52 - 1)
    	exp := int((bits >> 52) & expMask)
    	switch exp {
    	case expMask: // non-finite
    		return nil
    	case 0: // denormal
    		exp -= 1022
    	default: // normal
    		mantissa |= 1 << 52
    		exp -= 1023
    	}
    
    	shift := 52 - exp
    
    	// Optimization (?): partially pre-normalise.
    	for mantissa&1 == 0 && shift > 0 {
    		mantissa >>= 1
    		shift--
    	}
    
    	z.a.SetUint64(mantissa)
    	z.a.neg = f < 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm_test.go

    // bits will produce a valid register number:
    // REG_Rx & 31 == x
    // REG_Fx & 31 == x
    // REG_Vx & 31 == x
    // REG_VSx & 63 == x
    // REG_SPRx & 1023 == x
    // REG_CRx & 7 == x
    //
    // VR and FPR disjointly overlap VSR, interpreting as VSR registers should produce the correctly overlapped VSR.
    // REG_FPx & 63 == x
    // REG_Vx & 63 == x + 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption_test.go

    		updatePodOwnerToRc(t, pod, rc)
    		pod.Labels = labels
    		add(t, dc.podStore, pod)
    		dc.sync(ctx, pdbName)
    		if i < 2 {
    			ps.VerifyPdbStatus(t, pdbName, 0, i+1, 2, 3, map[string]metav1.Time{})
    		} else {
    			ps.VerifyPdbStatus(t, pdbName, 1, 3, 2, 3, map[string]metav1.Time{})
    		}
    	}
    
    	rogue, _ := newPod(t, "rogue")
    	add(t, dc.podStore, rogue)
    	dc.sync(ctx, pdbName)
    	ps.VerifyDisruptionAllowed(t, pdbName, 2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/strconv/ftoaryu.go

    	}
    	// Proceed to the requested number of digits
    	formatDecimal(d, di, !d0, roundUp, prec)
    	// Adjust exponent
    	d.dp -= q
    }
    
    var uint64pow10 = [...]uint64{
    	1, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
    	1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
    }
    
    // formatDecimal fills d with at most prec decimal digits
    // of mantissa m. The boolean trunc indicates whether m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func (o *RemoteSecretOptions) prepare(ctx cli.Context) error {
    	o.KubeOptions.prepare(ctx)
    
    	if o.ClusterName != "" {
    		if !labels.IsDNS1123Label(o.ClusterName) {
    			return fmt.Errorf("%v is not a valid DNS 1123 label", o.ClusterName)
    		}
    	}
    	return nil
    }
    
    type Warning error
    
    func createRemoteSecret(opt RemoteSecretOptions, client kube.CLIClient) (*v1.Secret, Warning, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// +optional
    	KubernetesVersion string `json:"kubernetesVersion,omitempty"`
    
    	// ControlPlaneEndpoint sets a stable IP address or DNS name for the control plane; it
    	// can be a valid IP address or a RFC-1123 DNS subdomain, both with optional TCP port.
    	// In case the ControlPlaneEndpoint is not specified, the AdvertiseAddress + BindPort
    	// are used; in case the ControlPlaneEndpoint is specified but without a TCP port,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top