- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 538 for decoded (0.04 sec)
-
schema/serializer.go
case []byte: bytesValue = v default: return fmt.Errorf("failed to unmarshal gob value: %#v", dbValue) } if len(bytesValue) > 0 { decoder := gob.NewDecoder(bytes.NewBuffer(bytesValue)) err = decoder.Decode(fieldValue.Interface()) } } field.ReflectValueOf(ctx, dst).Set(fieldValue.Elem()) return } // Value implements serializer interface
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 20 08:45:38 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
*/ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer * @param src the source buffer for decoding * @throws NdrException if decoding fails */ public abstract void decode(NdrBuffer src) throws NdrException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java
*/ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer * @param src the source buffer for decoding * @throws NdrException if decoding fails */ public abstract void decode(NdrBuffer src) throws NdrException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with valid single entry") void testDecodeValidSingleEntry() throws SMBProtocolDecodingException { String fileName = "document.pdf"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; byte[] buffer = createValidNotificationBuffer(fileName, action); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
AvTargetName avTargetName = new AvTargetName(rawBytes); // Verify that getTargetName correctly decodes the raw bytes assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes"); } /** * Test with an empty string for both constructors. */ @Test void testEmptyString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) { val encoded = testCase.wire ?: continue bytesIn.write(encoded) hpackReader.readHeaders() assertSetEquals( "seqno=$testCase.seqno", testCase.headersList, hpackReader.getAndResetHeaderList(), ) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
} @Test @DisplayName("Test decode with owner SID only") void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException { // Prepare buffer with owner SID only prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
} /** * Downloads a log file by its encoded ID. * * @param id the Base64 encoded filename of the log file to download * @return ActionResponse containing the log file stream */ @Execute @Secured({ ROLE, ROLE + VIEW }) public ActionResponse download(final String id) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
*/ protected abstract void encodeWitnessParameters(NdrBuffer buf) throws NdrException; /** * Decodes the witness RPC message parameters from NDR format. * Subclasses must implement this method to decode their specific parameters. * * @param buf the NDR buffer to decode from * @throws NdrException if decoding fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0)