Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for clearKey (0.08 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/object-api-utils_test.go

    			t.Errorf("Test %d - expected %v but received %v",
    				i+1, test.result, actual)
    		}
    	}
    }
    
    // Tests RemoveStandardStorageClass method. Expectation is metadata map
    // should be cleared of x-amz-storage-class, if it is set to STANDARD
    func TestRemoveStandardStorageClass(t *testing.T) {
    	tests := []struct {
    		name     string
    		metadata map[string]string
    		want     map[string]string
    	}{
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("setFlag false clears the bit")
        void testSetFlagFalse() {
            msg.setFlag(0x4, true);
            msg.setFlag(0x4, false);
            assertFalse(msg.getFlag(0x4), "Bit should be cleared after setFlag(false)");
        }
    
        // ---------------- Static read tests -----------------
        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
         * Test getBuffers method for transaction buffers.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top