- Sort Score
- Num 10 results
- Language All
Results 2931 - 2940 of 3,670 for throwIf (0.38 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException() return super.indexOf(element) } } as List<Protocol> val client =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 13.4K bytes - Click Count (1) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* loader as the rest of Guava, this thread would keep an indirect strong reference to the class * loader and prevent it from being garbage collected. This poses a problem for environments where * you want to throw away the class loader. For example, dynamically reloading a web application or * unloading an OSGi bundle. * * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own classCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
} @Override public boolean isHorizontal() { return false; } @Override public double slope() { throw new IllegalStateException(); } @Override public double transform(double x) { throw new IllegalStateException(); } @Override public LinearTransformation inverse() { LinearTransformation result = inverse;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicate.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (this.largeFile) { this.pid = SMBUtil.readInt2(buffer, bufferIndex); final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; final int nalgos = SMBUtil.readInt2(buffer, bufferIndex); final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; class DefaultToolchainTest { private final Logger logger = mock(Logger.class); @BeforeEach void setUp() throws Exception { MockitoAnnotations.initMocks(this); } private DefaultToolchain newDefaultToolchain(ToolchainModel model) { return new DefaultToolchain(model, logger) { @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
private transient int totalSize; /** * Creates a new multimap that uses the provided map. * * @param map place to store the mapping from each key to its corresponding values * @throws IllegalArgumentException if {@code map} is not empty */ protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) { checkArgument(map.isEmpty()); this.map = map; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
* * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */ @Override public List<Integer> order(List<Integer> insertionOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
} try { securityDescriptor = new SecurityDescriptor(); bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() { return ("NtTransQuerySecurityResponse[" + super.toString() + "]");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.3K bytes - Click Count (0)