Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 75 for 1800000 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE
            when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000);
    
            when(mockFile2.getName()).thenReturn("subfolder");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 1000.0);
            assertEquals("1.0 kB/s", builder.build());
    
            // Test rate at exactly 1000000 (1 MB/s)
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 1000000.0);
            assertEquals("1.0 MB/s", builder.build());
        }
    
        @Test
        void testFormatRateLargeValues() {
    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/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
            // alloc (4 bytes)
            SMBUtil.writeInt4(1000000, buffer, offset);
            offset += 4;
    
            // free (4 bytes)
            SMBUtil.writeInt4(500000, buffer, offset);
            offset += 4;
    
            // bytesPerSect (2 bytes + 2 padding)
            SMBUtil.writeInt2(512, buffer, offset);
            offset += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0 GB", format.format(999L * 1000L, ScaleUnit.GIGABYTE));
    
            assertEquals("1.0 MB", format.format(1000L * 1000L));
            assertEquals("1000000 B", format.format(1000L * 1000L, ScaleUnit.BYTE));
            assertEquals("1000 kB", format.format(1000L * 1000L, ScaleUnit.KILOBYTE));
            assertEquals("1.0 MB", format.format(1000L * 1000L, ScaleUnit.MEGABYTE));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/InputValidatorTest.java

        void testValidBufferSize() {
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(100, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        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)
  7. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            String result =
                    "{\"bool\":{\"should\":[{\"geo_distance\":{\"location\":[151.0,35.0],\"distance\":1000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}},{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}],\"adjust_pure_negative\":true,\"boost\":1.0}}";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top