Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,948 for waits (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/interface.go

    	"context"
    
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/tools/cache"
    )
    
    type Controller[T runtime.Object] interface {
    	// Meant to be run inside a goroutine
    	// Waits for and reacts to changes in whatever type the controller
    	// is concerned with.
    	//
    	// Returns an error always non-nil explaining why the worker stopped
    	Run(ctx context.Context) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          threadUnexpectedException(t);
        }
      }
    
      //     /**
      //      * Spin-waits up to LONG_DELAY_MS until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag) {
      //         await(flag, LONG_DELAY_MS);
      //     }
    
      //     /**
      //      * Spin-waits up to the specified timeout until flag becomes true.
      //      */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

     	- the HTTP Server stops listening immediately
    	- any new request arriving on a new TCP socket is denied with
          a network error similar to 'connection refused'
        - the HTTP Server waits gracefully for existing requests to complete
          up to '60s' (dictated by ShutdownTimeout)
    	- active long running requests will receive a GOAWAY.
    
    T0+70s: HTTPServerStoppedListening:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/msan8.go

    void msanGoTraceback(void* parg) {
    	struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg);
            arg->buf[0] = 0;
    }
    
    // msanGoWait will be called with all registers undefined as far as
    // msan is concerned. It just waits for a signal.
    // Because the registers are msan-undefined, the signal handler will
    // be invoked with all registers msan-undefined.
    __attribute__((noinline))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
        while (session == null) {
          timeout.waitUntilNotified(this);
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_context.go

    // initialization signals.
    type InitializationSignal interface {
    	// Signal notifies the dispatcher about finished initialization.
    	Signal()
    	// Wait waits for the initialization signal.
    	Wait()
    }
    
    type initializationSignal struct {
    	once sync.Once
    	done chan struct{}
    }
    
    func NewInitializationSignal() InitializationSignal {
    	return &initializationSignal{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 14 14:39:15 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/routes/debugsocket.go

    	s.mux.HandleFunc("/debug/flags", f.Index)
    	s.mux.HandleFunc("/debug/flags/", f.Index)
    
    	url := path.Join("/debug/flags", flag)
    	s.mux.HandleFunc(url, handler)
    
    	f.addFlag(flag)
    }
    
    // Run starts the server and waits for stopCh to be closed to close the server.
    func (s *DebugSocket) Run(stopCh <-chan struct{}) error {
    	if err := os.Remove(s.path); err != nil && !os.IsNotExist(err) {
    		return fmt.Errorf("failed to remove (%v): %v", s.path, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 08 00:33:16 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
        return this;
      }
    
      /**
       * Waits for the all the services to reach a terminal state. After this method returns all
       * services will either be {@linkplain Service.State#TERMINATED terminated} or {@linkplain
       * Service.State#FAILED failed}.
       */
      public void awaitStopped() {
        state.awaitStopped();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. pkg/envoy/agent.go

    type exitStatus struct {
    	err error
    }
    
    // Run starts the envoy and waits until it terminates.
    // There are a few exit paths:
    //  1. Envoy exits. In this case, we simply log and exit.
    //  2. /quitquitquit (on agent, not Envoy) is called. We will set skipDrain and cancel the context, which triggers us to exit immediately.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

            and:
            // command the gate keeper to open the gate and shutdown
            command.releaseAll()
            server.expect(server.get("command").send("stop"))
            then:
            // waits for build to start and finish
            buildTriggeredAndSucceeded()
            // Change has been incorporated
            outputFile.text == "changed"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top