Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for Usages (0.22 sec)

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

    				"cpu": {
    					Format: "500m",
    				},
    			},
    			Capacity: map[corev1.ResourceName]resource.Quantity{
    				"cpu": {
    					Format: "500m",
    				},
    			},
    			Images: []corev1.ContainerImage{
    				{
    					Names: []string{"test"},
    				},
    			},
    			Conditions: []corev1.NodeCondition{
    				{
    					Type: corev1.NodeMemoryPressure,
    				},
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    // indexes or invalid indexes or some pods don't have indexes.
    // Sorts candidate pods in the order such that not-ready < ready, unscheduled
    // < scheduled, and pending < running. This ensures that we delete pods
    // in the earlier stages whenever possible.
    func activePodsForRemoval(job *batch.Job, pods []*v1.Pod, rmAtLeast int) []*v1.Pod {
    	var rm, left []*v1.Pod
    
    	if isIndexedJob(job) {
    		rm = make([]*v1.Pod, 0, rmAtLeast)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  3. cluster/gce/windows/k8s-node-setup.psm1

    # node startup steps!
    # Pull-InfraContainer must be called AFTER Verify-WorkerServices.
    function Pull-InfraContainer {
      $name, $label = ${env:INFRA_CONTAINER} -split ':',2
      if (-not ("$(& crictl images)" -match "$name.*$label")) {
        & crictl pull ${env:INFRA_CONTAINER}
        if (!$?) {
          throw "Error running 'crictl pull ${env:INFRA_CONTAINER}'"
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	result := m.SyncPod(context.Background(), pod, &kubecontainer.PodStatus{}, []v1.Secret{}, backOff)
    	assert.NoError(t, result.Error())
    	assert.Equal(t, 2, len(fakeRuntime.Containers))
    	assert.Equal(t, 2, len(fakeImage.Images))
    	assert.Equal(t, 1, len(fakeRuntime.Sandboxes))
    	for _, sandbox := range fakeRuntime.Sandboxes {
    		assert.Equal(t, runtimeapi.PodSandboxState_SANDBOX_READY, sandbox.State)
    	}
    	for _, c := range fakeRuntime.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    	return goroutineProfileWithLabels(p, nil)
    }
    
    func saveg(pc, sp uintptr, gp *g, r *profilerecord.StackRecord, pcbuf []uintptr) {
    	// To reduce memory usage, we want to allocate a r.Stack that is just big
    	// enough to hold gp's stack trace. Naively we might achieve this by
    	// recording our stack trace into mp.profStack, and then allocating a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/os/os_test.go

    	if err != nil {
    		if IsNotExist(err) {
    			// The user's home directory has a well-defined location, but does not
    			// exist. (Maybe nothing has written to it yet? That could happen, for
    			// example, on minimal VM images used for CI testing.)
    			t.Log(err)
    			return
    		}
    		t.Fatal(err)
    	}
    	if !fi.IsDir() {
    		t.Fatalf("dir %s is not directory; type = %v", dir, fi.Mode())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loader/loader.go

    // become regular linker symbols and symbols go on the Sub list of
    // their section) and for constructing the global offset table when
    // internally linking a dynamic executable.
    //
    // Note that in later stages of the linker, we set Outer(S) to some
    // container symbol C, but don't set Sub(C). Thus we have two
    // distinct scenarios:
    //
    // - Outer symbol covers the address ranges of its sub-symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/init.go

    		reason = fmt.Sprintf("bad module path inferred from directory in GOPATH: %v", badPathErr)
    	}
    	msg := `cannot determine module path for source directory %s (%s)
    
    Example usage:
    	'go mod init example.com/m' to initialize a v0 or v1 module
    	'go mod init example.com/m/v2' to initialize a v2 module
    
    Run 'go help mod init' for more information.
    `
    	return "", fmt.Errorf(msg, dir, reason)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		f.Edit.Insert(f.offset(f.AST.Name.End()), "; import _cgo_unsafe \"unsafe\"")
    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    // in the file f and saves relevant renamings in f.Name[name].Define.
    func (p *Package) loadDefines(f *File) {
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    	stdout := p.gccDefines(b.Bytes())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top