Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for maxRecv (0.69 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
                DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            tcField.setAccessible(true);
            tcField.set(handle, mockContext);
    
            // Set max_recv field using reflection (default is 4280 in parent class)
            Field maxRecvField = DcerpcHandle.class.getDeclaredField("max_recv");
            maxRecvField.setAccessible(true);
            maxRecvField.set(handle, 4280);
    
            // Inject mocks using reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testMaxValuesConfiguration() {
                // When: Getting max transmission values
                int maxRecv = handle.getMaxRecv();
                int maxXmit = handle.getMaxXmit();
    
                // Then: Should return positive values
                assertTrue(maxRecv > 0);
                assertTrue(maxXmit > 0);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBind.java

        }
    
        private DcerpcBinding binding;
        private int max_xmit, max_recv;
    
        /**
         * Construct bind message
         *
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            out.write(buf, off, length);
        }
    
        @Override
        protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv) {
                throw new IllegalArgumentException("buffer too small");
            }
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         *
         * @return the binding
         */
        public DcerpcBinding getBinding() {
            return this.binding;
        }
    
        /**
         * @return the max_recv
         */
        int getMaxRecv() {
            return this.max_recv;
        }
    
        /**
         * @return the max_xmit
         */
        int getMaxXmit() {
            return this.max_xmit;
        }
    
        /**
         * Get a handle to a service
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        /**
         * Maximum transmit buffer size for DCERPC messages
         */
        protected int max_xmit = 4280;
        /**
         * Maximum receive buffer size for DCERPC messages
         */
        protected int max_recv = max_xmit;
        /**
         * The current state of the DCERPC connection
         */
        protected int state = 0;
        /**
         * The security provider for authentication and message protection
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            FessEnv.SimpleImpl maxEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.TIME_ADJUST_TIME_MILLIS, String.valueOf(Long.MAX_VALUE));
                    return props;
                }
            };
            assertEquals(Long.valueOf(Long.MAX_VALUE), maxEnv.getTimeAdjustTimeMillisAsLong());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top