- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 616 for decodeId (0.13 sec)
-
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
int decoded = decodedContext.decode(buffer, 0, encoded); assertEquals(encoded, decoded); assertArrayEquals(originalCiphers, decodedContext.getCiphers()); } @Test @DisplayName("Should encode and decode correctly with multiple ciphers")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
assertNotNull("Encoded result should not be null", encoded); final byte[] decoded = Base64Util.decode(encoded); assertEquals("Decoded should have same length", 1, decoded.length); assertEquals("Decoded byte should match", singleByte[0], decoded[0]); } /** * Test encode with two bytes * * @throws Exception */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
const ( // This tested by using `mc lock` command maximumRetentionDays = 36500 maximumRetentionYears = 100 ) // UnmarshalXML - decodes XML data. func (dr *DefaultRetention) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type defaultRetention DefaultRetention retention := defaultRetention{}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 17.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
ns.encode(buf); // Reset buffer to start for decoding buf.reset(); // Prepare a new object to decode into NdrShort decoded = new NdrShort(0); decoded.decode(buf); assertEquals(123, decoded.value, "decoded value should equal original"); } /** * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked * (spied) buffer. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration.go
// Used to detect if lifecycle.Rule contained a DelMarkerExpiration element. func (de DelMarkerExpiration) Empty() bool { return de.Days == 0 } // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error { type delMarkerExpiration DelMarkerExpiration var dexp delMarkerExpiration err := dec.DecodeElement(&dexp, &start) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
// Decode FileRenameInformation2 decoded = new FileRenameInformation2(); int bytesRead = decoded.decode(buffer, 0, bytesWritten); // Verify round trip assertEquals(bytesWritten, bytesRead); assertEquals(original.size(), decoded.size()); assertEquals(original.getFileInformationLevel(), decoded.getFileInformationLevel()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
List<AvPair> pairs = AvPairs.decode(fullData); assertNotNull(pairs, "Decoded pairs should not be null"); assertEquals(1, pairs.size(), "Should have decoded one pair"); AvPair pair = pairs.get(0); assertEquals(AvPair.MsvAvFlags, pair.getType(), "Pair type should be MsvAvFlags"); assertTrue(pair instanceof AvFlags, "Should be decoded as AvFlags");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
val normalized = normalizeNfc(bufferB.readUtf8()) bufferA.writeUtf8(normalized) // 3. For each label, convert/validate Punycode. val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null // 4.1 Validate. // Must be NFC. if (decoded != normalizeNfc(decoded)) return null // TODO: Must not begin with a combining mark. // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0)