Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 161 for volatile (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractScheduledServiceTest extends TestCase {
    
      volatile Scheduler configuration = newFixedDelaySchedule(0, 10, MILLISECONDS);
      volatile @Nullable ScheduledFuture<?> future = null;
    
      volatile boolean atFixedRateCalled = false;
      volatile boolean withFixedDelayCalled = false;
      volatile boolean scheduleCalled = false;
    
      final ScheduledExecutorService executor =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractScheduledServiceTest extends TestCase {
    
      volatile Scheduler configuration = newFixedDelaySchedule(0, 10, MILLISECONDS);
      volatile @Nullable ScheduledFuture<?> future = null;
    
      volatile boolean atFixedRateCalled = false;
      volatile boolean withFixedDelayCalled = false;
      volatile boolean scheduleCalled = false;
    
      final ScheduledExecutorService executor =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. 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);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Striped64.java

       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. 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);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SmbCircuitBreaker.java

            }
    
            private static class WindowBucket {
                private volatile long requestCount = 0;
                private volatile long failureCount = 0;
                private volatile long totalResponseTime = 0;
                private volatile long minResponseTime = Long.MAX_VALUE;
                private volatile long maxResponseTime = 0;
                private volatile long lastUpdateTime = System.currentTimeMillis();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

      static final Object NULL = new Object();
    
      static final LazyLogger log = new LazyLogger(AbstractFuture.class);
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      private volatile @Nullable Object value;
    
      private volatile @Nullable Listener listeners;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 21 02:38:37 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

        private final Settings settings;
    
        private final boolean expand;
    
        private long reloadInterval = 0;
    
        private final Environment env;
    
        private volatile long lastModified;
    
        private volatile long lastChecked;
    
        private volatile SynonymMap synonymMap;
    
        public SynonymLoader(final Environment env, final Settings settings, final boolean expand, final Analyzer analyzer) {
            this.env = env;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private volatile boolean includeStackTrace = false;
        private volatile Severity minLogLevel = Severity.INFO;
    
        // Performance optimization for sensitive data masking
        private volatile boolean enableHighPerformanceMode = false;
        private volatile boolean skipMaskingForDebugLevel = false;
    
        // Rate limiting
        private final Map<String, AtomicLong> rateLimitCounters = new ConcurrentHashMap<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/MapIteratorCache.java

       *
       * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
       * while writing to it in another. All it does is help with _reading_ from multiple threads
       * concurrently. For more information, see AbstractNetworkTest.concurrentIteration.
       */
      private transient volatile @Nullable Entry<K, V> cacheEntry;
    
      MapIteratorCache(Map<K, V> backingMap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
Back to Top