Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for idempotent (0.09 sec)

  1. 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)
  2. 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)
  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. 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)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeTest.java

            assertNotNull(typedResult, "Typed result should not be null");
            assertEquals(customTree, typedResult, "Should maintain type safety");
        }
    
        /**
         * Test for close() idempotency.
         * Verifies that calling close multiple times has the same effect as calling it once.
         */
        @Test
        void testClose_idempotency() {
            // Mock a tree that tracks close state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.31.md

    - Fixed a race condition in kube-controller-manager and the scheduler, caused by
      a bug in the transforming informer during the Resync operation, 
      by making the transforming function idempotent. ([#124352](https://github.com/kubernetes/kubernetes/pull/124352), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery and Scheduling]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:49:57 UTC 2025
    - 429.6K bytes
    - Viewed (0)
Back to top