- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for cpuinit (0.18 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
if runtimeStatusResources.MemoryLimitInBytes > 0 { memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI) } if cpuLimit != nil || memLimit != nil || cpuRequest != nil { cStatusResources = &kubecontainer.ContainerResources{ CPULimit: cpuLimit, CPURequest: cpuRequest, MemoryLimit: memLimit, } } } return cStatusResources }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
4030, 4031, 4032, 4033, 4036, 4040, 4048, 4096, 5000, 10000} for _, length := range lengths { p := make([]byte, length) _, _ = rand.Read(p) crcInit := uint32(rand.Int63()) crc1 := crcFunc1(crcInit, p) crc2 := crcFunc2(crcInit, p) if crc1 != crc2 { t.Errorf("mismatch: 0x%x vs 0x%x (buffer length %d)", crc1, crc2, length) } } } // TestSimple tests the simple generic algorithm.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
// type-checking (see golang/go#47729). cpulimit := make(chan struct{}, runtime.GOMAXPROCS(0)) var wg sync.WaitGroup for dir := range dirFiles { dir := dir cpulimit <- struct{}{} wg.Add(1) go func() { defer func() { wg.Done() <-cpulimit }() _, err := c.getDirPackage(dir) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
} func (cm *containerManagerImpl) SystemCgroupsLimit() v1.ResourceList { cpuLimit := int64(0) // Sum up resources of all external containers. for _, cont := range cm.systemContainers { cpuLimit += cont.cpuMillicores } return v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity( cpuLimit, resource.DecimalSI), } } func isProcessRunningInHost(pid int) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
Image: imageSpec.Image, State: kubecontainer.ContainerStateRunning, CreatedAt: time.Unix(0, createdAt), StartedAt: time.Unix(0, startedAt), Resources: &kubecontainer.ContainerResources{ CPULimit: resource.NewMilliQuantity(250, resource.DecimalSI), MemoryLimit: resource.NewQuantity(524288000, resource.BinarySI), }, }, skipOnWindows: true, }, "container reporting cpu only": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
// if uint(n) <= uint(s.cap) nuint := typecheck.Conv(nn, types.Types[types.TUINT]) capuint := typecheck.Conv(ir.NewUnaryExpr(base.Pos, ir.OCAP, s), types.Types[types.TUINT]) nif := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OLE, nuint, capuint), nil, nil) nif.Likely = true // then { s = s[:n] } nt := ir.NewSliceExpr(base.Pos, ir.OSLICE, s, nil, nn, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
maven-api-impl/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar
org.apache.maven.plugin; public abstract interface Mojo { public static final String ROLE; public abstract void execute() throws MojoExecutionExcepti, MojoFailureException; public abstract void setLog(logging.Log); public abstract logging.Log getLog(); static void <clinit>(); } org/apache/maven/plugin/MojoExecutionExcepti.class package org.apache.maven.plugin; public synchronized class MojoExecutionExcepti extends AbstractMojoExecutio { public void MojoExecutionExcepti(Object, String, String); public void MojoExec...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
} } return false case *exprpb.Expr_ComprehensionExpr: c := e.ComprehensionExpr if c == nil { return false } return hasSelectExp(c.IterRange, operand, field) || hasSelectExp(c.AccuInit, operand, field) || hasSelectExp(c.LoopCondition, operand, field) || hasSelectExp(c.LoopStep, operand, field) || hasSelectExp(c.Result, operand, field) default: return false } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
type ContainerResources struct { // CPU capacity reserved for the container CPURequest *resource.Quantity // CPU limit enforced on the container CPULimit *resource.Quantity // Memory capaacity reserved for the container MemoryRequest *resource.Quantity // Memory limit enforced on the container MemoryLimit *resource.Quantity }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
if (n != 0 && n != 239089) || m != 234 { t.Fatal("Strtol x2: ", n, m) } } else if n != 0 || m != 234 { t.Fatal("Strtol x2: ", n, m) } C.free(unsafe.Pointer(p)) } var ( cuint = (C.uint)(0) culong C.ulong cchar C.char ) type Context struct { ctx *C.struct_ibv_context } func benchCgoCall(b *testing.B) { b.Run("add-int", func(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)