Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,509 for nread (0.15 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

        protected static final String SCHEMA_LOCATION_FORMAT = "https://maven.apache.org/xsd/maven-%s.xsd";
    
        protected Model read(Path src) throws IOException, XMLStreamException {
            try (InputStream is = Files.newInputStream(src)) {
                return new MavenStaxReader().read(is, false, null);
            }
        }
    
        protected void write(Model model, Path dest) throws IOException, XMLStreamException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

                InputStream is = new ByteArrayInputStream("Hi".getBytes());
                byte[] buffer = new byte[10];
    
                Transport.readn(is, buffer, 0, 2); // Read all
                int bytesRead = Transport.readn(is, buffer, 0, 5); // Try to read more
                assertEquals(0, bytesRead);
            }
        }
    
        @Nested
        @DisplayName("Resource management tests")
        class ResourceManagementTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                try {
                    settings = settingsReader.read(settingsSource.getInputStream(), options);
                } catch (SettingsParseException e) {
                    options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.FALSE);
    
                    settings = settingsReader.read(settingsSource.getInputStream(), options);
    
                    problems.add(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `After that,' continued the Hatter, `I cut some more bread-
    and-butter--'
    
      `But what did the Dormouse say?' one of the jury asked.
    
      `That I can't remember,' said the Hatter.
    
      `You MUST remember,' remarked the King, `or I'll have you
    executed.'
    
      The miserable Hatter dropped his teacup and bread-and-butter,
    and went down on one knee.  `I'm a poor man, your Majesty,' he
    began.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.writeParametersWireFormat(buffer, 0));
            assertEquals(0, response.writeDataWireFormat(buffer, 0));
        }
    
        @Test
        @DisplayName("All read methods should consistently return 0")
        void testAllReadMethodsReturnZero() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    			s.buf = newBuf
    			s.end -= s.start
    			s.start = 0
    		}
    		// Finally we can read some input. Make sure we don't get stuck with
    		// a misbehaving Reader. Officially we don't need to do this, but let's
    		// be extra careful: Scanner is for safe, simple jobs.
    		for loop := 0; ; {
    			n, err := s.r.Read(s.buf[s.end:len(s.buf)])
    			if n < 0 || len(s.buf)-s.end < n {
    				s.setErr(ErrBadReadCount)
    				break
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    // ReadMultipleReq contains information of multiple files to read from disk.
    type ReadMultipleReq struct {
    	Bucket       string   `msg:"bk"`           // Bucket. Can be empty if multiple buckets.
    	Prefix       string   `msg:"pr,omitempty"` // Shared prefix of all files. Can be empty. Will be joined to filename without modification.
    	Files        []string `msg:"fl"`           // Individual files to read.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. docs/en/docs/reference/testclient.md

    # Test Client - `TestClient`
    
    You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code.
    
    Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/).
    
    You can import it directly from `fastapi.testclient`:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 450 bytes
    - Viewed (0)
  9. internal/hash/reader.go

    func (r *Reader) AddServerSideChecksumHasher(t ChecksumType) {
    	h := t.Hasher()
    	if h == nil {
    		return
    	}
    	r.ServerSideHasher = h
    	r.ServerSideChecksumType = t
    }
    
    func (r *Reader) Read(p []byte) (int, error) {
    	n, err := r.src.Read(p)
    	r.bytesRead += int64(n)
    	if r.sha256 != nil {
    		r.sha256.Write(p[:n])
    	}
    	if r.contentHasher != nil {
    		r.contentHasher.Write(p[:n])
    	} else if r.ServerSideHasher != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * ServerMessageBlock would have to perform the same read
         * operation on the input stream, we might as will pull that
         * common functionality into the superclass and read wordCount
         * and byteCount worth of data.
         *
         * We will still use the readXxxWireFormat return values to
         * indicate how many bytes(note: readParameterWordsWireFormat
         * returns bytes read and not the number of words(but the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top