Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for canceling (0.23 sec)

  1. src/net/http/transport_test.go

    	go func() {
    		_, err := cl.Do(req)
    		eventLog.Printf("Get error = %v", err != nil)
    		test.checkErr("Get", err)
    		gotres <- true
    	}()
    
    	inDial <- true
    
    	eventLog.Printf("canceling")
    	test.cancel(tr, req)
    	test.cancel(tr, req) // used to panic on second call to Transport.Cancel
    
    	if d, ok := t.Deadline(); ok {
    		// When the test's deadline is about to expire, log the pending events for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    	}
    	if prepares := numPrepares(t, db) - prepares0; prepares != 1 {
    		t.Errorf("executed %d Prepare statements; want 1", prepares)
    	}
    }
    
    // TestQueryContext tests canceling the context while scanning the rows.
    func TestQueryContext(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    	prepares0 := numPrepares(t, db)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    			if err != nil {
    				t.Errorf("Proxy copy error: %v", err)
    				return
    			}
    			t.Cleanup(func() { bresp.Body.Close() })
    
    			// Try to cause a race. Canceling the client request will cause the client
    			// transport to close req2.Body. Returning from the server handler will
    			// cause the server to close req.Body. Since they are the same underlying
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * #whenAllComplete(Iterable)} or {@link #whenAllSucceed(Iterable)} or its overloads.
     *
     * <h3>Cancelling</h3>
     *
     * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
     * has been derived, with the same semantics as cancelling a {@link Future}. In addition, a
     * successfully cancelled step will immediately start closing all objects captured for later closing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * #whenAllComplete(Iterable)} or {@link #whenAllSucceed(Iterable)} or its overloads.
     *
     * <h3>Cancelling</h3>
     *
     * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
     * has been derived, with the same semantics as cancelling a {@link Future}. In addition, a
     * successfully cancelled step will immediately start closing all objects captured for later closing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procAssignProcessToJobObject                             = modkernel32.NewProc("AssignProcessToJobObject")
    	procCancelIo                                             = modkernel32.NewProc("CancelIo")
    	procCancelIoEx                                           = modkernel32.NewProc("CancelIoEx")
    	procClearCommBreak                                       = modkernel32.NewProc("ClearCommBreak")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	// Currently, using cancellation from that context causes test failures. To remove this WithoutCancel,
    	// any wait.Interrupted errors need to be filtered from result and bypass the reasonCache - cancelling
    	// the context for SyncPod is a known and deliberate error, not a generic error.
    	// Use WithoutCancel instead of a new context.TODO() to propagate trace context
    	// Call the container runtime's SyncPod callback
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (1)
Back to top