- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,541 for throwIt (0.03 sec)
-
src/main/java/jcifs/util/Crypto.java
* @param customProvider the custom cryptographic provider to use * @throws CIFSUnsupportedCryptoException if Provider has already been initialized. */ public static void initProvider(final Provider customProvider) throws CIFSUnsupportedCryptoException { if (provider != null) { throw new CIFSUnsupportedCryptoException(Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testMultipleCloseOnManagedResource() throws Exception { TestResource resource = new TestResource("multiclose"); ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throw assertDoesNotThrow(managed::close); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
* @author Sven Mawson */ @NullUnmarked public class ExecutionListTest extends TestCase { private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* @param n the number of characters to skip * @throws EOFException if this stream reaches the end before skipping all the characters * @throws IOException if an I/O error occurs */ public static void skipFully(Reader reader, long n) throws IOException { checkNotNull(reader); while (n > 0) { long amt = reader.skip(n); if (amt == 0) { throw new EOFException(); } n -= amt; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
return ((InetAddress) this.addr).getHostAddress(); } /** * {@inheritDoc} * * @throws UnknownHostException if the host cannot be resolved * * @see jcifs.Address#toInetAddress() */ @Override public InetAddress toInetAddress() throws UnknownHostException { if (this.addr instanceof Address) { return ((Address) this.addr).toInetAddress();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
private DfsReferralData dfsReferral; DummySmbResourceLocator(String urlStr) throws MalformedURLException { if (urlStr == null) { throw new IllegalArgumentException("URL string must not be null"); } if (!urlStr.startsWith("smb://")) { throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
*/ protected final File getTempDir() throws IOException { if (tempDir == null) { tempDir = createTempDir(); } return tempDir; } /** * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will * be deleted in the tear-down for this test. */ protected final File createTempFile() throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
/** * @author shinsuke * */ public class FtpClientTest extends PlainTestCase { private static final int FTP_PORT = 10021; public FtpClient ftpClient; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)// .singleton("ftpClient", FtpClient.class);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
} /** Returns a {@link CacheLoader} that throws the given error for every request. */ static <K, V> CacheLoader<K, V> errorLoader(Error e) { checkNotNull(e); return new CacheLoader<K, V>() { @Override public V load(K key) { throw e; } }; } /** Returns a {@link CacheLoader} that throws the given exception for every request. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
/** * Test the service method with a valid NTLM Authorization header. * Simulates a successful NTLM authentication. * @throws ServletException * @throws IOException * @throws CIFSException */ @Test void testService_NtlmAuth_Success() throws Exception { ntlmServlet.init(servletConfig); setupMocksForAuth(); byte[] challenge = new byte[8];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0)