- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 9,813 for five (0.03 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java
final String fileType = getFileType(); for (ValidationMessage message : messages) { getLogger().error("[validate {}][ERROR][{}][{}]", fileType, file.getName(), message.toString()); errors.computeIfAbsent(file, k -> new LinkedHashSet<>()) .add(String.format("%s: %s", file.getAbsolutePath(), message.toString()));
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 28 11:09:58 GMT 2021 - 5.4K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseIntegrationTest.groovy
class PreparePatchReleaseIntegrationTest extends Specification { @TempDir File tmpDir def "version file is bumped and previous version is added to released versions"() { given: def versionFile = new File(tmpDir, "version.txt") versionFile.text = "9.4.0" def releasedVersionsFile = new File(tmpDir, "released-versions.json") releasedVersionsFile << '''{ "latestReleaseSnapshot": {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java
File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile(); String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}/dir", basedir); assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned); } @Test void testUnalignToBasedirWherePathEqualsBasedir() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java
} File outputMarker = getOutputMarker(); outputMarker.getParentFile().mkdirs(); Files.write(outputMarker.toPath(), "done".getBytes(StandardCharsets.UTF_8)); } @OutputFile public File getOutputMarker() { return new File(projectLayout.getBuildDirectory().getAsFile().get(), "markers/" + getName()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java
} LOGGER.warn("The following changelog files {} be deleted:", dryRun ? "can" : "will"); LOGGER.warn(""); filesToDelete.forEach(file -> LOGGER.warn("\t{}", rootDir.relativize(file.toPath()))); if (dryRun == false) { final Set<File> failedToDelete = deleteHelper.deleteFiles(filesToDelete); if (failedToDelete.isEmpty() == false) { throw new GradleException(Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 24 10:57:02 GMT 2021 - 6.6K bytes - Click Count (0) -
docs_src/request_files/tutorial003_an_py310.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile from fastapi.responses import HTMLResponse app = FastAPI() @app.post("/files/") async def create_files( files: Annotated[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: Annotated[
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 952 bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
package org.apache.maven.cli; import java.io.File; import java.nio.file.Paths; /** * Resolve relative file path against the given base directory */ @Deprecated public class ResolveFile { public static File resolveFile(File file, String baseDirectory) { if (file == null) { return null; } else if (file.isAbsolute()) { return file;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/").getCanonicalPath()); } @Test public void testGetUncPath() throws MalformedURLException { // Test UNC path conversion assertEquals("\\\\server\\share\\file.txt", new SmbFile("smb1://server/share/file.txt").getUncPath());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
public interface SmbResource extends AutoCloseable { /** * Gets the file locator for this file * * The file locator provides details about * * @return the fileLocator */ SmbResourceLocator getLocator(); /** * The context this file was opened with * * @return the context associated with this file */ CIFSContext getContext(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy
file("build/distributions/hello-world-1.0-original.jar").exists() file("build/distributions/hello-world-1.0.jar").exists() file("build/distributions/hello-world-1.0-javadoc.jar").exists() file("build/distributions/hello-world-1.0-sources.jar").exists() file("build/distributions/hello-world-1.0.pom").exists()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 19K bytes - Click Count (0)