Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 251 for webconfig (2.32 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2FindNext2[" + super.toString() + ",sid=" + this.sid + ",searchCount=" + getConfig().getListSize()
                    + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x"
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         */
        @Override
        protected Smb2SetInfoResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2SetInfoResponse> req) {
            return new Smb2SetInfoResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("initResponse prepares a response instance")
        void initResponseCreatesResponse() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            SmbComNTCreateAndXResponse resp = req.initResponse(mockContext);
            assertNotNull(resp, "Response should not be null after init");
            // getResponse should now return the same instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

    ```java
    @Test
    public void testMultiChannelThroughput() throws Exception {
        // Requires multi-NIC test environment
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true");
        context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

        private CIFSContext mockContext;
    
        private byte[] testFileId;
        private Smb2WriteRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
            request = new Smb2WriteRequest(mockConfig, testFileId);
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
            @Test
            @DisplayName("Should construct with config and command")
            void testConstructorWithConfigAndCommand() {
                int command = 0x01;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

        private Configuration mockConfig;
    
        private static byte[] blobCred() {
            return "blobdata".getBytes(StandardCharsets.UTF_8);
        }
    
        @BeforeEach
        void setup() {
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub());
        }
    
        private void setupNegotiateStubs() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            // Set system property for handle state directory
            System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString());
    
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            manager = new PersistentHandleManager(mockContext);
        }
    
        @AfterEach
        public void tearDown() throws IOException {
            if (manager != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                } else {
                    // Create new handle info if not found
                    HandleInfo newInfo =
                            new HandleInfo(path, guid, fileId, HandleType.PERSISTENT, context.getConfig().getPersistentHandleTimeout(), null);
                    handles.put(path, newInfo);
                    guidToHandle.put(guid, newInfo);
                    persistHandle(newInfo);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            // Common happy-path defaults
            // Use lenient() to avoid strict stubbing issues with Mockito
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top