Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for volatile (0.03 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        private final CountDownLatch startLatch = new CountDownLatch(1);
        private final CountDownLatch stopLatch = new CountDownLatch(1);
    
        private volatile boolean running = false;
    
        @Override
        public @Nullable Void call() throws InterruptedException {
          running = true;
          startLatch.countDown();
          stopLatch.await();
          running = false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

      private final ImmutableList<String> parts;
    
      /**
       * Cached value of #publicSuffixIndex(). Do not use directly.
       *
       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
       * threads before it is initialized, then each thread is likely to compute their own copy of the
       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

     * that can specify different delays for different time periods and days.
     */
    public class IntervalControlHelper {
    
        /** Flag indicating whether the crawler is currently running */
        protected volatile boolean crawlerRunning = true;
    
        /**
         * Default constructor.
         */
        public IntervalControlHelper() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDouble.java

     */
    @GwtIncompatible
    @J2ktIncompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    public class AtomicDouble extends Number {
      private static final long serialVersionUID = 0L;
    
      private transient volatile long value;
    
      private static final AtomicLongFieldUpdater<AtomicDouble> updater =
          AtomicLongFieldUpdater.newUpdater(AtomicDouble.class, "value");
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      internal val connectionSpecIndex: Int,
      internal val isTlsFallback: Boolean,
    ) : RoutePlanner.Plan,
      ExchangeCodec.Carrier {
      /** True if this connect was canceled; typically because it lost a race. */
      @Volatile private var canceled = false
    
      // These properties are initialized by connect() and never reassigned.
    
      /** The low-level TCP socket. */
      private var rawSocket: JavaNetSocket? = null
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              assertBitEquals(x - y, aa.get(i));
            }
          }
        }
      }
    
      static final long COUNTDOWN = 100000;
    
      class Counter extends CheckedRunnable {
        final AtomicDoubleArray aa;
        volatile long counts;
    
        Counter(AtomicDoubleArray a) {
          aa = a;
        }
    
        @Override
        public void realRun() {
          for (; ; ) {
            boolean done = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

      public final boolean isSynchronized() {
        return Modifier.isSynchronized(getModifiers());
      }
    
      /** Returns true if the field is volatile. */
      final boolean isVolatile() {
        return Modifier.isVolatile(getModifiers());
      }
    
      /** Returns true if the field is transient. */
      final boolean isTransient() {
        return Modifier.isTransient(getModifiers());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      private val exchangeFinderFactory: (RealConnectionPool, Address, ConnectionUser) -> ExchangeFinder,
    ) {
      internal val keepAliveDurationNs: Long = timeUnit.toNanos(keepAliveDuration)
    
      @Volatile
      private var addressStates: Map<Address, AddressState> = mapOf()
    
      private val cleanupQueue: TaskQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName ConnectionPool connection closer") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
      /** The number of elements contained in the set. */
      private transient int size;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top