Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 00100010 (0.03 sec)

  1. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("0.00001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.00001D))));
            assertEquals(0, new BigDecimal("0.0000001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0000001D))));
    
            assertEquals(0, new BigDecimal("0.123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.123D))));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      @Test
      fun hostIpv6WithIpv4SuffixWithHexadecimalPrefix() {
        // Chrome interprets a leading '0x' as hexadecimal; Firefox rejects them. (We reject them.)
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0x10.0.0x10]/",
          "Invalid URL host: \"[0:0:0:0:0:1:0.0x10.0.0x10]\"",
        )
      }
    
      @Test
      fun hostIpv6WithMalformedIpv4Suffix() {
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0:0.0]/",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  3. android/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');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K 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');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathBenchmarking.java

     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
          for (int expectedInsertions = 1; expectedInsertions <= 10000; expectedInsertions *= 10) {
            checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr));
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3, 6).asList())
            .containsExactly(0.0, 1.0, 3.0, 6.0)
            .inOrder();
      }
    
      public void testOf5() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3, 6, 10).asList())
            .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0)
            .inOrder();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0, 3.0};
        List<Double> list = Doubles.asList(array);
        assertThat(Doubles.toArray(list.subList(1, 3))).isEqualTo(new double[] {1.0, 2.0});
        assertThat(Doubles.toArray(list.subList(2, 2))).isEmpty();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
          for (int expectedInsertions = 1; expectedInsertions <= 10000; expectedInsertions *= 10) {
            checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr));
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top