Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for u_size (0.28 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

         */
        public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n = -5;
    
            if ( off + len > b.length ) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while ( i < len ) {
                n = in.read(b, off + i, len - i);
                if ( n <= 0 ) {
                    break;
                }
                i += n;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( t1.snd_buf_size < t2.snd_buf_size ) {
                t2.snd_buf_size = t1.snd_buf_size;
            } else {
                t1.snd_buf_size = t2.snd_buf_size;
            }
    
            bsize = Math.min( t1.rcv_buf_size - 70, t1.snd_buf_size - 70 );
            b = new byte[2][bsize];
    
            try {
                copyTo0( dest, b, bsize, w, req, resp );
            } finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/test/java/jcifs/tests/EnumTest.java

                    // -> 1022 predicted message size <= 1023 maximum buffer size
                    // 112 bytes to alignment
                    // -> aligned to 1024 > 1023 maximum buffer size
    
                    // 110 byte entry = 16 byte name = 8 char length
                    try ( SmbResource r = f.resolve(repeat('Y', 8)) ) {
                        r.createNewFile();
                    }
    
                    bufSize[ 0 ] = tryBufferSize;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/ne.css

            padding: 2px;
            font-family: Verdana, sans-serif;
            font-size: 10pt;
        }
        body {
            font-family: Verdana, sans-serif;
            font-size: 10pt;
            background-color: #ffffff;
            margin-top: 0;
            margin-left: 5;
        }
        small {
            font-size: 8pt;
        }
        big {
            font-size: 14pt;
    CSS
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 36 + size8(2 * this.dialects.length, 4);
            if ( this.negotiateContexts != null ) {
                for ( NegotiateContextRequest ncr : this.negotiateContexts ) {
                    size += 8 + size8(ncr.size());
                }
            }
            return size8(size);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

            this(encode(customData, machineId));
        }
    
    
        private static byte[] encode ( byte[] customData, byte[] machineId ) {
            int size = 8 + 8 + 32;
            byte[] enc = new byte[size];
            SMBUtil.writeInt4(size, enc, 0);
            SMBUtil.writeInt4(0, enc, 4);
            System.arraycopy(customData, 0, enc, 8, 8);
            System.arraycopy(machineId, 0, enc, 16, 32);
            return enc;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * @return the send buffer size of the underlying connection
         * @throws CIFSException
         */
        int getSendBufferSize () throws CIFSException;
    
    
        /**
         * @return the receive buffer size of the underlying connection
         * @throws CIFSException
         */
        int getReceiveBufferSize () throws CIFSException;
    
    
        /**
         * @return the maximum buffer size reported by the server
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            return new Smb2ChangeNotifyResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

                dstIndex += chk.encode(dst, dstIndex);
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 32 + this.chunks.length * 24;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
Back to top