Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 660 for buffered (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.nextEntryOffset = readInt4( buffer, bufferIndex );
                e.fileIndex = readInt4( buffer, bufferIndex + 4 );
                e.creationTime = readTime( buffer, bufferIndex + 8 );
        //      e.lastAccessTime = readTime( buffer, bufferIndex + 16 );
                e.lastWriteTime = readTime( buffer, bufferIndex + 24 );
        //      e.changeTime = readTime( buffer, bufferIndex + 32 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testWrite_putByteArray() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(buf);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

            override fun onRetryChange(timeMs: Long) {
              callbacks.add(timeMs)
            }
          }
        val buffer = Buffer().writeUtf8(source)
        val reader = ServerSentEventReader(buffer, callback)
        while (reader.processNextEvent()) {
        }
        assertThat(buffer.size, "Unconsumed buffer: ${buffer.readUtf8()}")
          .isEqualTo(0)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/SocksProxy.kt

          val name = "SocksProxy $fromAddress to $toAddress"
          threadName(name) {
            val buffer = Buffer()
            try {
              sink.use {
                source.use {
                  while (true) {
                    val byteCount = source.read(buffer, 8192L)
                    if (byteCount == -1L) break
                    sink.write(buffer, byteCount)
                    sink.emit()
                  }
                }
              }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top