Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 766 for setPath (0.12 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
        assertEquals(10.0, limiter.getRate());
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
      }
    
      public void testAcquireParameterValidation() {
        RateLimiter limiter = RateLimiter.create(999);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
        assertEquals(10.0, limiter.getRate());
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
      }
    
      public void testAcquireParameterValidation() {
        RateLimiter limiter = RateLimiter.create(999);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformExecutionResult.java

                } else if (output.getPath().startsWith(outputDirPrefix)) {
                    String relativePath = RelativePath.parse(true, output.getPath().substring(outputDirPrefix.length())).getPathString();
                    delegate.addProducedOutput(relativePath);
                    workspaceAction.accept(output);
                } else if (output.getPath().startsWith(inputArtifactPrefix)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top