Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 391 for double (0.09 seconds)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Shorts.toArray(bytes)).isEqualTo(array);
        assertThat(Shorts.toArray(shorts)).isEqualTo(array);
        assertThat(Shorts.toArray(ints)).isEqualTo(array);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        TreeRangeMap<Integer, Integer> differentValues = TreeRangeMap.create();
        differentValues.put(Range.closedOpen(1, 2), 2);
        differentValues.put(Range.closedOpen(3, 4), 2);
        TreeRangeMap<Double, Integer> differentTypes = TreeRangeMap.create();
        differentTypes.put(Range.closedOpen(1.0, 2.0), 2);
        differentTypes.put(Range.closedOpen(3.0, 4.0), 2);
        new EqualsTester()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Ints.toArray(bytes)).isEqualTo(array);
        assertThat(Ints.toArray(shorts)).isEqualTo(array);
        assertThat(Ints.toArray(ints)).isEqualTo(array);
        assertThat(Ints.toArray(floats)).isEqualTo(array);
        assertThat(Ints.toArray(longs)).isEqualTo(array);
        assertThat(Ints.toArray(doubles)).isEqualTo(array);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

       *
       * {@snippet :
       * Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9);
       * Function<Integer, Double> sqrt = (Integer in) -> Math.sqrt((int) in);
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * common (perhaps <i>more</i> common) for round-trip conversion to be <i>lossy</i>. Consider an
     * example round-trip using {@link com.google.common.primitives.Doubles#stringConverter}:
     *
     * <ol>
     *   <li>{@code stringConverter().convert("1.00")} returns the {@code Double} value {@code 1.0}
     *   <li>{@code stringConverter().reverse().convert(1.0)} returns the string {@code "1.0"} --
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. src/archive/zip/zip_test.go

    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    func memset(a []byte, b byte) {
    	if len(a) == 0 {
    		return
    	}
    	// Double, until we reach power of 2 >= len(a), same as bytes.Repeat,
    	// but without allocation.
    	a[0] = b
    	for i, l := 1, len(a); i < l; i *= 2 {
    		copy(a[i:], a[:i])
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  8. lib/fips140/v1.1.0-rc1.zip

    table[0].Set(q) for i := 1; i < 15; i += 2 { table[i].Double(table[i/2]) table[i+1].Add(table[i], q) } // Instead of doing the classic double-and-add chain, we do it with a // four-bit window: we double four times, and then add [0-15]P. t := NewP224Point() p.Set(NewP224Point()) for i, byte := range scalar { // No need to double on the first iteration, as p is the identity at // this point, and [N]∞ = ∞. if i != 0 { p.Double(p) p.Double(p) p.Double(p) p.Double(p) } windowValue := byte >> 4 table.Select(t,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

      }
    
      /**
       * These public suffixes were selected by inspecting the publicsuffix.org list. It's possible they
       * may change in the future. If this test begins to fail, please double check they are still
       * present in the public suffix list.
       */
      @Test fun domainIsPublicSuffix() {
        val ascii = "https://foo1.foo.bar.elb.amazonaws.com".toHttpUrl()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. CHANGELOG.md

        all of them.
    
     *  Fix: Address a performance bug in `MultipartReader`. We were scanning the entire input stream
        for a delimiter when we only needed to scan enough to return a result.
    
     *  Fix: Don't double-compress the public suffix database. OkHttp is usually distributed in a
        compressed file (like a JAR or APK), so compressing its internal data was redundant.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
Back to Top