Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 427 for timeouts (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        server.enqueue(responseAfter) // Enqueue 2x because the broken connection may be reused.
        val response1 = getResponse(newRequest("/a"))
        response1.body
          .source()
          .timeout()
          .timeout(100, TimeUnit.MILLISECONDS)
        assertContent("This connection won't pool properly", response1)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        } else {
          throw new UncheckedExecutionException(cause);
        }
      }
    
      private static void checkPositiveTimeout(long timeoutDuration) {
        checkArgument(timeoutDuration > 0, "timeout must be positive: %s", timeoutDuration);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SidResolverTest.java

        }
    
        @Test
        void testGetServerSid_ConnectionTimeout() throws CIFSException {
            when(sidResolver.getServerSid(any(CIFSContext.class), anyString())).thenThrow(new CIFSException("Connection timeout"));
    
            assertThrows(CIFSException.class, () -> sidResolver.getServerSid(mockContext, testServerName));
        }
    
        // Test with large datasets
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            assertEquals(-1, result);
        }
    
        public void test_setProcessDestroyTimeout() {
            processHelper.setProcessDestroyTimeout(20);
            // We can't directly verify the timeout value, but we can ensure the method doesn't throw
            assertTrue(true);
        }
    
        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. tests/prepared_stmt_test.go

    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	user2 := *GetUser("prepared_stmt2", Config{})
    	if err := txCtx.Create(&user2).Error; err == nil {
    		t.Fatalf("should failed to create with timeout context")
    	}
    
    	if err := tx.Create(&user2).Error; err != nil {
    		t.Fatalf("failed to create, got error %v", err)
    	}
    
    	var result3 User
    	if err := tx.Find(&result3, user2.ID).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class, () -> InputValidator.validatePort(65536));
        }
    
        @Test
        @DisplayName("Test timeout validation")
        void testTimeoutValidation() {
            assertDoesNotThrow(() -> InputValidator.validateTimeout(1000L, "test"));
            assertDoesNotThrow(() -> InputValidator.validateTimeout(0L, "test"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops.go

    					if err := healFreshDisk(ctx, z, disk); err != nil {
    						globalBackgroundHealState.setDiskHealingStatus(disk, false)
    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) && !errors.Is(err, errRetryHealing) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/bootstrap.min.js.map

         }\n\n      this._enter(null, this)\n    }\n  }\n\n  dispose() {\n    clearTimeout(this._timeout)\n\n    $.removeData(this.element, this.constructor.DATA_KEY)\n\n    $(this.element).off(this.constructor.EVENT_KEY)\n    $(this.element).closest('.modal').off('hide.bs.modal', this._hideModalHandler)\n\n    if (this.tip) {\n      $(this.tip).remove()\n    }\n\n    this._isEnabled = null\n    this._timeout = null\n    this._hoverState = null\n    this._activeTrigger = null\n    if (this._popper) {\n...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Assert
            assertNotNull(transPeekNamedPipe);
            assertEquals(TEST_PIPE_NAME, transPeekNamedPipe.name);
            assertEquals(0xFFFFFFFF, transPeekNamedPipe.timeout);
            assertEquals(6, transPeekNamedPipe.maxParameterCount);
            assertEquals(1, transPeekNamedPipe.maxDataCount);
            assertEquals((byte) 0x00, transPeekNamedPipe.maxSetupCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public boolean calibrateCpuLoad() {
            return calibrateCpuLoad(0L);
        }
    
        /**
         * Calibrates the CPU load with a timeout.
         *
         * @param timeoutInMillis The timeout in milliseconds.
         * @return true if the CPU load is within the acceptable range, false otherwise.
         */
        public boolean calibrateCpuLoad(final long timeoutInMillis) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top