Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 6,527 for file2 (0.02 seconds)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

     * under the License.
     */
    package org.apache.maven.cli;
    
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.PrintStream;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.FileSystem;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.stream.Stream;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. cmd/update.go

    // IsDocker - returns if the environment minio is running in docker or
    // not. The check is a simple file existence check.
    //
    // https://github.com/moby/moby/blob/master/daemon/initlayer/setup_unix.go
    // https://github.com/containers/podman/blob/master/libpod/runtime.go
    //
    //	"/.dockerenv":        "file",
    //	"/run/.containerenv": "file",
    func IsDocker() bool {
    	var err error
    	for _, envfile := range []string{
    		"/.dockerenv",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.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: Tue Aug 27 21:13:34 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

    import org.gradle.api.tasks.TaskAction;
    import org.gradle.internal.UncheckedException;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardOpenOption;
    import java.util.Collections;
    
    @CacheableTask
    public abstract class GenerateDocInfo extends DefaultTask {
        @InputFiles
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt

    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.provider.Provider
    import java.io.File
    
    fun Configuration.getSingleFileProvider(): Provider<File> {
        val name = this.name
        return incoming.files.elements.map {
            require(it.size <= 1) {
                "Expected at most one file in configuration '$name' but found: $it"
            }
            it.firstOrNull()?.asFile
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. .generated_files

    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    file-name	generated.pb.go
    file-name	generated.proto
    file-name	types_swagger_doc_generated.go
    
    path-prefix	vendor/
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Oct 04 23:47:25 GMT 2022
    - 750 bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.file.Files;
    import java.util.List;
    
    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

    package org.apache.maven.toolchain.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.toolchain.InputSource;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    getContainer().lookup(org.apache.maven.project.ProjectBuilder.class);
            File child = new File(tempDir.toFile(), "child/pom.xml");
            // build project once
            projectBuilder.build(child, configuration);
            // modify parent
            File parent = new File(tempDir.toFile(), "pom.xml");
            String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top