Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for position (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          }
        }
    
        // In theory, wildcard rules are not restricted to having the wildcard in the leftmost position.
        // In practice, wildcards are always in the leftmost position. For now, this implementation
        // cheats and does not attempt every possible permutation. Instead, it only considers wildcards
        // in the leftmost position. We assert this fact when we generate the public suffix file. If
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      /** Returns the field at `position`. */
      fun name(index: Int): String = commonName(index)
    
      /** Returns the value at `index`. */
      fun value(index: Int): String = commonValue(index)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *    no pinning will be enforced if additional prefixes are present, or if no prefixes are present.
     *
     * Note that any other form is unsupported. You may not use asterisks in any position other than
     * the leftmost label.
     *
     * If multiple patterns match a hostname, any match is sufficient. For example, suppose pin A
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      @Test fun `boolean`() {
        val bytes = "0101FF".decodeHex()
        assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true)
        assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes)
      }
    
      @Test fun `positive integer`() {
        val bytes = "020132".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.toDer(50L)).isEqualTo(bytes)
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(50L)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
     * entries are added to the array, starting in the last position moving forward. When the array
     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

                c == ':'.code
            )
            if (dateCharacter == !invert) return i
          }
          return limit
        }
    
        /**
         * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or
         * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE].
         *
         * @throws NumberFormatException if [s] is not an integer of any precision.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          // TODO: register alternate service.
        }
      }
    
      /** Even, positive numbered streams are pushed streams in HTTP/2. */
      internal fun pushedStream(streamId: Int): Boolean = streamId != 0 && streamId and 1 == 0
    
      internal fun pushRequestLater(
        streamId: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        assertFailsWith<IllegalArgumentException> {
          builder.minWebSocketMessageToCompress(-1024)
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("minWebSocketMessageToCompress must be positive: -1024")
        }
      }
    
      companion object {
        private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
        private val DEFAULT_COOKIE_HANDLER = CookieManager.getDefault()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *     first access and will be created if it does not exist.
     * @param directory a writable directory.
     * @param valueCount the number of values per cache entry. Must be positive.
     * @param maxSize the maximum number of bytes this cache should use to store.
     */
    class DiskLruCache(
      fileSystem: FileSystem,
      /** Returns the directory where this cache stores its data. */
      val directory: Path,
    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)
Back to top