- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 338 for reuse (0.17 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/MavenM2CacheReuseIntegrationTest.groovy
when: using m2 run 'retrieve' then: file('build/foo-1.0.jar').assertIsCopyOf(m2Module.artifactFile) } def "does not reuse cached artifacts from maven local cache when they are different to those in the remote repository"() { given: def remoteModule = mavenHttpRepo.module('gradletest.maven.local.cache.test', "foo", "1.0").publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy
} @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "TestKit needs a real Gradle distribution here") @CustomDaemonDirectory def "user daemon process does not reuse existing daemon process intended for test execution even when using same gradle user home"() { given: def defaultDaemonDir = testKitDir.file("daemon")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt
* a lot of unnecessary and unserializable state to be dragged in. * * A better change would be to split an immutable id type out of PublishArtifactLocalArtifactMetadata (or reuse one of the existing * implementations). However, the Eclipse tooling model builder assumes that the id and metadata objects are the same and also that
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java
private static final ModelType<ModelMap<?>> MODEL_MAP_MODEL_TYPE = new ModelType<ModelMap<?>>() { }; // TODO extract common stuff from this and ModelSet and reuse @Override public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) { ModelType<T> type = extractionContext.getType(); if (MODEL_MAP_MODEL_TYPE.isAssignableFrom(type)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ConfigurationCacheOutputCleaner.java
* system property is set to {@code true}. * <p> * Most of our samples that aren't aiming to test the configuration cache itself, do not care about * its output much. This normalizer allows to reuse the same "golden" output files when testing such * samples with the configuration cache enabled. */ public class ConfigurationCacheOutputCleaner implements OutputNormalizer {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/sigstack.go
st.ss_size = CSIGSTKSZ; if (sigaltstack(&st, &ost) < 0) { perror("sigaltstack failed"); abort(); } // Call Go. SigStackCallback(); // Disable signal stack and protect it so we can detect reuse. if (ost.ss_flags & SS_DISABLE) { // Darwin libsystem has a bug where it checks ss_size // even if SS_DISABLE is set. (The kernel gets it right.) ost.ss_size = CSIGSTKSZ; } if (sigaltstack(&ost, NULL) < 0) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
```Python from starlette.exceptions import HTTPException as StarletteHTTPException ``` ### Reuse **FastAPI**'s exception handlers If you want to use the exception along with the same default exception handlers from **FastAPI**, You can import and reuse the default exception handlers from `fastapi.exception_handlers`: ```Python hl_lines="2-5 15 21"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/LinePerThreadBufferingOutputStreamTest.groovy
def outstr = new LinePerThreadBufferingOutputStream(action) when: outstr.close() then: 1 * action.endOfStream(null) 0 * action._ } def "can reuse the output stream on the same thread after it has been closed"() { TextStream action = Mock() def outstr = new LinePerThreadBufferingOutputStream(action) when: outstr.write("text".bytes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:13 UTC 2024 - 3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy
when: reserved.each { int port -> range.deallocate(port) } then: range.allocated.size() == 0 } def "can reuse deallocated ports" () { _ * portDetector.isAvailable(_) >> { true } when: 10.times { range.allocate() } then: range.allocate() == -1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 06 13:37:30 UTC 2015 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ListValueSnapshot.java
for (int i = 0; i < pos; i++) { newElements.add(elements.get(i)); } if (pos < list.size()) { // If we broke out of the comparison because there was a difference, we can reuse the snapshot of the new element if (newElement != null) { newElements.add(newElement); pos++; } // Anything left over only exists in the new list
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0)