Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for Flatten (0.15 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossBuildPerformanceResults.groovy

            }
            assert matches.size() == 1
            buildResult(matches.first())
        }
    
        List<Exception> getFailures() {
            List.cast(buildResults.values().collect() {
                it.exception
            }.flatten().findAll())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME }
            ?.value
        }
    
      val organizationalUnitName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME }
            ?.value
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/keras.py

    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common
    
    
    def mnist_model():
      """Creates a MNIST model."""
      model = tf.keras.models.Sequential()
      model.add(tf.keras.layers.Flatten())
      model.add(tf.keras.layers.Dense(128, activation='relu'))
      model.add(tf.keras.layers.Dense(10, activation='softmax'))
      return model
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonFailureLoggingIntegrationTest.groovy

            // Output may come in different orders, so we just check that all the expected messages are there.
            def text = outputProgress*.details.spans*.text.flatten().join()
            text.count("Unrecognized option: --not-a-real-argument") == 1
            text.count("Error: Could not create the Java Virtual Machine.") == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

            val subprojectRoots = platformsFolder.asFile.listFiles(File::isDirectory).plus(subprojectsFolder.asFile).plus(testingFolder.asFile)
            return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten()
        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
                    File(it, "build.gradle.kts").exists() ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3RelocationIntegrationTest.groovy

                "org/acme/test/TestLexer.java",
                "org/acme/test/TestParser.java",
            ]
                .collect { projectDir.file("build/generated-src/antlr/main/$it").text.split(/\n/) }
                .flatten()
                .findAll { !(it =~ "// \\\$ANTLR") }
                .join("\n")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt

        }
    
        override val allSourceFiles: List<PsiFileSystemItem> by lazy {
            buildList {
                val files = allKtModules.mapNotNull { (it as? KtSourceModuleImpl)?.sourceRoots }.flatten()
                addAll(files)
                addAll(findJvmRootsForJavaFiles(files.filterIsInstance<PsiJavaFile>()))
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 10 16:23:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonFailureIntegrationTest.groovy

            // Output may come in different orders, so we just check that all the expected messages are there.
            def text = outputProgress*.details.spans*.text.flatten().join()
            text.count("Unrecognized option: --not-a-real-argument") == 1
            text.count("Error: Could not create the Java Virtual Machine.") == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/util/ports/FixedAvailablePortAllocatorTest.groovy

            (1..totalAgents).each { agentNum ->
                (1..totalWorkers).each { workerNum ->
                    def portAllocator = portAllocators[agentNum - 1].remove(0)
                    def otherRanges = portAllocators.flatten()
                    assert portAllocator.reservations.size() == 1
                    assert portAllocator.reservations[0].endPort - portAllocator.reservations[0].startPort == rangeSize
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy

                def init = AGP_VERSIONS.createAgpNightlyRepositoryInitScript()
                extraArgs += ["-I", init.canonicalPath]
            }
            return runner.withArguments([runner.arguments, extraArgs].flatten())
                .ignoreDeprecationWarningsIf(AGP_VERSIONS.isOld(agpVersion), "Old AGP version")
        }
    
        private SmokeTestGradleRunner newKotlinRunner(boolean parallel, VersionNumber kotlinVersion, List<String> tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top