Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEncodeAndDecode (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

              continue
            }
            if (encoding == Encoding.PUNYCODE) {
              testPunycode(codePointString, component)
              continue
            }
            testEncodeAndDecode(codePoint, codePointString, component)
            if (encoding == Encoding.SKIP) continue
            testParseOriginal(codePoint, codePointString, encoding, component)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(4 + (count * 2) + 16, encoded);
                assertEquals(context.size(), encoded);
            }
    
            @Test
            @DisplayName("Should encode and decode correctly")
            void testEncodeAndDecode() throws SMBProtocolDecodingException {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 2, 3 };
                byte[] salt = new byte[32];
                new SecureRandom().nextBytes(salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top