Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getResponseLength (0.13 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            setDataCountMethod.invoke(response, 256);
    
            int responseLength = response.getResponseLength();
            assertEquals(256, responseLength);
        }
    
        @Test
        void testGetResponseLengthZero() {
            // Test getResponseLength when dataCount is zero (default)
            int responseLength = response.getResponseLength();
            assertEquals(0, responseLength);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        req.setMaxDataCount(1024);
                    }
                    th.send(req, resp, RequestParam.NO_RETRY);
                    return resp.getResponseLength();
                }
                if (this.call) {
                    th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            dataCountField.setAccessible(true);
            dataCountField.setInt(response, 42);
    
            assertEquals(42, response.getResponseLength());
        }
    
        @Test
        void testGetResponseLengthWithZeroDataCount() {
            assertEquals(0, response.getResponseLength());
        }
    
        @Test
        void testMultipleReads() throws SMBProtocolDecodingException {
            // First read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top