Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for leaky (0.03 sec)

  1. src/main/java/jcifs/util/ResourceManager.java

            }
        }
    
        /**
         * Check for and report resource leaks
         */
        public void checkForLeaks() {
            if (!leakDetectionEnabled) {
                return;
            }
    
            // Process phantom references to detect leaks
            Reference<?> ref;
            while ((ref = referenceQueue.poll()) != null) {
                handlePhantomReference(ref);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

       * user-created objects that aren't accessible via this collection's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      abstract boolean isPartialView();
    
      /**
       * Copies the contents of this immutable collection into the specified array at the specified
       * offset. Returns {@code offset + size()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * user-created objects that aren't accessible via this collection's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      abstract boolean isPartialView();
    
      /**
       * Copies the contents of this immutable collection into the specified array at the specified
       * offset. Returns {@code offset + size()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

       * be otherwise.
       *
       *
       * This test leaks a response body by not closing it.
       *
       * https://github.com/square/okhttp/issues/2409
       */
      @Test
      fun connectionsAreNotReusedIfNetworkInterceptorInterferes() {
        val responsesNotClosed: MutableList<Response?> = ArrayList()
        client =
          client
            .newBuilder()
            // Since this test knowingly leaks a connection, avoid using the default shared connection
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          // able to record the edit, causing file leaks. In both cases, we want to retry the clean up
          // so we can get out of this state!
          cleanupQueue.schedule(cleanupTask)
          return null
        }
    
        // Flush the journal before creating files to prevent file leaks.
        val journalWriter = this.journalWriter!!
        journalWriter
          .writeUtf8(DIRTY)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. internal/lru/lru.go

    }
    
    // Remove removes e from its list, decrements l.len
    func (l *LruList[K, V]) Remove(e *Entry[K, V]) V {
    	e.prev.next = e.next
    	e.next.prev = e.prev
    	e.next = nil // avoid memory leaks
    	e.prev = nil // avoid memory leaks
    	e.list = nil
    	l.len--
    
    	return e.Value
    }
    
    // move moves e to next to at.
    func (l *LruList[K, V]) move(e, at *Entry[K, V]) {
    	if e == at {
    		return
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        client.networkInterceptors().add(loggingInterceptor);
        ```
    
        **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
        they could leak passwords and other authentication credentials to insecure
        logs.
    
     *  **WebSocket API now uses `RequestBody` and `ResponseBody` for messages.**
        This is a backwards-incompatible API change.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                // 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
                        log.debug("Releasing tree connection during emergency cleanup");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              if (taskFuture.isDone()) {
                // Since the value of oldFuture can only ever be immediateFuture(null) or setFuture of
                // a future that eventually came from immediateFuture(null), this doesn't leak
                // throwables or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * {@snippet :
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top