Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 472 for References (0.07 sec)

  1. 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;
    
      @Test
      public void testThatFinalizerStops() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertThrows(NoSuchElementException.class, iter::next);
        assertThrows(NoSuchElementException.class, iter::peek);
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

        @ParametricNullness private final T reference;
    
        private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) {
          this.equivalence = checkNotNull(equivalence);
          this.reference = reference;
        }
    
        /** Returns the (possibly null) reference wrapped by this instance. */
        @ParametricNullness
        public T get() {
          return reference;
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ResourceManager.java

                log.info("Cleaned up {} abandoned resources", cleaned);
            }
        }
    
        /**
         * Handle phantom reference detection
         */
        private void handlePhantomReference(Reference<?> ref) {
            // Find the resource holder by phantom reference
            for (ResourceHolder holder : activeResources.values()) {
                if (holder.phantomRef == ref) {
                    if (!holder.closed) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * may still be evolving and could change in future versions.</li>
     * <li>{@link FunctionalInterface}: Denotes that this is a functional interface,
     * allowing implementations as lambda expressions or method references.</li>
     * <li>{@link Consumer}: Signifies that this type is intended to be implemented
     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A builder of {@link ConcurrentMap} instances that can have keys or values automatically wrapped
     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try {
                // Force release the handle with null checks
                if (this.usageCount != null) {
                    this.usageCount.set(0);
                }
    
                // Clear references to prevent memory leaks
                try {
                    if (this.treeConnection != null) {
                        // Release the tree connection if possible
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. PULL_REQUESTS_ETIQUETTE.md

    1. **Title and Summary**:
       - Use a scannable title: `[Subsystem] Action Description #Issue` (e.g., `[IAM] Add role-based access control #567`).
       - Include context in the summary: what changed, why, and any issue references.
       - Use `[WIP]` for in-progress PRs to avoid premature merging or choose GitHub draft PRs.
    
    2. **Commits**:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 25 16:32:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicate.java

     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. docs/en/data/sponsors.yml

        img: https://fastapi.tiangolo.com/img/sponsors/blockbee.png
      - url: https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge
        title: "Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files"
        img: https://fastapi.tiangolo.com/img/sponsors/scalar.svg
      - url: https://www.propelauth.com/?utm_source=fastapi&utm_campaign=1223&utm_medium=mainbadge
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top