Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 955 for timeIt (0.04 sec)

  1. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId));
        }
    
        // Test execute with timeout
        public void test_execute_withTimeout() {
            thumbnailJob.numOfThreads(2);
            thumbnailJob.timeout = 120; // Set timeout
            thumbnailJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
            testProcessHelper.processOutput = "Process terminated";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              }
              return -1L
            }
          },
        )
        return null
      }
    
      private fun awaitTcpConnect(
        timeout: Long,
        unit: TimeUnit,
      ): ConnectResult? {
        if (tcpConnectsInFlight.isEmpty()) return null
    
        val result = connectResults.poll(timeout, unit) ?: return null
    
        tcpConnectsInFlight.remove(result.plan)
    
        return result
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build_arm64/setup.python.sh

    if [[ ! -f "/usr/local/include/$VERSION" ]]; then
      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    # Install pip
    
    wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py
    /usr/bin/$VERSION get-pip.py
    /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip
    
    # For Python 3.13t, do not install twine as it does not have pre-built wheels
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 19:14:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, Callable<@Nullable Void> callable)
          throws Exception {
        ExecutorService executorService = newFixedThreadPool(numberOfThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            }
        }
    
        @Override
        public ByteBuffer receive(int timeout) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
                socket.setSoTimeout(timeout);
    
                // First, read the header to determine message size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. cmd/metrics-v3-system-drive.go

    		"Kilobytes written per second on a drive",
    		allDriveLabels...)
    	driveWritesAwaitMD = NewGaugeMD(driveWritesAwait,
    		"Average time for write requests served on a drive",
    		allDriveLabels...)
    	drivePercUtilMD = NewGaugeMD(drivePercUtil,
    		"Percentage of time the disk was busy",
    		allDriveLabels...)
    )
    
    func getCurrentDriveIOStats() map[string]madmin.DiskIOStats {
    	types := madmin.MetricsDisk
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.mockStatic;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.ietf.jgss.GSSContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top