Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 471 for setPath (0.25 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

        def "construction from string"() {
            expect:
            path(':').getPath() == ':'
            path(':').is(Path.ROOT)
            Path.ROOT.getPath() == ':'
            path('a').getPath() == 'a'
            path('a:b:c').getPath() == 'a:b:c'
            path(':a').getPath() == ':a'
            path(':a:b').getPath() == ':a:b'
            path(':a:b:').getPath() == ':a:b'
        }
    
        def "equals and hashCode"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/IvyResourcePattern.java

            return getBase().getRoot().resolve(substituteTokens(getBase().getPath(), attributes));
        }
    
        @Override
        public ExternalResourceName toVersionListPattern(ModuleIdentifier module, IvyArtifactName artifact) {
            Map<String, String> attributes = toAttributes(module, artifact);
            return getBase().getRoot().resolve(substituteTokens(getBase().getPath(), attributes));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

            }
            return toProjection();
        }
    
        public ModelAdapter getAdapter() {
            if (!state.isAtLeast(State.Created)) {
                throw new IllegalStateException(String.format("Cannot get adapter for '%s' in state %s.", getPath(), state));
            }
            return toProjection();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMapFactory.java

        }
    
        static <T> ChildMap<T> childMap(CaseSensitivity caseSensitivity, ChildMap.Entry<T> entry1, ChildMap.Entry<T> entry2) {
            int compared = PathUtil.getPathComparator(caseSensitivity).compare(entry1.getPath(), entry2.getPath());
            List<ChildMap.Entry<T>> sortedEntries = compared < 0
                ? ImmutableList.of(entry1, entry2)
                : ImmutableList.of(entry2, entry1);
            return childMapFromSorted(sortedEntries);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResourceHandlerWrapper.java

            lock.lock();
            try {
                return started;
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public String getPath() {
            return handler.getPath();
        }
    
        @Override
        public String getMethod() {
            return handler.getMethod();
        }
    
        @Override
        public void assertCanWait() throws IllegalStateException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileEventAdapter.java

            long now = clock.getCurrentTime();
            buildProfile.getProjectProfile(project.getPath()).getConfigurationOperation().setStart(now);
        }
    
        @Override
        public void afterEvaluate(Project project, ProjectState state) {
            long now = clock.getCurrentTime();
            ProjectProfile projectProfile = buildProfile.getProjectProfile(project.getPath());
            projectProfile.getConfigurationOperation().setFinish(now);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java

            return origin;
        }
    
        /**
         * A string representing the path of this {@link ClassLoaderScope} in the {@link ClassLoaderScope} graph.
         */
        public String getPath() {
            return id.getPath();
        }
    
        @Override
        public ClassLoaderScope local(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassPath classPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/FilePropertyVisitor.java

         * Called for each root of the current property.
         * <p>
         * {@link VisitState#getName()} and {@link VisitState#getPath()} may be called during.
         */
        void preRoot(VisitState state);
    
        /**
         * Called before entering a directory.
         * <p>
         * {@link VisitState#getName()} and {@link VisitState#getPath()} may be called during.
         */
        void preDirectory(VisitState state);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/configuration/TaskDetails.java

            // tasks in higher-up projects first
            int depthCompare = o1.getProjectDepth() - o2.getProjectDepth();
            if (depthCompare != 0) {
                return depthCompare;
            }
            return o1.getPath().compareTo(o2.getPath());
        };
    
        /**
         * A read-only projection for OptionDescriptor details relevant for the help task.
         */
        public static class OptionDetails {
            private final String name;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 11 10:07:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. pkg/volume/secret/secret.go

    	volName string
    	podUID  types.UID
    	plugin  *secretPlugin
    	mounter mount.Interface
    	volume.MetricsProvider
    }
    
    var _ volume.Volume = &secretVolume{}
    
    func (sv *secretVolume) GetPath() string {
    	return getPath(sv.podUID, sv.volName, sv.plugin.host)
    }
    
    // secretVolumeMounter handles retrieving secrets from the API server
    // and placing them into the volume on the host.
    type secretVolumeMounter struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top