Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 162 for 100000 (0.04 seconds)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

            long[] testTimes = { 0L, 1000L, 1500000000000L };
            byte[] buffer = new byte[4];
    
            for (long time : testTimes) {
                SMBUtil.writeUTime(time, buffer, 0);
                long readTime = SMBUtil.readUTime(buffer, 0);
    
                // Account for precision loss (milliseconds to seconds conversion)
                assertEquals((time / 1000L) * 1000L, readTime);
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        @Test
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      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);
        assertEquals(0, ticker.read());
    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)
  4. 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)
  5. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/util/SMBUtil.java

            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        /**
         * Writes a Java time value as a Windows FILETIME
         * @param t the time value in milliseconds since January 1, 1970 UTC
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("15 MB", format.format(15L * 1000L * 1000L));
            assertEquals("999 MB", format.format(999L * 1000L * 1000L));
            assertEquals("1.0 GB", format.format(1000L * 1000L * 1000L));
            assertEquals("5.5 GB", format.format(5500L * 1000L * 1000L));
            assertEquals("10 GB", format.format(10L * 1000L * 1000L * 1000L));
            assertEquals("15 GB", format.format(15L * 1000L * 1000L * 1000L));
    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)
  8. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      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);
        assertEquals(0, ticker.read());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. benchmarks/README.md

    You can set benchmark parameters with `-p`:
    ```
    gradlew -p benchmarks/ run --args 'RoundingBenchmark.round -prounder=es -prange="2000-10-01 to 2000-11-01" -pzone=America/New_York -pinterval=10d -pcount=1000000'
    ```
    
    The benchmark code defines default values for the parameters so if
    you leave out any out JMH will run with each default value, one after
    the other. This will run with `interval` set to `calendar year` then
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
Back to Top