Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for isScala3 (0.15 sec)

  1. platforms/jvm/scala/src/test/groovy/org/gradle/api/plugins/scala/Scala3PluginTest.groovy

        def 'adds Scaladoc test to project for Scala 3'() {
            when:
            project.pluginManager.apply(ScalaPlugin)
    
            temporaryFolder.createFile('libs/scala3-library_3-3.0.1.jar)')
            project.dependencies.add('implementation', project.files('libs/scala3-library_3-3.0.1.jar)'))
    
            then:
            def task = project.tasks[ScalaPlugin.SCALA_DOC_TASK_NAME]
            task instanceof ScalaDoc
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/scala/scala3/groovy/settings.gradle

    rootProject.name = 'scala3'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 28 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/scala/scala3/kotlin/settings.gradle.kts

    rootProject.name = "scala3"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 28 bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaBasePluginIntegrationTest.groovy

        def "defaults scalaClasspath to inferred Scala compiler dependency"() {
            def scalaCompilerLib = versionNumber.major >= 3 ? "scala3-compiler_3" : "scala-compiler"
            file("build.gradle") << """
                apply plugin: "scala-base"
    
                sourceSets {
                   custom
                }
    
                ${mavenCentralRepository()}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/jvm/scala_plugin.adoc

    ====
    
    If you want to use Scala 3 instead of the `scala-library` dependency you should add the `scala3-library_3` dependency:
    
    .Declaring a Scala 3 dependency for production code
    ====
    include::sample[dir="snippets/scala/scala3/kotlin",files="build.gradle.kts"]
    include::sample[dir="snippets/scala/scala3/groovy",files="build.gradle"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

            }
        }
    
        def useCompilerPluginIfDefined() {
            // https://docs.scala-lang.org/scala3/guides/migration/plugin-kind-projector.html
            Assume.assumeTrue(
                VersionNumber.parse("2.12.14") <= versionNumber && versionNumber < VersionNumber.parse("2.13.0") ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/type.go

    	return t.IsInterface() && len(t.AllMethods()) == 0
    }
    
    // IsScalar reports whether 't' is a scalar Go type, e.g.
    // bool/int/float/complex. Note that struct and array types consisting
    // of a single scalar element are not considered scalar, likewise
    // pointer types are also not considered scalar.
    func (t *Type) IsScalar() bool {
    	switch t.kind {
    	case TBOOL, TINT8, TUINT8, TINT16, TUINT16, TINT32,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (mlir::isa<quant::UniformQuantizedPerAxisType>(element_type)) {
          return false;
        }
        if (IsScalar(value)) {
          return false;
        }
        return elements_attr->isSplat();
      }
    
      // If this type is a scalar shaped type.
      bool IsScalar(mlir::Value value) const {
        auto type = mlir::dyn_cast<ShapedType>(value.getType());
        if (!type) {
          return false;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        tensorflow::Tensor tensor;
        if (!tensorflow::ConvertToTensor(proto_attr, &tensor).ok())
          return failure();
        if (tensor.dtype() != tensorflow::DT_VARIANT) return failure();
        if (!tensorflow::TensorShapeUtils::IsScalar(tensor.shape()))
          return failure();
    
        const tensorflow::TensorList *list =
            tensor.scalar<tensorflow::Variant>()().get<tensorflow::TensorList>();
        if (!list) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      if (!const_input) {
        return false;
      }
    
      const TensorProto* proto = nullptr;
      if (!TryGetNodeAttr(const_input->def(), "value", &proto)) {
        return false;
      }
    
      return TensorShapeUtils::IsScalar(proto->tensor_shape());
    }
    
    Status MarkForCompilationPassImpl::RunEdgeContractionLoop() {
      TF_RET_CHECK(initialized_ && !edges_contracted_ && !clusters_created_);
      edges_contracted_ = true;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top