Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 1,222 for rval (0.03 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    /** Reuse a connection from the pool. */
    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt

     */
    
    package gradlebuild.identity.model
    
    import org.gradle.util.GradleVersion
    
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.TimeZone
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
        fun buildTimeStamp(): Date = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") }.parse(buildTime)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFilesCleanupProjectState.kt

     * It collects states to be used in the build service for each project.
     */
    interface TestFilesCleanupProjectState : TestFileCleanUpExtension {
        val projectPath: Property<String>
        val projectBuildDir: DirectoryProperty
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 18 02:11:12 GMT 2022
    - 1K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

          delegate.shutdown()
        }
      }
    }
    
    internal fun MockResponse.wrap(): mockwebserver3.MockResponse {
      val result = mockwebserver3.MockResponse.Builder()
      val copyFromWebSocketListener = webSocketListener
      if (copyFromWebSocketListener != null) {
        result.webSocketUpgrade(copyFromWebSocketListener)
      }
    
      val body = getBody()
      if (body != null) result.body(body)
    
      for (pushPromise in pushPromises) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 4.1K bytes
    - Click Count (1)
  5. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

     * release7x - 3:00
     * ...
     * releaseNx - (N-4):00
     */
    fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? {
        val oldReleasePattern = "release(\\d+)x".toRegex()
        return when (branchName) {
            "master" -> 0
            "release" -> 1
            else -> {
                val matchResult = oldReleasePattern.find(branchName)
                if (matchResult == null) {
                    null
                } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

                environment["DEVELOCITY_ACCESS_KEY"] = it
            }
        }
    }
    
    
    private
    fun makePropagatedEnvironment(): MutableMap<String, String> {
        val result = HashMap<String, String>()
        for (key in propagatedEnvironmentVariables) {
            val value = System.getenv(key)
            if (value != null) {
                result[key] = value
            }
        }
        return result
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 15 18:27:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. internal/config/help.go

    		},
    	}
    )
    
    // DefaultHelpPostfix - Helper function to add (default: $value) messages in config help
    func DefaultHelpPostfix(subsystem KVS, key string) string {
    	val, found := subsystem.Lookup(key)
    	if !found || val == "" {
    		return ""
    	}
    	return " (default: '" + val + "')"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SinceTagStatus.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    sealed interface SinceTagStatus {
        data class Present(val version: String): SinceTagStatus
        data object NotNeeded: SinceTagStatus
        data class Inconsistent(val versions: List<String?>): SinceTagStatus
        data object Missing: SinceTagStatus
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 917 bytes
    - Click Count (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            val result = run(":flaky-test-without-leftover:test", "--no-watch-fs").build()
            assertEquals(TaskOutcome.SUCCESS, result.task(":flaky-test-without-leftover:test")!!.outcome)
    
            assertArchivedFilesSeen("report-flaky-test-without-leftover-test.zip")
        }
    
        @Test
        fun `leftover files are archived when test fails`() {
            val result = run(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt

            applyDefaultSettings()
    
            dependencies {
                snapshotDependencies(functionalTestProject.functionalTests)
            }
        }) {
        val testCoverage: TestCoverage = functionalTestProject.testCoverage
    
        override val failStage: Boolean
            get() = testCoverage.failStage
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top