Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Finalize (0.19 sec)

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. 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 {
            if ( isConnected() && this.usageCount.get() != 0 ) {
                log.warn("Tree was not properly released");
            }
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  4. 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 {
            if ( !isDisconnected() && this.usageCount.get() != 0 ) {
                log.warn("Session was not properly released");
            }
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. docs/pt/docs/async.md

    Ao invés disso, sendo um sistema "assíncrono", uma vez finalizada, a tarefa pode esperar um pouco (alguns microssegundos) para que o computador / programa finalize o que quer que esteja fazendo,e então volte para pegar o resultado e continue trabalhando com ele.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_test.cc

        // Extract the resulting tensor.
        add_output2 = TF_OutputListGet(add_outputs, 0);
        TF_DeleteOutputList(add_outputs);
      }
    
      TF_DeleteAbstractTensor(arg0);
      TF_DeleteAbstractTensor(arg1);
    
      // Finalize the function by providing the returned values.
      TF_AbstractFunction* func;
      {
        // We want to return the output of both add operations, create a new list
        // and populate it.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "Unable to cast input to GraphTensor");
        }
        inputs_.push_back(t->output_);
        *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]);
        return absl::OkStatus();
      }
    
      Status Finalize(OutputList* outputs, AbstractFunction** f) override {
        std::vector<TF_Output> graph_outputs;
        graph_outputs.reserve(outputs->outputs.size());
        for (auto* abstract_output : outputs->outputs) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  8. .idea/inspectionProfiles/idea_default.xml

        <inspection_tool class="FieldMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true" />
        <inspection_tool class="Finalize" enabled="true" level="WARNING" enabled_by_default="true">
          <option name="ignoreTrivialFinalizers" value="true" />
        </inspection_tool>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Nov 09 20:59:03 GMT 2023
    - 32.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      private static final String FINALIZER_CLASS_NAME = "com.google.common.base.internal.Finalizer";
    
      /** Reference to Finalizer.startFinalizer(). */
      private static final Method startFinalizer;
    
      static {
        Class<?> finalizer =
            loadFinalizer(new SystemLoader(), new DecoupledLoader(), new DirectLoader());
        startFinalizer = getStartFinalizer(finalizer);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      private static final String FINALIZER_CLASS_NAME = "com.google.common.base.internal.Finalizer";
    
      /** Reference to Finalizer.startFinalizer(). */
      private static final Method startFinalizer;
    
      static {
        Class<?> finalizer =
            loadFinalizer(new SystemLoader(), new DecoupledLoader(), new DirectLoader());
        startFinalizer = getStartFinalizer(finalizer);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top