Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 768 for Val (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Click Count (0)
  2. build-logic-commons/build-platform/build.gradle.kts

    description = "Provides a platform that constrains versions of external dependencies used by Gradle"
    
    // To try out newer kotlin versions
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    dependencies {
        constraints {
            val distributionDependencies = versionCatalogs.named("buildLibs")
            distributionDependencies.libraryAliases.forEach { alias ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 25 02:25:37 GMT 2026
    - 897 bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    private
    fun BodyDeclaration<*>.getSince(): String? =
        comment?.orElse(null)?.content?.let { content ->
            SINCE_REGEX.find(content)?.groupValues?.get(1)
        }
    
    
    private
    val FieldDeclaration.fieldName: String
        get() = variables.first().name.asString()
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/ArchitectureDataType.kt

     */
    object ArchitectureDataType {
        /**
         * JSON containing platforms data. See root settings file for more information.
         */
        val PLATFORMS = "platforms"
    
        /**
         * JSON containing package-info data. See root settings file for more information.
         */
        val PACKAGE_INFO = "package-info"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jul 21 17:03:56 GMT 2025
    - 1K bytes
    - Click Count (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

        }
    }
    
    fun buildCacheEnabled() = gradle.startParameter.isBuildCacheEnabled
    
    abstract class CacheMissMonitorBuildService : AbstractBuildScanInfoCollectingService() {
        private val cacheMiss: AtomicBoolean = AtomicBoolean(false)
        override val collectedInformation: Serializable = cacheMiss
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/CertificatesTest.kt

     * limitations under the License.
     */
    package okhttp3.tls
    
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatesTest {
      @Test fun testRoundtrip() {
        val certificateString =
          """
          -----BEGIN CERTIFICATE-----
          MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo
          LmFwcDAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDEwMDAwMDFaMBMxETAPBgNVBAMT
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GradleArchitecture.kt

        val module = ArchitectureModuleBuilder(moduleName, this)
        extensions.findByType(ProjectStructure::class.java)!!.architectureElements.add(module)
        module.moduleConfiguration()
    }
    
    /**
     * Defines a platform.
     */
    fun Settings.platform(platformName: String, platformConfiguration: PlatformBuilder.() -> Unit): PlatformBuilder {
        val platform = PlatformBuilder(platformName, this)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

     * proxy in a list, looking up a subsequent one may succeed.
     */
    internal class FailedPlan(
      e: Throwable,
    ) : RoutePlanner.Plan {
      val result = RoutePlanner.ConnectResult(plan = this, throwable = e)
    
      override val isReady = false
    
      override fun connectTcp() = result
    
      override fun connectTlsEtc() = result
    
      override fun handleSuccess() = error("unexpected call")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. tests/lru_test.go

    	}
    	if val != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if evicted != 0 {
    		t.Fatalf("value differs from expected")
    	}
    
    	lc.Remove("key1")
    	if evicted != 1 {
    		t.Fatalf("value differs from expected")
    	}
    	val, ok = lc.Get("key1")
    	if val != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    }
    
    func TestLoadingExpired(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/ProjectStructure.kt

     * limitations under the License.
     */
    
    package gradlebuild
    
    import java.io.File
    
    abstract class ProjectStructure {
        val architectureElements = mutableListOf<ArchitectureElementBuilder>()
        val projectBaseDirs = mutableListOf<File>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 818 bytes
    - Click Count (0)
Back to Top