Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,799 for full (2.86 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should handle different file IDs")
        void testDifferentFileIds() {
            // Given
            byte[] fileId1 = new byte[16];
            Arrays.fill(fileId1, (byte) 0x11);
    
            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            Smb2NegotiateResponse r = null;
            byte[] negoReqBuffer = null;
            byte[] negoRespBuffer = null;
            try {
                smb2neg.setRequestCredits(Math.max(1, this.desiredCredits - this.credits.availablePermits()));
    
                final int reqLen = negotiateWrite(smb2neg, first != null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

        }
        return false;  // Fall back to oplock logic
    }
    
    public boolean canCacheWrite() {
        if (leaseKey != null) {
            LeaseEntry entry = leaseManager.getLease(leaseKey);
            return entry != null && entry.hasWriteCache();
        }
        return false;
    }
    
    public boolean canCacheHandle() {
        if (leaseKey != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(testSalt, Arrays.copyOfRange(buffer, 6, 14));
            }
    
            @Test
            @DisplayName("Should encode with null values")
            void testEncodeWithNullValues() {
                // Arrange
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
                byte[] buffer = new byte[100];
    
                // Act
                int encodedSize = context.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Remove lease contexts and fall back to oplock
         * @param oplockLevel the oplock level to fall back to
         */
        public void fallbackToOplock(byte oplockLevel) {
            // Remove any lease contexts
            if (this.createContexts != null) {
                CreateContextRequest[] filteredContexts = null;
                int count = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertNull(context.getSalt());
                assertEquals(6, context.size()); // 4 header + 2 for one hash algo
            }
    
            @Test
            @DisplayName("Should handle both null parameters")
            void testBothNullParameters() {
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Constructor with all null parameters should work")
        void testConstructorWithAllNullParameters() {
            // Test that all null parameters are handled properly
            SmbNegotiation negotiationAllNull = new SmbNegotiation(null, null, null, null);
    
            assertNull(negotiationAllNull.getRequest());
            assertNull(negotiationAllNull.getResponse());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    + (lmResponse == null ? "null" : "<" + lmResponse.length + " bytes>") + ",ntResponse="
                    + (ntResponse == null ? "null" : "<" + ntResponse.length + " bytes>") + ",sessionKey="
                    + (sessionKey == null ? "null" : "<" + sessionKey.length + " bytes>") + ",flags=0x"
                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(defaultConfig.getRandom(), "Random should not be null");
            assertNotNull(defaultConfig.getLocalTimezone(), "Local timezone should not be null");
            assertNotNull(defaultConfig.getMachineId(), "Machine ID should not be null");
        }
    
        @Test
        @DisplayName("Test network configuration getters")
        void testNetworkConfigurationGetters() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                    if (this.sessionKey != null) {
                        java.util.Arrays.fill(this.sessionKey, (byte) 0);
                        this.sessionKey = null;
                    }
    
                    if (this.preauthIntegrityHash != null) {
                        java.util.Arrays.fill(this.preauthIntegrityHash, (byte) 0);
                        this.preauthIntegrityHash = null;
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top