Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setActive (0.14 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/configuration/BuildFeature.java

    /**
     * Status of a feature in a build that affects Gradle behavior,
     * and may impose additional requirements on plugins or build scripts.
     * <p>
     * It is possible to check if the feature is {@link #getActive() active} in the current build.
     * The {@link #getRequested() requested} property shows whether the user opted in or opted out from the feature.
     *
     * @see BuildFeatures
     * @since 8.5
     */
    @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 19:28:25 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/reactingToBuildFeatures/groovy/buildSrc/src/main/java/MyPlugin.java

            MyReport myReport = new MyReport();
            myReport.setConfigurationCacheUsage(configCacheUsage);
    
            boolean isolatedProjectsActive = buildFeatures.getIsolatedProjects().getActive() // <3>
                .get(); // the active state is always defined
            if (!isolatedProjectsActive) {
                myOptionalPluginLogicIncompatibleWithIsolatedProjects();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/configuration/DefaultBuildFeature.java

            this.active = active;
        }
    
        @Override
        public Provider<Boolean> getRequested() {
            return requested;
        }
    
        @Override
        public Provider<Boolean> getActive() {
            return active;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:08:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityBuildLifecycleService.java

            } else {
                gradle.allprojects(action);
            }
        }
    
        private boolean isIsolatedProjects() {
            return features.getIsolatedProjects().getActive().getOrElse(false);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 21:44:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    }
    
    // Applies quantization spec to all matched lifted functions. At this point only
    // denylisting (`NoQuantization`) will be applied if specs is nonempty.
    // TODO: b/307620778 - Support more advanced selective quantization methods.
    LogicalResult ApplyQuantizationSpec(const QuantizationSpec& spec,
                                        ModuleOp module_op) {
      const Method& quantization_method = spec.method();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

      pm.addNestedPass<func::FuncOp>(createPostQuantizePass());
    
      // Convert XlaCallModuleOps lifted but not quantized to func.call op.
      // The reasons these ops are not quantized may be:
      // 1. Disabled due to selective quantization.
      // 2. Not supported, e.g. add op for server.
      pm.addPass(createXlaCallModuleToCallPass());
    
      // TODO: b/321729008 - move this implementation to quantization_patterns.cc.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

        )
    )
    plugins.withId("java-base") {
        dependencies {
            attributesSchema {
                attribute(minified)
            }
            // It would be nice if we could be more selective about which variants to apply this to.
            // TODO https://github.com/gradle/gradle/issues/11831#issuecomment-580686994
            artifactTypes.getByName("jar") {
                attributes.attribute(minified, java.lang.Boolean.FALSE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/PatternHelper.java

        public static final String ORGANISATION_KEY = "organisation";
    
        public static final String ORGANISATION_KEY2 = "organization";
    
        public static final String ORGANISATION_PATH_KEY = "orgPath";
    
        /**
         * Selective copy of {@link IvyPatternHelper#substituteTokens(String, Map)},
         * necessary because we allow for paths which are no longer supported by the Ivy code (for
         * example paths with parent traversals, i.e. with ".." in them).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. internal/bucket/versioning/versioning.go

    	XMLName xml.Name `xml:"VersioningConfiguration"`
    	// MFADelete State    `xml:"MFADelete,omitempty"` // not supported yet.
    	Status State `xml:"Status,omitempty"`
    	// MinIO extension - allows selective, prefix-level versioning exclusion.
    	// Requires versioning to be enabled
    	ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
    	ExcludeFolders   bool             `xml:",omitempty"`
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    	if len(namespaceName) == 0 && attr.GetResource().Resource != "namespaces" {
    		// If the request is about a cluster scoped resource, and it is not a
    		// namespace, it is never exempted.
    		// TODO: figure out a way selective exempt cluster scoped resources.
    		// Also update the comment in types.go
    		return true, nil
    	}
    	selector, err := p.GetParsedNamespaceSelector()
    	if err != nil {
    		return false, apierrors.NewInternalError(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top