Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 166 for timediv (0.53 sec)

  1. src/go/doc/testdata/testing.go

    //         for i := 0; i < b.N; i++ {
    //             fmt.Sprintf("hello")
    //         }
    //     }
    // The benchmark package will vary b.N until the benchmark function lasts
    // long enough to be timed reliably. The output
    //     testing.BenchmarkHello    10000000    282 ns/op
    // means that the loop ran 10000000 times at a speed of 282 ns per loop.
    //
    // If a benchmark needs some expensive setup before running, the timer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun <E : IOException?> messageDone(
        exchange: Exchange,
        requestDone: Boolean,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/os/pipe_test.go

    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		var buf [count]byte
    		r.SetReadDeadline(time.Now().Add(time.Minute))
    		c <- true
    		if _, err := r.Read(buf[:]); os.IsTimeout(err) {
    			t.Error("read timed out")
    		}
    	}()
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		<-c
    		// Give the other goroutine a chance to enter the Read.
    		// It doesn't matter if this occasionally fails, the test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. src/syscall/tables_js.go

    	ENOTCONN        Errno = 107 /* Socket is not connected */
    	ESHUTDOWN       Errno = 108 /* Can't send after socket shutdown */
    	ETOOMANYREFS    Errno = 109
    	ETIMEDOUT       Errno = 110 /* Connection timed out */
    	ECONNREFUSED    Errno = 111 /* Connection refused */
    	EHOSTDOWN       Errno = 112 /* Host is down */
    	EHOSTUNREACH    Errno = 113 /* Host is unreachable */
    	EALREADY        Errno = 114 /* Socket already connected */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      @GwtIncompatible
      @ParametricNullness
      static <T extends @Nullable Object> T invokeAnyImpl(
          ListeningExecutorService executorService,
          Collection<? extends Callable<T>> tasks,
          boolean timed,
          long timeout,
          TimeUnit unit)
          throws InterruptedException, ExecutionException, TimeoutException {
        checkNotNull(executorService);
        checkNotNull(unit);
        int ntasks = tasks.size();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

                                    log.debug("Transport still in use, no idle timeout " + this);
                                }
                                // notify, so that callers with timed-out requests can handle them
                                for ( Response response : this.response_map.values() ) {
                                    synchronized ( response ) {
                                        response.notifyAll();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    				}
    				utilruntime.HandleError(callErr)
    
    				select {
    				case <-ctx.Done():
    					// parent context is canceled or timed out, no point in continuing
    					return apierrors.NewTimeoutError("request did not complete within requested timeout", 0)
    				default:
    					// individual webhook timed out, but parent context did not, continue
    					continue
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/syscall/zerrors_windows.go

    	ESTALE - APPLICATION_ERROR:          "stale NFS file handle",
    	ESTRPIPE - APPLICATION_ERROR:        "streams pipe error",
    	ETIME - APPLICATION_ERROR:           "timer expired",
    	ETIMEDOUT - APPLICATION_ERROR:       "connection timed out",
    	ETOOMANYREFS - APPLICATION_ERROR:    "too many references: cannot splice",
    	ETXTBSY - APPLICATION_ERROR:         "text file busy",
    	EUCLEAN - APPLICATION_ERROR:         "structure needs cleaning",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    		fakeInformerFactory.Start(res.Done())
    		go policyInformer.Run(res.Done())
    		go bindingInformer.Run(res.Done())
    
    		if !cache.WaitForCacheSync(res.Done(), res.Source.HasSynced) {
    			return fmt.Errorf("timed out waiting for initial cache sync")
    		}
    		return nil
    	}
    	return res, testCancel, nil
    }
    
    // UpdateAndWait updates the given object in the test, or creates it if it doesn't exist
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    		// this error must be ignored by the WithPanicRecovery handler
    		// it is thrown by WithTimeoutForNonLongRunningRequests handler when a response has been already sent to the client and the handler timed out
    		// panicking with http.ErrAbortHandler also suppresses logging of a stack trace to the server's error log and closes the underlying connection
    		w.Write([]byte("hello from the handler"))
    		panic(http.ErrAbortHandler)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top