Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for resize (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      }
    
      /**
       * Returns the number of bytes currently being used to store the values in this cache. This may be
       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
    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)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          apply {
            keyAlgorithm = "EC"
            keySize = 256
          }
    
        /**
         * Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of
         * security. RSA keys are interoperable with very old clients that don't support ECDSA.
         */
        fun rsa2048() =
          apply {
            keyAlgorithm = "RSA"
            keySize = 2048
          }
    
        fun build(): HeldCertificate {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
        deflaterSink.write(buffer, buffer.size)
        deflaterSink.flush()
    
        if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
          val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
          deflatedBytes.readAndWriteUnsafe().use { cursor ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top