Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 953 for val (0.02 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

            }
        }
    }
    val releasedVersions = gradleModule.identity.releasedVersions.orNull
    
    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 05 02:31:24 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
          | * _1.2_ August 11, 2013
          |
          """.trimMargin()
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

    
    // Android Studio Narwhal 3 | 2025.1.3
    // Find all references here https://developer.android.com/studio/archive
    // Update verification-metadata.xml
    const val DEFAULT_ANDROID_STUDIO_VERSION = "2025.1.3.7"
    const val UNPACK_ANDROID_STUDIO_TASK_NAME = "unpackAndroidStudio"
    const val ANDROID_STUDIO_INSTALL_PATH = "android-studio"
    
    private fun determineExtension(version: String): String {
        // since 2024.x Android Studio is only distributed as dmg
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 19 16:20:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

            "com.squareup.okhttp3.urlconnection",
          )
    
        /** Equinox must also be on the testing classpath.  */
        private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi"
        private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8"
        private const val REPO_NAME = "OsgiTest"
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun removePathSegment() {
        val base = parse("http://host/a/b/c")
        val url =
          base
            .newBuilder()
            .removePathSegment(0)
            .build()
        assertThat(url.encodedPath).isEqualTo("/b/c")
      }
    
      @Test
      fun removePathSegmentDoesntRemovePath() {
        val base = parse("http://host/a/b/c")
        val url =
          base
            .newBuilder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val reports: ConfigurableFileCollection
    
        @get:Input
        abstract val currentCommit: Property<String>
    
        @get:OutputFile
        abstract val htmlReportFile: RegularFileProperty
    
        @get:OutputFile
        abstract val csvReportFile: RegularFileProperty
    
        @get:Inject
        abstract val workerExecutor: WorkerExecutor
    
        @TaskAction
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 29 08:21:16 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

      }
    
      private val bytesOut = Buffer()
      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
        assumeFalse(
          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt

        "detekt:all"
    )
    @file:org.gradle.api.Generated${if (isIncubating) "\n@file:org.gradle.api.Incubating" else ""}
    
    package $packageName
    """
    
    const val KOTLIN_DSL_PACKAGE_NAME = "org.gradle.kotlin.dsl"
    
    const val KOTLIN_DSL_PACKAGE_PATH = "org/gradle/kotlin/dsl"
    
    const val LICENSE_HEADER = """/*
     * Copyright 2018 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 08 10:56:09 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

     * connects successfully. This kicks off new attempts every 250 ms until a connect succeeds.
     */
    internal class FastFallbackExchangeFinder(
      override val routePlanner: RoutePlanner,
      private val taskRunner: TaskRunner,
    ) : ExchangeFinder {
      private val connectDelayNanos = TimeUnit.MILLISECONDS.toNanos(250L)
      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = this.buf[this.index] & 0xFF;
            advance(1);
            return val;
        }
    
        /**
         * Encodes a short integer (2 bytes) in NDR format.
         *
         * @param s the short integer value to encode
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top