- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 926 for adjust (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
import org.jspecify.annotations.NullUnmarked; /** * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e. * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link * SettableFuture}). * * <p>Useful for testing the behavior of Future utilities against odd futures. * * @author Anthony Zana */ @GwtCompatible @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java
// Since it costs IO to compute this, and is done at configuration time we want to cache this if possible // It's safe to store this in a static variable since it's just a primitive so leaking memory isn't an issue if (_defaultParallel == null) { File cpuInfoFile = new File("/proc/cpuinfo"); if (cpuInfoFile.exists()) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
ArtifactResolutionResult result = resolve(request); // We have collected all the problems so let's mimic the way the old code worked and just blow up right here. // That's right lets just let it rip right here and send a big incomprehensible blob of text at unsuspecting // users. Bad dog! resolutionErrorHandler.throwErrors(request, result);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
versions.put(key, sv); } } } metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values())); // just carry-on as-is if (!recessive.getPlugins().isEmpty()) { metadata.setPlugins(new ArrayList<>(recessive.getPlugins())); } artifacts.clear(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java
Iterator<TransferResourceAndSize> entries = transfers.values().iterator(); while (entries.hasNext()) { TransferResourceAndSize entry = entries.next(); // just in case, make sure 0 <= complete <= total long complete = Math.max(0, entry.transferredBytes); long total = Math.max(complete, entry.resource.getContentLength());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 22 14:09:32 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
* default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingListenableFuture}. * * <p>Most subclasses can just use {@link SimpleForwardingListenableFuture}. * * @author Shardul Deo * @since 4.0 */ @GwtCompatible public abstract class ForwardingListenableFuture<V extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
import org.jspecify.annotations.NullUnmarked; /** * A {@link Future} implementation which always throws directly from calls to {@code get()} (i.e. * not wrapped in {@code ExecutionException}. For just a normal failure, use {@link * SettableFuture}). * * <p>Useful for testing the behavior of Future utilities against odd futures. * * @author Anthony Zana */ @GwtCompatible @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
* instance construction. * * @param session the Maven session * @throws MavenExecutionException in case of issue */ // TODO This is too early for build extensions, so maybe just remove it? public void afterSessionStart(MavenSession session) throws MavenExecutionException { // do nothing } /** * Invoked after all projects were built. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0)