Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for isUseUnicode (0.05 sec)

  1. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(config.getSendBufferSize()).thenReturn(4096);
            when(config.getReceiveBufferSize()).thenReturn(4096);
            when(config.getTransactionBufferSize()).thenReturn(4096);
            when(config.isUseUnicode()).thenReturn(true);
    
            SmbComNegotiateResponse nego = new SmbComNegotiateResponse(ctx);
            // Set server timezone (in minutes) and domain
            nego.getServerData().serverTimeZone = 60; // 60 minutes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.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 default flags for a Type-2 message created in response
         * to the given Type-1 message in the current environment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue(config.isRequireSecureNegotiate());
            assertFalse(config.isPort139FailoverEnabled());
            assertFalse(config.isUseBatching());
            assertTrue(config.isUseUnicode());
            assertFalse(config.isForceUnicode());
        }
    
        @Test
        @DisplayName("Test DFS configuration getters")
        void testDfsConfigurationGetters() {
            assertFalse(config.isDfsDisabled());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        private Smb2QueryDirectoryResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config and expectInfoClass")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.useUnicode} (boolean, default true)
         *
         * @return whether to announce support for unicode
         */
        boolean isUseUnicode();
    
        /**
         *
         * Property {@code jcifs.smb.client.forceUnicode} (boolean, default false)
         *
         * @return whether to use unicode, even if the server does not announce it
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

            return this.port139FailoverEnabled;
        }
    
        @Override
        public boolean isUseBatching() {
            return this.useBatching;
        }
    
        @Override
        public boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        @Override
        public boolean isForceUnicode() {
            return this.forceUnicode;
        }
    
        @Override
        public boolean isDfsDisabled() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.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 default flags for a Type-3 message created in response
         * to the given Type-2 message in the current environment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.extendedSecurity = extendedSecurity;
        }
    
        /**
         * Checks if Unicode encoding is enabled for this message
         * @return the useUnicode
         */
        public final boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        /**
         * Sets whether to use Unicode encoding for this message
         * @param useUnicode
         *            the useUnicode to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top