Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Actions (0.15 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
     *   <li>clearing weak references to unreachable referents
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
     *   <li>clearing weak references to unreachable referents
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/pom.xml

            <role>owner</role>
            <role>developer</role>
          </roles>
          <timezone>-8</timezone>
        </developer>
      </developers>
      <ciManagement>
        <system>GitHub Actions</system>
        <url>https://github.com/google/guava/actions</url>
      </ciManagement>
      <modules>
        <module>guava</module>
        <module>guava-bom</module>
        <module>guava-testlib</module>
        <module>guava-tests</module>
      </modules>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

          }
        };
    
        abstract void performAction(Random random, Iterable<? extends PrimitiveSink> sinks);
    
        private static final RandomHasherAction[] actions = values();
    
        static RandomHasherAction pickAtRandom(Random random) {
          return actions[random.nextInt(actions.length)];
        }
      }
    
      /**
       * Test that the hash function contains no funnels. A funnel is a situation where a set of input
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/collect/HashBiMap.java

            }
          }
        };
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (BiEntry<K, V> entry = firstInKeyInsertionOrder;
            entry != null;
            entry = entry.nextInKeyInsertionOrder) {
          action.accept(entry.key, entry.value);
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

          return CollectSpliterators.filter(unfiltered.spliterator(), predicate);
        }
    
        @Override
        public void forEach(Consumer<? super E> action) {
          checkNotNull(action);
          unfiltered.forEach(
              (E e) -> {
                if (predicate.test(e)) {
                  action.accept(e);
                }
              });
        }
    
        @Override
        public boolean remove(@CheckForNull Object element) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Cut.java

    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *
     * @author Darick Tong
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class CycleDetectingLockFactory {
    
      /**
       * Encapsulates the action to be taken when a potential deadlock is encountered. Clients can use
       * one of the predefined {@link Policies} or specify a custom implementation. Implementations must
       * be thread-safe.
       *
       * @since 13.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top