Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,274 for Liles (0.14 sec)

  1. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            val outputPath = projectDir.resolve("mylib.jar")
            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
                        Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

    @pytest.fixture(name="app")
    def get_app():
        from docs_src.request_forms_and_files.tutorial001_an_py39 import app
    
        return app
    
    
    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_form_no_body(client: TestClient):
        response = client.post("/files/")
        assert response.status_code == 422, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

    /home/paul/.sdkman/candidates/java/10.0.2-oracle/bin/java -cp /home/paul/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.3.11/a8db6c14f8b8ed74aa11b8379f961587b639c571/kotlin-compiler-embeddable-1.3.11.jar:/home/paul/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.3.11/aae7b33412715e9ed441934c4ffaad1bb80e9d36/kotlin-reflect-1.3.11.jar:/home/paul/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.11/4cbc5922a54376018307a731162ccaf3e...
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 28 07:00:39 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_files.tutorial001_02_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_post_form_no_body(client: TestClient):
        response = client.post("/files/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    Files.write(tempPath, source);
                    put(tempPath, relativeTarget);
                } finally {
                    if (tempPath != null) {
                        Files.deleteIfExists(tempPath);
                    }
                }
            } catch (IOException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

          grpc-agent: |
    {{ .Files.Get "files/grpc-agent.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "waypoint") }}
          waypoint: |
    {{ .Files.Get "files/waypoint.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "kube-gateway") }}
          kube-gateway: |
    {{ .Files.Get "files/kube-gateway.yaml" | trim | indent 8 }}
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. docs_src/request_files/tutorial003.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: List[bytes] = File(description="Multiple files as bytes"),
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: List[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
        return {"filenames": [file.filename for file in files]}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 913 bytes
    - Viewed (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                "failed-report-with-leftover/build/tmp/teŝt files",
                "successful-report/build/tmp/teŝt files",
                "failed-test-with-leftover/build/tmp/teŝt files"
            )
        }
    
        @Test
        fun `build does not fail if a flaky test has leftover files`() {
            val result = run(":flaky-test-with-leftover:test", "--no-watch-fs").build()
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    	files := r.fileList
    	i := sort.Search(len(files), func(i int) bool {
    		idir, _, _ := split(files[i].name)
    		return idir >= dir
    	})
    	j := sort.Search(len(files), func(j int) bool {
    		jdir, _, _ := split(files[j].name)
    		return jdir > dir
    	})
    	return files[i:j]
    }
    
    type openDir struct {
    	e      *fileListEntry
    	files  []fileListEntry
    	offset int
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile f = createTestDirectory() ) {
                try {
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", 0));
                    assertNotNull(files);
                    assertEquals(0, files.length);
    
                    files = f.listFiles();
                    assertNotNull(files);
                    assertEquals(0, files.length);
                }
                finally {
                    f.delete();
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
Back to top