Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 906 for buffer1 (0.29 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          else -> "MockWebServer{new}"
        }
      }
    
      /** 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x40;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // maxRawSize
            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x10;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // sessionKey
            buffer[bufferIndex++] = 1;
            buffer[bufferIndex++] = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		} else {
    			buffer = globalBytePoolCap.Load().Get()
    			defer globalBytePoolCap.Load().Put(buffer)
    		}
    	case size < fi.Erasure.BlockSize:
    		// No need to allocate fully fi.Erasure.BlockSize buffer if the incoming data is smaller.
    		buffer = make([]byte, size, 2*size+int64(fi.Erasure.ParityBlocks+fi.Erasure.DataBlocks-1))
    	}
    
    	if len(buffer) > int(fi.Erasure.BlockSize) {
    		buffer = buffer[:fi.Erasure.BlockSize]
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Test reading parameters from a properly formatted buffer
            byte[] buffer = new byte[20];
    
            // Set up the buffer with test data
            // sid (2 bytes)
            buffer[0] = 0x01;
            buffer[1] = 0x00;
            // numEntries (2 bytes)
            buffer[2] = 0x05;
            buffer[3] = 0x00;
            // isEndOfSearch (2 bytes, bit 0 of first byte)
            buffer[4] = 0x01; // end of search = true
            buffer[5] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    bufferIndex += 2;
                    pathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    altPathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    nodeOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
    
                    path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

         *
         * @param buffer memory buffer to register
         * @param access access permissions
         */
        public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) {
            this.buffer = buffer;
            this.accessFlags = access;
            this.localKey = generateLocalKey();
            this.remoteKey = generateRemoteKey();
            this.address = getBufferAddress(buffer);
            this.valid = true;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

                this.dataWireFormatReturn = value;
            }
    
            void setSetupBuffer(byte[] buffer) {
                this.setupBuffer = buffer;
            }
    
            void setParametersBuffer(byte[] buffer) {
                this.parametersBuffer = buffer;
            }
    
            void setDataBuffer(byte[] buffer) {
                this.dataBuffer = buffer;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        @Override
        public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return decode(buffer, bufferIndex, false);
        }
    
        /**
         * Decodes the SMB2 message from the buffer.
         *
         * @param buffer the buffer containing the message
         * @param bufferIndex the starting position in the buffer
         * @param compound whether this is part of a compound chain
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top