- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 99 for 512 (0.01 seconds)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
"512, FILE_NOTIFY_CHANGE_STREAM_NAME", "1024, FILE_NOTIFY_CHANGE_STREAM_SIZE", "2048, FILE_NOTIFY_CHANGE_STREAM_WRITE" }) void testCompletionFilterConstants(int value, String description) { // Given & When request.setCompletionFilter(value); byte[] buffer = new byte[512]; request.writeBytesWireFormat(buffer, 0); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
void testWriteBytesWireFormatDirect() throws Exception { // Given byte[] buffer = new byte[512]; int offset = 100; // First encode to set headerStart byte[] tempBuffer = new byte[512]; request.encode(tempBuffer, 50); // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
buffer.putLong(1048576L); // Total allocation units (1M) buffer.putLong(524288L); // Free allocation units (512K) buffer.putInt(8); // Sectors per allocation unit buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
// [x509_extensions] // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 // // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \ // -newkey rsa:512 -out cert.pem val certificate = certificate( """ -----BEGIN CERTIFICATE----- MIIBWDCCAQKgAwIBAgIJANS1EtICX2AZMA0GCSqGSIb3DQEBBQUAMBQxEjAQBgNVCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4) assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test @DisplayName("Should throw exception for invalid structure size") void testInvalidStructureSize() { byte[] buffer = new byte[64];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
private static final int DEFAULT_HASH_ALGORITHM = HASH_ALGO_SHA512; private static final int SALT_SIZE = 32; // 32 bytes as per SMB 3.1.1 spec private static final int HASH_SIZE_SHA512 = 64; // SHA-512 produces 64-byte hashes // Session-specific preauth integrity contexts private final ConcurrentMap<String, PreauthIntegrityContext> sessionContexts = new ConcurrentHashMap<>(); // Security configurationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
offset += 4; // free (4 bytes) SMBUtil.writeInt4(500000, buffer, offset); offset += 4; // bytesPerSect (2 bytes + 2 padding) SMBUtil.writeInt2(512, buffer, offset); offset += 4; // Set dataCount using reflection setDataCount(response, offset); int bytesRead = response.readDataWireFormat(buffer, 0, offset);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (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},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testDataOffsetCalculation() { byte[] data = new byte[50]; Arrays.fill(data, (byte) 0xAB); request.setData(data, 0, data.length); byte[] buffer = new byte[512]; Arrays.fill(buffer, (byte) 0); int startIndex = 100; request.writeBytesWireFormat(buffer, startIndex); // Verify data is at correct position
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0)