- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 719 for decoding (0.27 sec)
-
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
import jcifs.smb1.dcerpc.ndr.NdrBuffer; import jcifs.smb1.dcerpc.ndr.NdrException; /** * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling, * result extraction, header encoding/decoding, and the round-trip of an * encode/decode operation. */ public class DcerpcMessageTest { /** * A trivial concrete subclass used for testing. It simply writes a
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()]; int encoded = context.encode(buffer, 0); assertEquals(context.size(), encoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)
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/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Decodes a wide string pointer from NDR format. * * @param buf the NDR buffer * @return the decoded string (or null if NULL pointer) * @throws NdrException if decoding fails */ private String decodeWideStringPointer(NdrBuffer buf) throws NdrException { int pointer = buf.dec_ndr_long(); if (pointer == 0) { return null; // NULL pointer }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/debugging/README.md
********************************************************************************* mc: Health data saved to dc-11-health_20200321053323.json.gz ``` The gzipped output contains debugging information for your system ## Decoding Metadata Metadata is stored in `xl.meta` files for erasure coded objects. Each disk in the set containing the object has this file. The file format is a binary format and therefore requires tools to view values.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
*/ package org.codelibs.core.misc; import org.codelibs.core.collection.ArrayUtil; import org.codelibs.core.lang.StringUtil; /** * Utility class for handling Base64 encoding and decoding. * * @author higa */ public abstract class Base64Util { /** * Do not instantiate. */ protected Base64Util() { }
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/smb/SmbRandomAccessFileTest.java
assertEquals((byte) 0xFF, raf.readByte()); assertEquals(0xFF, raf.readUnsignedByte()); } @Test @DisplayName("readShort/UnsignedShort/Char: big-endian decoding") void read_twoByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); doAnswer(inv -> { byte[] b = inv.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
for (int i = 0; i < cipherCount; i++) { assertEquals(i + 1, SMBUtil.readInt2(buffer, 2 + (i * 2))); } } } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("Should decode single cipher correctly") void testDecodeSingleCipher() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ @Override public int getGrantedCredits() { return getCredit(); } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response * * @see jcifs.internal.smb2.ServerMessageBlock2#haveResponse(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
*/ protected String transformation = RSA; /** * The key to use for encryption/decryption. */ protected String key; /** * The character set name to use for encoding/decoding strings. */ protected String charsetName = CoreLibConstants.UTF_8; /** * The queue of ciphers for encryption. */ protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0)