Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 187 for 10000ns (0.47 seconds)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
      public void testAutoIncrementStep_seconds() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, SECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    // 1000 kilobytes
                    Arguments.of(1000L * 1000L, null, "1.0 MB"),
                    Arguments.of(1000L * 1000L, ScaleUnit.BYTE, "1000000 B"),
                    Arguments.of(1000L * 1000L, ScaleUnit.KILOBYTE, "1000 kB"),
                    Arguments.of(1000L * 1000L, ScaleUnit.MEGABYTE, "1.0 MB"),
                    Arguments.of(1000L * 1000L, ScaleUnit.GIGABYTE, "0 GB"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            if (timeoutMs == 0) {
                return 0L; // Persistent handles use 0
            }
            // Convert milliseconds to 100-nanosecond intervals
            // 1 ms = 10,000 * 100ns intervals
            long intervals = timeoutMs * 10000L;
            // MS-SMB2 timeout field is 4 bytes (uint32), so clamp to max value
            return Math.min(intervals, 0xFFFFFFFFL);
        }
    
        /**
         * Get the flags
         * @return the flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly("run@100000")
    
        taskFaker.advanceUntil(150.µs)
        assertThat(log).containsExactly("run@100000", "run@150000")
    
        taskFaker.advanceUntil(299.µs)
        assertThat(log).containsExactly("run@100000", "run@150000")
    
        taskFaker.advanceUntil(300.µs)
        assertThat(log).containsExactly("run@100000", "run@150000", "run@300000")
    
        taskFaker.assertNoMoreTasks()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 23K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      /** https://github.com/google/guava/issues/1791 */
      public void testInfinity_bustyTimeElapsed() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch);
        stopwatch.instant += 1000000;
        limiter.setRate(2.0);
        for (int i = 0; i < 5; i++) {
          limiter.acquire();
        }
        assertEvents(
            "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      /** https://github.com/google/guava/issues/1791 */
      public void testInfinity_bustyTimeElapsed() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch);
        stopwatch.instant += 1000000;
        limiter.setRate(2.0);
        for (int i = 0; i < 5; i++) {
          limiter.acquire();
        }
        assertEvents(
            "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/InfoTest.java

            writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 8, (lastAccess + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 16, (lastWrite + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 24, (change + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeShort(buffer, 32, attributes);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. src/main/resources/fess_config.properties

    labels.facet_contentLength_10k=content_length:[0 TO 9999]\t\
    labels.facet_contentLength_10kto100k=content_length:[10000 TO 99999]\t\
    labels.facet_contentLength_100kto500k=content_length:[100000 TO 499999]\t\
    labels.facet_contentLength_500kto1m=content_length:[500000 TO 999999]\t\
    labels.facet_contentLength_1m=content_length:[1000000 TO *]\n\
    labels.facet_filetype_title:\
    labels.facet_filetype_html=filetype:html\t\
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
Back to Top