Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,758 for read0 (0.04 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest request = new CliRequest(new String[] {"-T", "5"}, null);
    
            cli.initialize(request);
            // read .mvn/maven.config
            cli.cli(request);
    
            assertEquals("5", request.commandLine.getOptionValue(CLIManager.THREADS));
        }
    
        /**
         * Read .mvn/maven.config with the following definitions:
         * <pre>
         *   -T
         *   3
         *   -Drevision=1.3.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. android/guava-testlib/pom.xml

                  -->
                  <compilerArgs combine.self="override">
                    <arg>-sourcepath</arg>
                    <arg>${project.basedir}/src</arg>
                    <arg>--add-reads=com.google.common=ALL-UNNAMED</arg>
                    <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg>
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <arg>-XDcompilePolicy=simple</arg>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 17:59:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. guava-testlib/pom.xml

                  -->
                  <compilerArgs combine.self="override">
                    <arg>-sourcepath</arg>
                    <arg>${project.basedir}/src</arg>
                    <arg>--add-reads=com.google.common=ALL-UNNAMED</arg>
                    <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg>
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <arg>-XDcompilePolicy=simple</arg>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 17:59:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[10];
            int read = trans2FindNext2.readSetupWireFormat(buffer, 0, 10);
    
            assertEquals(0, read);
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test parameters wire format reading (should return 0)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTester.java

      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
          assertEquals(size - 2, sliced.read().length);
          ByteSource resliced = sliced.slice(0, size - 1);
          assertTrue(sliced.contentEquals(resliced));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  6. internal/s3select/jstream/scanner.go

    		fillReq:   make(chan struct{}),
    		fillReady: make(chan int64),
    	}
    
    	go func() {
    		var rpos int64 // total bytes read into buffer
    
    		defer func() {
    			atomic.StoreInt64(&sr.end, rpos)
    			close(sr.fillReady)
    		}()
    
    		for range sr.fillReq {
    		scan:
    			n, err := r.Read(sr.nbuf[:])
    
    			if n == 0 {
    				switch err {
    				case io.EOF: // reader is exhausted
    					return
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. docs_src/request_files/tutorial001_03_py310.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: bytes = File(description="A file read as bytes")):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: UploadFile = File(description="A file read as UploadFile"),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 371 bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            return reader.read(getPom(name), null);
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
            testInheritance("plugin-configuration");
        }
    
        /**
         * Check most classical urls inheritance: directory structure where parent POM in parent directory
         * and child directory == artifactId
         * @throws IOException Model read problem
         */
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. tests/test_list_bytes_file_order_preserved_issue_14811.py

        original_read = StarletteUploadFile.read
    
        async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes:
            # Make the FIRST file slower *deterministically*
            if self.filename == "slow.txt":
                await anyio.sleep(0.05)
            return await original_read(self, size)
    
        monkeypatch.setattr(StarletteUploadFile, "read", patched_read)
    
        client = TestClient(app)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  10. tests/test_datastructures.py

        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
        await file.seek(0)
        assert await file.read() == b"data and more data!"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top