- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 91 for 512 (0.01 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); byte[] buffer = new byte[512]; int written = trans2SetFileInfo.writeParametersWireFormat(buffer, 0); // Should write 6 bytes: fid (2), info level (2), reserved (2) assertEquals(6, written); // Check FID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks); byte[] buffer = new byte[512]; int bytesWritten = req.writeBytesWireFormat(buffer, 0); assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(3, SMBUtil.readInt2(buffer, 2)); // Lock count
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
cmd/object-api-datatypes.go
{"BETWEEN_64_KB_AND_256_KB", 64 * humanize.KiByte, 256*humanize.KiByte - 1}, // not exported, for support use only {"BETWEEN_256_KB_AND_512_KB", 256 * humanize.KiByte, 512*humanize.KiByte - 1}, // not exported, for support use only {"BETWEEN_512_KB_AND_1_MB", 512 * humanize.KiByte, humanize.MiByte - 1}, // not exported, for support use only {"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210); request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED); byte[] buffer = new byte[512]; // When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 0); // Verify structure size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
// Setup SMB3.1.1 negotiation when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311); when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512 setPrivateField(transport, "smb2", true); setPrivateField(transport, "negotiated", negotiateResponse); int threadCount = 10; CountDownLatch startLatch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
void testWriteParametersWireFormatWithSmbInfoAllocation() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[512]; int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0); // Should write 2 bytes: information level assertEquals(2, written);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
docs/ftp/README.md
reached the end of their useful life. Valid values: ``` ******@****.*** hmac-sha2-512******@****.*** hmac-sha2-256 hmac-sha2-512 hmac-sha1 hmac-sha1-96 ``` ### Certificate-based authentication `--sftp=trusted-user-ca-key=...` specifies a file containing public key of certificate authority that is trusted
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Prepare test data byte[] buffer = new byte[22]; int idFileSystem = 0x12345678; int sectPerAlloc = 8; long alloc = 1000000L; long free = 500000L; int bytesPerSect = 512; // Encode test data int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped) offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
@ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should handle various buffer offsets") void testVariousBufferOffsets(int offset) { byte[] largeBuffer = new byte[512]; int result = testRequest.encode(largeBuffer, offset); assertTrue(result > 0); // Verify header at correct offset for (int i = offset; i < offset + 8; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
} @Test void testWriteParametersWireFormat() { trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); byte[] buffer = new byte[512]; int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0); // Check information level (first 2 bytes) int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)