Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 631 for waitc (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	return getdirent(fd, buf)
    }
    
    //sys  wait4(pid _Pid_t, status *_C_int, options int, rusage *Rusage) (wpid _Pid_t, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	var r _Pid_t
    	err = ERESTART
    	// AIX wait4 may return with ERESTART errno, while the process is still
    	// active.
    	for err == ERESTART {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. pkg/util/goroutinemap/goroutinemap_test.go

    		t.Errorf("Error waiting for GoRoutineMap.Wait: %v", err)
    	}
    }
    
    func Test_NewGoRoutineMap_Positive_WaitEmptyWithExpBackoff(t *testing.T) {
    	// Test than Wait() on empty GoRoutineMap always succeeds without blocking
    	// Arrange
    	grm := NewGoRoutineMap(true /* exponentialBackOffOnError */)
    
    	// Act
    	waitDoneCh := make(chan interface{}, 1)
    	go func() {
    		grm.Wait()
    		waitDoneCh <- true
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

             */
            void releaseAll();
    
            /**
             * Waits for the expected number of concurrent requests to be received.
             */
            void waitForAllPendingCalls();
    
            /**
             * Waits for the expected number of concurrent requests to be received or until the given {@link FailureTracker} provides a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    	cfg := target.Config()
    	return fmt.Sprintf("outbound|%d||%s.%s.svc.%s", port.ServicePort, cfg.Service, cfg.Namespace.Name(), cfg.Domain)
    }
    
    // Wait for the server to NOT be callable by the client. This allows us to simulate external traffic.
    // This essentially just waits for the Sidecar to be applied, without sleeping.
    func WaitUntilNotCallable(c echo.Instance, dest echo.Instance) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	// DesiredStateOfWorldPopulatorLoopSleepPeriod is the amount of time the
    	// DesiredStateOfWorldPopulator loop waits between successive executions
    	DesiredStateOfWorldPopulatorLoopSleepPeriod time.Duration
    
    	// DesiredStateOfWorldPopulatorListPodsRetryDuration is the amount of
    	// time the DesiredStateOfWorldPopulator loop waits between list pods
    	// calls.
    	DesiredStateOfWorldPopulatorListPodsRetryDuration time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    		require.ErrorIs(t, stopReason, context.Canceled)
    	}()
    
    	// Wait for controller and informer to start up
    	require.True(t, cache.WaitForCacheSync(testContext.Done(), myController.HasSynced))
    
    	// Stop the controller and informer
    	testCancel()
    
    	// Wait for controller and informer to stop
    	wg.Wait()
    
    	// Ensure the event handler was cleaned up
    	require.Empty(t, informer.registrations)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. src/os/exec/exec_test.go

    	var wg sync.WaitGroup
    	wg.Add(1)
    	defer wg.Wait()
    	go func() {
    		defer wg.Done()
    
    		_, err := io.Copy(stdin, strings.NewReader(stdinCloseTestString))
    		check("Copy", err)
    
    		// Before the fix, this next line would race with cmd.Wait.
    		if err := stdin.Close(); err != nil && !errors.Is(err, os.ErrClosed) {
    			t.Errorf("Close: %v", err)
    		}
    	}()
    
    	check("Wait", cmd.Wait())
    }
    
    // Issue 17647.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/cmd/dist/util.go

    	bgwork <- func() {
    		defer wg.Done()
    		run(dir, CheckExit|ShowOutput|Background, cmd...)
    	}
    }
    
    // bgwait waits for pending bgruns to finish.
    // bgwait must be called from only a single goroutine at a time.
    func bgwait(wg *sync.WaitGroup) {
    	done := make(chan struct{})
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    	select {
    	case <-done:
    	case <-dying:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/os/signal/signal_test.go

    	c2 := make(chan os.Signal, 1)
    	Notify(c2, syscall.SIGHUP)
    	defer Stop(c2)
    
    	// Send this process a SIGWINCH and wait for notification on c1.
    	syscall.Kill(syscall.Getpid(), syscall.SIGWINCH)
    	waitSig(t, c1, syscall.SIGWINCH)
    
    	// Send this process a SIGHUP and wait for notification on c2.
    	syscall.Kill(syscall.Getpid(), syscall.SIGHUP)
    	waitSig(t, c2, syscall.SIGHUP)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
Back to top