Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 376 for timeEnd (0.14 sec)

  1. src/context/x_test.go

    			n := runtime.Stack(buf, true)
    			t.Fatalf("timed out after %v waiting for <-ctx.Done(); stacks:\n%s", d, buf[:n])
    		}
    	}
    	// Wait for all the cancel functions to return.
    	done := make(chan struct{})
    	go func() {
    		wg.Wait()
    		close(done)
    	}()
    	select {
    	case <-done:
    	case <-stuck:
    		buf := make([]byte, 10<<10)
    		n := runtime.Stack(buf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_ppc64x.s

    	MOVD	sevp+8(FP), R4
    	MOVD	timerid+16(FP), R5
    	SYSCALL	$SYS_timer_create
    	MOVW	R3, ret+24(FP)
    	RET
    
    TEXT runtime·timer_settime(SB),NOSPLIT,$0-28
    	MOVW	timerid+0(FP), R3
    	MOVW	flags+4(FP), R4
    	MOVD	new+8(FP), R5
    	MOVD	old+16(FP), R6
    	SYSCALL	$SYS_timer_settime
    	MOVW	R3, ret+24(FP)
    	RET
    
    TEXT runtime·timer_delete(SB),NOSPLIT,$0-12
    	MOVW	timerid+0(FP), R3
    	SYSCALL	$SYS_timer_delete
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //     }
    
      public static long SHORT_DELAY_MS;
      public static long SMALL_DELAY_MS;
      public static long MEDIUM_DELAY_MS;
      public static long LONG_DELAY_MS;
    
      /**
       * Returns the shortest timed delay. This could be reimplemented to use for example a Property.
       */
      protected long getShortDelay() {
        return 50;
      }
    
      /** Sets delays as multiples of SHORT_DELAY. */
      protected void setDelays() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    			done := make(chan bool)
    
    			go func() {
    				select {
    				case res := <-outChan:
    					assert.Equal(t, tc.shutdownActive, res)
    					done <- true
    				case <-time.After(5 * time.Second):
    					t.Errorf("Timed out waiting for shutdown message")
    					done <- true
    				}
    			}()
    
    			signal := &dbus.Signal{Body: []interface{}{tc.shutdownActive}}
    			fakeSystemBus.signalChannel <- signal
    			<-done
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //     }
    
      public static long SHORT_DELAY_MS;
      public static long SMALL_DELAY_MS;
      public static long MEDIUM_DELAY_MS;
      public static long LONG_DELAY_MS;
    
      /**
       * Returns the shortest timed delay. This could be reimplemented to use for example a Property.
       */
      protected long getShortDelay() {
        return 50;
      }
    
      /** Sets delays as multiples of SHORT_DELAY. */
      protected void setDelays() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. src/runtime/mgcscavenge_test.go

    	if !s.BlockUntilParked(2e9 /* 2 seconds */) {
    		t.Fatal("timed out waiting for scavenger to run to completion")
    	}
    	// Run a check.
    	verifyScavengerState(t, totalWork)
    
    	// Now let's do it again and see what happens when we have no work to do.
    	// It should've gone right back to sleep.
    	s.Wake()
    	if !s.BlockUntilParked(2e9 /* 2 seconds */) {
    		t.Fatal("timed out waiting for scavenger to run to completion")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/runtime/sys_linux_arm64.s

    	SVC
    	RET
    
    TEXT runtime·timer_create(SB),NOSPLIT,$0-28
    	MOVW	clockid+0(FP), R0
    	MOVD	sevp+8(FP), R1
    	MOVD	timerid+16(FP), R2
    	MOVD	$SYS_timer_create, R8
    	SVC
    	MOVW	R0, ret+24(FP)
    	RET
    
    TEXT runtime·timer_settime(SB),NOSPLIT,$0-28
    	MOVW	timerid+0(FP), R0
    	MOVW	flags+4(FP), R1
    	MOVD	new+8(FP), R2
    	MOVD	old+16(FP), R3
    	MOVD	$SYS_timer_settime, R8
    	SVC
    	MOVW	R0, ret+24(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  8. pkg/kubelet/pluginmanager/plugin_manager_test.go

    				return true, nil
    			}
    			t.Logf("expected %#v, got %#v, will retry", expected, fakePluginHandler.events)
    			return false, nil
    		},
    	)
    	if err != nil {
    		t.Fatalf("Timed out waiting for plugin to be added to actual state of world cache.")
    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. cluster/images/etcd/migrate/migrate_server.go

    				r.cmd = etcdCmd
    				return nil
    			}
    		case <-done:
    			err = etcdCmd.Process.Kill()
    			if err != nil {
    				return fmt.Errorf("error killing etcd: %v", err)
    			}
    			return fmt.Errorf("timed out waiting for etcd on port %d", r.cfg.port)
    		}
    	}
    }
    
    // Stop terminates the etcd server process. If the etcd server process has not been started
    // or is not still running, this returns an error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 30 16:29:59 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go

    			w := httptest.NewRecorder()
    			w.Code = 0
    			handler.ServeHTTP(w, req)
    			responseGot := w.Result()
    
    			if test.handlerInvoked != handlerInvokedGot {
    				t.Errorf("expected the handler to be invoked: %d timed, but got: %d", test.handlerInvoked, handlerInvokedGot)
    			}
    			if test.statusCodeExpected != responseGot.StatusCode {
    				t.Errorf("expected status code: %d, but got: %d", test.statusCodeExpected, w.Result().StatusCode)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top