Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for joinToString (0.14 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                return
            }
    
            if (tmpTestFiles.isNotEmpty()) {
                val nonEmptyDirs = tmpTestFiles.entries.joinToString("\n") { (dir, relativePaths) ->
                    "${dir.absolutePath}:\n ${relativePaths.joinToString("\n ")}"
                }
                val errorMessage = "Found non-empty test files dir:\n$nonEmptyDirs"
                if (reportOnly.get()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

    cat > $performanceTestSplitDirectoryName/$action-$fileNamePostfix << EOL
    ${csvLines.joinToString("\n")}
    EOL
    
    echo "Performance tests to be ${action}d in this build"
    cat $performanceTestSplitDirectoryName/$action-$fileNamePostfix
    """
    
        val linesWithEcho = csvLines.joinToString("\n") { """echo $it >> $performanceTestSplitDirectoryName\$action-$fileNamePostfix""" }
    
        val windowsScript = """
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    val originalText = file.readText()
                    val text = originalText.lineSequence()
                        .filterNot { it.trim().startsWith("//") }
                        .joinToString("\n")
                    if (text.contains(content) && exceptions.all { !text.contains(it) }) {
                        println("Found suspicious test file: $file")
                        return true
                    }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                        package com.example
    
                        import org.gradle.api.Incubating
    
                        ${annotatedKotlinMembers.lineSequence().filter { !it.contains("Incubating") }.joinToString("\n")}
    
                        /** @since 2.0 */
                        const val cathedral = "cathedral"
                        """
                    )
                }
            ) {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                "Reload trust certs",
                "Reloaded",
                "adding as trusted certificates",
                "Ignore disabled cipher suite",
                "Ignore unsupported cipher suite",
              ).joinToString(separator = "|"),
            )
            append(").*")
          },
        )
    
      private val testLogHandler =
        object : Handler() {
          override fun publish(record: LogRecord) {
            val recorded =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      }
    
      /** Read a value as bytes without interpretation of its contents. */
      fun readUnknown(): ByteString {
        return source.readByteString(bytesLeft)
      }
    
      override fun toString(): String = path.joinToString(separator = " / ")
    
      companion object {
        /**
         * A synthetic value that indicates there's no more bytes. Values with equivalent data may also
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/extensions.kt

            ) +
                buildScanTags.map { buildScanTagParam(it) } +
                buildScanValues.map { buildScanCustomValueParam(it.key, it.value) }
            ).filter { it.isNotBlank() }.joinToString(separator = " ")
    }
    
    fun functionalTestParameters(os: Os, arch: Arch = Arch.AMD64): List<String> {
        return listOf(
            "-PteamCityBuildId=%teamcity.build.id%",
            os.javaInstallationLocations(arch),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            value: Pair<DerAdapter<*>, Any?>,
          ) {
            val (adapter, v) = value
            (adapter as DerAdapter<Any?>).toDer(writer, v)
          }
    
          override fun toString(): String = choices.joinToString(separator = " OR ")
        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top