Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 776 for val3 (0.04 seconds)

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

  1. 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) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. 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");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 08 10:56:09 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. 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
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

    /** Writes HTTP/2 transport frames. */
    @Suppress("NAME_SHADOWING")
    class Http2Writer(
      private val sink: BufferedSink,
      private val client: Boolean,
    ) : Closeable,
      Lockable {
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
      private var closed: Boolean = false
      val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
    
      @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PerCallSettings {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client
            .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. schema/utils.go

    		k := strings.TrimSpace(strings.ToUpper(values[0]))
    		if len(values) >= 2 {
    			val := strings.Join(values[1:], ":")
    			val = strings.ReplaceAll(val, `\"`, `"`)
    			settings[k] = val
    		} else if k != "" {
    			settings[k] = k
    		}
    	}
    
    	return settings
    }
    
    func toColumns(val string) (results []string) {
    	if val != "" {
    		for _, v := range strings.Split(val, ",") {
    			results = append(results, strings.TrimSpace(v))
    		}
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

    /** This extends [X509TrustManager] for Android to disable verification for a set of hosts. */
    internal class InsecureAndroidTrustManager(
      private val delegate: X509TrustManager,
      private val insecureHosts: List<String>,
    ) : X509TrustManager {
      private val checkServerTrustedMethod: Method? =
        try {
          delegate::class.java.getMethod(
            "checkServerTrusted",
            Array<X509Certificate>::class.java,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    
        private
        fun checkOutputContains(call: MethodCallExpression) {
            val receiver = call.receiver!!
            if (receiver is PropertyExpression) {
                if (receiver.propertyAsString == "output") {
                    val objectExpr = receiver.objectExpression!!
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                        ]
                    }
                """.trimIndent()
            )
    
            val initialVerifyResult = run(":verifyAcceptedApiChangesOrdering").buildAndFail()
            assertEquals(TaskOutcome.FAILED, initialVerifyResult.task(":verifyAcceptedApiChangesOrdering")!!.outcome)
    
            val sortingResult = run(":sortAcceptedApiChanges").build()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

    interface ExchangeCodec {
      /** The connection or CONNECT tunnel that owns this codec. */
      val carrier: Carrier
    
      /** Returns true if the response body and (possibly empty) trailers have been received. */
      val isResponseComplete: Boolean
    
      /** The socket that carries this exchange. */
      val socket: Socket
    
      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top