Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 248 for FLOAT64 (0.12 sec)

  1. src/cmd/trace/viewer.go

    		return traceviewer.GRunning
    	default:
    		panic(fmt.Sprintf("unknown GoState: %s", state.String()))
    	}
    }
    
    func viewerTime(t time.Duration) float64 {
    	return float64(t) / float64(time.Microsecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    	if n == 0 {
    		panic("invalid argument to UintN")
    	}
    	return uint(r.uint64n(uint64(n)))
    }
    
    // Float64 returns, as a float64, a pseudo-random number in the half-open interval [0.0,1.0).
    func (r *Rand) Float64() float64 {
    	// There are exactly 1<<53 float64s in [0,1). Use Intn(1<<53) / (1<<53).
    	return float64(r.Uint64()<<11>>11) / (1 << 53)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    				memoryHigh = int64(math.Floor(
    					float64(memoryRequest)+
    						(float64(memoryLimit)-float64(memoryRequest))*float64(m.memoryThrottlingFactor))/float64(defaultPageSize)) * defaultPageSize
    			} else {
    				allocatable := m.getNodeAllocatable()
    				allocatableMemory, ok := allocatable[v1.ResourceMemory]
    				if ok && allocatableMemory.Value() > 0 {
    					memoryHigh = int64(math.Floor(
    						float64(memoryRequest)+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    	listCacheNumReturned.WithLabelValues(resourcePrefix).Add(float64(numReturned))
    }
    
    // RecordResourceVersion sets the current resource version for a given resource type.
    func RecordResourceVersion(resourcePrefix string, resourceVersion uint64) {
    	watchCacheResourceVersion.WithLabelValues(resourcePrefix).Set(float64(resourceVersion))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/math/unsafe.go

    // and Float64bits(Float64frombits(x)) == x.
    func Float64bits(f float64) uint64 { return *(*uint64)(unsafe.Pointer(&f)) }
    
    // Float64frombits returns the floating-point number corresponding
    // to the IEEE 754 binary representation b, with the sign bit of b
    // and the result in the same bit position.
    // Float64frombits(Float64bits(x)) == x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top