Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 191 for CIFSContext (0.08 seconds)

  1. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create resource monitoring
    - [ ] Implement automatic re-registration
    - [ ] Add cluster node tracking
    - [ ] Create failover coordination
    
    #### 6.3 Integration Points
    - Integrate with `CIFSContext` for witness support
    - Modify `SmbTransport` for failover handling
    - Update `DfsResolver` for witness-aware resolution
    
    ---
    
    ## Implementation Dependencies
    
    ```mermaid
    graph TD
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.RequestWithFileId;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Returns the transport context for this resource
         *
         * @return the transportContext
         */
        @Deprecated
        public CIFSContext getTransportContext() {
            return this.getContext();
        }
    
        @Override
        public CIFSContext getContext() {
            return this.transportContext;
        }
    
        @Override
        public SmbResourceLocator getLocator() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbTransportPoolTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbTransportPool Tests")
    class SmbTransportPoolTest {
    
        @Mock
        private SmbTransportPool transportPool;
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private Address address;
    
        @Mock
        private SmbTransport transport;
    
        @Mock
        private InetAddress localAddr;
    
        private static final int DEFAULT_PORT = 445;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Verify source exists
            CIFSContext verifyContext = createFreshContext();
            SmbFile verifySource = new SmbFile(baseUrl + "shared/" + sourceFileName, verifyContext);
            assertTrue(verifySource.exists(), "Source file should exist");
    
            // Perform rename using copy+delete as this is more reliable with Docker/Samba
            CIFSContext renameContext = createFreshContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  6. src/main/java/jcifs/context/BaseContext.java

            return this.transportPool;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig() {
            return this.config;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
        public DfsResolver getDfs() {
            return this.dfs;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        void getSmbSession_byContext_null() {
            when(transport.getSmbSession(isNull(jcifs.CIFSContext.class))).thenReturn(null);
            assertNull(transport.getSmbSession((jcifs.CIFSContext) null));
            verify(transport).getSmbSession((jcifs.CIFSContext) isNull());
        }
    
        // Happy path: session retrieval with host/domain variations
        @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbResource.java

         * @return the fileLocator
         */
        SmbResourceLocator getLocator();
    
        /**
         * The context this file was opened with
         *
         * @return the context associated with this file
         */
        CIFSContext getContext();
    
        /**
         * Returns the last component of the target URL. This will
         * effectively be the name of the file or directory represented by this
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch
            // Build a concrete SMB1 negotiate response to expose ServerData fields
            jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class);
            when(ctx.getConfig()).thenReturn(config);
            when(config.getCapabilities()).thenReturn(0);
            when(config.getFlags2()).thenReturn(0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.smb1.smb1.BufferCache;
    
    /**
     * Comprehensive performance tests for critical performance fixes
     */
    public class CriticalPerformanceTest {
    
        private CIFSContext mockContext;
        private Configuration mockConfig;
        private Credentials mockCredentials;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top