- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for getDdd (0.03 sec)
-
src/test/java/jcifs/util/CryptoTest.java
void testHashVariousInputSizes(String input) { // Given byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); MessageDigest md5 = Crypto.getMD5(); byte[] md4Hash = md4.digest(data); byte[] md5Hash = md5.digest(data); // Then assertNotNull(md4Hash); assertNotNull(md5Hash);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
// Mock config methods needed for SMB1 when(config.getPid()).thenReturn(1234); SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class); when(response.getService()).thenReturn("A:"); when(response.isValidTid()).thenReturn(true); when(response.getTid()).thenReturn(1); when(session.send(any(), any())).thenReturn(response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
*/ public static MessageDigest getMD4() { try { return MessageDigest.getInstance("MD4", getProvider()); } catch (final NoSuchAlgorithmException e) { throw new CIFSUnsupportedCryptoException(e); } } /** * Get an MD5 message digest instance. * @return MD5 digest instance */ public static MessageDigest getMD5() { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
} @Test void testGetMid() { long mid = 54321L; when(mockResponse.getMid()).thenReturn(mid); assertEquals(mid, mockResponse.getMid()); // Verify the method was called verify(mockResponse, times(1)).getMid(); } @Test void testVerifySignature() { byte[] buffer = new byte[] { 1, 2, 3 }; int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} @Override protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getJdk() != null && !profile.getActivation().getJdk().isEmpty(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should return dataCount assertEquals(5, result); } @Test void testGetSid() { // Test the getSid method // By default, it should be 0 assertEquals(0, response.getSid()); } @Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } // Test for getDc method @Test void testGetDc_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsResolver.getDc(mockContext, "anyDomain")); } @Test void testGetDc_Success() throws CIFSException, IOException {
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/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ public int getMaximalAccess() { return this.maximalAccess; } /** * {@inheritDoc} * * @see jcifs.internal.TreeConnectResponse#getTid() */ @Override public final int getTid() { return getTreeId(); } @Override public boolean isValidTid() { return getTreeId() != -1; } /** * {@inheritDoc}
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
th.getConfig().getListSize() - FIND_OVERHEAD), this.response); this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(), this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD); } catch (final SmbException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Sets the message ID. * * @param k the message ID to set */ void setMid(long k); /** * Gets the message ID. * * @return mid */ long getMid(); /** * Verifies the signature of this response. * * @param buffer the buffer containing the signature data * @param i the starting index in the buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)