- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 111 for 512 (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
@Test public void testToStringContainsCount() { // Little-endian: count = 512 (0x0200) byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString(); assertTrue(str.contains("count=512"), "toString should include numeric count"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
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) -
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) -
api/go1.15.txt
pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_BIND = 2048 pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_BIND ideal-int pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_ISOLATION = 512 pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_ISOLATION ideal-int pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_SEH = 1024 pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_NO_SEH ideal-int
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Jul 17 02:15:01 UTC 2020 - 7.6K 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) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
// idFileSystem (4 bytes, skipped) writeInt4(100, buffer, 4); // sectPerAlloc writeInt4(1000, buffer, 8); // alloc writeInt4(500, buffer, 12); // free writeInt2(512, buffer, 16); // bytesPerSect int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(20, bytesRead, "Should read 20 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K 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) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@DisplayName("calculatePreauthHash computes SHA-512 chain for SMB 3.1.1") void preauthHash_happyPath() throws Exception { setField(transport, "smb2", true); Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg); setField(nego, "selectedDialect", DialectVersion.SMB311); setField(nego, "selectedPreauthHash", 1); // 1 => SHA-512 setField(transport, "negotiated", nego);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)