Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for genValue (0.42 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

            try {
                connection.dispatch(command);
                Result result = (Result) connection.receive();
                if (result instanceof Failure) {
                    failure = ((Failure) result).getValue();
                }
                connection.dispatch(new Finished());
            } catch (Throwable e) {
                failure = e;
            }
            if (failure != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice.go

    		if value := http.MirrorPercent.GetValue(); value > 100 {
    			errs = AppendValidation(errs, fmt.Errorf("mirror_percent must have a max value of 100 (it has %d)", value))
    		}
    		errs = AppendValidation(errs, WrapWarning(errors.New(`using deprecated setting "mirrorPercent", use "mirrorPercentage" instead`)))
    	}
    
    	if http.MirrorPercentage != nil {
    		value := http.MirrorPercentage.GetValue()
    		if value > 100 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

            try {
                Manifest manifest = findManifest(classpathFile);
                if (manifest == null) {
                    return EMPTY;
                }
                String classpathEntry = manifest.getMainAttributes().getValue("Class-Path");
                if (classpathEntry == null || classpathEntry.trim().length() == 0) {
                    return EMPTY;
                }
                return classpathEntry.split(" ");
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

      auto attr = composite_attrs.get(attr_name);
      if (!attr) return std::nullopt;
      if (auto bool_attr = mlir::dyn_cast_or_null<BoolAttr>(attr)) {
        return bool_attr.getValue();
      }
      return std::nullopt;
    }
    
    ShapedType GetNhwcReturnTypeFromNchw(Operation* old_op) {
      auto composite_result_shape =
          mlir::cast<ShapedType>(old_op->getResults().front().getType()).getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

            }
        }
    
        private static File gradleUserHome(ParsedCommandLine options) {
            if (options.hasOption(GRADLE_USER_HOME_OPTION)) {
                return new File(options.option(GRADLE_USER_HOME_OPTION).getValue());
            }
            return GradleUserHomeLookup.gradleUserHome();
        }
    
        private static Logger logger(ParsedCommandLine options) {
            return new Logger(options.hasOption(GRADLE_QUIET_OPTION));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
        override fun resolveRef(dataTypeRef: DataTypeRef): DataType = when (dataTypeRef) {
            is DataTypeRef.Name -> schema.dataClassesByFqName.getValue(dataTypeRef.fqName)
            is DataTypeRef.Type -> dataTypeRef.dataType
        }
    }
    
    
    /**
     * Represents a unique operation within a particular generation.  The invocation id should be unique within a single
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy

                @Override
                String getJavaExpression() {
                    return "(String)System.getProperties().entrySet().stream().filter(e -> e.getKey().equals(\"$name\")).findFirst().get().getValue()";
                }
    
                @Override
                String getGroovyExpression() {
                    return "System.properties.entrySet().find { it.key == '$name'}.value"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/MissingAttributeAmbiguousGraphVariantsFailureDescriber.java

            List<Map.Entry<String, Set<String>>> attributesDistinctlyIdentifyingCandidates = unrequestedAttributesWithValues.entrySet().stream()
                .filter(entry -> entry.getValue().size() == failure.getCandidates().size())
                .collect(Collectors.toList());
    
            if (attributesDistinctlyIdentifyingCandidates.size() == 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:12:53 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertEquals(Arrays.asList(1), builder.build().get("one"));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java

            return requests.entrySet().stream()
                .sorted(Map.Entry.comparingByKey())
                .map(e -> toPropertyEntry(e.getValue()))
                .collect(Collectors.toList());
        }
    
        @SuppressWarnings("OptionalGetWithoutIsPresent")
        private static UpgradedProperty toPropertyEntry(List<CallInterceptionRequest> requests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top