Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Unassigned (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

     *
     * [RFC 3454]: https://datatracker.ietf.org/doc/html/rfc3454
     * [RFC 3491]: https://datatracker.ietf.org/doc/html/rfc3491
     */
    class Stringprep(
      /** Unassigned code points. */
      val unassigned: CodePointSet,
      /** Mappings. Note table B.3 is not used in RFC 3491. */
      val mapping: CodePointMapping,
      /** Prohibited code points. */
      val prohibitSet: CodePointSet,
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

                },
          )
        val randalcatSet = readCodePointSet(base / "rfc3454.D.1.txt")
        val lcatSet = readCodePointSet(base / "rfc3454.D.2.txt")
        return Stringprep(
          unassigned = unassigned,
          mapping = mapping,
          prohibitSet = prohibitSet,
          randalcatSet = randalcatSet,
          lcatSet = lcatSet,
        )
      }
    
      /**
       * Reads a set of range lines like the following:
       *
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

      @Test fun readRfc3491FromResources() {
        val reader = StringprepTablesReader(FileSystem.RESOURCES)
        val nameprep = reader.readNameprep("/okhttp3/internal/idn".toPath())
        assertThat((nameprep.unassigned as RangeListCodePointSet).ranges).hasSize(396)
        assertThat((nameprep.mapping as MappingListCodePointMapping).mappings).hasSize(1398)
        assertThat((nameprep.prohibitSet as RangeListCodePointSet).ranges).hasSize(78)
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

    class StringprepTest {
      private val reader = StringprepTablesReader(FileSystem.RESOURCES)
      private val rfc3491 = reader.readNameprep("/okhttp3/internal/idn".toPath())
      private val stringPrep =
        Stringprep(
          unassigned = RangeListCodePointSet(listOf()),
          mapping = rfc3491.mapping,
          prohibitSet = rfc3491.prohibitSet,
          randalcatSet = rfc3491.randalcatSet,
          lcatSet = rfc3491.lcatSet,
        )
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

       *  * 8 bytes: *n*: upstream data size
       *  * 8 bytes: *m*: metadata size
       *  * *n* bytes: upstream data
       *  * *m* bytes: metadata
       *
       * This is closed and assigned to null when the last source is closed and no further sources
       * are permitted.
       */
      var file: RandomAccessFile?,
      /**
       * Null once the file has a complete copy of the upstream bytes. Only the [upstreamReader] thread
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        private set
      private var timeoutEarlyExit = false
    
      /**
       * This is the same value as [exchange], but scoped to the execution of the network interceptors.
       * The [exchange] field is assigned to null when its streams end, which may be before or after the
       * network interceptors return.
       */
      internal var interceptorScopedExchange: Exchange? = null
        private set
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      internal var allocationLimit = 1
        private set
    
      /** Current calls carried by this connection. */
      val calls = mutableListOf<Reference<RealCall>>()
    
      /** Timestamp when `allocations.size()` reached zero. Also assigned upon initial connection. */
      var idleAtNs = Long.MAX_VALUE
    
      /**
       * Returns true if this is an HTTP/2 connection. Such connections can be used in multiple HTTP
       * requests simultaneously.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    val IANA_CSV_PATTERN = "\"0x(\\w\\w),0x(\\w\\w)\",(\\w+).*".toRegex()
    
    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        return this
      }
    
      /** Returns true if a value has been assigned for the setting `id`. */
      fun isSet(id: Int): Boolean {
        val bit = 1 shl id
        return set and bit != 0
      }
    
      /** Returns the value for the setting `id`, or 0 if unset. */
      operator fun get(id: Int): Int = values[id]
    
      /** Returns the number of settings that have values assigned. */
      fun size(): Int = Integer.bitCount(set)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      /** The body of this POST request. This may be truncated. */
      val body: Buffer,
      /**
       * The index of this request on its HTTP connection. Since a single HTTP connection may serve
       * multiple requests, each request is assigned its own sequence number.
       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
Back to top