- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 324 for samr (3.2 sec)
-
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should produce consistent keys for same input") void testDeriveKeys_Consistency() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0311; // When - derive same key twice byte[] signingKey1 = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbTreeHandleImpl t2 = h.getTree(); assertSame(tree, t1, "Expected same mocked tree"); assertSame(tree, t2, "Expected same mocked tree"); // acquire is called once in ctor + once per getTree() call verify(tree, times(3)).acquire(); } @Test @DisplayName("isValid() true when open, same tree id, connected") void isValid_true_whenOpenSameTreeConnected() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
import jcifs.smb1.smb1.SmbException; /** * Handle for Security Account Manager (SAM) policy operations. * This class represents an open handle to a SAM server and provides * high-level access to SAM database operations. */ public class SamrPolicyHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Creates a new SAM policy handle. * * @param handle the DCE/RPC handle for communication
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
void testValueConsistency() { // Given: Same input value int inputValue = 1000; int expectedMasked = inputValue & 0xFF; // 232 // When: Creating multiple NdrShort instances NdrShort ndrShort1 = new NdrShort(inputValue); NdrShort ndrShort2 = new NdrShort(inputValue); // Then: All should have same masked value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
assertNotNull(result, "Unwrapped tree should not be null"); assertSame(customTree, result, "Should return the same custom tree instance"); verify(smbTree).unwrap(CustomSmbTree.class); } /** * Test for unwrap() method with the same type. * Verifies that unwrap can return itself when the type matches. */ @Test void testUnwrap_withSameType() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Act & Assert assertNotSame(response1, response2); // Both instances have the same initial state, so toString() will be the same // This is expected behavior since they're created with the same configuration assertEquals(response1.toString(), response2.toString()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("getSmbTree returns same instance for same share/service") void testGetSmbTreeReuses() { SmbSessionImpl session = newSession(); SmbTreeImpl t1 = session.getSmbTree("IPC$", null); SmbTreeImpl t2 = session.getSmbTree("ipc$", null); // case-insensitive match assertSame(t1, t2, "Expected same tree instance to be reused"); } @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
import jcifs.internal.smb1.ServerMessageBlock; /** * Unit tests for {@link SmbComNTCreateAndX}. The tests exercise the * constructor’s flag handling, response creation and simple accessors. * * <p>All tests run in the same package as the class under test so that * package‑private members are visible if required. */ @ExtendWith(MockitoExtension.class) class SmbComNTCreateAndXTest { @Mock Configuration mockConfig; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
dbflute_fess/dfprop/additionalForeignKeyMap.dfprop
# # And it's one-to-one relation if you add one fixed condition to referrer table, # you can set virtual foreign key with fixedCondition and fixedSuffix. # And you can use it to view objects too. # # If local column name is same as foreign column name, # you can omit the setting of localColumnName and foreignColumnName. # The names are treated as case insensitive. # # Example: # map:{ # ; FK_MEMBER_MEMBER_STATUS_CODE = map:{
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 04 22:46:31 UTC 2015 - 1.7K bytes - Viewed (0)