- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 6,403 for FILE (0.02 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
getDocumentationRoot().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(file -> { gatherDeadLinksInFile(file, errors); }); reportErrors(errors, getReportFile().get().getAsFile()); } private void reportErrors(Map<File, List<Error>> errors, File reportFile) { try (PrintWriter fw = new PrintWriter(new FileWriter(reportFile))) { writeHeader(fw);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 18.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File file = new File(localRepo.getBasedir(), path); assertTrue(file.exists(), "Local artifact " + file + " should be present."); } protected void assertRemoteArtifactNotPresent(Artifact artifact) throws Exception { ArtifactRepository remoteRepo = remoteRepository(); String path = remoteRepo.pathOf(artifact); File file = new File(remoteRepo.getBasedir(), path);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java
SomeBean bean = new SomeBean(); Xpp3Dom config = toConfig("<file>test</file>"); DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest(); request.setBean(bean).setConfiguration(config); configurator.configureBean(request); assertEquals(new File("test"), bean.file); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) { List<String> lines = new ArrayList<>(); try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) { stream.forEach(lines::add); } catch (IOException ex) { // If a file can't be read, add an error addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage())); return;Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
docs_src/request_files/tutorial001_02_py310.py
from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: bytes | None = File(default=None)): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile | None = None): if not file: return {"message": "No upload file sent"} else:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 470 bytes - Click Count (0) -
docs_src/request_files/tutorial001_02_an_py39.py
from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[Union[bytes, None], File()] = None): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: Union[UploadFile, None] = None): if not file:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 524 bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
} } file.writeText(lines.joinToString("\n")) } } private fun addDependencies(dependencyFixes: Map<String, List<String>>) { dependencyFixes.forEach { (filePath, dependencies) -> val file = File(filePath) if (!file.exists()) return@forEach val lines = file.readLines().toMutableList()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
private final Set<File> canonicalPackageInfos = new HashSet<>(); @Override public boolean isSatisfiedBy(File file) { try { if (file.getName().equals("package-info.java")) { if (canonicalPackageInfos.contains(file.getAbsoluteFile())) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0)