Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 253 for init (0.14 sec)

  1. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun -deprecated_utf8Body ()Ljava/lang/String;
    	public fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;)V
    	public fun <init> (Ljava/lang/String;Lokhttp3/Headers;Ljava/util/List;JLokio/Buffer;ILjava/net/Socket;Ljava/io/IOException;)V
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    !!! tip
        There are several `__init__.py` files: one in each directory or subdirectory.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/bigger-applications.md

    ## 一个文件结构示例
    
    假设你的文件结构如下:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    !!! tip
        上面有几个 `__init__.py` 文件:每个目录或子目录中都有一个。
    
        这就是能将代码从一个文件导入到另一个文件的原因。
    
        例如,在 `app/main.py` 中,你可以有如下一行:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  4. docs/features/https.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient
    
          init {
            val trustManager = trustManagerForCertificates(trustedCertificatesInputStream())
            val sslContext = SSLContext.getInstance("TLS")
            sslContext.init(null, arrayOf<TrustManager>(trustManager), null)
            val sslSocketFactory = sslContext.socketFactory
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  5. Makefile.core.mk

    endif
    
    PROW_ARTIFACTS_BASE ?= https://gcsweb.istio.io/gcs/istio-prow
    
    include tools/proto/proto.mk
    
    .PHONY: default
    default: init build test
    
    .PHONY: init
    # Downloads envoy, based on the SHA defined in the base pilot Dockerfile
    init: $(TARGET_OUT)/istio_is_init init-ztunnel-rs
    	@mkdir -p ${TARGET_OUT}/logs
    	@mkdir -p ${TARGET_OUT}/release
    
    # I tried to make this dependent on what I thought was the appropriate
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    import org.junit.jupiter.api.Test
    import projects.CheckProject
    import projects.FunctionalTestProject
    import projects.StageProject
    import java.io.File
    
    class CIConfigIntegrationTests {
        init {
            DslContext.initForTest()
        }
    
        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        private val model = CIBuildModel(
            projectId = "Check",
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeFalse(isGraalVMImage())
        }
    
        fun assumeJdkVersion(majorVersion: Int) {
          assumeNotAndroid()
          assumeNotGraalVMImage()
          assumeTrue(PlatformVersion.majorVersion == majorVersion)
        }
    
        fun androidSdkVersion(): Int? {
          return if (Platform.isAndroid) {
            Build.VERSION.SDK_INT
          } else {
            null
          }
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

         */
        private fun isFreshnessLifetimeHeuristic(): Boolean {
          return cacheResponse!!.cacheControl.maxAgeSeconds == -1 && expires == null
        }
    
        init {
          if (cacheResponse != null) {
            this.sentRequestMillis = cacheResponse.sentRequestAtMillis
            this.receivedResponseMillis = cacheResponse.receivedResponseAtMillis
            val headers = cacheResponse.headers
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public abstract fun dispatch (Lmockwebserver3/RecordedRequest;)Lmockwebserver3/MockResponse;
    	public fun peek ()Lmockwebserver3/MockResponse;
    	public fun shutdown ()V
    }
    
    public final class mockwebserver3/MockResponse {
    	public static final field Companion Lmockwebserver3/MockResponse$Companion;
    	public fun <init> ()V
    	public fun <init> (I)V
    	public fun <init> (ILokhttp3/Headers;)V
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 03 21:59:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top