Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 78 for finalized (0.07 seconds)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        assertThat(frqC).isNotSameInstanceAs(sepFrqC);
        // Check the assumptions above.
    
        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
        // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader())
        // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/FinalizableWeakReference.java

        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@Nullable T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                this.treeConnection.release();
            } else if (us < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

        SmbTreeConnectionTrace(final CIFSContext ctx) {
            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. 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 throw
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

        implements FinalizableReference {
      /**
       * Constructs a new finalizable phantom reference.
       *
       * @param referent to phantom reference
       * @param queue that should finalize the referent
       */
      protected FinalizablePhantomReference(@Nullable T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Para fazer isso, utilize `yield` em vez de `return`, e escreva os passos extras (código) depois.
    
    /// tip | Dica
    
    Garanta utilizar `yield` apenas uma vez por dependência.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

            System.arraycopy(stackTrace, s, res, 0, e - s);
            return res;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/transport/Transport.java

                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (!isDisconnected() && this.usageCount.get() != 0) {
                    log.warn("Transport was not properly released, performing emergency cleanup");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. architecture/standards/0007-java-pre-requisite.md

    3. Regarding the Tooling API client, it is the responsibility of the application embedding it to provide the Java runtime.
    
    ## Status
    
    PROPOSED
    
    ## Consequences
    
    - Finalize Daemon JVM toolchain support, including auto-provisioning.
    - To stop requiring a pre-installed Java runtime for the Gradle Wrapper and Launcher, Gradle will need to find an alternative.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jan 07 08:44:20 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top