- Sort Score
- Num 10 results
- Language All
Results 2821 - 2830 of 3,282 for throwIt (0.14 seconds)
-
guava/src/com/google/common/hash/PrimitiveSink.java
* {@code bytes[off + len - 1]} is the last. * * @param bytes a byte array * @param off the start offset in the array * @param len the number of bytes to write * @return this instance * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */ @CanIgnoreReturnValue PrimitiveSink putBytes(byte[] bytes, int off, int len); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
fun sleepWhileOpen(nanos: Long) { var ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) while (ms > 100) { Thread.sleep(100) if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed") ms -= 100L } if (ms > 0L || ns > 0) { Thread.sleep(ms, ns.toInt()) } } override fun cancel() { delegate.cancel() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
this.hashFn = hashFn; } MessageDigest getMessageDigest() { try { return MessageDigest.getInstance(algorithmName); } catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
this.hashFn = hashFn; } MessageDigest getMessageDigest() { try { return MessageDigest.getInstance(algorithmName); } catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
Objects.requireNonNull(projectRealm, "projectRealm cannot be null"); if (cache.containsKey(key)) { throw new IllegalStateException("Duplicate project realm for extensions " + key); } CacheRecord record = new CacheRecord(projectRealm, extensionArtifactFilter); cache.put(key, record);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; } } private static String[] doCleanArgs(String[] args) { List<String> cleaned = new ArrayList<>(); StringBuilder currentArg = null; for (String arg : args) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
} } catch (e: IllegalArgumentException) { if ("Jar does not have a symbolic name" in e.message!!) { println("Skipped non-OSGi dependency: ${file.name}") return } throw e } } companion object { val fileSystem = FileSystem.SYSTEM /** Each is the Bundle-SymbolicName of an OkHttp module's OSGi configuration. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
case WARNING: if (!warnings.contains(req.getMessage())) { warnings.add(req.getMessage()); } break; default: throw new IllegalArgumentException("Unknown severity: " + req.getSeverity()); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java
AbstractImmutableMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2K bytes - Click Count (0)