Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 640 for unicode (0.15 sec)

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

                bufferIndex += server.encryptionKeyLength;
                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbComQueryInformationTest {
    
        @Mock
        Configuration mockConfig;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
            assertEquals("name-with_special.chars#123", testTransformer.getName());
    
            // Test with Unicode characters
            testTransformer.setName("変換器の名前");
            assertEquals("変換器の名前", testTransformer.getName());
    
            // Test with mixed characters
            testTransformer.setName("Transformer-変換器-123");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        }
    
        // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" })
        @DisplayName("Message-only ctor: propagates message and unsuccessful status")
        void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("Special: !@#$%^&*()"));
            assertTrue(output.contains("Unicode: \u3042\u3044\u3046"));
        }
    
        public void test_contains_emptyString() throws InterruptedException {
            String input = "\nempty\n";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/bytes/buffer.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    // Simple byte buffer for marshaling data.
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // smallBufferSize is an initial allocation minimal capacity.
    const smallBufferSize = 64
    
    // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setSubject("テスト件名 🚀");
            discloser.setPlainText("テスト内容です。\n改行もあります。");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            // Unicode characters may be escaped in JSON
            assertTrue(result.contains("テスト") || result.contains("\\u"));
        }
    
        public void test_toGoogleChatMessage_withUnicodeContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg unicode, var Common *RangeTable
    pkg unicode, var Coptic *RangeTable
    pkg unicode, var Cs *RangeTable
    pkg unicode, var Cuneiform *RangeTable
    pkg unicode, var Cypriot *RangeTable
    pkg unicode, var Cyrillic *RangeTable
    pkg unicode, var Dash *RangeTable
    pkg unicode, var Deprecated *RangeTable
    pkg unicode, var Deseret *RangeTable
    pkg unicode, var Devanagari *RangeTable
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withUnicodeCharacters() {
            // Test with username containing Unicode characters
            String username = "ユーザー名";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        long seed = 99;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top