- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 449 for decodeId (0.08 sec)
-
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
notifications.add(notification); } } } /** * Decodes a single notification from the NDR buffer. * * @param buf the NDR buffer * @return the decoded notification * @throws NdrException if decoding fails */ private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
// Test that unicode strings are properly encoded/decoded String unicodeString = "日本語テスト"; String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8)); String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8); assertEquals(unicodeString, decoded); } public void test_special_characters_base64_encoding() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Decode FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8); assertEquals(8, decodedBytes); // Verify the round trip preserves the value // Note: We can't directly access endOfFile field, but toString contains it assertEquals(original.toString(), decoded.toString()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
// Decode PreauthIntegrityNegotiateContext decoded = new PreauthIntegrityNegotiateContext(); int decodedSize = decoded.decode(buffer, 0, encodedSize); // Verify assertEquals(encodedSize, decodedSize); assertArrayEquals(hashAlgos, decoded.getHashAlgos()); assertArrayEquals(salt, decoded.getSalt());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
Encdec.enc_uint64le(currentDate.getTime(), buffer, 0); long decoded = Encdec.dec_uint64le(buffer, 0); // Then assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match"); } @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
encode1pad(inData, num * 3, outData, num * 4); } return new String(outData); } /** * Decodes data encoded in Base64. * * @param inData * The data to decode * @return The decoded data */ public static byte[] decode(final String inData) { if (StringUtil.isEmpty(inData)) { return null; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(40, bytesWritten); // Decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, offset, 36); assertEquals(TEST_CREATE_TIME, decoded.getCreateTime()); assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime()); assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
if (encoded != null) { String decoded = permissionHelper.decode(encoded); assertNotNull("Decoded value should not be null for: " + value, decoded); assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded); } } } public void test_encode_withLongValues() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
} } /** * This decodes a value into its contents using a preceding member of the same SEQUENCE. For * example, extensions type IDs specify what types to use for the corresponding values. * * If the hint is unknown [chooser] should return null which will cause the value to be decoded as * an opaque byte string. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0)