Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for isCompatibleWith (0.28 sec)

  1. tensorflow/cc/experimental/libtf/function.cc

          if (tensor->DataType() != spec.dtype) {
            return false;
          }
          tensorflow::PartialTensorShape tensor_shape;
          DCHECK(tensor->Shape(&tensor_shape).ok());
          if (!tensor_shape.IsCompatibleWith(spec.shape)) {
            return false;
          }
        } break;
        case TaggedValue::Type::TUPLE: {
          if (value.type() != TaggedValue::Type::TUPLE) {
            return false;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginCrossVersionSmokeTest.kt

            val testedVersion = "4.0.2"
    
            withDefaultSettingsIn("buildSrc")
            val buildScript = withBuildScriptIn("buildSrc", scriptWithKotlinDslPlugin(testedVersion))
            if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_20)) {
                // Kotlin 1.8.20 that is a dependency of kotlin-dsl plugin 4.0.2 doesn't work
                // with Java20+ without setting jvmTarget that is lower than JvmTarget.JVM_20
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/plugins/BuildDashboardPluginIntegrationTest.groovy

                    apply plugin: 'codenarc'
    
                    codenarc {
                        configFile = file('config/codenarc/rulesets.groovy')
                    }
                }
    
                ${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_14) ?
                """
                configurations.codenarc {
                    resolutionStrategy.force '${groovyModuleDependency("groovy", GroovySystem.version)}'
                }
                """ : ""}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                        languageVersion = JavaLanguageVersion.of(Integer.parseInt(project.findProperty("clientJdk")))
                    }
                    enableAssertions = true
    
                    if (${clientJdkVersion.isCompatibleWith(JavaVersion.VERSION_16)} && ['2.14.1'].contains(project.findProperty("gradleVersion"))) {
                        jvmArgs = ["--add-opens", "java.base/java.lang=ALL-UNNAMED"]
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            return "new MemoryUsage(${fromMB(initial)}, ${fromMB(used)}, ${fromMB(used)}, ${fromMB(max)})"
        }
    
        static List<GarbageCollectorUnderTest> getGarbageCollectors() {
            if (JavaVersion.current().isCompatibleWith(VERSION_14)) {
                return [
                    new GarbageCollectorUnderTest(ORACLE_SERIAL9, ORACLE_SERIAL),
                    new GarbageCollectorUnderTest(JavaGarbageCollector.ORACLE_G1, ORACLE_G1)
                ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            }
        }
    
        private static boolean isJava7() {
            return JavaVersion.current().isJava7Compatible();
        }
    
        private static boolean isJava14() {
            return JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_14);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy

            // On Java 8 and earlier, generated classes are not automatically
            // available to the compile classpath so we need to expose them
            // manually
            if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) {
                buildFile << """
                    tasks.withType(JavaCompile).configureEach {
                        classpath += files("\${buildDir}/classes/java/main")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                properties.put("sun.stdout.encoding", getDefaultCharacterEncoding());
                properties.put("sun.stderr.encoding", getDefaultCharacterEncoding());
            } else if (getJavaVersionFromJavaHome().isCompatibleWith(JavaVersion.VERSION_19)) {
                properties.put("stdout.encoding", getDefaultCharacterEncoding());
                properties.put("stderr.encoding", getDefaultCharacterEncoding());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                this.test = test;
            }
    
            @Override
            public Iterable<String> asArguments() {
                return test.getJavaVersion().isCompatibleWith(JavaVersion.VERSION_1_9)
                    ? Collections.singletonList("--add-opens=java.base/java.lang=ALL-UNNAMED")
                    : Collections.emptyList();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            concreteTypeName = concreteType instanceof Class ? concreteType.name : concreteType
        }
    
        private static executorServiceTypeOnCurrentJvm() {
            def shortName = Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_21) ? 'AutoShutdownDelegatedExecutorService' : 'FinalizableDelegatedExecutorService'
            return 'java.util.concurrent.Executors$' + shortName
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top