- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 467 for gflags (0.15 seconds)
-
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
String username = "testuser"; String workstation = "TESTWS"; int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM; // When Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, domain, username, workstation, flags); // Then assertNotNull(type3);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test flags property") void testFlagsProperty() { testBlock.setFlags((byte) 0x12); assertEquals((byte) 0x12, testBlock.getFlags()); } @Test @DisplayName("Test flags2 property") void testFlags2Property() { testBlock.setFlags2(0x1234);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/main/java/jcifs/internal/dtyp/ACE.java
} boolean allow; int flags; int access; SID sid; @Override public boolean isAllow() { return this.allow; } @Override public boolean isInherited() { return (this.flags & FLAGS_INHERITED) != 0; } @Override public int getFlags() { return this.flags; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
assertEquals(0, msrpcSamrCloseHandle.getPtype(), "ptype should be 0"); assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(), "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
/** * No flags set in SMB header. */ int FLAGS_NONE = 0x00; /** * Obsolete lock and read/write and unlock flag. */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** * Receive buffer has been posted flag. */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; } public InetAddress getAddress() { return address; } public int getFlags() { return flags; } public boolean isIPv4() { return (flags & IPV4) != 0; } public boolean isIPv6() { return (flags & IPV6) != 0; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/main/java/jcifs/smb/SSPContext.java
* @return whether the specified mechanism is preferred */ boolean isPreferredMech(ASN1ObjectIdentifier selectedMech); /** * Gets the negotiated context flags. * @return context flags */ int getFlags(); /** * Gets the array of supported security mechanism OIDs. * @return array of supported mechanism OIDs */ ASN1ObjectIdentifier[] getSupportedMechs();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
// Decode the token to verify its properties Type1Message type1Message = new Type1Message(type1Token); // Type1Message ORs default flags with provided flags; ensure expected bits are present assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags); assertEquals(domain, type1Message.getSuppliedDomain()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
assertEquals(1, qos.context_mode); assertEquals(0, qos.effective_only); // Assert ptype and flags using getters assertEquals(0, msrpcLsarOpenPolicy2.getPtype()); assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags()); // Verify that the policyHandle passed to the constructor is the one used
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void setUp() { msg = new Dummy(); } // ---------------- Flag manipulation tests ----------------- @Test @DisplayName("Default flag value is zero") void testDefaultFlags() { assertEquals(0, msg.getFlags(), "Initial flags should be 0"); } @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}") @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0)