Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 787 for waits (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/semasleep_test.go

    		if waiting {
    			<-doneCh
    		} else {
    			cmd.Wait()
    		}
    	})
    
    	// Wait for After1 to close its stdout so that we know the runtime's SIGIO
    	// handler is registered.
    	b, err := io.ReadAll(stdout)
    	if len(b) > 0 {
    		t.Logf("read from testprog stdout: %s", b)
    	}
    	if err != nil {
    		t.Fatalf("error reading from testprog: %v", err)
    	}
    
    	// Wait for child exit.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

            when:
            registry.stop()
            then:
            1 * pendingChangesManager.removeListener(_)
        }
    
        def "can start a deployment with a given type and parameters and continuous build waits"() {
            def testHandle = new ParametersDeploymentHandle("parameter")
            objectFactory.newInstance(ParametersDeploymentHandle, "parameter") >> testHandle
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/watch/filter.go

    func (fw *filteredWatch) ResultChan() <-chan Event {
    	return fw.result
    }
    
    // Stop stops the upstream watch, which will eventually stop this watch.
    func (fw *filteredWatch) Stop() {
    	fw.incoming.Stop()
    }
    
    // loop waits for new values, filters them, and resends them.
    func (fw *filteredWatch) loop() {
    	defer close(fw.result)
    	for event := range fw.incoming.ResultChan() {
    		filtered, keep := fw.f(event)
    		if keep {
    			fw.result <- filtered
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. src/runtime/cgo/libcgo.h

     */
    extern uintptr_t *_cgo_pthread_key_created;
    
    /*
     * Creates the new operating system thread (OS, arch dependent).
     */
    void _cgo_sys_thread_start(ThreadStart *ts);
    
    /*
     * Waits for the Go runtime to be initialized (OS dependent).
     * If runtime.SetCgoTraceback is used to set a context function,
     * calls the context function and returns the context value.
     */
    uintptr_t _cgo_wait_runtime_init_done(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top