Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 4,611 for file2 (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JavaClassPublicifier.java

            classNode.accept(classWriter);
    
            File outputFile = outputDir.get().file(classFile).getAsFile();
            outputFile.getParentFile().mkdirs();
            Files.write(outputFile.toPath(), classWriter.toByteArray());
        }
    
        private void adjustClass(String classFile, Consumer<ClassNode> adjustor) throws IOException {
            try (InputStream is = Files.newInputStream(inputDir.get().file(classFile).getAsFile().toPath())) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java

         * @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
         */
        public DuplicateProjectException(String message, Map<String, List<File>> collisions) {
            super(message, (File) null);
    
            this.collisions = (collisions != null) ? collisions : new LinkedHashMap<>();
        }
    
        /**
         * Gets the POM files of the projects that collided.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

     */
    
    import java.io.IOException;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Parses .mvn/jvm.config file for Windows batch/Unix shell scripts.
     * This avoids the complexity of parsing special characters (pipes, quotes, etc.) in scripts.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseHighlightsGenerator.java

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.stream.Collectors;
    
    /**
     * Generates the release highlights notes, for changelog files that contain the <code>highlight</code> field.
     */
    public class ReleaseHighlightsGenerator {
        static void update(File templateFile, File outputFile, List<ChangelogEntry> entries) throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

        @DisplayName("Test getApplyToText with different flag combinations")
        @CsvSource({ "0x00, This folder only", "'0x03', 'This folder, subfolders and files'", "0x0B, Subfolders and files only",
                "0x02, This folder and subfolders", "0x0A, Subfolders only", "0x01, This folder and files", "0x09, Files only",
                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    import java.io.StringWriter
    
    
    abstract class AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest {
        @TempDir
        lateinit var projectDir: File
        lateinit var firstAcceptedApiChangesFile: File
        lateinit var secondAcceptedApiChangesFile: File
    
        @BeforeEach
        fun setUp() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.InputSource;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
                // Accept files in /share/folder/ that are text files
                return path.equals("/share/folder/") && name != null && name.endsWith(".txt");
            };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

                    }
                    return false;
                }
    
                private boolean isChildOf(final File directory, final File file) {
                    return file.toPath().startsWith(directory.toPath());
                }
    
                private boolean isSymbolicLink(final FileCopyDetailsInternal details) {
                    final File file;
                    try {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  10. .gitattributes

    # Treat all files in the Go repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings, and so they are checked in with CRLF endings, with a test
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jun 08 15:31:43 GMT 2020
    - 639 bytes
    - Click Count (0)
Back to Top