Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 962 for buffers (0.05 sec)

  1. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            throw new NoSuchFieldException("Field " + fieldName + " not found");
        }
    
        private String readNullTerminatedString(byte[] buffer, int offset) {
            int end = offset;
            while (end < buffer.length && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

                bufferIndex += 2;
                bufferIndex += 2; // reserved
                writeInt2(dataLength, buffer, bufferIndex);
                bufferIndex += 2;
                writeInt2(dataOffset, buffer, bufferIndex);
            }
    
            @Test
            public void testReadParameterWordsWireFormat() {
                int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/rpcTest.java

            void testUnicodeStringEncodeNullBuffer() throws NdrException {
                // Given: A unicode string with null buffer
                rpc.unicode_string unicodeString = new rpc.unicode_string();
                unicodeString.length = (short) 0;
                unicodeString.maximum_length = (short) 0;
                unicodeString.buffer = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
         * Gets the receive buffer size of the underlying SMB connection
         * @return the receive buffer size of the underlying connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/SessionServicePacket.java

            return HEADER_LENGTH;
        }
    
        int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) {
            this.type = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            this.length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
            return HEADER_LENGTH;
        }
    
        abstract int writeTrailerWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Gets the negotiated send buffer size.
         *
         * @return the send buffer size
         */
        int getSendBufferSize();
    
        /**
         * Gets the negotiated receive buffer size.
         *
         * @return the receive buffer size
         */
        int getReceiveBufferSize();
    
        /**
         * Gets the negotiated maximum transaction buffer size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top