- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 215 for sflags (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb1/com/ServerData.java
*/ public ServerData() { // Default constructor } /** * Server flags from the SMB header. */ public byte sflags; /** * Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
/** * Test setting and getting byte field (sflags) */ @ParameterizedTest @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF }) @DisplayName("Test sflags field with various byte values") public void testSflagsField(byte value) { // When serverData.sflags = value; // Then assertEquals(value, serverData.sflags); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
* Constructs an AV flags pair from integer flags * @param flags the flag values as integer */ public AvFlags(final int flags) { this(encode(flags)); } /** * Gets the flags as an integer value * @return flags */ public int getFlags() { return SMBUtil.readInt4(this.getRaw(), 0); } private static byte[] encode(final int flags) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
AvFlags flags1 = new AvFlags(0x11111111); AvFlags flags2 = new AvFlags(0x22222222); pairs.add(flags1); pairs.add(new AvTimestamp(new byte[8])); pairs.add(flags2); AvPair result = AvPairs.get(pairs, AvPair.MsvAvFlags); assertNotNull(result, "Should find the pair"); assertEquals(flags1, result, "Should return first occurrence"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferrals bb.putShort((short) 0); // tflags bb.putShort((short) 0); // tflags high bytes (skipped in decode)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Test with RECURSIVE_TREE scope (recursive flag set) DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE); context2.setNotificationEnabled(true); byte[] buffer2 = new byte[context2.size()]; context2.encode(buffer2, 0); int flags2 = SMBUtil.readInt4(buffer2, 68);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/Referral.java
* @return the serverType */ public final int getServerType() { return this.serverType; } /** * Gets the referral flags. * * @return the rflags */ public final int getRFlags() { return this.rflags; } /** * Gets the proximity value indicating the distance to the target. * * @return the proximity */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Gets the SMB message flags * @return the flags */ public final byte getFlags() { return this.flags; } /** * Sets the SMB message flags * @param flags * the flags to set */ public final void setFlags(final byte flags) { this.flags = flags; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// These tests should be removed or replaced with actual constants } /** * Test individual FLAGS2 constants. */ @Test @DisplayName("FLAGS2 individual constants are correct") void flags2ConstantsTest() { // Test individual flag values assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES); assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
} /** * Verifies reset() clears flags2 and updates resumeKey and filename used for parameters. */ @Test void testResetUpdatesStateAndParameters() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x0001, 0x0AAA0BBB, "old"); next.flags2 = 0xFFFF; // simulate non-zero flags2 // When next.reset(0x11121314, "last.dat");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0)