Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for Inference (0.17 sec)

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

    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
    // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
    abstract class InterruptibleTask<T extends @Nullable Object>
        extends AtomicReference<@Nullable Runnable> implements Runnable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @since 3.0
     */
    // TODO The configuration for the lifecycle needs to be externalized so that I can use the annotations properly for the
    // wiring and reference and external source for the lifecycle configuration.
    @Named
    @Singleton
    public class DefaultLifecycles {
        public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site", "wrapper"};
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraph.java

       * doesn't. Additionally, the order in which nodes or edges are added to the graph, and the order
       * in which they are iterated over, are irrelevant.
       *
       * <p>A reference implementation of this is provided by {@link AbstractValueGraph#equals(Object)}.
       */
      @Override
      boolean equals(@CheckForNull Object object);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractGraphTest {
    
      Graph<Integer> graph;
    
      /**
       * The same reference as {@link #graph}, except as a mutable graph. This field is null in case
       * {@link #createGraph()} didn't return a mutable graph.
       */
      MutableGraph<Integer> graphAsMutableGraph;
    
      static final Integer N1 = 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * accessed directly after this method returns. These conditions are ensured if the map is created
       * empty, passed directly to this method, and no reference to the map is retained, as illustrated
       * in the following code fragment:
       *
       * <pre>{@code
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        future2 = null;
    
        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            checkState(removeExact(requireNonNull(lastFromForgetMeNot)));
            lastFromForgetMeNot = null;
          }
        }
    
        /** Returns true if an exact reference (==) was found and removed from the supplied iterable. */
        private boolean foundAndRemovedExactReference(Iterable<E> elements, E target) {
          for (Iterator<E> it = elements.iterator(); it.hasNext(); ) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
       * <p>See also <a href="http://www.unicode.org/reports/tr11/">UAX #11 East Asian Width</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException();
        }
        return reference;
      }
    
      /**
       * Ensures that an object reference passed as a parameter to the calling method is not null.
       *
       * @param reference an object reference
       * @param errorMessage the exception message to use if the check fails; will be converted to a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top