Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 777 for buffer (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        }
    
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            if ( this.wordCount == 0 ) {
                return 0;
            }
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            this.fileSize = SMBUtil.readInt4(buffer, bufferIndex);
            return 20;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    if (name.buffer == null) {
                        if (_name_buffers < 0 || _name_buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        name.buffer = new short[_name_buffers];
                    }
                    _src = _src.derive(_name_bufferi);
                    for (int _i = 0; _i < _name_bufferl; _i++) {
                        name.buffer[_i] = (short)_src.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

        }
    
    
        /**
         * 
         * @param buffer
         * @param bufferIndex
         * @param len
         * @throws IOException
         */
        public FileNotifyInformationImpl ( byte[] buffer, int bufferIndex, int len ) throws IOException {
            decode(buffer, bufferIndex, len);
        }
    
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            server.maxMpxCount   = readInt2( buffer, bufferIndex ); bufferIndex += 2;
            server.maxNumberVcs  = readInt2( buffer, bufferIndex ); bufferIndex += 2;
            server.maxBufferSize = readInt4( buffer, bufferIndex ); bufferIndex += 4;
            server.maxRawSize    = readInt4( buffer, bufferIndex ); bufferIndex += 4;
            server.sessionKey    = readInt4( buffer, bufferIndex ); bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                    buffer.append(" | ");
                }
            }
    
            int pad = lastLength - buffer.length();
            lastLength = buffer.length();
            pad(buffer, pad);
            buffer.append('\r');
            out.print(buffer);
            out.flush();
            buffer.setLength(0);
        }
    
        private void pad(StringBuilder buffer, int spaces) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private void transferCompleted(TransferEvent event) {
            downloads.remove(event.getResource());
    
            StringBuilder buffer = new StringBuilder(64);
            pad(buffer, lastLength);
            buffer.append('\r');
            out.println(buffer);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) {
            println(
                    "transferCorrupted",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
Back to top