Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for size (0.22 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for( int i = 0; i < len; i++ ) {
                ch = str.charAt( i );
                size += ch > 0x07F ? (ch > 0x7FF ? 3 : 2) : 1;
            }
            dst = new byte[size];
            writeShort( size );
            try {
                Encdec.enc_utf8( str, dst, 0, size );
            } catch( IOException ioe ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    		uint32_t count;
    		[size_is(count)] DfsInfo3 *s;
    	} DfsEnumArray3;
    
    	typedef struct {
    		[string] wchar_t *dfs_name;
    	} DfsInfo200;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo200 *s;
    	} DfsEnumArray200;
    
    	typedef struct {
    		uint32_t flags;
    		[string] wchar_t *dfs_name;
    	} DfsInfo300;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo300 *s;
    	} DfsEnumArray300;
    
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl

    		uint32_t count;
    		[size_is(count)] DfsInfo3 *s;
    	} DfsEnumArray3;
    
    	typedef struct {
    		[string] wchar_t *dfs_name;
    	} DfsInfo200;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo200 *s;
    	} DfsEnumArray200;
    
    	typedef struct {
    		uint32_t flags;
    		[string] wchar_t *dfs_name;
    	} DfsInfo300;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo300 *s;
    	} DfsEnumArray300;
    
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        static final int RESOLVER_BCAST   = 2;
        static final int RESOLVER_WINS    = 3;
    
        private static final int SND_BUF_SIZE = Config.getInt( "jcifs.smb1.netbios.snd_buf_size", DEFAULT_SND_BUF_SIZE );
        private static final int RCV_BUF_SIZE = Config.getInt( "jcifs.smb1.netbios.rcv_buf_size", DEFAULT_RCV_BUF_SIZE );
        private static final int SO_TIMEOUT = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/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: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Base64.java

            if (length == 0) return new byte[0];
            int pad = (string.charAt(length - 2) == '=') ? 2 :
                    (string.charAt(length - 1) == '=') ? 1 : 0;
            int size = length * 3 / 4 - pad;
            byte[] buffer = new byte[size];
            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
                block = (ALPHABET.indexOf(string.charAt(i++)) & 0xff) << 18 |
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            this.offset = offset;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
            return size8(Smb2Constants.SMB2_HEADER_LENGTH + 48 + this.dataLength);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ByteEncodable.java

            this.bytes = b;
            this.off = off;
            this.len = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return this.len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

            this.path = filename;
            this.maxReferralLevel = maxReferralLevel;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 4 + 2 * this.path.length();
        }
    
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    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)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

            dstIndex += 4;
            dstIndex += 4; // reserved
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 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