Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for 0000005 (0.14 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                "0000000000000",
                "000000000000",
                "00000000000",
                "0000000000",
                "000000000",
                "00000000",
                "0000000",
                "000000",
                "00000",
                "0000",
                "000",
                "00",
                "0"
            };
    
            checkVersionsArrayEqual(arr);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
      public void testAutoIncrementStep_seconds() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS);
        assertEquals(0, ticker.read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
        assertEscaping(e, "%EF%BF%BF", '\uffff'); // xxx-1111,x-111111,x-11,1111
        assertUnicodeEscaping(e, "%F0%90%80%80", '\uD800', '\uDC00');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
        assertEscaping(e, "%EF%BF%BF", '\uffff'); // xxx-1111,x-111111,x-11,1111
        assertUnicodeEscaping(e, "%F0%90%80%80", '\uD800', '\uDC00');
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/IntMath.java

        9, 9, 9, 8, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 5, 5, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 0,
        0
      };
    
      @VisibleForTesting
      static final int[] powersOf10 = {
        1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000
      };
    
      // halfPowersOf10[i] = largest int less than 10^(i + 0.5)
      @VisibleForTesting
      static final int[] halfPowersOf10 = {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

     * Ordering#sortedCopy} and {@link Ordering#immutableSortedCopy}, as well as for automated code
     * suggestions.
     *
     */
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      /** https://code.google.com/p/guava-libraries/issues/detail?id=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).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathTesting.java

        for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) {
          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThat(b).isEqualTo(new byte[0]);
      }
    
      public void testToByteArray_largeStream() throws IOException {
        // well, large enough to require multiple buffers
        byte[] expected = newPreFilledByteArray(10000000);
        InputStream in = new ByteArrayInputStream(expected);
        byte[] b = ByteStreams.toByteArray(in);
        assertThat(b).isEqualTo(expected);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.00001").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.00001D))));
            assertEquals(0, new BigDecimal("0.0000001").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.0000001D))));
    
            assertEquals(0, new BigDecimal("0.123").compareTo(BigDecimalConversionUtil.toBigDecimal(new Double(0.123D))));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top