Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for Inference (0.18 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() appear consistent to javac's type inference.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      abstract static class CachingAsList<E> extends ImmutableSet<E> {
        @LazyInit private transient ImmutableList<E> asList;
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      private static final double ALLOWED_ERROR = 1.0e-10;
      private static final QuantilesAlgorithm REFERENCE_ALGORITHM = QuantilesAlgorithm.SORTING;
      private static final Set<QuantilesAlgorithm> NON_REFERENCE_ALGORITHMS =
          Sets.difference(
              ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM));
    
      private double[] dataset;
    
      @Override
      protected void setUp() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        }
    
        @Override
        public void finalizeReferent() {
          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
      private WeakReference<ReferenceQueue<Object>> queueReference;
    
    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        }
    
        @Override
        public void finalizeReferent() {
          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
      private WeakReference<ReferenceQueue<Object>> queueReference;
    
    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

    import java.lang.ref.ReferenceQueue;
    import javax.annotation.CheckForNull;
    
    /**
     * Phantom reference with a {@code finalizeReferent()} method which a background thread invokes
     * after the garbage collector reclaims the referent. This is a simpler alternative to using a
     * {@link ReferenceQueue}.
     *
     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

        Integer[] array1Tmp = array1;
        Object[] reference = list.toArray(array1Tmp);
    
        Object[] target = ObjectArrays.toArrayImpl(list, array2);
    
        assertEquals(reference.getClass(), target.getClass());
        assertTrue(Arrays.equals(reference, target));
        assertTrue(Arrays.equals(reference, target));
    
        Object[] expectedArray1 = expectModify ? reference : starting;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

        public void setSession(MavenSession session) {
            AtomicReference<MavenSession> reference = DefaultLegacySupport.SESSION.get();
            if (reference != null) {
                reference.set(null);
            }
    
            if (session == null && reference != null) {
                DefaultLegacySupport.SESSION.remove();
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

    /**
     * The DSL reference for this documentation.  These are higher-level than Javadoc.
     */
    public abstract class DslReference {
        /**
         * The root of the DSL documentation.  This is the source of the DSL XML currently.
         */
        public abstract DirectoryProperty getRoot();
    
        /**
         * The stylesheet directory used by the DSL reference documentation.
         */
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ReferenceEntry.java

     * </ul>
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @CheckForNull
      ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          }
    
          /*
           * If we're about to complete the TimeoutFuture, we want to release our reference to it.
           * Otherwise, we'll pin it (and its result) in memory until the timeout task is GCed. (The
           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top