Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 194 for unicodeLE (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            response.getServerData().encryptionKeyLength = 8;
            // Set Unicode flag to use Unicode encoding
            setNegotiatedFlags2(response, SmbConstants.FLAGS2_UNICODE);
            // Domain name in Unicode (UTF-16LE) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("UTF-16LE");
            // Use reflection to set protected byteCount field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

            @DisplayName("Round-trip encoding/decoding should preserve string content")
            void testRoundTripConversion() {
                // Given
                String[] testStrings = { "Simple ASCII", "Unicode: 世界 🌍", "Mixed: ASCII + Unicode ñöt", "Special chars: !@#$%^&*()", "" };
    
                for (String original : testStrings) {
                    // When - round trip through UNI encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                }
            } else {
                this.useUnicode = ctx.getConfig().isUseUnicode();
            }
    
            if (this.useUnicode) {
                log.debug("Unicode is enabled");
            } else {
                log.debug("Unicode is disabled");
            }
            return true;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacUnicodeString.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    /**
     * Represents a Unicode string structure as used in PAC data.
     * This class encapsulates the metadata for a Unicode string including its length,
     * maximum length, and pointer to the actual string data.
     */
    public class PacUnicodeString {
    
        private final short length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_constructorWithString_unicodeCharacters() {
            // Test with message containing unicode characters
            String message = "ジョブが見つかりません: 日本語のテスト";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Strings.java

            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
         * Encodes a string into UTF-16LE (Unicode Little Endian) bytes.
         *
         * @param str the string to encode
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes(final String str) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    	"io"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Unicode Support Tests")
        class UnicodeSupportTests {
    
            @Test
            @DisplayName("Should always force unicode")
            void testIsForceUnicode() {
                assertTrue(response.isForceUnicode());
            }
    
            @Test
            @DisplayName("Should consistently return true for unicode")
            void testIsForceUnicodeMultipleCalls() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. api/go1.25.txt

    pkg testing/synctest, func Test(*testing.T, func(*testing.T)) #67434
    pkg testing/synctest, func Wait() #67434
    pkg unicode, var CategoryAliases map[string]string #70780
    pkg unicode, var Cn *RangeTable #70780
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg unicode, const Version = "15.0.0" #55079
    pkg unicode, var Cypro_Minoan *RangeTable #55079
    pkg unicode, var Kawi *RangeTable #55079
    pkg unicode, var Nag_Mundari *RangeTable #55079
    pkg unicode, var Old_Uyghur *RangeTable #55079
    pkg unicode, var Tangsa *RangeTable #55079
    pkg unicode, var Toto *RangeTable #55079
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top