Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 1,222 for rval (0.02 seconds)

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

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Apr 24 15:15:15 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

                    gradleParams =
                        """-PconfirmationCode=startCycle -PtestRun=1 "-PgitUserName=test" "-PgitUserEmail=******@****.***" $PLUGINS_PORTAL_URL_OVERRIDE"""
                }
            }
    
            val enableTriggers = VersionedSettingsBranch.fromDslContext().isMainBranch
            triggers {
                vcs {
                    branchFilter = "+:master"
                    enabled = enableTriggers
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/promotion/MergeReleaseIntoMaster.kt

    object MergeReleaseIntoMaster : BasePromotionBuildType() {
        init {
            id("Promotion_MergeReleaseIntoMaster")
            name = "Merge Release into Master"
            description = "Merge Release into Master"
    
            val vcsBranch = VersionedSettingsBranch.fromDslContext()
    
            steps {
                gradleWrapper {
                    name = "Merge Release into Master"
                    tasks =
                        listOf(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 10:38:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    But in real cases, when implementing security, you would get more benefits from using the integrated [Security utilities (the next chapter)](../security/index.md){.internal-link target=_blank}.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. tests/test_request_params/test_cookie/test_optional_str.py

            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P Val Alias",
                },
                "name": "p_val_alias",
                "in": "cookie",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     */
    interface TrailersSource {
      @Throws(IOException::class)
      fun peek(): Headers? = null
    
      @Throws(IOException::class)
      fun get(): Headers
    
      companion object {
        @JvmField
        val EMPTY: TrailersSource =
          object : TrailersSource {
            override fun peek() = Headers.EMPTY
    
            override fun get() = Headers.EMPTY
          }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. build-logic-settings/settings.gradle.kts

        }
    }
    
    pluginManagement {
        repositories {
            maven {
                url = uri("https://repo.gradle.org/gradle/enterprise-libs-release-candidates")
                content {
                    val rcAndMilestonesPattern = "\\d{1,2}?\\.\\d{1,2}?(\\.\\d{1,2}?)?-((rc-\\d{1,2}?)|(milestone-\\d{1,2}?))"
                    // GE plugin marker artifact
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 10 16:27:16 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. docs/debugging/inspect/export.go

    		return nil, e
    	}
    	res := []byte("{")
    
    	for i := uint32(0); i < sz; i++ {
    		var key, val []byte
    		key, buf, e = msgp.ReadMapKeyZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if len(key) == 0 {
    			return nil, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		// Skip data...
    		val, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if i > 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

     * to resolve a concrete type.
     */
    internal data class AnyValue(
      var tagClass: Int,
      var tag: Long,
      var constructed: Boolean = false,
      var length: Long = -1L,
      val bytes: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Click Count (0)
Back to Top