Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 974 for Unexpected (0.05 sec)

  1. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     * to the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change
     * the behaviour of {@link #offer} which can lead to unexpected behaviour. In this case, you should
     * override {@code offer} as well, either providing your own implementation, or delegating to the
     * provided {@code standardOffer} method.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/RequestParamTest.java

            case "NO_RETRY":
                assertEquals(2, rp.ordinal());
                break;
            case "RETAIN_PAYLOAD":
                assertEquals(3, rp.ordinal());
                break;
            default:
                fail("Unexpected name under test: " + name);
            }
        }
    
        // Edge: valueOf is case-sensitive and does not accept unknown identifiers
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        @Override
        public void decode(final NdrBuffer buf) throws NdrException {
            decode_header(buf);
    
            if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) {
                throw new NdrException("Unexpected ptype: " + ptype);
            }
    
            if (ptype == 2 || ptype == 3) { /* Response or Fault */
                alloc_hint = buf.dec_ndr_long();
                buf.dec_ndr_short(); /* context id */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .build()
        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must call proceed() exactly once",
          )
        }
      }
    
      @Test
      fun networkInterceptorsCannotCallProceedMultipleTimes() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

            Request
              .Builder()
              .url(server!!.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isIn("timeout", "Read timed out")
        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            int n = readn(in, buffer, bufferIndex, HEADER_LENGTH);
            if (n != HEADER_LENGTH) {
                if (n == -1) {
                    return -1;
                }
                throw new IOException("unexpected EOF reading netbios session header");
            }
            return buffer[bufferIndex] & 0xFF;
        }
    
        int type, length;
    
        /**
         * Writes the packet to the specified byte array in wire format.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     * 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: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

        if (streamId == 0) throw IOException("TYPE_RST_STREAM streamId == 0")
        val errorCodeInt = source.readInt()
        val errorCode =
          ErrorCode.fromHttp2(errorCodeInt) ?: throw IOException(
            "TYPE_RST_STREAM unexpected error code: $errorCodeInt",
          )
        handler.rstStream(streamId, errorCode)
      }
    
      @Throws(IOException::class)
      private fun readSettings(
        handler: Handler,
        length: Int,
        flags: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0x20 at 1 in header name: a b")
        }
      }
    
      @Test
      fun requestHeaderNameWithTabForbidden() {
        assertFailsWith<IllegalArgumentException> {
          Request.Builder().addHeader("a\tb", "c")
        }.also { expected ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/ASN1Util.java

            final int ftag = in.read();
            final int tag = readTagNumber(in, ftag);
            if (tag != expectTag) {
                throw new IOException("Unexpected tag " + tag);
            }
            final int length = readLength(in, limit, false);
            final byte[] content = new byte[length];
            in.read(content);
            return content;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top