Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 188 for w_scale (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		maxValue = int64(float64(maxValue) * r)
    	}
    
    	_, minUnit := measurement.Scale(minValue, o.SampleUnit, "minimum")
    	_, maxUnit := measurement.Scale(maxValue, o.SampleUnit, "minimum")
    
    	unit := minUnit
    	if minUnit != maxUnit && minValue*100 < maxValue && o.OutputFormat != Callgrind {
    		// Minimum and maximum values have different units. Scale
    		// minimum by 100 to use larger units, allowing minimum value to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    			nodeScore += resourceScore * weight
    			weightSum += weight
    		}
    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    // The unused capacity is calculated on a scale of 0-MaxNodeScore
    // 0 being the lowest priority and `MaxNodeScore` being the highest.
    // The more unused resources the higher the score is.
    func leastRequestedScore(requested, capacity int64) int64 {
    	if capacity == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		q3.SetScaled(item.value, item.scale)
    		if q.Cmp(*q3) != 0 {
    			t.Errorf("Expected %v and %v to be equal", q, q3)
    		}
    	}
    }
    
    func TestScaledValue(t *testing.T) {
    	table := []struct {
    		fromScale Scale
    		toScale   Scale
    		expected  int64
    	}{
    		{Nano, Nano, 1},
    		{Nano, Micro, 1},
    		{Nano, Milli, 1},
    		{Nano, 0, 1},
    		{Micro, Nano, 1000},
    		{Micro, Micro, 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/svg.go

    			svg[loc[1]:]
    	}
    
    	if loc := graphID.FindStringIndex(svg); loc != nil {
    		svg = svg[:loc[0]] +
    			`<script type="text/ecmascript"><![CDATA[` + svgpan.JSSource + `]]></script>` +
    			`<g id="viewport" transform="scale(0.5,0.5) translate(0,0)">` +
    			svg[loc[0]:]
    	}
    
    	if loc := svgClose.FindStringIndex(svg); loc != nil {
    		svg = svg[:loc[0]] +
    			`</g>` +
    			svg[loc[0]:]
    	}
    
    	return svg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/runtime/vdso_freebsd.go

    		gen := atomic.Load(&th.gen) // atomic_load_acq_32
    		bt = th.offset
    
    		if tc, ok := th.getTimecounter(); !ok {
    			return zeroBintime
    		} else {
    			delta := (tc - th.offset_count) & th.counter_mask
    			bt.AddX(th.scale * uint64(delta))
    		}
    		if abs {
    			bt.Add(&th.boottime)
    		}
    
    		atomic.Load(&binuptimeDummy) // atomic_thread_fence_acq()
    		if curr == timekeepSharedPage.current && gen != 0 && gen == th.gen {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. pkg/ctrlz/assets/templates/layouts/base.html

    <html lang="en" itemscope itemtype="https://schema.org/WebPage">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <meta name="theme-color" content="#466BB0"/>
            <meta name="title" content="ControlZ / {{template "title" .}}">
    
            <title>ControlZ / {{template "title" .}}</title>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.Scale)(nil), (*autoscaling.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_Scale_To_autoscaling_Scale(a.(*v1beta1.Scale), b.(*autoscaling.Scale), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*autoscaling.Scale)(nil), (*v1beta1.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/anames.go

    	"FMOVX",
    	"FMOVXP",
    	"FMULD",
    	"FMULDP",
    	"FMULF",
    	"FMULL",
    	"FMULW",
    	"FNOP",
    	"FPATAN",
    	"FPREM",
    	"FPREM1",
    	"FPTAN",
    	"FRNDINT",
    	"FRSTOR",
    	"FSAVE",
    	"FSCALE",
    	"FSIN",
    	"FSINCOS",
    	"FSQRT",
    	"FSTCW",
    	"FSTENV",
    	"FSTSW",
    	"FSUBD",
    	"FSUBDP",
    	"FSUBF",
    	"FSUBL",
    	"FSUBRD",
    	"FSUBRDP",
    	"FSUBRF",
    	"FSUBRL",
    	"FSUBRW",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top