Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for finalization (2 sec)

  1. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                }
            } catch (Exception e) {
                log.error("Error during file handle finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent resource leaks during finalization
         */
        private void emergencyCloseHandle() {
            try {
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                    emergencyCleanup();
                }
            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent memory leaks during finalization
         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
            trace.finalize();
    
            // Assert: verify that finalize delegated to checkRelease()
            verify(trace, times(1)).checkRelease();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertNotNull(supported);
            assertEquals(1, supported.length);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, supported[0]);
        }
    
        @Test
        @DisplayName("Test session finalization")
        public void testSessionFinalization() throws CIFSException {
            String sessionId = "test-session-4";
            byte[] salt = preauthService.generatePreauthSalt();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                    emergencyReleaseHandle();
                }
            } catch (Exception e) {
                log.error("Error during tree handle finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        private void emergencyReleaseHandle() {
            try {
                // Force release the handle with null checks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. 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()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                        log.debug("Error during emergency transport disconnect", e);
                    }
                }
            } catch (Exception e) {
                log.error("Error during transport finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Gets the current usage count for this transport.
         *
         * @return the number of known usages
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.TestExceptions.SomeCheckedException;
    import com.google.common.collect.TestExceptions.SomeUncheckedException;
    import com.google.common.testing.GcFinalization;
    import java.lang.ref.WeakReference;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.TestLogHandler;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.lang.ref.WeakReference;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_es.properties

    labels.webApiJson=Respuesta JSON
    labels.webConfigName=Nombre de configuración de rastreo web
    labels.allLanguages=Todos los idiomas
    labels.dictId=ID de diccionario
    labels.docId=ID de documento
    labels.endTime=Hora de finalización
    labels.hq=hq
    labels.inputs=Entradas
    labels.jobLogging=Registro
    labels.jobName=Nombre
    labels.jobStatus=Estado
    labels.labelTypeIds=Etiquetas
    labels.lang=Idioma
    labels.outputs=Salidas
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 45.4K bytes
    - Viewed (0)
Back to top