Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for true (0.16 sec)

  1. android-test-app/src/main/AndroidManifest.xml

      <uses-permission android:name="android.permission.INTERNET" />
    
      <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
          android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
    
    XML
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 683 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       *
       * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully.
       *     Otherwise, the decode failed.
       */
      private fun decodeLabel(
        string: String,
        pos: Int,
        limit: Int,
        result: Buffer,
      ): Boolean {
        if (!string.regionMatches(pos, PREFIX_STRING, 0, 4, ignoreCase = true)) {
          result.writeUtf8(string, pos, limit)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
            value.isNotEmpty()
          ) {
            for (header in value) {
              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

    open class RecordingConnectionListener(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) : ConnectionListener() {
      val eventSequence: Deque<ConnectionEvent> = ConcurrentLinkedDeque()
    
      private val forbiddenLocks = mutableSetOf<Any>()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap
     */
    class SimpleIdnaMappingTable internal constructor(
      internal val mappings: List<Mapping>,
    ) {
      /**
       * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed.
       */
      fun map(
        codePoint: Int,
        sink: BufferedSink,
      ): Boolean {
        val index =
          mappings.binarySearch {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

          sink = data,
          random = random,
          perMessageDeflate = false,
          noContextTakeover = false,
          minimumDeflateSize = 0L,
        )
      private val clientWriter =
        WebSocketWriter(
          isClient = true,
          sink = data,
          random = random,
          perMessageDeflate = false,
          noContextTakeover = false,
          minimumDeflateSize = 0L,
        )
    
      @Test fun serverTextMessage() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
            in 0..2 -> {
              completeEvent(id, type, data)
              return true
            }
    
            in 3..4 -> {
              source.readData(data)
            }
    
            in 5..7 -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        serverTruncatesRequestOnLongPost(https = false)
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp2() {
        enableProtocol(Protocol.HTTP_2)
        serverTruncatesRequestOnLongPost(https = true)
      }
    
      private fun serverTruncatesRequestOnLongPost(https: Boolean) {
        server.enqueue(
          MockResponse(
            body = "abc",
            socketPolicy = DoNotReadRequestBody(ErrorCode.NO_ERROR.httpCode),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

        writeTimeoutMillis: Int = 10_000,
        socketConnectTimeoutMillis: Int = 10_000,
        socketReadTimeoutMillis: Int = 10_000,
        pingIntervalMillis: Int = 10_000,
        retryOnConnectionFailure: Boolean = true,
        fastFallback: Boolean = true,
        routeDatabase: RouteDatabase = RouteDatabase(),
      ) : this(
        RealConnectionPool(
          taskRunner = taskRunner,
          maxIdleConnections = maxIdleConnections,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

          }
        }
    
      val basicConstraints: Extension
        get() {
          return tbsCertificate.extensions.first {
            it.id == ObjectIdentifiers.BASIC_CONSTRAINTS
          }
        }
    
      /** Returns true if the certificate was signed by [issuer]. */
      @Throws(SignatureException::class)
      fun checkSignature(issuer: PublicKey): Boolean {
        val signedData = CertificateAdapters.tbsCertificate.toDer(tbsCertificate)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top