Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 90 for volatile (0.49 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. 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)
  8. 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. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        private final Smb2LeaseKey leaseKey;
        private final long createTime;
        private volatile long lastUpdateTime;
        private volatile long lastAccessTime;
    
        private final ConcurrentHashMap<String, FileInfo> children;
        private final ReadWriteLock lock;
    
        private volatile boolean isComplete;
        private volatile boolean hasChanges;
        private DirectoryCacheScope scope;
        private long maxAge;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/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)
Back to Top