Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for active (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          --ntasks;
          int active = 1;
    
          while (true) {
            Future<T> f = futureQueue.poll();
            if (f == null) {
              if (ntasks > 0) {
                --ntasks;
                futures.add(submitAndAddQueueListener(executorService, it.next(), futureQueue));
                ++active;
              } else if (active == 0) {
                break;
              } else if (timed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * signal the first active guard that is satisfied. But the corresponding thread may have already
       * been interrupted and is waiting to reacquire the lock while still registered in activeGuards,
       * in which case the signal is a no-op, and the bigger-picture signal is lost unless interrupted
       * threads take special action by participating in the signal-passing game.
       */
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

     *   <li>{@link #keys}, {@link #keySet}, {@link #values}, {@link #entries}, which are similar to the
     *       corresponding view collections of {@link Map}
     *   <li>and, notably, even the collection returned by {@link #get get(key)} is an active view of
     *       the values corresponding to {@code key}
     * </ul>
     *
     * <p>The collections returned by the {@link #replaceValues replaceValues} and {@link #removeAll
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        /**
         * Returns true if this reference contains an active value, meaning one that is still considered
         * present in the cache. Active values consist of live values, which are returned by cache
         * lookups, and dead values, which have been evicted but awaiting removal. Non-active values
         * consist strictly of loading values, though during refresh a value may be both active and
         * loading.
         */
        boolean isActive();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

      long getExpireAfterAccessNanos() {
        return (expireAfterAccessNanos == UNSET_INT)
            ? DEFAULT_EXPIRATION_NANOS
            : expireAfterAccessNanos;
      }
    
      /**
       * Specifies that active entries are eligible for automatic refresh once a fixed duration has
       * elapsed after the entry's creation, or the most recent replacement of its value. The semantics
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          super(spliterator);
        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliterator.forEachRemaining(action);
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        Method method = TwoArg.class.getMethod("normalNormal", String.class, Integer.class);
        for (TwoArg.Action first : TwoArg.Action.values()) {
          for (TwoArg.Action second : TwoArg.Action.values()) {
            TwoArg bar = new TwoArg(first, second);
            if (first.equals(TwoArg.Action.THROW_A_NPE) && second.equals(TwoArg.Action.THROW_A_NPE)) {
              verifyBarPass(method, bar); // require both params to throw NPE
            } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMapValues.java

            return super.writeReplace();
          }
        };
      }
    
      @GwtIncompatible // serialization
      @Override
      public void forEach(Consumer<? super V> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(v));
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        entries.forEach(e -> action.accept(e.getKey(), e.getValue()));
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

    on:
      push:
        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top