- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 82 for 01234567 (0.15 sec)
-
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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
void testConstructorAndOpnum() { // When: Creating open alias message samr.SamrOpenAlias message = new samr.SamrOpenAlias(mockPolicyHandle, 123, 456, mockPolicyHandle); // Then: Should have correct values assertEquals(0x1b, message.getOpnum()); assertEquals(mockPolicyHandle, message.domain_handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@DisplayName("Should encode basic lock structure correctly") void testBasicEncoding() { long offset = 0x1234567890ABCDEFL; long length = 0xFEDCBA0987654321L; int flags = 0x12345678; lock = new Smb2Lock(offset, length, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded); // Verify offset (8 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
} }; private static final Long LONG_VAL = 12345L; private static final String STR_VAL = "12345"; private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456"); private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); public void testConverter() { assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.2K bytes - Viewed (0) -
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];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678; SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex); SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2); SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// Name bytes at 0x10 byte[] name = new byte[] { 'T', 'E', 'S', 'T' }; System.arraycopy(name, 0, ctx, 0x10, name.length); // Data bytes at 0x20 byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(data, 0, ctx, 0x20, data.length); // Update base to point to the context area int offsetFieldPos = base.length - 8; // position of CreateContextsOffset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
when(response.getDigest()).thenReturn(digest); response.setDigest(digest); assertEquals(digest, response.getDigest()); // Test mid methods long mid = 123456L; doNothing().when(response).setMid(mid); when(response.getMid()).thenReturn(mid); response.setMid(mid); assertEquals(mid, response.getMid()); // Test command methods
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0)