Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 734 for val3 (0.01 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

     * limitations under the License.
     */
    package okhttp3
    
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 980 bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeGetTest.kt

    open class MediaTypeGetTest : MediaTypeTest() {
      override fun parse(string: String): MediaType = string.toMediaType()
    
      override fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        val e =
          assertFailsWith<IllegalArgumentException> {
            parse(string)
          }
        assertEquals(exceptionMessage, e.message)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
        /** A cookie jar that never accepts any cookies. */
        @JvmField
        val NO_COOKIES: CookieJar = NoCookies()
    
        private class NoCookies : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

      @Before
      fun setContext() {
        // Ensure we aren't succeeding because of another test
        Platform.resetForTests()
        PlatformRegistry.applicationContext = null
      }
    
      @Test
      fun testWithoutContext() {
        val httpUrl = "https://www.google.co.uk".toHttpUrl()
        assertFailure { httpUrl.topPrivateDomain() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_request_params/test_header/test_optional_list.py

                "schema": {
                    "anyOf": [
                        {"items": {"type": "string"}, "type": "array"},
                        {"type": "null"},
                    ],
                    "title": "P Val Alias",
                },
                "name": "p_val_alias",
                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. helm/minio/templates/statefulset.yaml

                - name: MINIO_IDENTITY_OPENID_DISPLAY_NAME
                  value: {{ .Values.oidc.displayName }}
                {{- end }}
                {{- range $key, $val := .Values.environment }}
                - name: {{ $key }}
                  value: {{ tpl $val $ | quote }}
                {{- end }}
              resources: {{- toYaml .Values.resources | nindent 12 }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      operator fun plus(other: EventListener): EventListener {
        val left =
          when {
            this === NONE -> return other
            this is AggregateEventListener -> this.eventListeners
            else -> arrayOf(this)
          }
        val right =
          when {
            other === NONE -> return this
            other is AggregateEventListener -> other.eventListeners
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.RequestBody
    import okio.BufferedSink
    import okio.GzipSink
    import okio.buffer
    
    internal class GzipRequestBody(
      val delegate: RequestBody,
    ) : RequestBody() {
      override fun contentType() = delegate.contentType()
    
      // We don't know the compressed length in advance!
      override fun contentLength() = -1L
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

          return asInt();
        }
        // If we have less than 4 bytes, use them all.
        byte[] bytes = getBytesInternal();
        int val = bytes[0] & 0xFF;
        for (int i = 1; i < bytes.length; i++) {
          val |= (bytes[i] & 0xFF) << (i * 8);
        }
        return val;
      }
    
      /**
       * Returns a string containing each byte of {@link #asBytes}, in order, as a two-digit unsigned
       * hexadecimal number in lower case.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(
      val httpCode: Int,
    ) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top