- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,375 for message (0.09 sec)
-
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, andxBlock) { @Override protected int getBatchLimit(Configuration cfg, byte cmd) { return 1; // Allow one batched message } }; byte[] buffer = new byte[1024]; int length = testBlock.encode(buffer, 0); assertTrue(length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
import jcifs.SmbConstants; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 Open AndX request message. * * This command is used to open or create a file for access over * the network with enhanced capabilities compared to the basic Open command. */ public class SmbComOpenAndX extends AndXServerMessageBlock {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
import jcifs.Configuration; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Write AndX request message. * * This command is used to write data to a file that has been * previously opened with an Open command. */ public class SmbComWriteAndX extends AndXServerMessageBlock {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid); // Assert assertNotNull(handle); // Verify sendrecv was called once with the correct RPC message verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture()); MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue(); assertNotNull(capturedRpc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should read valid structure with minimal test") void testReadBytesWireFormatBasicStructure() throws Exception { // Given - Create a complete SMB2 message with header byte[] buffer = new byte[512]; int headerStart = 0; int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH; // Write SMB2 header (64 bytes) // Protocol IDRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
buf = sup.get(); } // Act + Assert Throwable t = assertThrows(expected, () -> new MIEName(buf)); // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence assertNotNull(t, "Exception should be thrown"); } @Nested @DisplayName("equals, hashCode, toString") class EqualityContract { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
tests/transaction_test.go
} if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } return errors.New("the error message") }) if err != nil && err.Error() != "the error message" { t.Fatalf("Transaction return error will equal the block returns error") } if err := DB.First(&User{}, "name = ?", "transaction-block").Error; err == nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
import jcifs.Configuration; import jcifs.internal.SmbBasicFileInfo; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX Response message. * * This response contains information about the created or opened file, * including file handle, attributes, and creation disposition. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.util.Hexdump; /** * SMB1 Tree Connect AndX request message. * * This command is used to connect to a shared resource * on the server, such as a file share or printer. */ public class SmbComTreeConnectAndX extends AndXServerMessageBlock {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
@DisplayName("Should perform RC4 encryption/decryption") void testRC4() throws Exception { // Given byte[] key = "testkey123456789".getBytes(); // 16 bytes byte[] plaintext = "This is a test message for RC4".getBytes(); // When Cipher encryptCipher = Crypto.getArcfour(key); encryptCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)