- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 805 for threadId (0.15 seconds)
-
android/guava/src/com/google/common/base/FinalizableSoftReference.java
import java.lang.ref.ReferenceQueue; import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableSoftReference.java
import java.lang.ref.ReferenceQueue; import java.lang.ref.SoftReference; import org.jspecify.annotations.Nullable; /** * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConsumingQueueIterator.java
import java.util.Queue; import org.jspecify.annotations.Nullable; /** * An Iterator implementation which draws elements from a queue, removing them from the queue as it * iterates. This class is not thread safe. */ @GwtCompatible final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> { private final Queue<T> queue; ConsumingQueueIterator(Queue<T> queue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* lifted. Such writes occur on an application-provided thread and may occur concurrently with * reads of the [ResponseBody]. For duplex request bodies, [writeTo] should return * quickly, possibly by handing off the provided request body to another thread to perform * writing. * * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* Futures#addCallback addCallback()}. * * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a * href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-17.html#jls-17.4.5"> * <i>happen-before</i></a> its execution begins, perhaps in another thread. * * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
.gitignore
.java-version # macOS # ---- .DS_Store # HPROF # ----- *.hprof # Work dirs # --------- /incoming-distributions /intTestHomeDir # Logs # ---- /*.log # Thread dumps for troubleshooting *.threaddump # ps output for cleaning up leaking Java processes *.psoutput # oh-my-zsh gradle plugin .gradletasknamecache
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 16:15:24 GMT 2026 - 1.8K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} } @Test fun threadIsInterruptedOnFirstRead() { Thread.currentThread().interrupt() try { val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com") assertThat(result).isEqualTo("squareup.com") } finally { assertThat(Thread.interrupted()).isTrue() } } @Test fun secondReadFailsSameAsFirst() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
return Optional.of(plexusContainer.getContainerRealm()); } @Override public void close() { try { plexusContainer.dispose(); } finally { Thread.currentThread().setContextClassLoader(previousClassLoader); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
import java.io.IOException; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5) @Measurement(iterations = 7) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @State(Scope.Thread) @Fork(value = 1) public class PagedBytesReferenceReadVIntBenchmark { @Param(value = { "10000000" }) int entries; private StreamInput streamInput; @SetupCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
import java.io.IOException; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5) @Measurement(iterations = 7) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @State(Scope.Thread) @Fork(value = 1) public class PagedBytesReferenceReadVLongBenchmark { @Param(value = { "10000000" }) int entries; private StreamInput streamInput; @SetupCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0)