Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for idempotent (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            // 408's are rare in practice, but some servers like HAProxy use this response code. The
            // spec says that we may repeat the request without modifications. Modern browsers also
            // repeat the request (even non-idempotent ones.)
            if (!client.retryOnConnectionFailure) {
              // The application layer has directed us not to retry the request.
              return null
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top