Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for sheep (0.02 sec)

  1. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        assertThrows(
            IllegalArgumentException.class,
            () -> filtered.putAll(ImmutableMap.of("sheep", 5, "cow", 7)));
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
      }
    
      public void testFilteredEntriesObjectPredicate() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        assertThrows(
            IllegalArgumentException.class,
            () -> filtered.putAll(ImmutableMap.of("sheep", 5, "cow", 7)));
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
      }
    
      public void testFilteredEntriesObjectPredicate() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ThreadUtil.java

        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    if (attempt < 10) {
                        Thread.sleep(500); // First 10 attempts: 0.5 second intervals
                    } else if (attempt < 30) {
                        Thread.sleep(1000); // Next 20 attempts: 1 second intervals
                    } else {
                        Thread.sleep(2000); // Remaining attempts: 2 second intervals
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            }, 1, true);
    
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
            assertTrue(expiredCount > 0);
            assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount());
            TimeoutManager.getInstance().stop();
            assertNull(TimeoutManager.getInstance().thread);
            Thread.sleep(10);
            int count = expiredCount;
            task.stop();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            circuitBreaker.trip();
            Thread.sleep(100);
    
            long afterTripTime = circuitBreaker.getTimeSinceLastStateChange();
            assertTrue(afterTripTime >= 100, "Time should have advanced");
            assertTrue(afterTripTime < 200, "Time should be reasonable");
    
            // Reset circuit
            circuitBreaker.reset();
            Thread.sleep(50);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertTrue(processHelper.isProcessRunning());
    
                // Wait a bit for the processes to start
                Thread.sleep(50);
    
                // Destroy all processes
                processHelper.destroy();
    
                // Wait a bit for destruction to complete
                Thread.sleep(100);
    
                assertFalse(processHelper.isProcessRunning());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            long endTime = System.currentTimeMillis();
    
            long elapsed = endTime - startTime;
            assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);
            // Generous tolerance for CI environments like GitHub Actions
            assertTrue("Expected less than 200ms sleep, got " + elapsed + "ms", elapsed < 200);
        }
    
        public void test_waitForNext_withZeroInterval() {
            configHelper.setReloadInterval(0L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. .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)
Back to top