Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 396 for only (2.83 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[10];
            int offset = 8; // Only 2 bytes remaining, need 4
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @DisplayName("Should throw exception when offset exceeds buffer for reading")
        void testReadBytesWireFormatOffsetTooLarge() {
            // Given
            byte[] buffer = new byte[10];
            int offset = 9; // Only 1 byte remaining, need at least 2 for structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                    final HMACT64 hmac = new HMACT64(responseKeyNT);
                    hmac.update(ntResponse, 0, 16); // only first 16 bytes of ntResponse
                    final byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                        masterKey = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

        public static final int DIRECTORY_FULL = SMB2_LEASE_FULL;  // All three
    }
    ```
    
    ### 3.2 Directory Cache Scopes
    ```java
    public enum DirectoryCacheScope {
        IMMEDIATE_CHILDREN,    // Only direct children
        RECURSIVE_TREE,        // Entire subtree (if supported)
        METADATA_ONLY,         // File attributes but not content
        FULL_ENUMERATION      // Complete directory listing
    }
    ```
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

        @Override
        public boolean isAvailable() {
            return true;  // TCP is always available
        }
        
        @Override
        public Set<RdmaCapability> getSupportedCapabilities() {
            // TCP fallback only supports send/receive
            return EnumSet.of(RdmaCapability.RDMA_SEND_RECEIVE);
        }
        
        @Override
        public RdmaConnection createConnection(InetSocketAddress remote, 
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SIDCacheImpl.java

    import jcifs.dcerpc.msrpc.SamrPolicyHandle;
    import jcifs.dcerpc.msrpc.lsarpc;
    import jcifs.dcerpc.msrpc.lsarpc.LsarTranslatedName;
    import jcifs.dcerpc.msrpc.samr;
    
    /**
     * Internal use only: SID resolver cache
     *
     * @author mbechler
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SIDCacheImpl implements SidResolver {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SpnegoContext.java

                final ASN1ObjectIdentifier[] rm = tinit.getMechanisms();
                this.remoteMechs = rm;
                final ASN1ObjectIdentifier prefMech = rm[0];
                // only use token if the optimistic mechanism is supported
                if (this.mechContext.isSupported(prefMech)) {
                    inputToken = tinit.getMechanismToken();
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
            verify(tree, atLeastOnce()).close();
        }
    
        @Test
        @DisplayName("isSame returns true only for same underlying tree instance")
        void isSame_comparesUnderlyingTreeIdentity() {
            SmbTreeConnection c1 = newConn();
            SmbTreeConnection c2 = newConn();
            SmbTreeImpl shared = mock(SmbTreeImpl.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

    // This file is currently unlocked (change this line if you lock the file)
    //
    // $Log: MD4.java,v $
    // Revision 1.2  1998/01/05 03:41:19  iang
    // Added references only.
    //
    // Revision 1.1.1.1  1997/11/03 22:36:56  hopwood
    // + Imported to CVS (tagged as 'start').
    //
    // Revision 0.1.0.0  1997/07/14  R. Naffah
    // + original version
    //
    // $Endlog$
    /*
     * Copyright (c) 1997 Systemics Ltd
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                }
                return null;
            }).when(tree).send(any(Request.class));
    
            DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, "*", null, 0);
    
            // Consume the only element
            assertTrue(it.hasNext());
            assertSame(fe1, it.next());
            // After exception path, iterator should be exhausted
            assertFalse(it.hasNext());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top