Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 363 for unexpectedly (0.31 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

          }
    
        /** Add an header line containing a field name, a literal colon, and a value. */
        fun add(line: String) =
          apply {
            val index = line.indexOf(':')
            require(index != -1) { "Unexpected header: $line" }
            add(line.substring(0, index).trim(), line.substring(index + 1))
          }
    
        /**
         * Add a header with the specified name and value. Does validation of header names and values.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @param response the response object to populate
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doRecv(Response response) throws IOException;
    
        /**
         * Skips an unexpected or unrecognized message.
         *
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip() throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            |-----END RSA PRIVATE KEY-----
            |
            """.trimMargin(),
          )
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("unexpected type: RSA PRIVATE KEY")
        }
      }
    
      @Test
      fun decodeMalformed() {
        try {
          decode(
            """
            |-----BEGIN CERTIFICATE-----
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
     * either providing your own implementation, or delegating to the provided {@code standardAdd}
     * method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      }
    
      @Test
      fun networkInterceptorThrowsRuntimeExceptionSynchronous() {
        interceptorThrowsRuntimeExceptionSynchronous(true)
      }
    
      /**
       * When an interceptor throws an unexpected exception, synchronous callers can catch it and deal
       * with it.
       */
      private fun interceptorThrowsRuntimeExceptionSynchronous(network: Boolean) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

              object : ResponseBody() {
                override fun contentType(): MediaType? = null
    
                override fun contentLength(): Long = -1L
    
                override fun source(): BufferedSource = error("unexpected call")
              },
            ).trailers(
              object : TrailersSource {
                override fun get(): Headers = headersOf("t1", "v1")
              },
            ).build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

          )
        factory.init(null as KeyStore?)
        val trustManagers = factory.trustManagers!!
        check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) {
          "Unexpected default trust managers: ${trustManagers.contentToString()}"
        }
        return trustManagers[0] as X509TrustManager
      }
    
      open fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
        return try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
     * either providing your own implementation, or delegating to the provided {@code standardAdd}
     * method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/bitrot-streaming.go

    	if len(p) == 0 {
    		return 0, nil
    	}
    	if b.finished {
    		return 0, errors.New("bitrot write not allowed")
    	}
    	if int64(len(p)) > b.shardSize {
    		return 0, errors.New("unexpected bitrot buffer size")
    	}
    	if int64(len(p)) < b.shardSize {
    		b.finished = true
    	}
    	b.h.Reset()
    	b.h.Write(p)
    	hashBytes := b.h.Sum(nil)
    	_, err := b.iow.Write(hashBytes)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. cmd/common-main.go

    			}
    			// Look for if URL has invalid values and return error.
    			if !isValidURLEndpoint((*url.URL)(u)) {
    				err := fmt.Errorf("URL contains unexpected resources, expected URL to be one of http(s)://console.example.com or as a subpath via API endpoint http(s)://minio.example.com/minio format: %v", u)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top