- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 715 for setPath (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/BindingPredicate.java
ModelType<?> type = reference.getType(); return "{type: " + (type == null ? null : type.getDisplayName()) + ", path: " + getPath() + ", scope: " + getScope() + ", state: " + getState() + "}"; } @Nullable @Override public ModelPath getPath() { return reference.getPath(); } public ModelType<?> getType() { return reference.getType(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)