- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 152 for 12345678 (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
} @Test @DisplayName("Test setFileIndex method") void testSetFileIndex() { request = new Smb2QueryDirectoryRequest(mockConfig); int fileIndex = 0x12345678; request.setFileIndex(fileIndex); // Verify by writing to buffer and checking the fileIndex position byte[] buffer = new byte[1024];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for ValidateNegotiateInfoRequest */ class ValidateNegotiateInfoRequestTest { private static final int DEFAULT_CAPABILITIES = 0x12345678; private static final int DEFAULT_SECURITY_MODE = 0x0003; private byte[] defaultClientGuid; private int[] defaultDialects; @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
/** * Array of hexadecimal digit characters used for converting binary data to hex representation. */ public static final char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; /** * Generate "hexdump" output of the buffer at src like the following: * * <pre>Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testCompleteEncodingStructure() { // Given long sourceOffset = 0x1234567890ABCDEFL; long targetOffset = 0xFEDCBA0987654321L; int length = 0x12345678; SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); byte[] buffer = new byte[EXPECTED_SIZE]; // When int bytesWritten = chunk.encode(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
stubValidTree(6L, true, false); // SMB1 SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 42, tree, "//s/share", 0xA, 0xB, 0xC, 0xD, 0L); long lastWrite = 123456789L; h.close(lastWrite); // Verify SMB1 close path uses request + response overload
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with typical values") void testDecodeWithTypicalValues() throws SMBProtocolDecodingException { // 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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
} @Test @DisplayName("Test desired access setter") void testSetDesiredAccess() { request = new Smb2CreateRequest(mockConfig, "test.txt"); int access = 0x12345678; request.setDesiredAccess(access); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetFileIndex() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); int expectedFileIndex = 0x12345678; SMBUtil.writeInt4(expectedFileIndex, buffer, 4); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский", "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" }) void testGetBytesWithVariousInputs(String input) { // When byte[] result = Strings.getBytes(input, StandardCharsets.UTF_8); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0)