- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for volatile (0.04 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate; transient volatile boolean initialized; // "value" does not need to be volatile; visibility piggy-backs // on volatile read of "initialized". transient @Nullable T value; MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate; transient volatile boolean initialized; // "value" does not need to be volatile; visibility piggy-backs // on volatile read of "initialized". transient @Nullable T value; MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* argument. * </ul> */ volatile @Nullable Object valueField; /** All listeners. */ volatile @Nullable Listener listenersField; /** All waiting threads. */ volatile @Nullable Waiter waitersField; /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* argument. * </ul> */ volatile @Nullable Object valueField; /** All listeners. */ volatile @Nullable Listener listenersField; /** All waiting threads. */ volatile @Nullable Waiter waitersField; /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* * As a guide, all critical volatile reads and writes to the count field are marked in code * comments. */ @Weak final MapMakerInternalMap<K, V, E, S> map; /** * The number of live elements in this segment's region. This does not include unset elements * which are awaiting cleanup. */ volatile int count; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
*/ protected volatile long lastChecked = 0L; /** * The timestamp of the last modification of the properties file. */ protected volatile long lastModified = 0L; /** * The properties file. */ protected volatile File propertiesFile; /** * The properties instance. */ protected volatile Properties properties; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
class HttpLoggingInterceptor @JvmOverloads constructor( private val logger: Logger = Logger.DEFAULT, ) : Interceptor { @Volatile private var headersToRedact = emptySet<String>() @Volatile private var queryParamsNameToRedact = emptySet<String>() @set:JvmName("level") @Volatile var level = Level.NONE enum class Level { /** No logs. */ NONE, /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
private val http2Connection: Http2Connection, ) : ExchangeCodec { @Volatile private var stream: Http2Stream? = null private val protocol: Protocol = if (Protocol.H2_PRIOR_KNOWLEDGE in client.protocols) { Protocol.H2_PRIOR_KNOWLEDGE } else { Protocol.HTTP_2 } @Volatile private var canceled = false override val isResponseComplete: Boolean
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
* triggered by cancel(). For details, see the comments on the fields of TimeoutFuture. * * <p>{@code volatile} is required for j2objc transpiling: * https://developers.google.com/j2objc/guides/j2objc-memory-model#atomicity */ private volatile @Nullable InterruptibleTask<?> task; TrustedListenableFutureTask(Callable<V> callable) { this.task = new TrustedFutureInterruptibleTask(callable);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
private final ExecutorService executor = newSingleThreadExecutor(); FakeService() { tearDownStack.addTearDown(this); } volatile int startupCalled = 0; volatile int shutdownCalled = 0; volatile int runCalled = 0; @Override protected void startUp() throws Exception { assertEquals(0, startupCalled); assertEquals(0, runCalled);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 12.8K bytes - Viewed (0)