Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 800 for states (0.1 sec)

  1. src/runtime/sigqueue.go

    	// Notify receiver that queue has new bit.
    Send:
    	for {
    		switch sig.state.Load() {
    		default:
    			throw("sigsend: inconsistent state")
    		case sigIdle:
    			if sig.state.CompareAndSwap(sigIdle, sigSending) {
    				break Send
    			}
    		case sigSending:
    			// notification already pending
    			break Send
    		case sigReceiving:
    			if sig.state.CompareAndSwap(sigReceiving, sigIdle) {
    				if GOOS == "darwin" || GOOS == "ios" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go

    // round trips (the time it takes to send data to etcd and get the
    // complete response back)
    //
    // If an API request involves N (N>=1) round trips to etcd, then we will sum
    // up the latenciy incurred in each roundtrip.
    
    // It uses the context associated with the request in flight, so there
    // are no states shared among the requests in flight, and so there is no
    // concurrency overhead.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/linearized_read_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apiserver/pkg/apis/example"
    	"k8s.io/apiserver/pkg/storage"
    )
    
    func TestLinearizedReadRevisionInvariant(t *testing.T) {
    	// The etcd documentation [1] states that "linearized requests must go through the Raft consensus process."
    	// A full round of Raft consensus adds a new item to the Raft log, some of which is surfaced by etcd as a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:08:59 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/html/template/context.go

    //
    // is a single token in HTML's grammar but in a template spans several nodes.
    type state uint8
    
    //go:generate stringer -type state
    
    const (
    	// stateText is parsed character data. An HTML parser is in
    	// this state when its parse position is outside an HTML tag,
    	// directive, comment, and special element body.
    	stateText state = iota
    	// stateTag occurs before an HTML attribute or the end of a tag.
    	stateTag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. pkg/kubelet/pleg/evented.go

    		// old and new set of container states may vary;
    		// get a unique set of container states combining both
    		containerStates := make(map[kubecontainer.State]bool)
    		for state := range oldContainerStateCount {
    			containerStates[state] = true
    		}
    		for state := range currentContainerStateCount {
    			containerStates[state] = true
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenFailOnSeverityLogger.java

    import org.slf4j.event.Level;
    
    /**
     * A proxy which enhances the MavenSimpleLogger with functionality to track whether a logging threshold is hit.
     * Currently only support WARN and ERROR states, since it's been used for the --fail-on-severity flag.
     */
    public class MavenFailOnSeverityLogger extends MavenSimpleLogger {
        private final LogLevelRecorder logLevelRecorder;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelNode.java

            GraphClosed(false);
    
            public final boolean mutable;
    
            State(boolean mutable) {
                this.mutable = mutable;
            }
    
            public State previous() {
                return ModelNode.State.values()[ordinal() - 1];
            }
    
            public boolean isAtLeast(State state) {
                return this.ordinal() >= state.ordinal();
            }
        }
    
        ModelPath getPath();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/endpoint.go

    )
    
    // endpoint maps to a single registered device plugin. It is responsible
    // for managing gRPC communications with the device plugin and caching
    // device states reported by the device plugin.
    type endpoint interface {
    	getPreferredAllocation(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error)
    	allocate(devs []string) (*pluginapi.AllocateResponse, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 11:05:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ReferenceEntry.java

    import com.google.common.cache.LocalCache.ValueReference;
    import javax.annotation.CheckForNull;
    
    /**
     * An entry in a reference map.
     *
     * <p>Entries in the map can be in the following states:
     *
     * <p>Valid:
     *
     * <ul>
     *   <li>Live: valid key/value are set
     *   <li>Loading: loading is pending
     * </ul>
     *
     * <p>Invalid:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top