Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for FLOAT64 (0.11 sec)

  1. src/crypto/tls/tls_test.go

    	clientConfig.DynamicRecordSizingDisabled = dynamicRecordSizingDisabled
    	clientConfig.MaxVersion = version
    
    	buf := make([]byte, bufsize)
    	chunks := int(math.Ceil(float64(totalBytes) / float64(len(buf))))
    	for i := 0; i < N; i++ {
    		conn, err := Dial("tcp", ln.Addr().String(), clientConfig)
    		if err != nil {
    			b.Fatal(err)
    		}
    		for j := 0; j < chunks; j++ {
    			_, err := conn.Write(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm/asm5.go

    			if immrot(uint32(c.instoffset)) != 0 {
    				return C_ROREG
    			}
    			return C_LOREG
    		}
    
    		return C_GOK
    
    	case obj.TYPE_FCONST:
    		if c.chipzero5(a.Val.(float64)) >= 0 {
    			return C_ZFCON
    		}
    		if c.chipfloat5(a.Val.(float64)) >= 0 {
    			return C_SFCON
    		}
    		return C_LFCON
    
    	case obj.TYPE_TEXTSIZE:
    		return C_TEXTSIZE
    
    	case obj.TYPE_CONST,
    		obj.TYPE_ADDR:
    		switch a.Name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	info, err := s.diskInfoCache.Get()
    	if err != nil {
    		return false
    	}
    	if info.Used == 0 || info.UsedInodes == 0 {
    		return false
    	}
    	return (float64(info.Free)/float64(info.Used)) < almostFilledPercent || (float64(info.FreeInodes)/float64(info.UsedInodes)) < almostFilledPercent
    }
    
    func (s *xlStorage) moveToTrash(filePath string, recursive, immediatePurge bool) (err error) {
    	pathUUID := mustGetUUID()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    			if count == 0 || prevSize <= smallSize && size <= smallSize {
    				useFF = false
    			} else {
    				const r = 2.5                               // threshold
    				geomean := math.Exp(lnsum / float64(count)) // count > 0
    				ratio := float64(size) / geomean
    				useFF = r*ratio <= 1 || r <= ratio
    			}
    		}
    
    		needsLinebreak := 0 < prevLine && prevLine < line
    		if i > 0 {
    			// Use position of expression following the comma as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	switch typeName {
    	case "bool", "*bool":
    		return "boolean"
    	case "uint8", "*uint8", "int", "*int", "int32", "*int32", "int64", "*int64", "uint32", "*uint32", "uint64", "*uint64":
    		return "integer"
    	case "float64", "*float64", "float32", "*float32":
    		return "number"
    	case "metav1.Time", "*metav1.Time":
    		return "string"
    	case "byte", "*byte":
    		return "string"
    	case "v1.DeletionPropagation", "*v1.DeletionPropagation":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier.go

    		}
    	}
    
    	metrics.SyncProxyRulesNoLocalEndpointsTotal.WithLabelValues("internal").Set(float64(serviceNoLocalEndpointsTotalInternal))
    	metrics.SyncProxyRulesNoLocalEndpointsTotal.WithLabelValues("external").Set(float64(serviceNoLocalEndpointsTotalExternal))
    	if proxier.healthzServer != nil {
    		proxier.healthzServer.Updated(proxier.ipFamily)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. src/sync/atomic/atomic_test.go

    	type Data struct {
    		signal int64
    		pad1   [128]int8
    		data1  int64
    		pad2   [128]int8
    		data2  float64
    	}
    	var X Data
    	for p := int64(0); p < 2; p++ {
    		go func(p int64) {
    			for i := int64(1); i < N; i++ {
    				if (i+p)%2 == 0 {
    					X.data1 = i
    					X.data2 = float64(i)
    					StoreInt64(&X.signal, i)
    				} else {
    					for w := 1; LoadInt64(&X.signal) != i; w++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    		return "null"
    	}
    	bs, err := yaml.ToJSON([]byte(yml))
    	if err != nil {
    		panic(err)
    	}
    	return fmt.Sprintf("{\"openAPIV3Schema\": %s}", string(bs))
    }
    
    func float64Ptr(f float64) *float64 {
    	return &f
    }
    
    func strPtr(str string) *string {
    	return &str
    }
    
    func TestNonStructuralSchemaConditionForCRDV1(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	memorySwapBehavior string
    
    	//Function to get node allocatable resources
    	getNodeAllocatable func() v1.ResourceList
    
    	// Memory throttling factor for MemoryQoS
    	memoryThrottlingFactor float64
    
    	// Root directory used to store pod logs
    	podLogsDirectory string
    }
    
    // KubeGenericRuntime is a interface contains interfaces for container runtime and command.
    type KubeGenericRuntime interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    	return multiplyWithOverflowGuard(cr.MaxCost, cr.MaxCardinality)
    }
    
    func getCostErrorMessage(costName string, expressionCost, costLimit uint64) string {
    	exceedFactor := float64(expressionCost) / float64(costLimit)
    	var factor string
    	if exceedFactor > 100.0 {
    		// if exceedFactor is greater than 2 orders of magnitude, the rule is likely O(n^2) or worse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top