Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 345 (0.01 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
        getAll(cache, asList(10, 11, 12));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10, 11, 12);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 3, 4, 5 }); // Total 6 bytes, exceeds threshold of 5
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            cos.close();
        }
    
        @Test
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_simple_n_withNullElement() {
        List<@Nullable Integer> list = asList(3, 4, 5, null, -1);
        List<@Nullable Integer> result =
            Ordering.<Integer>natural().nullsLast().leastOf(list, list.size());
        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_simple_n_withNullElement() {
        List<@Nullable Integer> list = asList(3, 4, 5, null, -1);
        List<@Nullable Integer> result =
            Ordering.<Integer>natural().nullsLast().leastOf(list, list.size());
        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse(
            headers =
              headersOf(
                "B",
                "123",
                "B",
                "234",
              ),
          ),
        )
        executeSynchronously("/", "A", "345", "A", "456")
          .assertCode(200)
          .assertHeader("B", "123", "234")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers.values("A")).containsExactly("345", "456")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top