Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for sheep (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      }
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
        } catch (e: InterruptedException) {
          Thread.currentThread().interrupt()
        }
      }
    
      private fun interruptLater(delayMillis: Int) {
        val toInterrupt = Thread.currentThread()
        val interruptingCow =
          Thread {
            sleep(delayMillis)
            toInterrupt.interrupt()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. .github/workflows/smokeshow.yml

                if smokeshow upload htmlcov; then
                    echo "Smokeshow upload success!"
                    break
                fi
                echo "Smokeshow upload error, sleep 1 sec and try again."
                sleep 1
              done
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
              SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
              SMOKESHOW_GITHUB_CONTEXT: coverage
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/resources/fess_thumbnail.xml

    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.2"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.3"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.4"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Oct 11 21:34:52 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        void testMonotonicBehavior() throws InterruptedException {
            Instant first = MonotonicClock.now();
            Thread.sleep(10); // Small delay
            Instant second = MonotonicClock.now();
            Thread.sleep(10); // Small delay
            Instant third = MonotonicClock.now();
    
            assertTrue(first.isBefore(second), "Time should progress forward between measurements");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
            // Should be expired with very short timeout (shorter than sleep time)
            assertTrue(registration.isExpired(10));
        }
    
        @Test
        void testStateTransitions() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        List<Integer> result = addSupplier.get();
        assertEquals(Integer.valueOf(0), result.get(0));
        assertEquals(Integer.valueOf(1), result.get(1));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread.sleep
      @SuppressWarnings("DoNotCall")
      public void testMemoizeWithExpiration_longTimeUnit() throws InterruptedException {
        CountingSupplier countingSupplier = new CountingSupplier();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                Thread.sleep(5); // Small delay to ensure different timestamps
                Smb2LeaseKey key2 = limitedManager.requestLease("/share/file2.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
                Thread.sleep(5); // Small delay to ensure different timestamps
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

                    null);
    
            assertFalse(durableInfo.isExpired());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            assertTrue(durableInfo.isExpired());
    
            // Test persistent handle (never expires)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

        var ms = nanos / 1_000_000L
        val ns = nanos - (ms * 1_000_000L)
    
        while (ms > 100) {
          Thread.sleep(100)
          if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed")
          ms -= 100L
        }
    
        if (ms > 0L || ns > 0) {
          Thread.sleep(ms, ns.toInt())
        }
      }
    
      override fun cancel() {
        delegate.cancel()
      }
    
      override fun close() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        try {
          for (i in 1..2) {
            // Space out traffic to make it easier to demarcate.
            sendTestRequest(fbRequest)
            Thread.sleep(1000)
            sendTestRequest(twitterRequest)
            Thread.sleep(1000)
            sendTestRequest(googleRequest)
            Thread.sleep(2000)
          }
        } finally {
          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top