- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 770 for decoding (0.04 sec)
-
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
* Constructs KerberosEncData from encrypted token bytes. * * @param token the encrypted Kerberos token * @param keys map of encryption keys indexed by key type * @throws PACDecodingException if decoding fails */ public KerberosEncData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException { ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
} @Test @DisplayName("Test constructor initializes with config") void testConstructor() { assertNotNull(response); // Command is not set in constructor, only after decoding assertEquals((short) 0, response.getCommand()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * Tests for Smb2SessionSetupResponse decoding and behavior. */ @ExtendWith(MockitoExtension.class) @DisplayName("Smb2SessionSetupResponse Tests") @MockitoSettings(strictness = Strictness.LENIENT) class Smb2SessionSetupResponseTest extends BaseTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
*/ public void setNotificationFilter(int notificationFilter) { this.notificationFilter = notificationFilter; } /** * Get the standard lease size for encoding/decoding * @return the standard lease context size */ protected int getStandardLeaseSize() { // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields return 32;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K 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/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/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/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)