- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 154 for mocked (0.06 sec)
-
src/test/java/jcifs/smb/DfsReferralTest.java
// Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); String expectedToString = "Mock DfsReferralData"; // Define the behavior of the mock's toString() method when(mockData.toString()).thenReturn(expectedToString); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
return output; } private static byte[] getHmac(byte[] data, byte[] key) throws GeneralSecurityException { Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } /** * Returns the user's Kerberos realm. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrSmall.java
/** * The small integer value (0-255) */ public int value; /** * Constructs an NdrSmall with the specified value * @param value the small integer value (will be masked to 0-255 range) */ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off"); } off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE; b[off + 1] = (byte) 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
@Mock private SmbFile mockFile2; private LeaseManager baseLeaseManager; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() throws Exception { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/EditForm.java
* This form extends CreateForm to include fields necessary for updating existing bad word entries, * including tracking information for optimistic locking and audit trails. * Bad words are terms that should be filtered or blocked in search results. * */ public class EditForm extends CreateForm { /** * Creates a new EditForm instance. */ public EditForm() { super(); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
private final Object group; // RdmaActiveEndpointGroup<DisniRdmaEndpoint> /** * Create new DiSNI RDMA connection * * @param remote remote socket address * @param local local socket address * @param group DiSNI endpoint group * @throws IOException if connection creation fails */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
public CurlRequest compression(final String compression) { this.compression = compression; return this; } /** * Sets the SSL socket factory for secure connections. * * @param sslSocketFactory the SSL socket factory * @return this CurlRequest instance */ public CurlRequest sslSocketFactory(final SSLSocketFactory sslSocketFactory) {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
* return which would render the timeout effectively useless. */ doConnect(); } catch (final Exception ex) { ex0 = ex; // Defer to below where we're locked return; } finally { synchronized (run_thread) { if (run_thread != thread) { /* Thread no longer the one setup for this transport --Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
} /** * Retrieves a list of URLs that are in the user's favorites from the provided URL list. * This method filters the input URL list to return only those URLs that the specified user * has marked as favorites. * * @param userCode the unique code identifying the user * @param urlList the list of URLs to check against the user's favoritesRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0)