Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for filesSource (0.36 sec)

  1. src/net/conf.go

    	var hasDNSSource bool
    	var hasDNSSourceChecked bool
    
    	var filesSource, dnsSource bool
    	var first string
    	for i, src := range srcs {
    		if src.source == "files" || src.source == "dns" {
    			if canUseCgo && !src.standardCriteria() {
    				// non-standard; let libc deal with it.
    				return hostLookupCgo, dnsConf
    			}
    			if src.source == "files" {
    				filesSource = true
    			} else {
    				hasDNSSource = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

     *
     */
    public class FileSource implements Source {
        private final Path path;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultResolvableArtifact.java

            this.owner = owner;
            this.artifact = artifact;
            this.artifactId = artifactId;
            this.buildDependencies = builtBy;
            this.fileSource = fileSource;
            if (isProjectArtifact()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultResolvedArtifact.java

        private final CalculatedValue<File> fileSource;
        private final ModuleVersionIdentifier owner;
        private final IvyArtifactName artifactName;
    
        public DefaultResolvedArtifact(ComponentArtifactIdentifier id, CalculatedValue<File> fileSource, @Nullable ModuleVersionIdentifier owner, IvyArtifactName artifactName) {
            this.id = id;
            this.fileSource = fileSource;
            this.owner = owner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

     */
    package org.apache.maven.settings.building;
    
    import java.io.File;
    
    import org.apache.maven.building.FileSource;
    
    /**
     * Wraps an ordinary {@link File} as a settings source.
     *
     *
     * @deprecated instead use {@link FileSource}
     */
    @Deprecated
    public class FileSettingsSource extends FileSource implements SettingsSource {
    
        /**
         * Creates a new settings source backed by the specified file.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. pkg/kubelet/types/pod_update_test.go

    			preemptor: getTestPod(configSourceAnnotation(FileSource), nil, ""),
    			preemptee: getTestPod(configSourceAnnotation(FileSource), nil, ""),
    			expected:  false,
    		},
    		{
    			name:      "a critical pod with priority do not preempts a critical pod with the same priority",
    			preemptor: getTestPod(configSourceAnnotation(FileSource), &systemPriority, ""),
    			preemptee: getTestPod(configSourceAnnotation(FileSource), &systemPriority, ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 21 08:20:50 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kubelet/config/file.go

    	statInfo, err := os.Stat(path)
    	if err != nil {
    		if !os.IsNotExist(err) {
    			return err
    		}
    		// Emit an update with an empty PodList to allow FileSource to be marked as seen
    		s.updates <- kubetypes.PodUpdate{Pods: []*v1.Pod{}, Op: kubetypes.SET, Source: kubetypes.FileSource}
    		return fmt.Errorf("path does not exist, ignoring")
    	}
    
    	switch {
    	case statInfo.Mode().IsDir():
    		pods, err := s.extractFromDir(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 07:19:44 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/PreResolvedResolvableArtifact.java

            this.artifactId = artifactId;
            this.file = file;
            this.fileSource = calculatedValueFactory.create(Describables.of(artifactId), file);
            this.builtBy = builtBy;
            this.calculatedValueFactory = calculatedValueFactory;
            this.publicView = new DefaultResolvedArtifact(artifactId, fileSource, owner, artifact);
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

    import java.io.File;
    import java.net.URI;
    import java.nio.file.Path;
    
    import org.apache.maven.building.FileSource;
    import org.apache.maven.model.locator.ModelLocator;
    
    /**
     * Wraps an ordinary {@link File} as a model source.
     *
     */
    public class FileModelSource extends FileSource implements ModelSource3 {
    
        /**
         * Creates a new model source backed by the specified file.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top