- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 184 for 1020 (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
| -H 'Content-Type: application/octet-stream' \ | --data-binary '00010203' """.trimMargin(), ) } @Test fun curlPostWithBinaryBodyOmitted() { val binaryData = "1020".decodeHex() val body = binaryData.toRequestBody("application/octet-stream".toMediaType()) val request = Request .Builder() .url("https://api.example.com/upload")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) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(10, 20); assertThat(cache.getIfPresent(10)).isEqualTo(20); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); } @Test public void expireAfterWriteAndAccess() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder() .expireAfterWrite(1000, MILLISECONDS)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(10, 20); assertThat(cache.getIfPresent(10)).isEqualTo(20); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(10)).isNull(); } @Test public void expireAfterWriteAndAccess() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder() .expireAfterWrite(1000, MILLISECONDS)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
* TreeMultimap. */ public void testCreateFromTreeMultimap() { Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR); tree.put(1.0, 2.0); tree.put(2.0, 3.0); tree.put(3.0, 4.0); tree.put(4.0, 5.0); TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree); assertEquals(tree, copyFromTree);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
* TreeMultimap. */ public void testCreateFromTreeMultimap() { Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR); tree.put(1.0, 2.0); tree.put(2.0, 3.0); tree.put(3.0, 4.0); tree.put(4.0, 5.0); TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree); assertEquals(tree, copyFromTree);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testJoin() { assertThat(Doubles.join(",", EMPTY)).isEmpty(); assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0"); assertThat(Doubles.join(",", 1.0, 2.0)).isEqualTo("1.0,2.0"); assertThat(Doubles.join("", 1.0, 2.0, 3.0)).isEqualTo("1.02.03.0"); } public void testJoinNonTrivialDoubles() { assertThat(Doubles.join(",", EMPTY)).isEmpty();
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) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
public void realRun() { while (!at.compareAndSet(2.0, 3.0)) { Thread.yield(); } } }); assertTrue(at.compareAndSet(1.0, 2.0)); awaitTermination(t); assertBitEquals(3.0, at.get()); } /** repeated weakCompareAndSet succeeds in changing value when equal to expected */ public void testWeakCompareAndSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
public void realRun() { while (!at.compareAndSet(2.0, 3.0)) { Thread.yield(); } } }); assertTrue(at.compareAndSet(1.0, 2.0)); awaitTermination(t); assertBitEquals(3.0, at.get()); } /** repeated weakCompareAndSet succeeds in changing value when equal to expected */ public void testWeakCompareAndSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0)