- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 5,478 for newE (0.02 seconds)
-
src/main/java/jcifs/util/PathValidator.java
if (smbUrl == null || smbUrl.isEmpty()) { throw new SmbException("SMB URL cannot be null or empty"); } // Check URL format if (!smbUrl.toLowerCase().startsWith("smb://")) { throw new SmbException("Invalid SMB URL format"); } try { URL url = new URL(null, smbUrl, new jcifs.smb.Handler()); // Validate host
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
result.put(key, value); // add extra entries result.put(value, key); } return result; } }; LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()}; Map<Object, Object> result = cache.getAll(asList(lookupKeys));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> info = new ArrayList<>(); NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CloserTest.java
assertSuppressed( new Suppression(c2, tryException, c2Exception), new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageFromBytes() throws IOException { // Given - Create a Type 1 message and convert to bytes Type1Message original = new Type1Message(mockContext); byte[] messageBytes = original.toByteArray(); // When Type1Message parsed = new Type1Message(messageBytes); // Then // Note: getType() method does not exist in Type1Message
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
SmbClient client = new SmbClient(); client.setResolveSids(false); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("smbClient", client).singleton("mimeTypeHelper", MimeTypeHelperImpl.class); Map<String, Object> params = new HashMap<>(); SmbAuthentication auth = new SmbAuthentication(); auth.setUsername("testuser");Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Tue Sep 23 06:42:59 GMT 2025 - 30K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
private ModelResolver newModelResolver() throws Exception { final File localRepo = new File(this.getLocalRepository().getBasedir()); final DefaultRepositorySystemSession repoSession = new DefaultRepositorySystemSession(h -> false); repoSession.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); return new ProjectModelResolver( repoSession, null,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
void setUp() throws UnknownHostException { failover = new ChannelFailover(mockChannelManager); InetAddress addr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000); failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java
} protected FessJsonResourceProvider createJsonResourceProvider() { return new FessJsonResourceProvider(); } protected FessCurtainBeforeHook createCurtainBeforeHook() { return new FessCurtainBeforeHook(); } protected FessCurtainFinallyHook createCurtainFinallyHook() { return new FessCurtainFinallyHook(); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
} @Test @DisplayName("Test with empty data") void testWithEmptyData() { // Given byte[] emptyData = new byte[0]; transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, emptyData, 0, 0); byte[] dst = new byte[10]; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)