- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 449 for decodeId (0.95 sec)
-
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
*/ package jcifs.internal.dfs; import java.util.Arrays; import jcifs.Decodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral response buffer parser. * Decodes server responses to DFS referral requests, extracting information about * available DFS targets, path consumption details, and referral flags. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x88) // Literal name Huffman encoded 8 bytes // decodes to custom-key which is length 10 bytesIn.write("25a849e95ba97d7f".decodeHex()) bytesIn.writeByte(0x89) // Literal value Huffman encoded 9 bytes // decodes to custom-value which is length 12 bytesIn.write("25a849e95bb8e8b4bf".decodeHex()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
originalContext.encode(buffer, 0); // Create a new context and decode DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); decodedContext.decode(buffer, 0, buffer.length); // Verify decoded values assertArrayEquals(originalKey.getKey(), decodedContext.getLeaseKey().getKey());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K 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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
*/ public OpenSearchAccessResultData(final Map<String, Object> src) { setTransformerName((String) src.get(TRANSFORMER_NAME)); setEncoding((String) src.get(ENCODING)); final String dataStr = (String) src.get(DATA); if (dataStr != null) { try { setData(Base64Util.decode(dataStr)); } catch (final Exception e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
/** * Returns {@code true} if {@code bytes} is a <i>well-formed</i> UTF-8 byte sequence according to * Unicode 6.0. Note that this is a stronger criterion than simply whether the bytes can be * decoded. For example, some versions of the JDK decoder will accept "non-shortest form" byte * sequences, but encoding never reproduces these. Such byte sequences are <i>not</i> considered * well-formed. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
class IntegrationTests { @Test @DisplayName("Should maintain state after multiple decodes") void testMultipleDecodes() throws SMBProtocolDecodingException { // First decode byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024); response.decode(buffer1, 0, buffer1.length); assertEquals(1, response.getChunksWritten());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Byte count (2 bytes) buffer[53] = 0x00; buffer[54] = 0x00; // Test decode int bytesDecoded = response.decode(buffer, 0); // Should decode at least the header assertTrue(bytesDecoded > 0); // Verify the command was decoded correctly assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
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)