Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Synchronized (0.04 sec)

  1. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          synchronized (state) {
            if (state.seenExceptionsField == expect) {
              state.seenExceptionsField = update;
            }
          }
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          synchronized (state) {
            return --state.remainingField;
          }
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          synchronized (future) {
            if (future.waitersField == expect) {
              future.waitersField = update;
              return true;
            }
            return false;
          }
        }
    
        @Override
        boolean casListeners(
            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          synchronized (future) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          synchronized (future) {
            if (future.waitersField == expect) {
              future.waitersField = update;
              return true;
            }
            return false;
          }
        }
    
        @Override
        boolean casListeners(
            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          synchronized (future) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Adds a key-value pair to the information map.
         * Initializes the info map as a synchronized LinkedHashMap if it doesn't exist.
         *
         * @param key the parameter key to store
         * @param value the parameter value to store
         */
        public synchronized void putToInfoMap(final String key, final String value) {
            if (infoMap == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          hitCount++
        }
      }
    
      @Synchronized internal fun trackConditionalCacheHit() {
        hitCount++
      }
    
      @Synchronized fun networkCount(): Int = networkCount
    
      @Synchronized fun hitCount(): Int = hitCount
    
      @Synchronized fun requestCount(): Int = requestCount
    
      private inner class RealCacheRequest(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       * Multimap#replaceValues} methods return collections that aren't synchronized.
       *
       * <p>The returned multimap will be serializable if the specified multimap is serializable.
       *
       * @param multimap the multimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified multimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
Back to top