Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Finalizer (0.15 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
      private static Class<?> loadFinalizer(FinalizerLoader... loaders) {
        for (FinalizerLoader loader : loaders) {
          Class<?> finalizer = loader.loadFinalizer();
          if (finalizer != null) {
            return finalizer;
          }
        }
    
        throw new AssertionError();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      public void testGetFinalizerUrl() {
        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        GcFinalization.awaitClear(finalizableWeakReference);
    
        Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized");
        Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null);
        boolean finalized = finalizeCount.tryAcquire(5, SECONDS);
        assertTrue(finalized);
    
        Field sepFrqUserFrqF = sepFrqUserC.getField("frq");
        Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
        frq.close();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // in this list can only be removed.
      // Finalizers may be processed and removed in any order.  Order is NOT enforced
      // because it introduces significant risk of stuck finalizers.
      // finalizers is a shared field, any actor with permission can reorder it.
      // If the finalizer list is processed in order, then this can lead to a situation
      // in which the component responsible for the first finalizer in the list is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      //
      // The job controller creates pods with a finalizer. When a pod terminates
      // (succeeded or failed), the controller does three steps to account for it
      // in the job status:
      //
      // 1. Add the pod UID to the arrays in this field.
      // 2. Remove the pod finalizer.
      // 3. Remove the pod UID from the arrays while increasing the corresponding
      //     counter.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. doc/go_mem.html

    and Java’s <code>volatile</code> variables.
    </p>
    
    <h3 id="finalizer">Finalizers</h3>
    
    <p>
    The <a href="/pkg/runtime/"><code>runtime</code></a> package provides
    a <code>SetFinalizer</code> function that adds a finalizer to be called when
    a particular object is no longer reachable by the program.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. .teamcity/performance-tests-ci.json

            "per_commit" : [ "linux", "windows", "macOs" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
        "groups" : [ {
          "testProject" : "largeAndroidBuild",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. .teamcity/performance-test-durations.json

        "linux" : 430,
        "windows" : 768,
        "macOs" : 423
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.calculate task graph with test finalizer",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 492
      } ]
    }, {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top