- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 489 for 13 (0.02 seconds)
-
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
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(); } // `primitives` can't depend on `collect`, so this is what the prod code has to return.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
} @Test fun byteArrayRange() { val contentType = "text/plain".toMediaType() val body: RequestBody = ".abcd".toByteArray().toRequestBody(contentType, 1, 3) assertThat(body.contentType()).isEqualTo(contentType) assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("616263")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c); assertEquals(asList(100), list); } public void testSortedCopyOf_natural_containsNull() { Collection<@Nullable Integer> c = MinimalCollection.of(1, 3, null, 2); assertThrows( NullPointerException.class, () -> ImmutableList.sortedCopyOf((Collection<Integer>) c)); } public void testSortedCopyOf() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertEquals( MediaType.parse("text/plain; a=1; a=3"), MediaType.parse("text/plain; a=1; a=2").withParameters("a", ImmutableSet.of("1", "3"))); assertEquals( MediaType.parse("text/plain; a=1; a=2; b=3; b=4"), MediaType.parse("text/plain; a=1; a=2").withParameters("b", ImmutableSet.of("3", "4"))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
Segment<Object, Object> segment = map.segments[0]; assertThat(segment.table.length()).isEqualTo(1); // manually add elements to avoid expansion // 1/3 null keys, 1/3 null values int originalCount = 1024; ReferenceEntry<Object, Object> entry = null; for (int i = 0; i < originalCount; i++) { Object key = new Object();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
// @JvmField val TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 = init("TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256", 0xccae) // TLS 1.3 https://tools.ietf.org/html/rfc8446 @JvmField val TLS_AES_128_GCM_SHA256 = init("TLS_AES_128_GCM_SHA256", 0x1301) @JvmField val TLS_AES_256_GCM_SHA384 = init("TLS_AES_256_GCM_SHA384", 0x1302)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 39.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
public void testAsList_subList_toArray_roundTrip() { char[] array = {(char) 0, (char) 1, (char) 2, (char) 3}; List<Character> list = Chars.asList(array); assertThat(Chars.toArray(list.subList(1, 3))).isEqualTo(new char[] {(char) 1, (char) 2}); assertThat(Chars.toArray(list.subList(2, 2))).isEqualTo(new char[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.2.md
continue to use your existing JSON and YAML files until you are ready to switch to <code>batch/v1</code>. We may remove support for Jobs with <code>apiVersion: extensions/v1beta1 </code>in 1.3 or 1.4. * HorizontalPodAutoscaler was Beta in 1.1 and is GA in 1.2 . * <code>apiVersion: autoscaling/v1 </code>is now available. Changes in this version are:
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Dec 04 06:36:19 GMT 2020 - 41.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
public void testAsList_subList_toArray_roundTrip() { int[] array = {(int) 0, (int) 1, (int) 2, (int) 3}; List<Integer> list = Ints.asList(array); assertThat(Ints.toArray(list.subList(1, 3))).isEqualTo(new int[] {(int) 1, (int) 2}); assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0)