Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for netdfs (0.08 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Mock credentials to avoid NullPointerException
            when(ctx.getCredentials()).thenReturn(credentials);
            when(credentials.getUserDomain()).thenReturn("DOMAIN");
            // Mock DFS resolver
            when(ctx.getDfs()).thenReturn(dfsResolver);
        }
    
        // Helper to set private field 'tree'
        private static void setTree(SmbTreeConnection c, SmbTreeImpl tree) {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            buffer[6] = 0;
            buffer[7] = 0;
    
            return buffer;
        }
    
        private byte[] createDfsReferralBufferWithMultipleReferrals(int numReferrals) {
            // Each referral structure needs 20 bytes, plus string data
            int referralSize = 20;
            int referralsDataSize = numReferrals * referralSize;
    
            // Add space for string data for each referral
            String testPath = "\\server\\share";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            // 3. Sending the request through the appropriate transport
            // 4. Processing the response
    
            // For now, we'll return false to indicate that the concrete implementation
            // needs to be provided by the calling code
            log.warn("performReconnection called but no concrete implementation available. "
                    + "This method should be overridden by the actual SMB implementation.");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         *
         * @return true if expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
    
        /**
         * Check if cache needs refresh
         *
         * @return true if refresh needed
         */
        public boolean needsRefresh() {
            return isExpired() || hasChanges;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/UUIDTest.java

                String uuidWithExtra = VALID_UUID_STRING + "EXTRA";
    
                // Act
                UUID uuid = new UUID(uuidWithExtra);
    
                // Assert - The implementation only reads what it needs
                assertEquals(TIME_LOW, uuid.time_low);
                assertEquals(TIME_MID, uuid.time_mid);
                assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] e8 = new byte[8];
    
            for (int i = 0; i < key.length / 7; i++) {
                System.arraycopy(key, i * 7, key7, 0, 7);
                final Cipher des = Crypto.getDES(key7);
                des.update(data, 0, data.length, e8);
                System.arraycopy(e8, 0, e, i * 8, 8);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                            }
    
                            // FSCTL_SRV_COPYCHUNK_WRITE allows to open the file for writing only, FSCTL_SRV_COPYCHUNK also
                            // needs read access
                            final Smb2IoctlRequest copy = new Smb2IoctlRequest(sh.getConfig(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

            TreeConnectResponse response = null;
            try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) {
                synchronized (transport) {
    
                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if (waitForState(transport) == 2) {
                        // already connected
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Config.java

     *
     * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper}
     * with your desired config. It's base implementation {@link jcifs.context.BaseContext}
     * should be sufficient for most needs.
     *
     * If you want to retain the classic singleton behavior you can use
     * {@link jcifs.context.SingletonContext#getInstance()}
     * witch is initialized using system properties.
     *
     */
    public class Config {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

        class EdgeCasesAndRealWorldTests {
    
            @Test
            @DisplayName("Should handle typical Windows NTFS configuration")
            void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
                // Given - typical NTFS: 4KB clusters (8 sectors * 512 bytes)
                long totalClusters = 26214400L; // 100GB / 4KB
                long freeClusters = 13107200L; // 50GB / 4KB
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top