Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for read (0.15 sec)

  1. src/bufio/bufio_test.go

    	buf := make([]byte, 1)
    	if _, err := b.Read(nil); err != nil {
    		t.Fatalf("1st nil Read = %v; want nil", err)
    	}
    	if _, err := b.Read(buf); err != errFake {
    		t.Fatalf("1st Read = %v; want errFake", err)
    	}
    	if _, err := b.Read(nil); err != nil {
    		t.Fatalf("2nd nil Read = %v; want nil", err)
    	}
    	if _, err := b.Read(buf); err != nil {
    		t.Fatalf("3rd Read with buffer = %v; want nil", err)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                    if ( r.getByteCount() > 0 && pad > 0 && pad < 4 )
                        readn(this.in, buffer, 4 + off, pad);
    
                    if ( r.getDataLength() > 0 ) {
                        readn(this.in, r.getData(), r.getOffset(), r.getDataLength()); /* read direct */
                    }
                }
                else {
                    readn(this.in, buffer, 4 + SMB1_HEADER_LENGTH, size - SMB1_HEADER_LENGTH);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
     * writes. The {@link Cache#cleanUp} method of the returned cache will also perform maintenance, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

        Read more about it in the
        [FastAPI docs for Path Parameters and Numeric Validations](https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/).
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
        async def read_items(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		}
    		ctx = lkctx.Context()
    
    		// Release lock when the metadata is verified, and reader
    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<RandomAccessFile> read_file;
      status = env_->NewRandomAccessFile(filepath, &read_file);
      if (!status.ok())
        GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status;
    
      char scratch[64 /* must be bigger than test_data */] = {0};
      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                Smb2QueryInfoResponse resp = withOpen(
                    th,
                    Smb2CreateRequest.FILE_OPEN,
                    SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.READ_CONTROL,
                    SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE,
                    req);
                return resp.getInfo(SecurityDescriptor.class);
            }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            // We need to guarantee that any existing reads of old Map can
            // proceed. So we cannot yet null out each bin.
            E head = oldTable.get(oldIndex);
    
            if (head != null) {
              E next = head.getNext();
              int headIndex = head.getHash() & newMask;
    
              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 0
        val connection = connectWithSettings(client, settings)
    
        // Verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.headerTableSize).isEqualTo(0)
        val writer = connection.writer
        assertThat(writer.hpackWriter.dynamicTableByteCount).isEqualTo(0)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
      ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE;
      ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI;
      ops->read_only_memory_region_ops_api = TF_READ_ONLY_MEMORY_REGION_OPS_API;
      ops->read_only_memory_region_ops_size = TF_READ_ONLY_MEMORY_REGION_OPS_SIZE;
    }
    
    /// Initializes a TensorFlow plugin.
    ///
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top