Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 147 for Discovered (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelNodes.java

            return new Predicate<MutableModelNode>() {
                @Override
                public boolean apply(MutableModelNode node) {
                    node.ensureAtLeast(ModelNode.State.Discovered);
                    return node.canBeViewedAs(type) && predicate.apply(node);
                }
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/SwiftToolChainDiscoveryIntegrationTest.groovy

                model {
                    toolChains {
                        ${toolChain.buildScriptConfig}
                    }
                }
            """
        }
    
        def "toolchain is not available when the discovered swift executable does not return sensible output"() {
            def scriptDir = testDirectory.createDir("scriptDir")
            def script = scriptDir.createFile("swiftc")
            script << """
                #!/bin/sh
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java

            }
    
            doNotify(node);
            flush();
        }
    
        private void doAdd(ModelNodeInternal node) {
            flattened.put(node.getPath(), node);
            if (node.isAtLeast(ModelNode.State.Discovered)) {
                doNotify(node);
            }
        }
    
        private void doNotify(ModelNodeInternal node) {
            notifying = true;
            try {
                notifyListeners(node, pathListeners.get(node.getPath()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy

            given:
            graph.addListener(listener)
    
            when:
            graph.add(a)
    
            then:
            0 * listener.onDiscovered(_)
    
            when:
            a.state = State.Discovered
            graph.nodeDiscovered(a)
    
            then:
            1 * listener.onDiscovered(a)
            0 * listener.onDiscovered(_)
        }
    
        def "notifies listener of new node with matching path"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/image/image.go

    	tagMatcher = regexp.MustCompile(`^(?U:.*)(?::([[:word:]][[:word:].-]*))?(?:@sha256:[a-fA-F\d]{64})?$`)
    )
    
    // TagFromImage extracts a tag from image. An empty string is returned if no tag is discovered.
    func TagFromImage(image string) string {
    	matches := tagMatcher.FindStringSubmatch(image)
    	if len(matches) >= 2 {
    		return matches[1]
    	}
    	return ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 19 21:21:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/MissingPropertyAnnotationHandler.java

    import org.gradle.util.internal.TextUtil;
    
    import static org.gradle.api.problems.Severity.ERROR;
    import static org.gradle.internal.deprecation.Documentation.userManual;
    
    /**
     * A handler for properties discovered without a valid annotation.
     */
    public interface MissingPropertyAnnotationHandler {
        void handleMissingPropertyAnnotation(TypeValidationContext context, PropertyAnnotationMetadata annotationMetadata, String displayName);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/problems/buildtree/ProblemReporter.java

         * that the output is generated in a stable order rather than in an order based on the order that implementations
         * are discovered.
         */
        String getId();
    
        /**
         * Notifies the build user of whatever problems have been collected. May report problems to the console, or generate a report
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy

            registry.register(barRegistration)
            def foo = registry.atStateOrLater(fooReference.path, ModelNode.State.Discovered)
    
            then:
            !foo.promise.canBeViewedAs(ModelType.of(String))
            foo.promise.canBeViewedAs(ModelType.of(List))
    
            registry.realize(fooReference.path, fooReference.type).is(fooList)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // Value: Information we know about that Value.
      // Note that these Value's are in general in different functions.
      DenseMap<Value, ResourceInfo> resource_infos_;
      // The set of regions we already discovered.
      DenseSet<Region*> discovered_;
      // Identifiers about mutable variables.
      // All variables are identified by (device, container, shared_name).
      DenseSet<std::tuple<llvm::StringRef, llvm::StringRef, llvm::StringRef>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java

    /**
     * A hard-coded sequence of model actions that can be applied to a model element.
     *
     * <p>This is pretty much a placeholder for something more descriptive.
     */
    public enum ModelActionRole {
        Discover(ModelNode.State.Discovered, false), // Defines all projections for the node
        Create(ModelNode.State.Created, false), // Initializes the node
        Defaults(ModelNode.State.DefaultsApplied, true), // Allows a mutation to setup default values for an element
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top