Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for genValue (0.15 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

    
    private
    fun String.replaceRange(range: IntRange, replacement: String): String {
        return take(range.start) + replacement + drop(range.last + 1)
    }
    
    
    val pluginDefinition = schema.dataClassesByFqName
        .getValue(DefaultFqName.parse("org.gradle.internal.declarativedsl.demo.demoPlugins.PluginDefinition"))
    
    
    val idProp = pluginDefinition.properties.single { it.name == "id" }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        // Borrow cluster name from TPU status (for `TPUCompilationResult` op).
        return tpu_status.getValue();
      }
      auto device_type = op->getAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr);
      if (!device_type || device_type.getValue() != TF::kTpuDevice) {
        // Op does not belong to a TPU cluster.
        return std::nullopt;
      }
      // Op belongs to a TPU cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DistributionFactory.java

                for (Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
                    systemProperties.put(entry.getKey().toString(), entry.getValue() == null ? null : entry.getValue().toString());
                }
                systemProperties.putAll(SystemPropertiesHandler.getSystemProperties(new File(determineRootDir(connectionParameters), "gradle.properties")));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

    import javax.inject.Inject
    
    allprojects {
        apply plugin: CustomPlugin
    }
    
    class CustomModel implements Serializable {
        static final INSTANCE = new CustomThing()
        String getValue() { 'greetings' }
        CustomThing getThing() { return INSTANCE }
        Set<CustomThing> getThings() { return [INSTANCE] }
        Map<String, CustomThing> getThingsByName() { return [child: INSTANCE] }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/FunctionBinding.kt

                            put(param, newCaptor.lambda)
                        }
                        paramName != null && paramName in namedArguments -> {
                            put(param, namedArguments.getValue(paramName))
                            used++
                        }
    
                        param.isOptional -> Unit
                        else -> return null
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

            --inputTrackingDisabledCounterForThread
        }
    }
    
    
    private
    operator fun <T> ThreadLocal<T>.getValue(thisRef: Any?, property: KProperty<*>) = get()
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    
        public Map<String, LifecyclePhase> getDefaultLifecyclePhases() {
            return defaultPhases;
        }
    
        @Deprecated
        public Map<String, String> getDefaultPhases() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/SystemProperties.java

            for (Map.Entry<String, String> property : properties.entrySet()) {
                String propertyName = property.getKey();
                String value = property.getValue();
                String originalValue = overrideProperty(propertyName, value);
                originalProperties.put(propertyName, originalValue);
            }
    
            try {
                return factory.create();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt

            if (objectReflection is ObjectReflection.DataObjectReflection) {
                conversionFilter.filterProperties(objectReflection).forEach { property ->
                    val assigned = objectReflection.properties.getValue(property)
                    applyPropertyValue(objectReflection.objectOrigin, property, assigned)
                    apply(assigned.value, conversionFilter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      if (!HasValidHardwareTarget(op)) return std::nullopt;
    
      auto device = op->getAttrOfType<mlir::StringAttr>(mlir::TFL::tac::kDevice);
      if (device == nullptr) return std::nullopt;
    
      llvm::StringRef device_name_str = device.getValue();
      return device_name_str.str();
    }
    
    std::optional<std::vector<float>> GetPerDeviceCosts(
        const std::map<std::string, uint8_t>& hardware_map, mlir::Operation* op) {
      auto device_costs_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top