Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for punycode (0.04 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            // Test toString with buffer containing non-printable characters or special unicode
            String unicodeChars = "你好世界"; // "Hello World" in Chinese
            UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false);
            assertEquals(unicodeChars, unicodeStringChinese.toString(), "toString should handle unicode characters correctly");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    Disallow: /test/
    
    # Case 9: Special characters in paths
    User-agent: SpecialCharBot
    Disallow: /path with spaces/
    Disallow: /path%20encoded/
    Disallow: /path?query=value
    Disallow: /path#fragment
    Allow: /unicode/日本語/
    
    # Case 10: Multiple User-agents in sequence
    User-agent: Bot1
    User-agent: Bot2
    User-agent: Bot3
    Disallow: /shared/
    
    # Case 11: Sitemap with various formats
    Sitemap: http://example.com/sitemap.xml
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
        }
    
        /**
         * Test writeBytesWireFormat with Unicode encoding
         */
        @Test
        @DisplayName("Test writeBytesWireFormat writes file names correctly in Unicode")
        public void testWriteBytesWireFormatUnicode() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

              || c > safeMaxChar
              || c < safeMinChar) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single Unicode code point using the replacement array and safe range values. If the
       * given character does not have an explicit replacement and lies outside the safe range then
       * {@link #escapeUnsafe} is called.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            assertEquals(26, result);
        }
    
        /**
         * Test writeBytesWireFormat method with Unicode.
         */
        @Test
        void testWriteBytesWireFormat_Unicode() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            smbComOpenAndX.useUnicode = true;
            // For Unicode: 1 byte (initial null in writeBytesWireFormat)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param dstIndex the starting offset in the buffer
         * @param unicode true to use Unicode encoding, false for OEM encoding
         * @return the number of bytes written
         */
        protected int writeString(final String str, final byte[] dst, int dstIndex, final boolean unicode) {
            final int start = dstIndex;
            if (unicode) {
                // Unicode requires word alignment
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AsciiTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Ascii}.
     *
     * @author Craig Berry
     */
    @GwtCompatible
    @NullUnmarked
    public class AsciiTest extends TestCase {
    
      /**
       * The Unicode points {@code 00c1} and {@code 00e1} are the upper- and lowercase forms of
       * A-with-acute-accent, {@code Á} and {@code á}.
       */
      private static final String IGNORED = "`10-=~!@#$%^&*()_+[]\\{}|;':\",./<>?'\u00c1\u00e1\n";
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top