- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,810 for cause (0.03 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
// But trying to read data should cause NullPointerException byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 5)); } @Test void testReadDataWireFormatWithNegativeLength() { byte[] buffer = new byte[100]; // Negative length should cause ArrayIndexOutOfBoundsException from System.arraycopyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java
/** * Gets the problems that were encountered during the settings building. Note that only problems of severity * {@link SettingsProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link SettingsBuildingException}. * * @return The problems that were encountered during the settings building, can be empty but never {@code null}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(chainedFuture)); NullPointerException cause = (NullPointerException) expected.getCause(); assertThat(cause) .hasMessageThat() .contains( "AsyncFunction.apply returned null instead of a Future. " + "Did you mean to return immediateFuture(null)?");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(chainedFuture)); NullPointerException cause = (NullPointerException) expected.getCause(); assertThat(cause) .hasMessageThat() .contains( "AsyncFunction.apply returned null instead of a Future. " + "Did you mean to return immediateFuture(null)?");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
* * @param problems The problems that cause this exception, may be {@code null}. */ public SettingsBuildingException(List<SettingsProblem> problems) { super(toMessage(problems)); this.problems = new ArrayList<>(); if (problems != null) { this.problems.addAll(problems); } } /** * Gets the problems that caused this exception. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicate.java
* class documentation above). This method is <i>generally expected</i>, but not absolutely * required, to have the following properties: * * <ul> * <li>Its execution does not cause any observable side effects. * <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal * Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) == * predicate.apply(b))}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* and will cause {@link #build} to fail. */ @CanIgnoreReturnValue public <T extends B> Builder<B> put(Class<T> key, T value) { mapBuilder.put(key, value); return this; } /** * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not * allowed, and will cause {@link #build} to fail. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CollectionSize.ANY) .withSetUp(setUp) .withTearDown(tearDown) .createTestSuite(); } private static LinkageError newLinkageError(Throwable cause) { return new LinkageError(cause.toString(), cause); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
src/bytes/boundary_test.go
. "bytes" "syscall" "testing" ) // This file tests the situation where byte operations are checking // data very near to a page boundary. We want to make sure those // operations do not read across the boundary and cause a page // fault where they shouldn't. // These tests run only on linux. The code being tested is // not OS-specific, so it does not need to be tested on all // operating systems.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } throw ee; } finally { postReadCleanup(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0)