- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 2,742 for throws (0.05 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
* Tests for {@link CharSequenceReader}. * * @author Colin Decker */ public class CharSequenceReaderTest extends TestCase { public void testReadEmptyString() throws IOException { assertReadsCorrectly(""); } public void testReadsStringsCorrectly() throws IOException { assertReadsCorrectly("abc"); assertReadsCorrectly("abcde"); assertReadsCorrectly("abcdefghijkl"); assertReadsCorrectly( ""
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
@Ignore public void testWhitespaceSuffix () throws Exception { runFilenameTest("wssuffix "); } @Test @Ignore public void testHash () throws Exception { runFilenameTest("hash#tag"); } private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException { try ( SmbFile d = createTestDirectory() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
* @param settings The settings to serialize, must not be {@code null}. * @throws IOException If the settings could not be serialized. */ void write(File output, Map<String, Object> options, Settings settings) throws IOException; /** * Writes the supplied settings to the specified character writer. The writer will be automatically closed before
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
/** * @throws Exception */ public void testSerialize() throws Exception { final String[] a = new String[] { "1", "2" }; final String[] b = (String[]) SerializeUtil.serialize(a); assertEquals("1", b.length, a.length); assertEquals("2", "1", b[0]); assertEquals("3", "2", b[1]); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
@Throws(InterruptedException::class) fun tearDown() { taskQueue.shutdown() taskQueue.idleLatch().await(10, TimeUnit.SECONDS) } @Synchronized fun sentPingCount(): Int = sentPingCount @Synchronized fun receivedPingCount(): Int = receivedPingCount @Synchronized fun receivedPongCount(): Int = receivedPongCount @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
* not fail a test when an exception is thrown from one of its {@link TearDown} instances, but * this is subject to change. Also, {@code junit4.TearDownTestCase} will. * * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown * will not interfere with other TearDown operations. */ void tearDown() throws Exception;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code * stream.collect(MoreCollectors.onlyElement())}. * * @throws NoSuchElementException if the iterable is empty * @throws IllegalArgumentException if the iterable contains multiple elements */ @ParametricNullness public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0)