Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for props (0.17 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        internal const val NAME = "okcurl"
        internal const val DEFAULT_TIMEOUT = -1
    
        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

          .apply {
            setProperty(
              "${Constants.PLUGIN}.$REPO_NAME",
              LocalIndexedRepo::class.java.getName() +
                "; ${LocalIndexedRepo.PROP_NAME} = '$REPO_NAME'" +
                "; ${LocalIndexedRepo.PROP_LOCAL_DIR} = '$repoDir'",
            )
            refresh()
            prepareWorkspace()
          }
      }
    
      private fun Workspace.prepareWorkspace() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      }
    
      override fun toString(): String = "MockWebServer[$portField]"
    
      @Throws(IOException::class)
      override fun close() = shutdown()
    
      /** A buffer wrapper that drops data after [bodyLimit] bytes. */
      private class TruncatingBuffer(
        private var remainingByteCount: Long,
      ) : Sink {
        val buffer = Buffer()
        var receivedByteCount = 0L
    
        @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        val redundantOpCompactThreshold = 2000
        return redundantOpCount >= redundantOpCompactThreshold &&
          redundantOpCount >= lruEntries.size
      }
    
      /**
       * Drops the entry for [key] if it exists and can be removed. If the entry for [key] is currently
       * being edited, that edit will complete normally but its value will not be stored.
       *
       * @return true if an entry was removed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2600..2613    ; valid                  ;      ; NV8    # 1.1  BLACK SUN WITH RAYS..SALTIRE
    2614..2615    ; valid                  ;      ; NV8    # 4.0  UMBRELLA WITH RAIN DROPS..HOT BEVERAGE
    2616..2617    ; valid                  ;      ; NV8    # 3.2  WHITE SHOGI PIECE..BLACK SHOGI PIECE
    2618          ; valid                  ;      ; NV8    # 4.1  SHAMROCK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            i = pathSegmentDelimiterOffset
            if (segmentHasTrailingSlash) i++
          }
        }
    
        /** Adds a path segment. If the input is ".." or equivalent, this pops a path segment. */
        private fun push(
          input: String,
          pos: Int,
          limit: Int,
          addTrailingSlash: Boolean,
          alreadyEncoded: Boolean,
        ) {
          val segment =
    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)
  7. CHANGELOG.md

        other engines on other platforms. [Ktor] does this pretty well today!
    
     *  Breaking: Use `kotlin.time.Duration` in APIs like `OkHttpClient.Builder.callTimeout()`. This
        update also drops support for the `DurationUnit` functions introduced in earlier alpha releases
        of OkHttp 5.
    
     *  Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top