Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for int (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

         * `input` does not have a scheme that starts at `pos`.
         */
        private fun schemeDelimiterOffset(
          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          if (limit - pos < 2) return -1
    
          val c0 = input[pos]
          if ((c0 < 'a' || c0 > 'z') && (c0 < 'A' || c0 > 'Z')) return -1 // Not a scheme start char.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      val callTimeoutMillis: Int = builder.callTimeout
    
      /** Default connect timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("connectTimeoutMillis")
      val connectTimeoutMillis: Int = builder.connectTimeout
    
      /** Default read timeout (in milliseconds). The default is 10 seconds. */
      @get:JvmName("readTimeoutMillis")
      val readTimeoutMillis: Int = builder.readTimeout
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      private lateinit var cache: DiskLruCache
      private val toClose = ArrayDeque<DiskLruCache>()
    
      private fun createNewCache() {
        createNewCacheWithSize(Int.MAX_VALUE)
      }
    
      private fun createNewCacheWithSize(maxSize: Int) {
        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {
            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                // cannot do so:
                // ```
                // fun x(c: Char) {}
                // fun call(x: kotlin.Int) {
                //   operator fun Int.invoke(a: Int) {}
                //   operator fun Int.invoke(b: Boolean) {}
                //   <expr>x()</expr>
                // }
                // ```
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("abc")
      }
    
      /** Wait for the client to receive `dataLength` DATA frames.  */
      private fun waitForDataFrames(dataLength: Int) {
        val expectedFrameCount = dataLength / 16384
        var dataFrameCount = 0
        while (dataFrameCount < expectedFrameCount) {
          val log = testLogHandler.take()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      companion object {
        fun roundUp(
          num: Int,
          divisor: Int,
        ): Int = (num + divisor - 1) / divisor
    
        val IGNORE =
          object : PushObserver {
            override fun onRequest(
              streamId: Int,
              requestHeaders: List<Header>,
            ) = false
    
            override fun onHeaders(
              streamId: Int,
              responseHeaders: List<Header>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *       }
         *     }
         *   }
         */
        private enum class PartialOrderOfScope(
            val scopeDistanceLevel: Int // Note: Don't use the built-in ordinal since there are some scopes that are at the same level.
        ) {
            Local(1),
            ScriptDeclarations(2),
            ClassUseSite(2),
            NestedClassifier(2),
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  8. docs/ru/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    В этой же директории создайте файл `Dockerfile` и заполните его:
    
    ```{ .dockerfile .annotate }
    # (1)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  9. .bazelrc

    build:cross_compile_linux_arm64_pycpp_test --config=linux_arm64_pycpp_test
    # Tests that fail only when cross-compiled
    build:cross_compile_linux_arm64_pycpp_test -//tensorflow/compiler/mlir/quantization/stablehlo:convert_tf_quant_to_mhlo_int_test
    # MACOS ARM64 PYCPP
    test:macos_arm64_pycpp_test_filters --test_tag_filters=-no_oss,-oss_excluded,-oss_serial,-no_oss_py39,-no_oss_py310,-nomac,-no_mac,-mac_excluded,-v1only,-gpu,-tpu,-benchmark-test,-no_mac_arm64,-no_aarch64
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top