Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for confirm (0.28 sec)

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

        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
        for (dataString in listOf<String>(compactTable.sections, compactTable.ranges)) {
          for (codePoint in dataString.codePoints()) {
            assertThat(codePoint and 0x7f).isEqualTo(codePoint)
          }
        }
    
        // Confirm the sections are increasing.
        val rangesIndices = mutableListOf<Int>()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

                else -> {
                  connectionUser.acquireConnectionNoEvents(connection)
                  true
                }
              }
            }
          if (!acquired) continue
    
          // Confirm the connection is healthy and return it.
          if (connection.isHealthy(doExtensiveHealthChecks)) return connection
    
          // In the second synchronized block, release the unhealthy acquired connection. We're also on
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  3. SECURITY.md

    1. Once the security report is received one member of the security team tries to verify and reproduce
       the issue and determines the impact it has.
    2. A member of the security team will respond and either confirm or reject the security report.
       If the report is rejected the response explains why.
    3. Code is audited to find any potential similar problems.
    4. Fixes are prepared for the latest release.
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        expectedEvents += "ResponseBodyEnd"
        expectedEvents += "ConnectionReleased"
        expectedEvents += "CallEnd"
        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

          )
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      /** Confirm suppressed exceptions that occur while connecting are returned. */
      @Test fun connectExceptionsAreReturnedAsSuppressed() {
        val proxySelector = RecordingProxySelector()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.setFaultyDelete(cacheDir / "a.1", true)
        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("a")).isNull()
    
        // Confirm the partial snapshot is not returned after a successful trim.
        filesystem.setFaultyDelete(cacheDir / "a.1", false)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

                )
                text(
                    "confirmationCode",
                    "",
                    label = "Confirmation Code",
                    description = "Enter the value '$requiredConfirmationCode' (no quotes) to confirm the promotion",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false
                )
                text(
                    "gitUserName",
                    "",
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      private val forbiddenLocks = mutableSetOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

                ifNoneMatch.compareAndSet(null, chain.request().header("If-None-Match"))
                chain.proceed(chain.request())
              },
            )
            .build()
    
        // Confirm the value is cached and intercepted.
        assertThat(get(url).body.string()).isEqualTo("A")
        assertThat(ifNoneMatch.get()).isEqualTo("v1")
      }
    
      @Test
      fun networkInterceptorNotInvokedForFullyCached() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

        assertThat(request.tag(String::class)).isSameAs(stringTag)
    
        // TODO check for Jvm or handle Long/long correctly
    //    assertThat(request.tag(Long::class)).isSameAs(longTag)
      }
    
      /** Confirm that we don't accidentally share the backing map between objects. */
      @Test
      fun tagsAreImmutable() {
        val builder =
          Request.Builder()
            .url("https://square.com")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top