- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 116 for 0x12345678 (0.14 seconds)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
} @Test @DisplayName("Test parameter wire format structure") void testParameterWireFormatStructure() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0xABCD, 0x12345678); byte[] dst = new byte[100]; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 10); // Verify structure: // Offset 0-1: FID (2 bytes)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/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000), org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678), org.junit.jupiter.params.provider.Arguments.of(-1, -123456)); } @ParameterizedTest @MethodSource("validInputs")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8]; SessionServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]); assertEquals((byte) 0x78, dst[3]); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
dnsDomainInfo.dns_forest.buffer = new short[] { 'f', 'o', 'r', 'e', 's', 't' }; dnsDomainInfo.domain_guid = new rpc.uuid_t(); dnsDomainInfo.domain_guid.time_low = 0x12345678; dnsDomainInfo.domain_guid.time_mid = 0x1234; dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678; dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
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/netbios/NameServicePacketTest.java
assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @Test void testWriteInt4() { byte[] dst = new byte[4]; NameServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]); assertEquals((byte) 0x78, dst[3]); } @Test
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) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
/** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // Given int sid = 0x2222; int resumeKey = 0x12345678; String filename = "dir\\pattern*"; // When Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test error code property") void testErrorCodeProperty() { testBlock.setErrorCode(0x12345678); assertEquals(0x12345678, testBlock.getErrorCode()); } @Test @DisplayName("Test path property") void testPathProperty() { testBlock.setPath("\\new\\path");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
} @Test @DisplayName("Test writeBytesWireFormat control code encoding") void testWriteBytesWireFormatControlCode() { setupMockConfig(); int testControlCode = 0x12345678; Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, testControlCode, TEST_FILE_ID); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } public void testDecodeInt() { assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff); assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678); assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210); assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
} @Test @DisplayName("Test readParametersWireFormat reads length correctly") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format SMBUtil.writeInt4(expectedLength, buffer, 0); int result = response.readParametersWireFormat(buffer, 0, buffer.length);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)