Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 725 for bufLen (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

        }
    
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2;
            bufferIndex += 2;
            this.numReferrals = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.tflags = SMBUtil.readInt2(buffer, bufferIndex);
            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)
  3. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            super();
        }
    
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
    
            totalParameterCount = readInt4( buffer, bufferIndex );
            if( bufDataStart == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
            this.isLoggedInAsGuest = ( buffer[ bufferIndex ] & 0x01 ) == 0x01 ? true : false;
            bufferIndex += 2;
            if ( this.isExtendedSecurity() ) {
                int blobLength = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                this.blob = new byte[blobLength];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  5. cmd/streaming-v4-unsigned.go

    		}
    		if size > maxChunkSize {
    			cr.err = errChunkTooBig
    			return n, cr.err
    		}
    	}
    
    	if cap(cr.buffer) < size {
    		cr.buffer = make([]byte, size)
    	} else {
    		cr.buffer = cr.buffer[:size]
    	}
    
    	// Now, we read the payload.
    	_, err = io.ReadFull(cr.reader, cr.buffer)
    	if err == io.EOF && size != 0 {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/hash/Java8Compatibility.java

    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            bufferIndex += 8;
            lastWriteTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
            changeTime = readTime( buffer, bufferIndex );
            bufferIndex += 8;
            extFileAttributes = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            allocationSize = readInt8( buffer, bufferIndex );
            bufferIndex += 8;
            endOfFile = readInt8( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            this.setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.isEndOfSearch = ( buffer[ bufferIndex ] & 0x01 ) == 0x01 ? true : false;
            bufferIndex += 2;
            this.eaErrorOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastNameOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

      private fun sourceReader(source: Source?): Callable<ByteString> {
        return Callable {
          val buffer = Buffer()
          while (source!!.read(buffer, 16384) != -1L) {
          }
          source.close()
          buffer.readByteString()
        }
      }
    
      private fun assertFile(
        prefix: ByteString,
        upstreamSize: Long,
        metadataSize: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top