Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 365 for cancelFn (0.15 sec)

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

        } finally {
          Thread.interrupted();
        }
      }
    
      public void testGetCheckedUntimed_cancelled() throws TwoArgConstructorException {
        SettableFuture<String> future = SettableFuture.create();
        future.cancel(true);
        assertThrows(
            CancellationException.class, () -> getChecked(future, TwoArgConstructorException.class));
      }
    
      public void testGetCheckedUntimed_executionExceptionChecked() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            throw IllegalStateException(
              "Cannot stream a request body without chunked encoding or a known content length!",
            )
        }
      }
    
      override fun cancel() {
        carrier.cancel()
      }
    
      /**
       * Prepares the HTTP headers and sends them to the server.
       *
       * For streaming requests with a body, headers must be prepared **before** the output stream has
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbWatchHandle.java

         * opened if it is not and should be closed with {@link #close()} when no longer
         * needed.
         * 
         * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all
         * implementations.
         * 
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  4. cmd/signature-v4_test.go

    			t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code))
    		}
    	}
    }
    
    func TestDoesPresignedSignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt

        apply {
          actions += { stream ->
            if (!stream.requestBody.exhausted()) throw AssertionError("expected exhausted")
          }
        }
    
      fun cancelStream() =
        apply {
          actions += { stream -> stream.cancel() }
        }
    
      fun requestIOException() =
        apply {
          actions += { stream ->
            try {
              stream.requestBody.exhausted()
              throw AssertionError("expected IOException")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

        assertThatFutureBecomesCancelled(closingFuture.finishToFuture());
      }
    
      @Override
      void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) {
        assertThat(closingFuture.finishToFuture().cancel(false)).isTrue();
        waitUntilClosed(closingFuture);
        futureCancelled.countDown();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            if ( this.ptype == 2 || this.ptype == 3 ) { /* Response or Fault */
                this.alloc_hint = buf.dec_ndr_long();
                buf.dec_ndr_short(); /* context id */
                buf.dec_ndr_short(); /* cancel count */
            }
            if ( this.ptype == 3 || this.ptype == 13 ) { /* Fault */
                this.result = buf.dec_ndr_long();
            }
            else { /* Bind_ack or Response */
                decode_out(buf);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  8. src/main/resources/fess_label_ru.properties

    labels.crawling_info_created_time=Created
    labels.crawling_info_delete_all_link=Delete All
    labels.crawling_info_delete_all_confirmation=Вы действительно желаете все удалить?
    labels.crawling_info_delete_all_cancel=Cancel
    labels.crawling_info_CrawlerStartTime=Время старта сканера
    labels.crawling_info_CrawlerEndTime=Время остановки сканера
    labels.crawling_info_CrawlerExecTime=Время выполнения сканера
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. src/main/resources/fess_label.properties

    labels.crawling_info_created_time=Created
    labels.crawling_info_delete_all_link=Delete All
    labels.crawling_info_delete_all_confirmation=Do you really want to delete all?
    labels.crawling_info_delete_all_cancel=Cancel
    labels.crawling_info_thread_dump=Thread Dump
    labels.crawling_info_CrawlerStartTime=Crawler start time
    labels.crawling_info_CrawlerEndTime=Crawler end time
    labels.crawling_info_CrawlerExecTime=Crawler exec time
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            if (ptype == 2 || ptype == 3) { /* Response or Fault */
                alloc_hint = buf.dec_ndr_long();
                buf.dec_ndr_short();        /* context id */
                buf.dec_ndr_short();        /* cancel count */
            }
            if (ptype == 3 || ptype == 13) {               /* Fault */
                result = buf.dec_ndr_long();
            } else {                        /* Bind_ack or Response */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
Back to top