Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 777 for buffer (0.15 sec)

  1. src/main/java/jcifs/dcerpc/rpc.java

                    _src.dec_ndr_long();
                    int _bufferl = _src.dec_ndr_long();
                    int _bufferi = _src.index;
                    _src.advance(2 * _bufferl);
    
                    if ( this.buffer == null ) {
                        if ( _buffers < 0 || _buffers > 0xFFFF )
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                _dst.enc_ndr_referent(this.name.buffer, 1);
                _dst.enc_ndr_short(this.dns_domain.length);
                _dst.enc_ndr_short(this.dns_domain.maximum_length);
                _dst.enc_ndr_referent(this.dns_domain.buffer, 1);
                _dst.enc_ndr_short(this.dns_forest.length);
                _dst.enc_ndr_short(this.dns_forest.maximum_length);
                _dst.enc_ndr_referent(this.dns_forest.buffer, 1);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.getSource()
        val buffer = Buffer()
        buffer.writeAll(source)
        assertThat(source.read(buffer, 1)).isEqualTo(-1)
        assertThat(buffer.size).isEqualTo(150)
        val synStream = peer.takeFrame()
        assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)
        for (i in 0..2) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionServicePacket.java

            writeInt2(this.length, dst, dstIndex);
            return HEADER_LENGTH;
        }
    
    
        int readHeaderWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) {
            this.type = buffer[ bufferIndex++ ] & 0xFF;
            this.length = ( ( buffer[ bufferIndex ] & 0x01 ) << 16 ) + readInt2(buffer, bufferIndex + 1);
            return HEADER_LENGTH;
        }
    
    
        abstract int writeTrailerWireFormat ( byte[] dst, int dstIndex );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            }
    
            buffer.append("----------").append(LS);
    
            int size = artifacts.size();
    
            buffer.append(size).append(" required artifact");
    
            if (size > 1) {
                buffer.append("s are");
            } else {
                buffer.append(" is");
            }
    
            buffer.append(" missing.").append(LS).append(LS).append("for artifact: ");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSink
    import okio.ForwardingSink
    import okio.Sink
    import okio.buffer
    
    /** Rewrites the request body sent to the server to be all uppercase.  */
    class UppercaseRequestInterceptor : Interceptor {
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        if (readBuffer.remaining() <= buffer.remaining()) {
          buffer.put(readBuffer);
          munchIfFull();
          return this;
        }
    
        // First add just enough to fill buffer size, and munch that
        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
        munch(); // buffer becomes empty here, since chunkSize divides bufferSize
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. cmd/site-replication-metrics_gen_test.go

    func BenchmarkEncodeRStat(b *testing.B) {
    	v := RStat{}
    	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 BenchmarkDecodeRStat(b *testing.B) {
    	v := RStat{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. internal/grid/msg_gen_test.go

    	v := connectReq{}
    	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 BenchmarkDecodeconnectReq(b *testing.B) {
    	v := connectReq{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 9 ) {
                throw new SMBProtocolDecodingException("Structure size != 9");
            }
    
            this.sessionFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
Back to top