Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for visible (0.16 sec)

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

        }
    
        @Override
        protected Executor executor() {
          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          }
          if (to != Bound.NO_BOUND) {
            extremeValues.add(delegate.aboveSamplesLesser());
            extremeValues.add(delegate.aboveSamplesGreater());
          }
    
          // the regular values should be visible after filtering
          List<@Nullable Object> allEntries = new ArrayList<>();
          allEntries.addAll(extremeValues);
          allEntries.addAll(normalValues);
          SortedSet<E> set = delegate.create(allEntries.toArray());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * of {@link CombinedFuture}, the user-supplied callback usually has its own references to inputs.
       */
      /*
       * In certain circumstances, this field might theoretically not be visible to an afterDone() call
       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       */
      @CheckForNull @LazyInit
      private ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       * {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws
       * exceptions, this difference may be visible in the returned List.
       */
      private static <K> List<Object> doConcurrentGet(
          final LoadingCache<K, ?> cache,
          final K key,
          int nThreads,
          final CountDownLatch gettersStartedSignal)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
     * thread that reads from another.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

     * values may be removed from the map on each map modification or on occasional map accesses; such
     * entries may be counted by {@link Map#size}, but will never be visible to read or write
     * operations. A partially-reclaimed entry is never exposed to the user. Any {@link Map.Entry}
     * instance retrieved from the map's {@linkplain Map#entrySet entry set} is a snapshot of that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/MapIteratorCache.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object key) {
            return containsKey(key);
          }
        };
      }
    
      // Internal methods (package-visible, but treat as only subclass-visible)
    
      @CheckForNull
      V getIfCached(@CheckForNull Object key) {
        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
     * thread that reads from another.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // notifications for all of them.
        for (int i = 0; i < nSeededEntries; i++) {
          assertEquals("b" + i, removalNotifications.get("b" + i));
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        };
    
        abstract boolean isVisible(int modifiers);
    
        /** Returns {@code true} if {@code member} is visible under {@code this} visibility. */
        final boolean isVisible(Member member) {
          return isVisible(member.getModifiers());
        }
    
        final Iterable<Method> getStaticMethods(Class<?> cls) {
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
Back to top