- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 99 for reuse (0.04 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy
def firstBuild = old(runningCompilerDaemons) def secondBuild = runningCompilerDaemons def diff = firstBuild - secondBuild // We should reuse one daemon from the first build diff.size() == 1 } def "reuses compiler daemons across multiple builds when enabled"() { withSingleProjectSources() buildFile << """ tasks.compileMain2Java {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 6.3K 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) -
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) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/Scope.java
*/ interface UserHome extends Global {} /** * These services are reused across build sessions. * <p> * Generally, one regular Gradle invocation is conceptually a session. * However, the GradleBuild task is currently implemented in such a way that it uses a discrete session.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/bpool/bpool.go
// Get gets a []byte from the BytePool, or creates a new one if none are // available in the pool. func (bp *BytePoolCap) Get() (b []byte) { if bp == nil { return nil } select { case b = <-bp.c: // reuse existing buffer default: // create new aligned buffer if bp.wcap > 0 { b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w] } else { b = reedsolomon.AllocAligned(1, bp.w)[0] } } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 16:44:59 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/build-state/src/main/java/org/gradle/internal/session/CrossBuildSessionState.java
* <p> * Generally, one regular Gradle invocation is conceptually a session. * However, the GradleBuild task is currently implemented in such a way that it uses a discrete session. * Having the GradleBuild task reuse the outer session is complicated because it <a href="https://github.com/gradle/gradle/issues/4559">may use a different Gradle user home</a>. * <p> * This set of services is added as a parent of each build session scope. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 3.4K bytes - Viewed (0) -
tests/integration/security/util/framework.go
ExternalSvc = "external" ) type EchoDeployments struct { // TODO: Consolidate the echo config and reduce/reuse echo instances (https://github.com/istio/istio/issues/28599) // Namespace1 is used as the default namespace for reachability tests and other tests which can reuse the same config for echo instances Namespace1 namespace.Instance // Namespace2 is used by most authorization test cases within authorization_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistry.java
public class DefaultGradleUserHomeScopeServiceRegistry implements GradleUserHomeScopeServiceRegistry, Closeable { public static final String REUSE_USER_HOME_SERVICES = "org.gradle.internal.reuse.user.home.services"; private final ServiceRegistry sharedServices; private final ServiceRegistrationProvider provider; private final Lock lock = new ReentrantLock(); private final Map<File, Services> servicesForHomeDir = new HashMap<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
```Python hl_lines="8" {!../../../docs_src/custom_docs_ui/tutorial001.py!} ``` ### Include the custom docs Now you can create the *path operations* for the custom docs. You can reuse FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 7.5K bytes - Viewed (0)