- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 121 for 0x2d (0.01 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
when(response.getMid()).thenReturn(mid); response.setMid(mid); assertEquals(mid, response.getMid()); // Test command methods int command = 0x25; doNothing().when(response).setCommand(command); when(response.getCommand()).thenReturn(command); response.setCommand(command); assertEquals(command, response.getCommand());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check for control characters for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') { failedValidations.incrementAndGet(); log.warn("{} contains control characters", fieldName);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
} return clearText; } // Tables, permutations, S-boxes, etc. private static byte[] bytebit = { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 }; private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals((byte) 0xEF, buffer[0]); // Little-endian assertEquals((byte) 0xCD, buffer[1]); assertEquals((byte) 0xAB, buffer[2]); assertEquals((byte) 0x89, buffer[3]); assertEquals((byte) 0x67, buffer[4]); assertEquals((byte) 0x45, buffer[5]); assertEquals((byte) 0x23, buffer[6]); assertEquals((byte) 0x01, buffer[7]); ndrBuffer.setIndex(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* @return {@code true} if the argument is a 6to4 address */ public static boolean is6to4Address(Inet6Address ip) { byte[] bytes = ip.getAddress(); return (bytes[0] == (byte) 0x20) && (bytes[1] == (byte) 0x02); } /** * Returns the IPv4 address embedded in a 6to4 address. * * @param ip {@link Inet6Address} to be examined for embedded IPv4 in 6to4 addressRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Test with various wildcard patterns and attribute masks String[] wildcards = { "*.txt", "test*", null }; int[] attributes = { 0x10, 0x20, 0x07 }; for (int i = 0; i < wildcards.length; i++) { DosFileFilter dos = new DosFileFilter(wildcards[i], attributes[i]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; } @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals(0x0A, ServerMessageBlock2.SMB2_LOCK); assertEquals(0x0B, ServerMessageBlock2.SMB2_IOCTL); assertEquals(0x0C, ServerMessageBlock2.SMB2_CANCEL); assertEquals(0x0D, ServerMessageBlock2.SMB2_ECHO); assertEquals(0x0E, ServerMessageBlock2.SMB2_QUERY_DIRECTORY); assertEquals(0x0F, ServerMessageBlock2.SMB2_CHANGE_NOTIFY);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Given int securityMode = 0x03; int capabilities = 0x0000000F; long previousSessionId = 0x123456789ABCDEF0L; byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testCapacityCalculation() throws SMBProtocolDecodingException { byte[] buffer = new byte[24]; buffer[4] = 0x04; // sectPerAlloc = 4 buffer[8] = 0x00; buffer[9] = 0x20; // alloc = 8192 buffer[16] = 0x00; buffer[17] = 0x04; // bytesPerSect = 1024 smbInfoAllocation.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)