- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 998 for setI (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
mockTransport.snd_buf_size = 16644; mockTransport.maxMpxCount = 50; // Configure mock session mockSession.transport = mockTransport; // Configure authentication - set fields directly since NtlmPasswordAuthentication is final mockAuth.username = "testuser"; mockAuth.domain = "TESTDOMAIN"; mockAuth.password = "testpass";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
mockContext = mock(CIFSContext.class); mockConfig = mock(Configuration.class); mockCredentials = mock(Credentials.class); mockTransportPool = mock(SmbTransportPool.class); // Set up mock behaviors when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getCredentials()).thenReturn(mockCredentials); when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java
} @Test public void testRdmaAutoProvider() throws CIFSException { Properties props = new Properties(); props.setProperty("jcifs.smb.client.useRDMA", "true"); // Don't set provider, should default to auto PropertyConfiguration config = new PropertyConfiguration(props); assertTrue(config.isUseRDMA(), "RDMA should be enabled");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* as a ByteArrayInputStream. * </p> * * <p> * The transform method takes a ResponseData object, checks if it has a response body, * and then reads the body into a byte array. This byte array is then set as the data * in the ResultData object. * </p> * * <p> * The getData method takes an AccessResultData object, checks if the transformer name matches, * and then returns the data as a ByteArrayInputStream. * </p>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
private final URL url; private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs() private String unc; // Initially null; set by getUncPath; never ends with '/' private String uncBeforeDfsReferal; private String canon; // Initially null; set by getUncPath; dir must end with '/' private String share; // Can be null private Address[] addresses; private int addressIndex;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
if (extractors == null || extractors.length == 0) { return new Extractor[0]; } return extractors; } /** * Sets the extractor map with the provided map. * * @param extractorMap a map of keys to arrays of {@link Extractor} objects */ public void setExtractorMap(final Map<String, Extractor[]> extractorMap) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) { @Override public boolean close() throws CIFSException { super.close(); // Call original close to set closeCalled throw new CIFSException("Test exception during close"); } }; // Simulate the shutdown hook being run spyContext.run();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
Class<?> clazz = target.getClass(); while (clazz != null) { try { Field f = clazz.getDeclaredField(fieldName); f.setAccessible(true); f.set(target, value); return; } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchFieldException(fieldName); }
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/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// When Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Then assertEquals(filename, trans.path, "The path should be set correctly."); assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans.command, "The command should be SMB_COM_TRANSACTION2."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, trans.subCommand,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
import jcifs.internal.util.SMBUtil; /** * Trans2 FindFirst2 response message for SMB1 directory enumeration. * This class handles the response from a TRANS2_FIND_FIRST2 request, which returns * the first set of directory entries matching the specified search criteria. */ public class Trans2FindFirst2Response extends SmbComTransactionResponse { // information levels static final int SMB_INFO_STANDARD = 1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)