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. 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)
  3. 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)
  4. 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)
  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. 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)
  9. 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)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * DeferredCloser#eventuallyClose(Object, Executor)}.
         *
         * <p>If any such calls specified {@link MoreExecutors#directExecutor()}, those objects will be
         * closed synchronously.
         *
         * <p>Idempotent: objects will be closed at most once.
         */
        public void closeAsync() {
          closingFuture.close();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
Back to top