Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,217 for differ (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

         */
        @Test
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[10];
            int result = netServerEnum2.readSetupWireFormat(buffer, 0, 10);
            assertEquals(0, result);
        }
    
        /**
         * Test the readParametersWireFormat method.
         */
        @Test
        void testReadParametersWireFormat() {
            byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
         * @throws NdrException if decoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
         * @throws NdrException if decoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(ByteBuffer buffer) {
          ByteOrder bo = buffer.order();
          buffer.order(ByteOrder.LITTLE_ENDIAN);
          while (buffer.remaining() >= 4) {
            putInt(buffer.getInt());
          }
          while (buffer.hasRemaining()) {
            putByte(buffer.get());
          }
          buffer.order(bo);
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Java8Compatibility.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            bufferIndex += 2;
            reserved2 = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Read the transform (only expecting one)
            if (transformCount > 0) {
                rdmaTransformId = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                // Skip reserved fields at bufferIndex + 2 and bufferIndex + 4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

    import okhttp3.internal.writeMedium
    import okio.Buffer
    import okio.BufferedSink
    
    /** Writes HTTP/2 transport frames. */
    @Suppress("NAME_SHADOWING")
    class Http2Writer(
      private val sink: BufferedSink,
      private val client: Boolean,
    ) : Closeable,
      Lockable {
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

    import mockwebserver3.MockResponseBody
    import okio.Buffer
    import okio.BufferedSink
    
    internal fun Buffer.toMockResponseBody(): MockResponseBody {
      val defensiveCopy = clone()
      return BufferMockResponseBody(defensiveCopy)
    }
    
    internal class BufferMockResponseBody(
      val buffer: Buffer,
    ) : MockResponseBody {
      override val contentLength = buffer.size
    
      override fun writeTo(sink: BufferedSink) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 16) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[bufferIndex + 2];
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top