- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 38 for finalization (0.1 seconds)
-
src/main/java/jcifs/smb/SmbSessionImpl.java
// Perform emergency cleanup to prevent memory leaks emergencyCleanup(); } } catch (Exception e) { log.error("Error during session finalization", e); } finally { super.finalize(); } } /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
doc/go_mem.html
a <code>SetFinalizer</code> function that adds a finalizer to be called when a particular object is no longer reachable by the program. A call to <code>SetFinalizer(x, f)</code> is synchronized before the finalization call <code>f(x)</code>. </p> <h3 id="more">Additional Mechanisms</h3> <p> The <code>sync</code> package provides additional synchronization abstractions,
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
fastapi/routing.py
# task group) is called by the exit stack after the # streaming response completes — not by async generator # finalization via GeneratorExit. # Ref: https://peps.python.org/pep-0789/ send_stream, receive_stream = anyio.create_memory_object_stream[ bytesCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.awaitDone(future); assertTrue(future.isDone()); assertTrue(future.isCancelled()); } public void testAwaitClear() { WeakReference<Object> ref = createWeakReference(); GcFinalization.awaitClear(ref); assertThat(ref.get()).isNull(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.awaitDone(future); assertTrue(future.isDone()); assertTrue(future.isCancelled()); } public void testAwaitClear() { WeakReference<Object> ref = createWeakReference(); GcFinalization.awaitClear(ref); assertThat(ref.get()).isNull(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.internal.Finalizer; import com.google.common.collect.Sets; import com.google.common.testing.GcFinalization; import java.io.Closeable; import java.io.IOException; import java.io.UncheckedIOException; import java.lang.ref.Cleaner; import java.lang.ref.Cleaner.Cleanable; import java.lang.ref.Reference;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 27 21:20:19 GMT 2026 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
import com.google.common.base.Function; import com.google.common.collect.Interners.InternerImpl; import com.google.common.collect.MapMakerInternalMap.Strength; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Interners}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
import com.google.common.base.Function; import com.google.common.collect.Interners.InternerImpl; import com.google.common.collect.MapMakerInternalMap.Strength; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Interners}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0)