Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 968 for Buffer (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        fieldName = null;
                    }
                    buffer.setLength(0);
                } else if ("list".equals(qName)) {
                    if (fieldName != null && !dataMap.containsKey(fieldName)) {
                        dataMap.put(fieldName, new ArrayList<>());
                    }
                } else if ("item".equals(qName)) {
                    buffer.setLength(0);
                }
            }
    
            @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

          headersBuilder.removeAll(name)
        }
    
      fun getBody(): Buffer? = body?.clone()
    
      fun setBody(body: Buffer) =
        apply {
          setHeader("Content-Length", body.size)
          this.body = body.clone() // Defensive copy.
        }
    
      fun setBody(body: String): MockResponse = setBody(Buffer().writeUtf8(body))
    
      fun setChunkedBody(
        body: Buffer,
        maxChunkSize: Int,
      ) = apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbRandomAccess.java

    
        /**
         * Read into buffer from current position
         * 
         * @param b
         *            buffer
         * @return number of bytes read
         * @throws SmbException
         */
        int read ( byte[] b ) throws SmbException;
    
    
        /**
         * Read into buffer from current position
         * 
         * @param b
         *            buffer
         * @param off
         *            offset into buffer
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private val controlFrameBuffer = Buffer()
      private val messageFrameBuffer = Buffer()
    
      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
      interface FrameCallback {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/rpc.java

            public short maximum_length;
            public short[] buffer;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(this.length);
                _dst.enc_ndr_short(this.maximum_length);
                _dst.enc_ndr_referent(this.buffer, 1);
    
                if ( this.buffer != null ) {
                    _dst = _dst.deferred;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 24 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 24");
            }
    
            this.oplockLevel = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

                    log.println( "TransCallNamedPipe data too long for buffer" );
                return 0;
            }
            System.arraycopy( pipeData, pipeDataOff, dst, dstIndex, pipeDataLen );
            return pipeDataLen;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

                log.debug("TransCallNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

                log.debug("TransTransactNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractByteHasher.java

        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
        }
      }
    
      /** Updates this hasher with bytes from the given buffer. */
      protected void update(ByteBuffer b) {
        if (b.hasArray()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top