Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Finalization (0.19 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            return propertyWithNoValue().value(value)
        }
    
        def "finalization checking works empty providers"() {
            given:
            def property = propertyWithNoValue()
    
            expect:
            !property.isPresent()
            !property.isFinalized()
        }
    
        def "finalization checking works with simple values"() {
            given:
            def property = propertyWithValue(someValue())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
      private final long k0;
      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/SipHashFunction.java

      // The number of compression rounds.
      private final int c;
      // The number of finalization rounds.
      private final int d;
      // Two 64-bit keys (represent a single 128-bit key).
      private final long k0;
      private final long k1;
    
      /**
       * @param c the number of compression rounds (must be positive)
       * @param d the number of finalization rounds (must be positive)
       * @param k0 the first half of the key
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/build/BuildWorkGraph.java

        /**
         * Adds a task filter to this work graph.
         */
        void addFilter(Spec<Task> filter);
    
        /**
         * Adds a finalization step to this work graph.
         */
        void addFinalization(BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan> finalization);
    
        /**
         * Finalize the work graph for execution, after all work has been scheduled. This method should not schedule any additional work.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeWorkGraph.java

             */
            void addFilter(BuildState target, Spec<Task> filter);
    
            /**
             * Adds a {@link ExecutionPlan} finalization step to the given build.
             */
            void addFinalization(BuildState target, BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan> finalization);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/composite/internal/BuildController.java

        /**
         * Adds a filter to the work graph of this build.
         */
        void addFilter(Spec<Task> filter);
    
        /**
         * Adds a finalization step to the work graph of this build.
         */
        void addFinalization(BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan> finalization);
    
        /**
         * Queues the given task for execution. Does not schedule the task, use {@link #scheduleQueuedTasks()} for this.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

                List<BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan>> finalizations = workPlan.finalizations;
                if (!finalizations.isEmpty()) {
                    EntryTaskSelectorContext context = new EntryTaskSelectorContext();
                    for (BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan> finalization : finalizations) {
                        finalization.accept(context, workPlan.finalizedPlan.getContents());
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. src/runtime/debug/stack.go

    		// to crashes being written to the wrong file.
    		//
    		// So, we duplicate the fd to obtain a private one
    		// that cannot be closed by the user.
    		// This also alleviates us from concerns about the
    		// lifetime and finalization of f.
    		// (DupCloseOnExec returns an fd, not a *File, so
    		// there is no finalizer, and we are responsible for
    		// closing it.)
    		//
    		// The new fd must be close-on-exec, otherwise if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top