- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for finalizers (0.05 sec)
-
guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** * Iterates through the given loaders until it finds one that can load Finalizer. * * @return Finalizer.class */ private static Class<?> loadFinalizer(FinalizerLoader... loaders) { for (FinalizerLoader loader : loaders) { Class<?> finalizer = loader.loadFinalizer(); if (finalizer != null) { return finalizer; } } throw new AssertionError(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.28.md
- Fixes a bug where Services using finalizers may hold onto ClusterIP and/or NodePort allocated resources for longer than expected if the finalizer is removed using the status subresource ([#120654](https://github.com/kubernetes/kubernetes/pull/120654), [@aojea](https://github.com/aojea)) [SIG Testing]
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Fri Sep 05 03:47:18 UTC 2025 - 456.9K bytes - Viewed (1) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
} /** * Finalizes and removes the preauth integrity context for a session. * * @param sessionId the session identifier */ public void finalizeSession(String sessionId) { PreauthIntegrityContext context = sessionContexts.remove(sessionId); if (context != null) { context.invalidate();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
@Test public void testGetFinalizerUrl() { assertThat(getClass().getResource("internal/Finalizer.class")).isNotNull(); } @Test public void testFinalizeClassHasNoNestedClasses() throws Exception { // Ensure that the Finalizer class has no nested classes. // See https://github.com/google/guava/issues/1505 assertThat(Finalizer.class.getDeclaredClasses()).isEmpty(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
public void testAwait_countDownLatch() { CountDownLatch latch = new CountDownLatch(1); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { latch.countDown(); } }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.await(latch);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
- Do not remove the "batch.kubernetes.io/job-tracking" finalizer from a Pod, in a corner case scenario, when the Pod is controlled by an API object which is not a batch Job (e.g. when the Pod is controlled by a custom CRD). ([#124798](https://github.com/kubernetes/kubernetes/pull/124798), [@mimowo](https://github.com/mimowo)) [SIG Apps and Testing] - Dropped the additional rule requirement (cronjobs/finalizers) for roles
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Nov 12 11:33:21 UTC 2025 - 451.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
public void testAwait_countDownLatch() { CountDownLatch latch = new CountDownLatch(1); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { latch.countDown(); } }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.await(latch);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); // Act: directly invoke finalize to simulate GC finalization pathRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
} @Test @DisplayName("finalize() logs a warning when not closed (no exception)") void finalize_logsWhenNotClosed() throws Throwable { when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch stubValidTree(2L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L); // Calling finalize directly to execute the logic; should not throwRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1)