Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for Finalizer (0.15 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. .teamcity/performance-test-durations.json

        "linux" : 416,
        "windows" : 590,
        "macOs" : 354
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 476
      } ]
    }, {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 04:45:09 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.33.md

    - kube-apiserver: the `StorageObjectInUseProtection` admission plugin added the `kubernetes.io/vac-protection` finalizer to the given VolumeAttributesClass object when it is created if the feature-gate `VolumeAttributesClass` is turned on and `storage.k8s.io/v1beta1` is enabled. ([#130553](https://github.com/kubernetes/kubernetes/pull/130553), [@Phaow](https://github.com/Phaow))...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:17:58 GMT 2026
    - 369K bytes
    - Click Count (0)
  7. docs/pt/docs/async.md

    ## C贸digo ass铆ncrono { #asynchronous-code }
    
    C贸digo ass铆ncrono apenas significa que a linguagem 馃挰 tem um jeito de dizer para o computador / programa 馃 que em certo ponto do c贸digo, ele 馃 ter谩 que esperar *algo* finalizar em outro lugar. Vamos dizer que esse *algo* seja chamado "arquivo lento" 馃摑.
    
    Ent茫o, durante esse tempo, o computador pode ir e fazer outro trabalho, enquanto o "arquivo lento" 馃摑 termina.
    
    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)
  8. 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)
  9. 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. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    FastAPI admite dependencias que realizan algunos <dfn title='a veces tambi茅n llamado "c贸digo de salida", "c贸digo de limpieza", "c贸digo de teardown", "c贸digo de cierre", "c贸digo de salida del context manager", etc.'>pasos adicionales despu茅s de finalizar</dfn>.
    
    Para hacer esto, usa `yield` en lugar de `return`, y escribe los pasos adicionales (c贸digo) despu茅s.
    
    /// tip | Consejo
    
    Aseg煤rate de usar `yield` una sola vez por dependencia.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top