Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,064 for readn (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

    /**
     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. buildscripts/disable-root.sh

    export MC_HOST_sitea=http://minioadmin:minioadmin@127.0.0.1:9001
    export MC_HOST_siteb=http://minioadmin:minioadmin@127.0.0.1:9004
    
    ./mc ready sitea
    ./mc ready siteb
    
    ./mc admin replicate add sitea siteb
    
    ./mc admin user add sitea foobar foo12345
    
    ./mc admin policy attach sitea/ consoleAdmin --user=foobar
    
    ./mc admin user info siteb foobar
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[16];
    
                // Skip advances internal file pointer; next read should use this offset
                in.skip(2);
    
                // Act
                int n = in.readDirect(buf, 0, 5);
    
                // Assert
                assertEquals(3, n, "Should report bytes read from SMB2 response");
    
                // Verify the request offset equals the skip value (2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        private val message: String
        private val responseHeaders: Headers
        private val handshake: Handshake?
        private val sentRequestMillis: Long
        private val receivedResponseMillis: Long
    
        /**
         * Reads an entry from an input stream. A typical entry looks like this:
         *
         * ```
         * http://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

            // Allocate buffer for read data
            ByteBuffer readBuffer = bufferManager.allocateBuffer(request.getLength());
            RdmaMemoryRegion readRegion = provider.registerMemory(readBuffer, 
                EnumSet.of(RdmaAccess.LOCAL_WRITE, RdmaAccess.REMOTE_WRITE));
            
            try {
                // Create SMB2 Read request with RDMA read channel info
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                    int read = socketChannel.read(tempBuffer);
                    if (read < 0) {
                        break;
                    }
                    totalRead += read;
                }
    
                tempBuffer.flip();
                buffer.put(tempBuffer);
    
                log.debug("TCP RDMA read completed: {} bytes", totalRead);
                return totalRead;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with zero
            buffer.putInt(0, 0);
            assertEquals(0, NtlmMessage.readULong(data, 0), "Should read zero ULong correctly.");
    
            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                // Read first 5 bytes
                byte[] buffer = new byte[5];
                int bytesRead = stream.read(buffer);
                assertEquals(5, bytesRead);
                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/general.md

    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Documentation Tags - OpenAPI { #documentation-tags-openapi }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
        }
    
        @Override
        public int read() throws SmbException {
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        @Override
        public int read(final byte b[]) throws SmbException {
            return read(b, 0, b.length);
        }
    
        @Override
        public int read(final byte b[], int off, int len) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top