Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for finalized (0.07 seconds)

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

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * 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);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * 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);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /** Reference to Finalizer.startFinalizer(). */
      private static final FinalizerStarter finalizerStarter;
    
      static {
        Class<?> finalizer = loadFinalizer(new SystemLoader(), new DecoupledLoader());
        finalizerStarter =
            finalizer != null
                ? new ReflectiveStarter(getStartFinalizer(finalizer))
                : new DirectStarter();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /** Reference to Finalizer.startFinalizer(). */
      private static final FinalizerStarter finalizerStarter;
    
      static {
        Class<?> finalizer = loadFinalizer(new SystemLoader(), new DecoupledLoader());
        finalizerStarter =
            finalizer != null
                ? new ReflectiveStarter(getStartFinalizer(finalizer))
                : new DirectStarter();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  5. tensorflow/BUILD

    # kernel registration - REGISTER_OP, REGISTER_KERNEL_BUILDER, etc.
    #
    # This setting is currently experimental. The 'v2' implementation does _not_
    # correspond to a particular, finalized design; rather, it relates to
    # developing one.
    #
    # The current aim of the 'v2' implementation is to allow 'unused' ops and
    # kernels to be discarded by the linker (to the benefit of binary size).
    bool_flag(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/internal/Finalizer.java

         *
         * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which
         * point, Finalizer can stop running
         */
    
        Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference);
        String threadName = "com.google.common.base.internal.Finalizer";
        Thread thread = null;
        if (bigThreadConstructor != null) {
          try {
            boolean inheritThreadLocals = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/internal/Finalizer.java

         *
         * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which
         * point, Finalizer can stop running
         */
    
        Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference);
        String threadName = "com.google.common.base.internal.Finalizer";
        Thread thread = null;
        if (bigThreadConstructor != null) {
          try {
            boolean inheritThreadLocals = false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. docs/pt/docs/async.md

    Ao invés disso, sendo um sistema "assíncrono", uma vez finalizada, a tarefa pode esperar na fila 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.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  9. 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/487687332
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
    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)
  10. 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();
      }
    
    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)
Back to Top