Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 331 for FLOAT64 (0.13 sec)

  1. cmd/metrics-v3-cluster-config.go

    	clusterDriveMetrics, err := c.clusterDriveMetrics.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		m.Set(configStandardParity, float64(clusterDriveMetrics.storageInfo.Backend.StandardSCParity))
    		m.Set(configRRSParity, float64(clusterDriveMetrics.storageInfo.Backend.RRSCParity))
    	}
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/spec/range_int.go

    		_ = i
    	}
    	for i := range 1i /* ERROR "cannot range over 1i (untyped complex constant (0 + 1i))" */ {
    		_ = i
    	}
    
    	var j float64
    	_ = j
    	for j /* ERROR "cannot use iteration variable of type float64" */ = range 1 {
    	}
    	for j = range 1.1 /* ERROR "cannot range over 1.1 (untyped float constant)" */ {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/builtins0.go

    		_ = cap /* ERROR "not constant" */ ([4]int{cap([]int{})})
    		_ = cap([4]int{cap([4]int{})})
    	)
    	var y float64
    	var z complex128
    	const (
    		_ = cap([4]float64{})
    		_ = cap([4]float64{y})
    		_ = cap([4]float64{real(2i)})
    		_ = cap /* ERROR "not constant" */ ([4]float64{real(z)})
    	)
    	var ch chan [10]int
    	const (
    		_ = cap /* ERROR "not constant" */ (<-ch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    	}
    }
    
    // Metrics contains metrics about the authentication plugin service.
    type Metrics struct {
    	LastReachableSecs, LastUnreachableSecs float64
    
    	// Last whole minute stats
    	TotalRequests, FailedRequests int64
    	AvgSuccRTTMs                  float64
    	MaxSuccRTTMs                  float64
    }
    
    // Metrics reports metrics related to plugin service reachability and stats for the last whole minute
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/flag/flag.go

    func Float64Var(p *float64, name string, value float64, usage string) {
    	CommandLine.Var(newFloat64Value(value, p), name, usage)
    }
    
    // Float64 defines a float64 flag with specified name, default value, and usage string.
    // The return value is the address of a float64 variable that stores the value of the flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation_test.go

    				"strings":             []interface{}{"a", "b", "a"},
    				"integers":            []interface{}{int64(1), int64(2), int64(1)},
    				"booleans":            []interface{}{false, true, true},
    				"float64":             []interface{}{float64(1.0), float64(2.0), float64(2.0)},
    				"nil":                 []interface{}{"a", nil, nil},
    				"empty maps":          []interface{}{map[string]interface{}{"a": "b"}, map[string]interface{}{}, map[string]interface{}{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/cmd/trace/main.go

    	// Print a nice message for a partial trace.
    	if parsed.err != nil {
    		log.Printf("Encountered error, but able to proceed. Error: %v", parsed.err)
    
    		lost := parsed.size - parsed.valid
    		pct := float64(lost) / float64(parsed.size) * 100
    		log.Printf("Lost %.2f%% of the latest trace data due to error (%s of %s)", pct, byteCount(lost), byteCount(parsed.size))
    	}
    
    	log.Print("Splitting trace for viewer...")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/encoding/binary/binary.go

    	case reflect.Uint64:
    		v.SetUint(d.uint64())
    
    	case reflect.Float32:
    		v.SetFloat(float64(math.Float32frombits(d.uint32())))
    	case reflect.Float64:
    		v.SetFloat(math.Float64frombits(d.uint64()))
    
    	case reflect.Complex64:
    		v.SetComplex(complex(
    			float64(math.Float32frombits(d.uint32())),
    			float64(math.Float32frombits(d.uint32())),
    		))
    	case reflect.Complex128:
    		v.SetComplex(complex(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    		},
    		{
    			name:          "smallest nonzero float64",
    			in:            hex("fb0000000000000001"),
    			want:          float64(math.SmallestNonzeroFloat64),
    			assertOnError: assertNilError,
    		},
    		{
    			name:          "max float64 value",
    			in:            hex("fb7fefffffffffffff"),
    			want:          float64(math.MaxFloat64),
    			assertOnError: assertNilError,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. src/cmd/trace/goroutines.go

    			}
    		}
    
    		// Compute the percent of total execution time these goroutines represent.
    		execTimePercent := ""
    		if totalExecTime > 0 {
    			execTimePercent = fmt.Sprintf("%.2f%%", float64(execTime)/float64(totalExecTime)*100)
    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(goroutines, func(a, b goroutine) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top