Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isUseUnicode (0.07 sec)

  1. src/test/java/jcifs/SmbConnectionTest.java

            props.setProperty("jcifs.smb.client.useBatching", "true");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
    
            assertTrue(config.isUseUnicode(), "Unicode should be enabled");
            assertTrue(config.isUseBatching(), "Batching should be enabled");
    
            // When both are enabled, batch limits should be available
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                super(true);
            }
    
            @Override
            public boolean isUseUnicode() {
                return false;
            }
        }
    
        @Test
        public void testUnicodeConfiguration() throws Exception {
            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K 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);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getMaximumVersion();
                mockConfig.isUseSMB2OnlyNegotiation();
                mockConfig.isRequireSecureNegotiate();
                mockConfig.isPort139FailoverEnabled();
                mockConfig.isUseUnicode();
                mockConfig.isForceUnicode();
                mockConfig.isUseBatching();
                mockConfig.getNativeOs();
                mockConfig.getNativeLanman();
                mockConfig.getReceiveBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            final 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

         */
        public static int getDefaultFlags(final 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            }
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.isUseUnicode()) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            int 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(final byte[] buffer, final int bufferIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top