- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 161 for volatile (0.05 seconds)
-
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
* @see DisposableUtil */ public abstract class BeanDescFactory { /** * Do not instantiate. */ protected BeanDescFactory() { } /** True if initialized */ private static volatile boolean initialized; /** Cache of {@link BeanDesc} */ private static final ConcurrentMap<Class<?>, BeanDesc> beanDescCache = newConcurrentHashMap(1024); static { initialize(); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
} public static class LeaseEntry { private final Smb2LeaseKey leaseKey; private volatile int leaseState; private volatile int epoch; private final long createTime; private volatile long lastAccessTime; private final String path; private volatile boolean breaking; public LeaseEntry(Smb2LeaseKey key, String path, int state) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
value = " "; assertNull(dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); } // ========== Thread Safety Tests ========== /** * Test that the volatile alive field is visible across threads. * One thread sets alive to false, other threads should see the change immediately. */ @Test public void test_aliveField_volatileVisibility() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * The timestamp of the last access to this handle */ private volatile long lastAccessTime; /** * The associated lease key if this handle has an SMB2 lease */ private final Smb2LeaseKey leaseKey; /** * Flag indicating whether this handle is currently being reconnected */ private volatile boolean reconnecting; // Not serialized - will be null after deserializationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/SystemUtil.java
public class SystemUtil extends org.codelibs.core.lang.SystemUtil { private static final String DEFAULT_SENSITIVE_PATTERN = ".*password.*|.*secret.*|.*key.*|.*token.*|.*credential.*|.*auth.*|.*private.*"; private static volatile Pattern sensitivePattern; /** * Private constructor to prevent instantiation. */ private SystemUtil() { } /** * Gets the HTTP address of the search engine. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 03:32:50 GMT 2026 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
* access to the most-recently received one. */ static class CountingRemovalListener<K, V> implements RemovalListener<K, V> { private final AtomicInteger count = new AtomicInteger(); private volatile @Nullable RemovalNotification<K, V> lastNotification; @Override public void onRemoval(RemovalNotification<K, V> notification) { count.incrementAndGet(); lastNotification = notification; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java
*/ public class ReactorBuildStatus { private final ProjectDependencyGraph projectDependencyGraph; private final Collection<String> blackListedProjects = Collections.synchronizedSet(new HashSet<>()); private volatile boolean halted = false; public ReactorBuildStatus(ProjectDependencyGraph projectDependencyGraph) { this.projectDependencyGraph = projectDependencyGraph; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
internal class RealEventSource( private val request: Request, private val listener: EventSourceListener, ) : EventSource, ServerSentEventReader.Callback, Callback { private var call: Call? = null @Volatile private var canceled = false fun connect(callFactory: Call.Factory) { call = callFactory.newCall(request).apply { enqueue(this@RealEventSource) } } override fun onResponse(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/util/ResourceManager.java
private final AtomicLong totalLeaks = new AtomicLong(); private final ScheduledExecutorService cleanupExecutor; private ScheduledFuture<?> cleanupTask; private volatile boolean shutdownInProgress = false; // Configuration private long maxResourceAge = TimeUnit.HOURS.toMillis(1); // 1 hour default private long cleanupInterval = TimeUnit.MINUTES.toMillis(5); // 5 minutes default
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0)