Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 248 for FLOAT64 (0.14 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod.go

    	sets.InsertOrNew(pc.needResync, ip, key)
    	endpointsPendingPodUpdate.Record(float64(len(pc.needResync)))
    }
    
    // endpointDeleted cleans up endpoint from resync endpoint list.
    func (pc *PodCache) endpointDeleted(key types.NamespacedName, ip string) {
    	pc.Lock()
    	defer pc.Unlock()
    	sets.DeleteCleanupLast(pc.needResync, ip, key)
    	endpointsPendingPodUpdate.Record(float64(len(pc.needResync)))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/runtime/mksizeclasses.go

    		if i == 0 {
    			continue
    		}
    		spanSize := c.npages * pageSize
    		objects := spanSize / c.size
    		tailWaste := spanSize - c.size*(spanSize/c.size)
    		maxWaste := float64((c.size-prevSize-1)*objects+tailWaste) / float64(spanSize)
    		alignBits := bits.TrailingZeros(uint(c.size))
    		if alignBits > pageShift {
    			// object alignment is capped at page alignment
    			alignBits = pageShift
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. pilot/pkg/features/telemetry.go

    var (
    	traceSamplingVar = env.Register(
    		"PILOT_TRACE_SAMPLING",
    		1.0,
    		"Sets the mesh-wide trace sampling percentage. Should be 0.0 - 100.0. Precision to 0.01. "+
    			"Default is 1.0.",
    	)
    
    	TraceSampling = func() float64 {
    		f := traceSamplingVar.Get()
    		if f < 0.0 || f > 100.0 {
    			log.Warnf("PILOT_TRACE_SAMPLING out of range: %v", f)
    			return 1.0
    		}
    		return f
    	}()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/config/types.go

    	HorizontalPodAutoscalerDownscaleStabilizationWindow metav1.Duration
    	// horizontalPodAutoscalerTolerance is the tolerance for when
    	// resource usage suggests upscaling/downscaling
    	HorizontalPodAutoscalerTolerance float64
    	// HorizontalPodAutoscalerCPUInitializationPeriod is the period after pod start when CPU samples
    	// might be skipped.
    	HorizontalPodAutoscalerCPUInitializationPeriod metav1.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/testing/internal/testdeps/deps.go

    var (
    	CoverSnapshotFunc           func() float64
    	CoverProcessTestDirFunc     func(dir string, cfile string, cm string, cpkg string, w io.Writer) error
    	CoverMarkProfileEmittedFunc func(val bool)
    )
    
    func (TestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) {
    	if CoverMode == "" {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. security/pkg/server/ca/server.go

    	rootCertPem, err := util.ParsePemEncodedCertificate(keyCertBundle.GetRootCertPem())
    	if err != nil {
    		serverCaLog.Errorf("failed to parse the root cert: %v", err)
    	}
    	rootCertExpirySeconds.ValueFrom(func() float64 { return time.Until(rootCertPem.NotAfter).Seconds() })
    
    	if len(keyCertBundle.GetCertChainPem()) == 0 {
    		return
    	}
    
    	certChainExpiry, err := keyCertBundle.ExtractCACertExpiryTimestamp()
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/reflect/value.go

    	switch v.kind() {
    	case Float32, Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // Float returns v's underlying value, as a float64.
    // It panics if v's Kind is not [Float32] or [Float64]
    func (v Value) Float() float64 {
    	k := v.kind()
    	switch k {
    	case Float32:
    		return float64(*(*float32)(v.ptr))
    	case Float64:
    		return *(*float64)(v.ptr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    func edgeEntropyScore(n *Node, edges EdgeMap, self int64) float64 {
    	score := float64(0)
    	total := self
    	for _, e := range edges {
    		if e.Weight > 0 {
    			total += abs64(e.Weight)
    		}
    	}
    	if total != 0 {
    		for _, e := range edges {
    			frac := float64(abs64(e.Weight)) / float64(total)
    			score += -frac * math.Log2(frac)
    		}
    		if self > 0 {
    			frac := float64(abs64(self)) / float64(total)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. src/encoding/json/decode.go

    // A Number represents a JSON number literal.
    type Number string
    
    // String returns the literal text of the number.
    func (n Number) String() string { return string(n) }
    
    // Float64 returns the number as a float64.
    func (n Number) Float64() (float64, error) {
    	return strconv.ParseFloat(string(n), 64)
    }
    
    // Int64 returns the number as an int64.
    func (n Number) Int64() (int64, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/cmd/trace/tasks.go

    		for i := dot + 1; i < len(b); i++ {
    			if b[i] == '0' {
    				b[i] = ' '
    			} else {
    				break
    			}
    		}
    	}
    	return string(b)
    }
    
    func asMillisecond(d time.Duration) float64 {
    	return float64(d.Nanoseconds()) / float64(time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top