- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 68 for 0x0300 (0.15 seconds)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
// Hexdump.toHexString uses uppercase and produces only the specified width // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0x0000")); assertTrue(result.contains("filter=0x0000")); // Only 4 hex chars are shown assertTrue(result.contains("watchTree=false")); } @Test @DisplayName("Test writeSetupWireFormat preserves other buffer content")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(0x00, dst[dstIndex + 2]); assertEquals(0x00, dst[dstIndex + 3]); // Verify security information (4 bytes) assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4)); } @ParameterizedTest @DisplayName("Test writeParametersWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
// Protocol constants /** Minimum supported SMB Direct protocol version (1.0) */ public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0 /** Maximum supported SMB Direct protocol version (1.0) */ public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0 /** SMB Direct negotiate request message type */ public static final int NEGOTIATE_REQUEST = 0x01; // Message fieldsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java
*/ package jcifs.smb1.smb1; import java.util.Date; import jcifs.smb1.util.Hexdump; class SmbComQueryInformationResponse extends ServerMessageBlock implements Info { private int fileAttributes = 0x0000; private long lastWriteTime = 0L; private final long serverTimeZoneOffset; private int fileSize = 0; SmbComQueryInformationResponse(final long serverTimeZoneOffset) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
closeFlagsField.setAccessible(true); int finalFlags = (int) closeFlagsField.get(request); assertEquals(0x0000, finalFlags); // Verify wire format reflects final state byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0); assertEquals(0x0000, SMBUtil.readInt2(buffer, 2)); byte[] wireFileId = new byte[16]; System.arraycopy(buffer, 8, wireFileId, 0, 16);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
* for the requested file or directory. */ public class SmbComQueryInformationResponse extends ServerMessageBlock implements SmbBasicFileInfo { private int fileAttributes = 0x0000; private long lastWriteTime = 0L; private final long serverTimeZoneOffset; private int fileSize = 0; /** * Constructs a query information response. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
/** * Create new RDMA negotiation response */ public RdmaNegotiateResponse() { // Initialize with default values this.status = 0; // Success this.selectedVersion = 0x0100; // SMB Direct 1.0 this.creditsGranted = 0; this.maxReceiveSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE; this.maxReadWriteSize = RdmaCapabilities.DEFAULT_MAX_READ_WRITE_SIZE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.1K bytes - Click Count (0) -
cmd/erasure-encode_test.go
b.Run(" 000000|X00000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 0, 1, size, b) }) b.Run(" X00000|000000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 1, 0, size, b) }) b.Run(" 000000|XXXXX0 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 0, 5, size, b) }) b.Run(" XXXXX0|000000 ", func(b *testing.B) { benchmarkErasureEncode(6, 6, 5, 0, size, b) }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // 0x0000000000000000L (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0)); assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0)