Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 953 for val (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

        }
      }
    
      @Test fun testIllegalCharsetName() {
        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testUnsupportedCharset() {
        val mediaType = parse("text/plain; charset=utf-wtf")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() {
        val mediaType = parse("text/plain;charset=\"'utf-8'\"")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

    import java.io.File
    
    
    class BinaryCompatibilityRepositorySetupRule(private val params: Map<String, Any>) : SetupRule {
    
        companion object {
            const val REPOSITORY_CONTEXT_KEY = "binaryCompatibilityRepository"
        }
    
        /**
         * Each param is a `Set<String>`.
         */
        object Params {
            const val sourceRoots = "sourceRoots"
            const val sourceCompilationClasspath = "sourceCompilationClasspath"
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        } else {
          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
        val response: Response,
      )
    
      internal data class Failure(
        val t: Throwable?,
        val response: Response?,
        val message: String?,
      )
    
      internal object Closed
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClient()
    
      @Test
      fun tagsSeededFromRequest() {
        val request =
          Request
            .Builder()
            .url("https://square.com/".toHttpUrl())
            .tag(Integer::class, 5 as Integer)
            .tag(String::class, "hello")
            .build()
        val call = client.newCall(request)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Oct 26 14:54:46 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                }
                return true
            }
        }
    
        @get:OutputFile
        abstract val outputFile: RegularFileProperty
    
        @get:CompileClasspath
        abstract val classpath: ConfigurableFileCollection
    
        @get:Input
        abstract val excludes: ListProperty<String>
    
        @get:Input
        abstract val includes: ListProperty<String>
    
        init {
            excludes.convention(DEFAULT_EXCLUDES)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 15:53:18 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/projects/FunctionalTestProject.kt

    import model.Stage
    import model.TestCoverage
    
    const val DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE = 50
    const val DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    const val DEFAULT_MACOS_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    
    class FunctionalTestProject(
        val model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
        val testCoverage: TestCoverage,
        val stage: Stage,
    ) : Project({
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 876 bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

        @get:OutputDirectory
        abstract val warmupProjectsDirectory: DirectoryProperty
    
        @get:Input
        abstract val sdkVersions: ListProperty<SdkVersion>
    
        @get:Internal
        abstract val rootProjectDir: DirectoryProperty
    
        @get:Inject
        abstract val execOperations: ExecOperations
    
        @get:Optional
        @get:Input
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 09:24:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

    abstract class GenerateSample : DefaultTask() {
    
        @get:Input
        abstract val type: Property<String>
    
        @get:Input
        abstract val modularization: Property<ModularizationOption>
    
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        abstract val readmeTemplates: DirectoryProperty
    
        @get:OutputDirectory
        abstract val target: DirectoryProperty
    
        @get:Inject
        protected
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     */
    @Suppress("DEPRECATION")
    class HeldCertificate(
      @get:JvmName("keyPair") val keyPair: KeyPair,
      @get:JvmName("certificate") val certificate: X509Certificate,
    ) {
      @JvmName("-deprecated_certificate")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "certificate"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    class ServerSentEventReader(
      private val source: BufferedSource,
      private val callback: Callback,
    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top