Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 474 for _finalize (0.19 sec)

  1. test/typeparam/chansimp.dir/a.go

    func (r *Receiver[Elem]) Next(ctx context.Context) (v Elem, ok bool) {
    	select {
    	case <-ctx.Done():
    	case v, ok = <-r.values:
    	}
    	return v, ok
    }
    
    // finalize is a finalizer for the receiver.
    func (r *Receiver[Elem]) finalize() {
    	close(r.done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package finalizer
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    * When run with `--continue`, it is possible for `taskY` to execute if `taskX` fails.
    
    [[sec:finalizer_tasks]]
    == Finalizer tasks
    
    Finalizer tasks are automatically added to the task graph when the finalized task is scheduled to run.
    
    To specify a finalizer task, you use the link:{javadocPath}/org/gradle/api/Task.html#finalizedBy-java.lang.Object...-[Task.finalizedBy(java.lang.Object...)] method.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. test/typeparam/orderedmapsimp.dir/a.go

    func (r *Receiver[Elem]) Next(ctx context.Context) (v Elem, ok bool) {
    	select {
    	case <-ctx.Done():
    	case v, ok = <-r.values:
    	}
    	return v, ok
    }
    
    // finalize is a finalizer for the receiver.
    func (r *Receiver[Elem]) finalize() {
    	close(r.done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

                strings << 3
            }
    
            @Finalize
            static void finalize1(List<String> strings) {
                strings << "2"
            }
    
            @Mutate
            static void mutate1(List<String> strings) {
                strings << "1"
            }
        }
    
        def "finalize rules are registered"() {
            given:
            def registry = Mock(ModelRegistry)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
       * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link
       *     ByteSource} returned by {@link #asByteSource} is finalized.
       * @throws IllegalArgumentException if {@code fileThreshold} is negative
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactSet.java

            /**
             * Called before any of the other methods are called on this set.
             */
            default void prepareForVisitingIfNotAlready() {}
    
            /**
             * Queues up any work still remaining to finalize the set of artifacts contained in this set.
             */
            void startFinalization(BuildOperationQueue<RunnableBuildOperation> actions, boolean requireFiles);
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

                    node.dependenciesProcessed();
                    // Finalizers run immediately after the node
                    for (Node finalizer : node.getFinalizers()) {
                        finalizers.add(finalizer);
                        if (!visiting.contains(finalizer)) {
                            queue.addFirst(finalizer);
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            copy.orNull == someValue()
        }
    
        def "obtaining value of the shallow copy does not finalize property"() {
            given:
            def property = propertyWithValue(someValue())
            property.finalizeValueOnRead()
    
            when:
            property.shallowCopy().get()
    
            then:
            !property.finalized
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top