Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for setActive (0.13 sec)

  1. api/maven-api-settings/src/main/mdo/settings.mdo

              <version>1.0.0/1.3.0</version>
              <code>
        public boolean isActive() {
            return (getActiveString() != null) ? Boolean.parseBoolean(getActiveString()) : true;
        }
    
        public void setActive(boolean active) {
            setActiveString(String.valueOf(active));
        }
    
        public int getPort() {
            return (getPortString() != null) ? Integer.parseInt(getPortString()) : 8080;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            @Option(option = "integerValue", description = "integer value")
            public void setIntegerValue(Integer value) {
            }
    
            @Option(option = "aFlag", description = "simple flag")
            public void setActive() {
            }
    
            @Option(option = "multiString", description = "a list of strings")
            public void setStringListValue(List<String> values) {
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top