- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,385 for 1byte (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
// SMB_COM_LOGOFF_ANDX = 0x74 assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX"); } @Test @DisplayName("constructor with mock andx properly sets andx field") void constructorWithMockAndx() { // Create a mock ServerMessageBlock ServerMessageBlock mockAndx = mock(ServerMessageBlock.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
this.hashAlgos = hashAlgos; this.salt = salt; } /** * Default constructor for deserialization. */ public PreauthIntegrityNegotiateContext() { } /** * Gets the salt value used for preauth integrity. * * @return the salt */ public byte[] getSalt() { return this.salt; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
*/ @Test void testWriteParameterWordsWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10]; // When int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0); // Then assertEquals(0, result, "writeParameterWordsWireFormat should return 0"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
// Test decode method byte[] buffer = new byte[512]; int bufferIndex = 0; int expectedDecodeLength = 128; when(response.decode(buffer, bufferIndex)).thenReturn(expectedDecodeLength); assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex)); // Test encode method byte[] dst = new byte[512]; int dstIndex = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
*/ @Override public int getContextType() { return NEGO_CTX_ENC_TYPE; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex); dstIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
*/ /** Byte 0 flag for whether this is the final fragment in a message. */ internal const val B0_FLAG_FIN = 128 /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */ internal const val B0_FLAG_RSV1 = 64 /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */ internal const val B0_FLAG_RSV2 = 32
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); } @Override int writeRDataWireFormat(final byte[] dst, final int dstIndex) { return 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
* * @author mbechler * */ public class Smb2SetInfoRequest extends ServerMessageBlock2Request<Smb2SetInfoResponse> implements RequestWithFileId { private byte[] fileId; private byte infoType; private byte fileInfoClass; private int additionalInformation; private Encodable info; /** * Constructs a SMB2 set info request with the specified configuration *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
/** * Creates a security descriptor by decoding from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0)