- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,095 for iofail (0.11 seconds)
-
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
/** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
try { UnsignedBytes.parseUnsignedByte(value); fail(); } catch (NumberFormatException expected) { } } private static void assertParseFails(String value, int radix) { try { UnsignedBytes.parseUnsignedByte(value, radix); fail(); } catch (NumberFormatException expected) { } } public void testParseUnsignedByte() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
cmd/untar.go
"runtime" "sync" "time" "github.com/cosnicolaou/pbzip2" "github.com/klauspost/compress/s2" "github.com/klauspost/compress/zstd" gzip "github.com/klauspost/pgzip" xioutil "github.com/minio/minio/internal/ioutil" "github.com/pierrec/lz4/v4" ) // Max bzip2 concurrency across calls. 50% of GOMAXPROCS. var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2) func detect(r *bufio.Reader) format {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
} catch (CommandExecutionException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught CommandExecutionException"); } } @Test public void test_exceptionThrownWithCause() { // Test that the exception with cause can be thrown and caught properly
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java
} catch (AssertionError | UnsupportedOperationException expected) { // UnsupportedOperationException is what we see on Android. return; } fail("Should have thrown"); } @AndroidIncompatible // TODO(cpovirk): java.lang.IllegalAccessError: superclass not accessible public void testSuccessfulForwarding() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import okhttp3.ResponseBody import okio.Buffer import okio.ForwardingSource import okio.buffer import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.api.fail class ExecuteAsyncTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClientBuilder().build() @StartStopCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
messages.addErrorsFrontHeader(null); fail("Should throw exception for null property"); } catch (IllegalArgumentException e) { // Expected } } @Test public void test_addConstraintsDecimalMaxMessage_nullProperty() { try { messages.addConstraintsDecimalMaxMessage(null, "100"); fail("Should throw exception for null property");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.addHeader("Content-Type: text/plain") .build(), ) // Make a request from client to server. It should succeed certificate checks (unfortunately the // rogue CA is trusted) but it should fail certificate pinning. val request = Request .Builder() .url(server.url("/")) .build() val call = client.newCall(request) assertFailsWith<SSLPeerUnverifiedException> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.subArray(1, 5).contains(1)).isTrue(); } public void testForEach() { ImmutableDoubleArray.of().forEach(i -> fail()); ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableDoubleArray.of(0, 1, 2, 3) .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; /** * Exception thrown when toolchain factory operations fail. * * <p>This exception wraps errors that occur during toolchain creation or initialization.</p> */ public class ToolchainFactoryException extends MavenException { public ToolchainFactoryException(String message) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 1.3K bytes - Click Count (0)