Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 313 for canceler (0.63 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

        return object : Socket {
          override fun cancel() {
            this@Exchange.cancel()
          }
    
          override val sink = RequestBodySink(codec.socket.sink, -1L)
          override val source = ResponseBodySource(codec.socket.source, -1L)
        }
      }
    
      fun noNewExchangesOnConnection() {
        codec.carrier.noNewExchanges()
      }
    
      fun cancel() {
        codec.cancel()
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt

      object : BufferedSocket {
        private val delegate = this@asBufferedSocket
        override val source = delegate.source.buffer()
        override val sink = delegate.sink.buffer()
    
        override fun cancel() {
          delegate.cancel()
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

      }
    
      @Override
      public void addListener(Runnable listener, Executor executor) {
        delegate.addListener(listener, executor);
      }
    
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        return delegate.cancel(mayInterruptIfRunning);
      }
    
      @Override
      public boolean isCancelled() {
        return delegate.isCancelled();
      }
    
      @Override
      public boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/lock-rest-client_test.go

    	}
    	endpointLocal, err := NewEndpoint("http://localhost:9012")
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	endpointLocal.IsLocal = true
    
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    	err = initGlobalLockGrid(ctx, []PoolEndpoints{{Endpoints: Endpoints{endpoint, endpointLocal}}})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	lkClient := newlockRESTClient(endpoint)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Request.java

         * Sets the number of request credits.
         *
         * @param credits the number of credits to set
         */
        void setRequestCredits(int credits);
    
        /**
         * Checks if this is a cancel request.
         *
         * @return whether this is a cancel request
         */
        boolean isCancel();
    
        /**
         * Gets the next request in the chain.
         *
         * @return chained request
         */
        Request getNext();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertTrue(ex.getMessage().contains("Did not receive response"));
        }
    
        // If the request is cancelled (NTSTATUS 0xC0000120), return null
        @Test
        @DisplayName("watch() returns null when request cancelled (NTSTATUS 0xC0000120)")
        void watch_sendCancelled_returnsNull() throws Exception {
            when(handle.isValid()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

        /**
         * Gets the size of this message.
         *
         * @return the size of this message
         */
        int size();
    
        /**
         * Creates a cancel request for this request.
         *
         * @return create cancel request
         */
        CommonServerMessageBlockRequest createCancel();
    
        /**
         * Checks if chaining is allowed with the next request.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. cmd/callhome.go

    		// because of this loop.
    		for {
    			if !globalCallhomeConfig.Enabled() {
    				return
    			}
    
    			if !runCallhome(ctx, objAPI) {
    				// callhome was disabled or context was canceled
    				return
    			}
    
    			// callhome running on a different node.
    			// sleep for some time and try again.
    			duration := max(time.Duration(r.Float64()*float64(globalCallhomeConfig.FrequencyDur())),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. chainable_api.go

    	for _, scope := range scopes {
    		db = scope(db)
    	}
    	return db
    }
    
    // Preload preload associations with given conditions
    //
    //	// get all users, and preload all non-cancelled orders
    //	db.Preload("Orders", "state NOT IN (?)", "cancelled").Find(&users)
    func (db *DB) Preload(query string, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if tx.Statement.Preloads == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

              : getUninterruptibly(future, timeoutDuration, timeoutUnit);
        } catch (InterruptedException e) {
          future.cancel(true);
          throw e;
        } catch (ExecutionException e) {
          throw throwCause(e, true /* combineStackTraces */);
        } catch (TimeoutException e) {
          future.cancel(true);
          throw new UncheckedTimeoutException(e);
        }
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top