- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 719 for decoding (0.16 sec)
-
src/main/java/jcifs/internal/util/SMBUtil.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.util; import jcifs.SmbConstants; /** * SMB protocol utility class providing low-level data encoding and decoding operations. * Contains methods for reading and writing various data types (integers, strings, timestamps) * in SMB protocol format, handling endianness and data type conversions. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} } /** * Decodes a single notification from the NDR buffer. * * @param buf the NDR buffer * @return the decoded notification * @throws NdrException if decoding fails */ private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException { WitnessNotificationResponse notification = new WitnessNotificationResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
} return &s3UnsignedChunkedReader{ trailers: req.Trailer, reader: bufio.NewReader(req.Body), buffer: make([]byte, 64*1024), }, ErrNone } // Represents the overall state that is required for decoding a // AWS Signature V4 chunked reader. type s3UnsignedChunkedReader struct { reader *bufio.Reader trailers http.Header buffer []byte offset int err error debug bool }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* * @param <T> the type of the decoded response data * @param responseType the class of the expected response type * @return decoded data * @throws SmbException if decoding fails or the response type is incompatible */ @SuppressWarnings("unchecked") public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals(address, nic.getAddress()); // Test scoring int score = nic.getScore(); assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus) // Test encoding/decoding byte[] encoded = nic.encode(); assertNotNull(encoded); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
FileEndOfFileInformation fileInfo = new FileEndOfFileInformation(endOfFile); // Test encoding byte[] buffer = new byte[8]; int encoded = fileInfo.encode(buffer, 0); assertEquals(8, encoded); // Test decoding FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8);
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/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/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/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
* @param buf the buffer to encode into * @throws NdrException if encoding fails */ public abstract void encode_in(NdrBuffer buf) throws NdrException; /** * Decode the output parameters from this DCERPC message. * @param buf the buffer to decode from * @throws NdrException if decoding fails */ public abstract void decode_out(NdrBuffer buf) throws NdrException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)