Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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() : "?";
                        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  2. 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 () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  4. 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);
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.1K 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
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.8K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 17.6K bytes
    - Viewed (1)
  7. 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
                 *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  8. 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)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K 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.
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            }
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if ( this.isUseUnicode() ) {
                dst[ dstIndex++ ] = (byte) '\0';
            }
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
Back to top