- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 738 for caching (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testSetCount_negative_removeUnsupported() { try { setCountNoCheckReturnValue(e3(), -1); fail( "calling setCount() with a negative count should throw " + "IllegalArgumentException or UnsupportedOperationException"); } catch (IllegalArgumentException | UnsupportedOperationException expected) { } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
assertValue("b", "bb", "bbbb") assertValue("c", "c", "c") // Causing the size to grow to 10 should evict nothing. set("d", "d", "d") cache.flush() assertThat(cache.size()).isEqualTo(10) assertAbsent("a") assertValue("b", "bb", "bbbb") assertValue("c", "c", "c") assertValue("d", "d", "d") // Causing the size to grow to 18 should evict 'B' and 'C'. set("e", "eeee", "eeee")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
src/archive/tar/reader.go
// until [Next] is called to advance to the next file. // // If the current file is sparse, then the regions marked as a hole // are read back as NUL-bytes. // // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar], // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [io.EOF]) regardless of what // the [Header.Size] claims. func (tr *Reader) Read(b []byte) (int, error) {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 07 19:46:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
void testConstructor() { // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper) // and the credentials. The delegate is tested implicitly by calling super's methods. // We can directly test getCredentials() to ensure it returns the initial credentials. assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` In this case, `fluffy` is an instance of the class `Cat`. And to create `fluffy`, you are "calling" `Cat`. So, a Python class is also a **callable**. Then, in **FastAPI**, you could use a Python class as a dependency.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
import org.jspecify.annotations.Nullable; /** * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses * should override one or more methods to modify the behavior of the backing multiset as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.write(new byte[1000]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile();
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
} } } } }) } } // Wrapper for calling ListObjectsOnVersionedBuckets tests for both // Erasure multiple disks and single node setup. func TestListObjectsOnVersionedBuckets(t *testing.T) { ExecObjectLayerTest(t, testListObjectsOnVersionedBuckets) } // Wrapper for calling ListObjects tests for both Erasure multiple // disks and single node setup.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 76.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
@Test @DisplayName("parseURL with null spec throws NullPointerException") void testParseURL_NullSpec() throws MalformedURLException { // Arrange: create a URL object to mutate via parseURL (same package allows calling protected method) Handler handler = newHandler(); URL url = new URL(null, "smb://server/share", handler); // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
.put(3, 0x9fcc3c3fde4d5ff7L) .put(2, 0x090966a836e5fa4bL) .put(1, 0x8199675ecaa6fe64L) .put(0, 0x23ad7c904aa665e3L) .build(); private static final HashFunction HASH_FN = Hashing.fingerprint2011(); // If this test fails, all bets are off @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 public void testReallySimpleFingerprints() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0)