- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 291 for 0xf0 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void setup() throws GeneralSecurityException { digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); data = new byte[128]; Arrays.fill(data, (byte) 0x00); // Set up mock messages request = mock(CommonServerMessageBlock.class); response = mock(CommonServerMessageBlock.class); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; maxDataCount = 16384; maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override void reset(final int key, final String lastName) { super.reset(); this.lastName = lastName; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("getAttributes should return file attributes") void testGetAttributes() throws CIFSException { // Given int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE when(mockResource.getAttributes()).thenReturn(expectedAttributes); // When int attributes = mockResource.getAttributes(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
void constructorMasksValue(int input) { NdrShort ns = new NdrShort(input); // NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF; assertEquals(expected, ns.value, "value should be masked to 0xFF before storing"); } /** * Round-trip encode/decode for a selection of representative values. */ @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
this.domain = domain; this.serverTypes = serverTypes; this.name = "\\PIPE\\LANMAN"; this.maxParameterCount = 8; this.maxDataCount = 16384; this.maxSetupCount = (byte) 0x00; this.setupCount = 0; this.timeout = 5000; } @Override public void reset(final int key, final String lastN) { super.reset(); this.lastName = lastN; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
this.address = address; if (calledName == null) { this.calledName = address.hostName; } else { this.calledName = new Name(calledName, 0x20, null); } soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT); connect(); } /** * Returns the NetBIOS address associated with this socket. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
*/ public static final byte SMB2_INDEX_SPECIFIED = 0x4; /** * Flag to reopen the directory enumeration. */ public static final byte SMB2_REOPEN = 0x10; private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO; private byte queryFlags; private int fileIndex; private byte[] fileId; private final int outputBufferLength;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
static int readInt2(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF); } static int readInt4(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8) + (src[srcIndex + 3] & 0xFF); } static int readLength(final byte[] src, int srcIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
} @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x00; dstIndex++; // name length without counting null termination namelen_index = dstIndex; dstIndex += 2; writeInt4(flags0, dst, dstIndex); dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0)