- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 144 for volatile (0.61 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
GcFinalization.awaitDone(() -> reference.finalizeReferentCalled); } static class MockReference extends FinalizableWeakReference<Object> { volatile boolean finalizeReferentCalled; MockReference(FinalizableReferenceQueue frq) { super(new Object(), frq); } @Override public void finalizeReferent() { finalizeReferentCalled = true;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
* without it because it is an immutable object in a volatile field. This is desirable so that * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run * without grabbing the lock. * * <p>To update this field correctly the lock must be held to guarantee that the state is * consistent. */ private volatile StateSnapshot snapshot = new StateSnapshot(NEW);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
private final SmbTransport transport; private final NetworkInterfaceInfo localInterface; private final NetworkInterfaceInfo remoteInterface; private volatile ChannelState state; private final long establishedTime; private volatile long lastActivityTime; // Performance metrics private final AtomicLong bytesSent; private final AtomicLong bytesReceived;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread t, Throwable e) { // No-op } }; private ThreadFactoryBuilder builder; private volatile boolean completed = false; @Override public void setUp() { builder = new ThreadFactoryBuilder(); } public void testThreadFactoryBuilder_defaults() throws InterruptedException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// A handle to the running task so that we can stop it when a shutdown has been requested. // These two fields are volatile because their values will be accessed from multiple threads. private volatile @Nullable Cancellable runningTask; private volatile @Nullable ScheduledExecutorService executorService; // This lock protects the task so we can ensure that none of the template methods (startUp,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the // 'inputFuture' field is read and where we will have to consider visibility of the write // operation in the constructor. //
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
throw AssertionError("No System TLS: $e", e) // The system has no TLS. Just give up. } } override fun toString(): String = javaClass.simpleName companion object { @Volatile private var platform = findPlatform() const val INFO = 4 const val WARN = 5 private val logger = Logger.getLogger(OkHttpClient::class.java.name) @JvmStatic
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
/** Map of path mappings by process type. */ protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>(); /** Cached list of path mappings. */ protected volatile List<PathMapping> cachedPathMappingList = null; /** * Initializes the path mapping helper. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
*/ private static class TestNotificationListener implements WitnessClient.WitnessNotificationListener { private final CountDownLatch notificationLatch = new CountDownLatch(1); private volatile WitnessNotification lastNotification; @Override public void onWitnessNotification(WitnessNotification notification) { this.lastNotification = notification;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
} private static final class NoOpScheduledExecutorService extends AbstractListeningExecutorService implements ListeningScheduledExecutorService { private volatile boolean shutdown; @Override public void shutdown() { shutdown = true; } @Override public List<Runnable> shutdownNow() { shutdown();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0)