Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 969 for timeIt (0.39 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private fun readHeader() {
        if (closed) throw IOException("closed")
    
        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestTest.java

            verify(request, times(1)).isResponseAsync();
            verify(request, times(1)).getNext();
            verify(request, times(1)).split();
            verify(request, times(1)).allowChain(nextRequest);
            verify(request, times(1)).createCancel();
            verify(request, times(1)).size();
            verify(request, times(1)).getOverrideTimeout();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileFilterTest.java

            assertFalse(filter.accept(smbFile), "Negative size should be rejected");
            verify(smbFile, times(1)).length();
    
            // zero size -> reject
            reset(smbFile);
            when(smbFile.length()).thenReturn(0L);
            assertFalse(filter.accept(smbFile), "Zero size should be rejected");
            verify(smbFile, times(1)).length();
    
            // positive size -> accept
            reset(smbFile);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. cmd/admin-server-info.go

    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  5. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws TimeoutException, InterruptedException, ExecutionException {
    
        long timeoutNanos = unit.toNanos(timeout);
        if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) {
          return super.get(timeout, unit);
        }
        // Waiting 68 years should be enough for any program.
        return super.get(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test time-related methods always return 0")
        void testTimeRelatedMethods() {
            // Default instance
            assertEquals(0L, shareInfo.createTime());
            assertEquals(0L, shareInfo.lastModified());
            assertEquals(0L, shareInfo.lastAccess());
    
            // Instance with values - times are still 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

            // Verify precise interactions
            verify(mockEntry, times(1)).getName();
            verify(mockEntry, times(2)).getType();
            verify(mockEntry, times(1)).getAttributes();
            verify(mockEntry, times(1)).createTime();
            verify(mockEntry, times(1)).lastModified();
            verify(mockEntry, times(1)).lastAccess();
            verify(mockEntry, times(1)).length();
            verify(mockEntry, never()).getFileIndex();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            requestWithPath.setResolveInDfs(true);
            verify(requestWithPath, times(1)).setResolveInDfs(true);
    
            doNothing().when(requestWithPath).setResolveInDfs(false);
            requestWithPath.setResolveInDfs(false);
            verify(requestWithPath, times(1)).setResolveInDfs(false);
    
            // Test with implementation
            testImplementation.setResolveInDfs(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.15.md

    - Until this release, the iscsi plugin was waiting 10 seconds for a path to appear in the device list. However this timeout is not enough, or is less than the default device discovery timeout in most systems, which prevents certain devices from being discovered. This timeout has been raised to 30 seconds, which should help to avoid mount issues due to device discovery. ([#78475](https://github.com/kubernetes/kubernetes/pull/78475), [@humblec]...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            handle.close();
            verify(treeConnection, times(1)).release();
    
            // Second release -> usage 0 -> -1 triggers RuntimeCIFSException
            RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release());
            assertTrue(ex.getMessage().contains("below zero"));
            verify(treeConnection, times(1)).release(); // still only once
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top