- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for idempotent (0.25 sec)
-
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } } /** Tests that if specify '%' as safe the result is an idempotent escaper. */ public void testCustomEscaper_withpercent() { UnicodeEscaper e = new PercentEscaper("%", false); assertEquals("foo%7Cbar", e.escape("foo|bar")); assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
/** * Maybe semantics packet flag */ int RPC_C_PF_MAYBE = 0x04; /** * Idempotent operation packet flag */ int RPC_C_PF_IDEMPOTENT = 0x08; /** * Broadcast with maybe semantics packet flag */ int RPC_C_PF_BROADCAST_MAYBE = 0x10; /** * Not idempotent operation packet flag */ int RPC_C_PF_NOT_IDEMPOTENT = 0x20; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/bucket/versioning/README.md
> NOTE: Server side replication is supported for idempotent versions on directory objects. ### Idempotent versions on delete markers
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } } /** Tests that if specify '%' as safe the result is an idempotent escaper. */ public void testCustomEscaper_withpercent() { UnicodeEscaper e = new PercentEscaper("%", false); assertEquals("foo%7Cbar", e.escape("foo|bar")); assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
assertThat(source.readUtf8()).isEqualTo("Hello") assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2")) assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2")) // Idempotent. } } @Test fun trailersEmptyResponseBodyHttp1() { trailersEmptyResponseBody(Protocol.HTTP_1_1) } @Test fun trailersEmptyResponseBodyHttp2() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
assertEquals("remove", exception.getMessage()); } @Test @DisplayName("Close should be idempotent") void testClose_Idempotent() throws Exception { // Given: A valid iterator setup when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
auth.close(); // idempotent // All operations should throw IllegalStateException assertThrows(IllegalStateException.class, () -> auth.getPassword()); assertThrows(IllegalStateException.class, () -> auth.getPasswordAsCharArray()); } /** * Test multiple close() calls (idempotency) */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, null)); } @Test @DisplayName("dispose toggles state and is not idempotent") void testDisposeBehavior() throws Exception { DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, false); ctx.dispose();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
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); assertNull(nullSupplier.get()); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0)