Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for casgstatus (0.26 sec)

  1. src/runtime/coro.go

    	setGNoWB(&mp.curg, gnext)
    	setMNoWB(&gnext.m, mp)
    	if !gnext.atomicstatus.CompareAndSwap(_Gwaiting, _Grunning) {
    		// The CAS failed: use casgstatus, which will take care of
    		// coordinating with the garbage collector about the state change.
    		casgstatus(gnext, _Gwaiting, _Grunnable)
    		casgstatus(gnext, _Grunnable, _Grunning)
    	}
    
    	// Donate locked state.
    	if locked {
    		mp.lockedg.set(gnext)
    		gnext.lockedm.set(mp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/debugcall.go

    			// stack trace, but we won't own the stack after the
    			// transition anymore.
    			trace.GoSched()
    		}
    		casgstatus(gp, _Grunning, _Grunnable)
    		if trace.ok() {
    			traceRelease(trace)
    		}
    		dropg()
    		lock(&sched.lock)
    		globrunqput(gp)
    		unlock(&sched.lock)
    
    		trace = traceAcquire()
    		casgstatus(callingG, _Gwaiting, _Grunnable)
    		if trace.ok() {
    			trace.GoUnpark(callingG, 0)
    			traceRelease(trace)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ProgressLogEventGenerator.java

                }
                state = State.HeaderCompleted;
            }
    
            public void complete() {
                boolean hasStatus = GUtil.isTrue(status);
                switch (state) {
                    case None:
                        if (hasLoggingHeader && hasStatus) {
                            doOutput(styledTextEvent(completeTime,
                                new StyledTextOutputEvent.Span(loggingHeader + ' '),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/interface_test.go

    		{
    			name: "wrap error status should be equal with original one",
    			x:    statusWithErr,
    			y:    AsStatus(fmt.Errorf("error: %w", statusWithErr.AsError())),
    			want: true,
    		},
    		{
    			name: "statues with different errors that have the same message shouldn't be equal",
    			x:    AsStatus(errors.New("error")),
    			y:    AsStatus(errors.New("error")),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go

    	// +optional
    	Status CarpStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // CarpStatus represents information about the status of a carp. Status may trail the actual
    // state of a system.
    type CarpStatus struct {
    	// Current condition of the carp.
    	// More info: http://kubernetes.io/docs/user-guide/carp-states#carp-phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // If not specified, the carp will be dispatched by default scheduler.
      // +optional
      optional string schedulername = 19;
    }
    
    // CarpStatus represents information about the status of a carp. Status may trail the actual
    // state of a system.
    message CarpStatus {
      // Current condition of the carp.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-phase
      // +optional
      optional string phase = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // If not specified, the carp will be dispatched by default scheduler.
      // +optional
      optional string schedulername = 19;
    }
    
    // CarpStatus represents information about the status of a carp. Status may trail the actual
    // state of a system.
    message CarpStatus {
      // Current condition of the carp.
      // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-phase
      // +optional
      optional string phase = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    	nodeInfo, err := pl.handle.SnapshotSharedLister().NodeInfos().Get(nodeName)
    	if err != nil {
    		return 0, framework.AsStatus(fmt.Errorf("getting node %q from Snapshot: %w", nodeName, err))
    	}
    
    	nodeInfos, err := pl.handle.SnapshotSharedLister().NodeInfos().List()
    	if err != nil {
    		return 0, framework.AsStatus(err)
    	}
    	totalNumNodes := len(nodeInfos)
    
    	imageScores := sumImageScores(nodeInfo, pod, totalNumNodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    		return errs
    	}
    
    	var allErrs field.ErrorList
    
    	allErrs = append(allErrs, validation.ValidateObjectMetaAccessorUpdate(obj, old, field.NewPath("metadata"))...)
    	if status, hasStatus := obj.UnstructuredContent()["status"]; hasStatus {
    		allErrs = append(allErrs, apiextensionsvalidation.ValidateCustomResourceUpdate(field.NewPath("status"), status, old.UnstructuredContent()["status"], a.statusSchemaValidator)...)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/defaultbinder/default_binder.go

    		Target:     v1.ObjectReference{Kind: "Node", Name: nodeName},
    	}
    	err := b.handle.ClientSet().CoreV1().Pods(binding.Namespace).Bind(ctx, binding, metav1.CreateOptions{})
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top