- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for idempotent (0.13 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Object toBeSupplied = new Object(); Supplier<Object> objectSupplier = Suppliers.ofInstance(toBeSupplied); assertSame(toBeSupplied, objectSupplier.get()); assertSame(toBeSupplied, objectSupplier.get()); // idempotent } public void testOfInstanceSuppliesNull() { Supplier<@Nullable Integer> nullSupplier = Suppliers.ofInstance(null); assertThat(nullSupplier.get()).isNull(); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
assertTrue(e instanceof IOException); assertTrue(e.getMessage().contains("endpoint is blank")); } } /** * Test that connect() is idempotent - calling it multiple times should be safe. */ public void test_connect_idempotent() throws Exception { URL url = new URL("storage://mybucket/object.txt"); Handler handler = new Handler();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
assertThat(partEfg.headers).isEqualTo(headersOf("Content-ID", "efg")) assertThat(partEfg.body.readUtf8()).isEqualTo("efgh") assertThat(parts.nextPart()).isNull() } @Test fun `no more parts is idempotent`() { val multipart = """ |--simple boundary | |abcd |--simple boundary-- | |efgh |--simple boundary-- """.trimMargin()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("working", result); // Close it cbToClose.close(); // Should not throw exception (close should be idempotent) cbToClose.close(); } @Test public void testEnhancedMetricsTracking() throws Exception { SmbCircuitBreaker cbWithEnhanced = new SmbCircuitBreaker("enhanced-test");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
* `ID > lastGoodStreamId` on a new connection. In- flight streams with * `ID <= lastGoodStreamId` can only be replayed on a new connection if they are idempotent. * * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If * [lastGoodStreamId] is zero, the peer processed no frames.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
// First close closeableFactory.destroyObject(pooledObject); assertTrue(component.isClosed()); // Component's close is idempotent, so calling destroy again should not increment counter closeableFactory.destroyObject(pooledObject); assertEquals(1, CloseableTestComponent.getCloseCount()); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
int value = random.nextInt(); HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int value = random.nextInt(); HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* New: Support for SOCKS proxies. * New: Support for `TLS_FALLBACK_SCSV`. * New: Update HTTP/2 support to `h2-16` and `hpack-10`. * New: APIs to prevent retrying non-idempotent requests. * Fix: Drop NPN support. Going forward we support ALPN only. * Fix: The hostname verifier is now strict. This is consistent with the hostname verifier in modern browsers.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertFalse(context.isClosed()); // When context.close(); // Then assertTrue(context.isClosed()); // Should be idempotent assertDoesNotThrow(() -> context.close()); // Cleanup keyManager.close(); } @Test @DisplayName("Should rotate keys successfully")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)