Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 842 for buffers (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        protected void haveResponse ( byte[] buffer, int start, int len ) throws SMBProtocolDecodingException {
            if ( isRetainPayload() ) {
                byte[] payload = new byte[len];
                System.arraycopy(buffer, start, payload, 0, len);
                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, start, len) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4_test.go

    		expectedErr error
    	}
    	tests := []testCase{
    		// Test - 1 valid buffer with CRLF.
    		{bytes.NewReader([]byte("\r\n")), nil},
    		// Test - 2 invalid buffer with no CRLF.
    		{bytes.NewReader([]byte("he")), errMalformedEncoding},
    		// Test - 3 invalid buffer with more characters.
    		{bytes.NewReader([]byte("he\r\n")), errMalformedEncoding},
    		// Test - 4 smaller buffer than expected.
    		{bytes.NewReader([]byte("h")), io.ErrUnexpectedEOF},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStats.java

       * versions.
       */
      public byte[] toByteArray() {
        ByteBuffer buffer = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN);
        xStats.writeTo(buffer);
        yStats.writeTo(buffer);
        buffer.putDouble(sumOfProductsOfDeltas);
        return buffer.array();
      }
    
      /**
       * Creates a {@link PairedStats} instance from the given byte representation which was obtained by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/Buffer;->readShort()S
    HSPLokio/Buffer;->readString(JLjava/nio/charset/Charset;)Ljava/lang/String;
    HSPLokio/Buffer;->readString(Ljava/nio/charset/Charset;)Ljava/lang/String;
    HSPLokio/Buffer;->skip(J)V
    HSPLokio/Buffer;->writableSegment$okio(I)Lokio/Segment;
    HSPLokio/Buffer;->write(Lokio/Buffer;J)V
    HSPLokio/Buffer;->write(Lokio/ByteString;)Lokio/Buffer;
    HSPLokio/Buffer;->write([B)Lokio/Buffer;
    HSPLokio/Buffer;->write([BII)Lokio/Buffer;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. lib/wasm/wasm_exec.js

    						const n = this.mem.getInt32(sp + 24, true);
    						fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));
    					},
    
    					// func resetMemoryDataView()
    					"runtime.resetMemoryDataView": (sp) => {
    						sp >>>= 0;
    						this.mem = new DataView(this._inst.exports.mem.buffer);
    					},
    
    					// func nanotime1() int64
    					"runtime.nanotime1": (sp) => {
    						sp >>>= 0;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Response.java

        void setMid ( long k );
    
    
        /**
         * @return mid
         */
        long getMid ();
    
    
        /**
         * 
         * @param buffer
         * @param i
         * @param size
         * @return whether signature verification is successful
         */
        boolean verifySignature ( byte[] buffer, int i, int size );
    
    
        /**
         * @return whether signature verification failed
         */
        boolean isVerifyFailed ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            byte[] buffer = new byte[BUFFER_SIZE];
            int type;
            InputStream in;
    
            try {
                in = super.getInputStream();
                OutputStream out = super.getOutputStream();
    
                SessionServicePacket ssp0 = new SessionRequestPacket( calledName, NbtAddress.localhost.hostName );
                out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 ));
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/main/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 {
      internal val lock: ReentrantLock = ReentrantLock()
    
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops_gen_test.go

    	v := healingTracker{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodehealingTracker(b *testing.B) {
    	v := healingTracker{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      override fun close() = shutdown()
    
      /** A buffer wrapper that drops data after [bodyLimit] bytes. */
      private class TruncatingBuffer(
        private var remainingByteCount: Long,
      ) : Sink {
        val buffer = Buffer()
        var receivedByteCount = 0L
    
        @Throws(IOException::class)
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top