Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for isUseUnicode (0.11 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.recv_buf_size = ctx.getConfig().getReceiveBufferSize();
            this.tx_buf_size = ctx.getConfig().getTransactionBufferSize();
            this.useUnicode = ctx.getConfig().isUseUnicode();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#getSelectedDialect()
         */
        @Override
        public DialectVersion getSelectedDialect () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

            this.nativeLanMan = readString(buffer, bufferIndex, start + this.byteCount, 255, this.isUseUnicode());
            bufferIndex += stringWireLength(this.nativeLanMan, bufferIndex);
            if ( !this.isExtendedSecurity() ) {
                this.primaryDomain = readString(buffer, bufferIndex, start + this.byteCount, 255, this.isUseUnicode());
                bufferIndex += stringWireLength(this.primaryDomain, bufferIndex);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if ( a.isGuest() ) {
                            this.accountName = a.getUsername();
                            if ( this.isUseUnicode() )
                                this.accountName = this.accountName.toUpperCase();
                            this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?";
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isForceUnicode();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#isUseUnicode()
         */
        @Override
        public boolean isUseUnicode () {
            return this.delegate.isUseUnicode();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @see jcifs.Configuration#isUseBatching()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.oldFileName, dst, dstIndex);
            dst[ dstIndex++ ] = (byte) 0x04;
            if ( this.isUseUnicode() ) {
                dst[ dstIndex++ ] = (byte) '\0';
            }
            dstIndex += writeString(this.newFileName, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

        }
    
    
        @Test
        public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException {
            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            FileBothDirectoryInfo[] results = new FileBothDirectoryInfo[getNumEntries()];
            for ( int i = 0; i < getNumEntries(); i++ ) {
                results[ i ] = e = new FileBothDirectoryInfo(getConfig(), isUseUnicode());
    
                e.decode(buffer, bufferIndex, len);
    
                /*
                 * lastNameOffset ends up pointing to either to
                 * the exact location of the filename(e.g. Win98)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if ( this.andx instanceof AndXServerMessageBlock ) {
    
                /*
                 * A word about communicating header info to andx smbs
                 *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type1Message.java

         */
        public static int getDefaultFlags ( CIFSContext tc ) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | ( tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM );
        }
    
    
        /**
         * Returns the supplied authentication domain.
         *
         * @return A <code>String</code> containing the supplied domain.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int n;
            n = writeString(this.path, dst, dstIndex);
            SMBUtil.writeInt2( ( this.isUseUnicode() ? this.path.length() * 2 : n ), dst, this.namelen_index);
            return n;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
Back to top