- Sort Score
- Num 10 results
- Language All
Results 1641 - 1650 of 3,747 for throwIt (0.08 seconds)
-
src/test/java/jcifs/netbios/NbtAddressTest.java
verify(mockNameServiceClient).getNodeStatus(nbtAddress); } @Test void testNextCalledName_SmbServerName_UnknownHostException() throws UnknownHostException { // Test nextCalledName when getNodeStatus throws UnknownHostException when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); mockName = new Name(mockConfig, "HOST", 0x20, null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
@SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher); } public void testWrite_putSingleByte() throws Exception { int b = 'q'; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
/** * * @return this pipe's output stream * @throws CIFSException if an error occurs */ @Override SmbPipeOutputStream getOutput() throws CIFSException; /** * Ensures that the tree connection is established and returns it. * * @return tree connection * @throws CIFSException if an error occurs connecting to the tree */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
} }) } @Throws(IOException::class) private fun processJarFile(file: Path, builder: Trie.Builder) { IoActions.withResource(openJarFile(file), object : ErroringAction<ZipInputStream>() { @Throws(Exception::class) override fun doExecute(inputStream: ZipInputStream) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 15:53:18 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt
*/ open class DelegatingServerSocketFactory( private val delegate: ServerSocketFactory, ) : ServerSocketFactory() { @Throws(IOException::class) override fun createServerSocket(): ServerSocket { val serverSocket = delegate.createServerSocket() return configureServerSocket(serverSocket) } @Throws(IOException::class) override fun createServerSocket(port: Int): ServerSocket {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java
*/ @Deprecated public interface ArtifactMetadataSource { ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException; ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws ArtifactMetadataRetrievalException; /** * Get a list of available versions for an artifact in the remote repositoryCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @Test @DisplayName("Null context throws NPE (invalid input)") void nullContextThrows() { assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null)); } @Test @DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineBuffer.java
* * @param cbuf the character buffer to process * @param off the offset into the buffer * @param len the number of characters to process * @throws IOException if an I/O error occurs * @see #finish */ protected void add(char[] cbuf, int off, int len) throws IOException { int pos = off; if (sawReturn && len > 0) { // Last call to add ended with a CR; we can handle the line now.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ThreadUtilTest.java
* */ public class ThreadUtilTest { /** * @throws Exception */ @Test public void test_sleep() throws Exception { ThreadUtil.sleep(1L); assertTrue(true); ThreadUtil.sleepQuietly(1L); } /** * @throws Exception */ @Test public void test_sleepQuietly() throws Exception { ThreadUtil.sleepQuietly(1L); assertTrue(true);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 8.7K bytes - Click Count (0)