Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for clearKey (0.42 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        table.set(index, entry);
        segment.count++;
    
        assertSame(value, map.get(key, loader));
        assertEquals(0, loader.getCount());
        assertEquals(1, segment.count);
    
        entry.clearKey();
        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(2, segment.count);
      }
    
      public void testComputePartiallyCollectedValue() throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. tests/multi_primary_keys_test.go

    		t.Fatalf("ZH Blog's tags should not be cleared when clear EN Blog's tags")
    	}
    
    	if DB.Model(&blog2).Association("LocaleTags").Count() != 0 {
    		t.Fatalf("EN Blog's tags should be cleared when clear EN Blog's tags")
    	}
    
    	DB.Model(&blog).Association("LocaleTags").Clear()
    	if DB.Model(&blog).Association("LocaleTags").Count() != 0 {
    		t.Fatalf("ZH Blog's tags should be cleared when clear ZH Blog's tags")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
        @DisplayName("writeAndXWireFormat with andx but batching prevented by limit")
        void testWriteAndXWireFormatBatchingPrevented() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * }
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
     * @author mike nonemacher
     * @author Martin Buchholz
     * @since 11.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed");
        }
    
        /**
         * Test that trees collection is properly cleared during cleanup.
         */
        @Test
        public void testTreesCollectionCleanup() {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * }
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
     * @author mike nonemacher
     * @author Martin Buchholz
     * @since 11.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test clearing a flag
            message.setFlag(0b0001, false);
            assertEquals(0b0100, message.getFlags(), "Flag 0b0001 should be cleared.");
    
            message.setFlag(0b0100, false);
            assertEquals(0, message.getFlags(), "Flag 0b0100 should be cleared.");
    
            // Test setting a flag that is already set
            message.setFlags(0b1000);
            message.setFlag(0b1000, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/HandlerTest.java

        @DisplayName("parseURL: fragment is moved into path and ref cleared")
        void testParseURL_FragmentMovedToPath() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server/share#frag", handler);
    
            // Assert: ref is moved into path by Handler.parseURL
            assertNull(url.getRef(), "Ref must be cleared by Handler");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial006.py hl[16] *}
    
    It will be clearly marked as deprecated in the interactive docs:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Check how deprecated and non-deprecated *path operations* look like:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            assertArrayEquals(testPassword.toCharArray(), passwordBefore, "Password should match before wipe");
    
            // Wipe the password
            authenticator.secureWipePassword();
    
            // Verify password is cleared after wipe
            char[] passwordAfter = (char[]) passwordField.get(authenticator);
            assertNull(passwordAfter, "Password should be null after wipe");
        }
    
        @Test
        @DisplayName("Test session ID generation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top