Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for punycode (0.31 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("食狮.中国", "食狮.中国")
        checkPublicSuffix("www.食狮.中国", "食狮.中国")
        checkPublicSuffix("shishi.中国", "shishi.中国")
        checkPublicSuffix("中国", null)
        // Same as above, but punycoded.
        checkPublicSuffix("xn--85x722f.com.cn", "xn--85x722f.com.cn")
        checkPublicSuffix("xn--85x722f.xn--55qx5d.cn", "xn--85x722f.xn--55qx5d.cn")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(14, bytesEncoded);
            assertEquals(0, SMBUtil.readInt4(buffer, 8)); // Name length should be 0
        }
    
        @Test
        @DisplayName("Test with Unicode pipe name")
        void testWithUnicodePipeName() {
            // Test with Unicode characters
            String pipeName = "テストパイプ名";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmFlags.java

     */
    
    package jcifs.ntlmssp;
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
         * Indicates whether Unicode strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
         * Indicates whether OEM strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertThat(escaper.escape(safeChars)).isEqualTo(safeChars);
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
        String badUnicode = "\uDC00\uD800";
        assertThrows(IllegalArgumentException.class, () -> escaper.escape(badUnicode));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
        @MethodSource("nameProvider")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        /**
         * NTLMSSP Type 3 message identifier.
         */
        protected static final int NTLMSSP_TYPE3 = 0x3;
    
        private static final String OEM_ENCODING = SmbConstants.DEFAULT_OEM_ENCODING;
        /**
         * Unicode encoding used for NTLM messages.
         */
        protected static final String UNI_ENCODING = "UTF-16LE";
    
        private int flags;
    
        /**
         * Returns the flags currently in use for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        protected SecureRandom random;
        /** Whether to use command batching for improved performance */
        protected boolean useBatching = false;
        /** Whether to use Unicode encoding for strings */
        protected boolean useUnicode = true;
        /** Force use of Unicode encoding regardless of negotiation */
        protected boolean forceUnicode = false;
        /** Whether SMB signing is preferred but not required */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            int notifyOffset = 80;
            SMBUtil.writeInt4(0, buffer, notifyOffset); // NextEntryOffset (0 = last entry)
            SMBUtil.writeInt4(1, buffer, notifyOffset + 4); // Action (FILE_ACTION_ADDED)
            // Write filename in Unicode
            String fileName = "test.txt";
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
            SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8); // FileNameLength
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top