Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 502 for stay (0.04 sec)

  1. cmd/metacache-set.go

    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    		// Send request to each disk.
    		go func() {
    			var werr error
    			if d == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_test.go

    		if err != nil {
    			t.Errorf(onPolicy("Could not get scaled down StatefulSet: %v", err))
    		}
    		if set.Status.Replicas != 2 {
    			t.Errorf(onPolicy("Expected set to stay at two replicas"))
    		}
    
    		claim, err = om.claimsLister.PersistentVolumeClaims(set.Namespace).Get("datadir-foo-2")
    		if err != nil {
    			t.Errorf(onPolicy("Could not find expected pvc datadir-foo-2"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider.go

    // there exist multiple callers, the period used to compute the cpu usage may
    // vary and the usage could be incoherent (e.g., spiky). If no caller calls
    // this function, the cpu usage will stay nil. Right now, eviction manager is
    // the only caller, and it calls this function every 10s.
    func (p *criStatsProvider) ListPodStatsAndUpdateCPUNanoCoreUsage(ctx context.Context) ([]statsapi.PodStats, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  4. pkg/controller/deployment/util/deployment_util.go

    		// will not be an accurate proportion estimation in case other replica sets have different values
    		// which means that the deployment was scaled at some point but we at least will stay in limits
    		// due to the min-max comparisons in getProportion.
    		annotatedReplicas = d.Status.Replicas
    	}
    
    	// We should never proportionally scale up from zero which means rs.spec.replicas and annotatedReplicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/query.go

    		// version.
    
    		// If the identifier is not a canonical semver tag — including if it's a
    		// semver tag with a +metadata suffix — then modfetch.Stat will populate
    		// info.Version with a suitable pseudo-version.
    		info, err := repo.Stat(ctx, query)
    		if err != nil {
    			queryErr := err
    			// The full query doesn't correspond to a tag. If it is a semantic version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/manager.go

    		// TODO: Until the bug - https://github.com/golang/go/issues/33357 is fixed, os.stat wouldn't return the
    		// right mode(socket) on windows. Hence deleting the file, without checking whether
    		// its a socket, on windows.
    		stat, err := os.Lstat(filePath)
    		if err != nil {
    			klog.ErrorS(err, "Failed to stat file", "path", filePath)
    			continue
    		}
    		if stat.IsDir() {
    			continue
    		}
    		err = os.RemoveAll(filePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    The runtime variants are all based on the existing _runtime_ variant and we do not change any existing information.
    All Java ecosystem attributes, the dependencies and the main jar file stay part of each of the runtime variants.
    We only set the additional attributes `OPERATING_SYSTEM_ATTRIBUTE` and `ARCHITECTURE_ATTRIBUTE` which are defined as part of Gradle's <<building_cpp_projects.adoc#building_cpp_projects,native support>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. src/internal/poll/fd_windows.go

    	if len(b) == 0 {
    		return 0, nil
    	}
    
    	if fd.readuint16 == nil {
    		// Note: syscall.ReadConsole fails for very large buffers.
    		// The limit is somewhere around (but not exactly) 16384.
    		// Stay well below.
    		fd.readuint16 = make([]uint16, 0, 10000)
    		fd.readbyte = make([]byte, 0, 4*cap(fd.readuint16))
    	}
    
    	for fd.readbyteOffset >= len(fd.readbyte) {
    		n := cap(fd.readuint16) - len(fd.readuint16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one.go

    	start := time.Now()
    	state := framework.NewCycleState()
    	state.SetRecordPluginMetrics(rand.Intn(100) < pluginMetricsSamplePercent)
    
    	// Initialize an empty podsToActivate struct, which will be filled up by plugins or stay empty.
    	podsToActivate := framework.NewPodsToActivate()
    	state.Write(framework.PodsToActivateKey, podsToActivate)
    
    	schedulingCycleCtx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. src/runtime/trace.go

    		// end like we do for goroutines because forEachP doesn't give us a
    		// hook to skip Ps that have already been traced. Since we have to
    		// preempt all Ps anyway, might as well stay consistent with StartTrace
    		// which does this during the STW.
    		semacquire(&worldsema)
    		forEachP(waitReasonTraceProcStatus, func(pp *p) {
    			tl := traceAcquire()
    			if !pp.trace.statusWasTraced(tl.gen) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top