Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 830 for reuse (0.04 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java

         *
         * The implementation blocks when multiple threads producing the same value concurrently, so that only a single thread produces the value and the other threads reuse the result.
         *
         * Production of the value always happens synchronously by the calling thread. However, the implementation may update the backing store with new value synchronously or asynchronously.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/sync/pool.go

    //
    // Pool's purpose is to cache allocated but unused items for later reuse,
    // relieving pressure on the garbage collector. That is, it makes it easy to
    // build efficient, thread-safe free lists. However, it is not suitable for all
    // free lists.
    //
    // An appropriate use of a Pool is to manage a group of temporary items
    // silently shared among and potentially reused by concurrent independent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/MonolithicNativeProjectGeneratorTask.groovy

     * to build multiple components where none/some/a lot of the source files are shared between components
     * in a way that doesn't allow us to reuse the compilation steps (we don't do this now).
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    class MonolithicNativeProjectGeneratorTask extends AbstractProjectGeneratorTask {
    
        def generateRootProject() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/ProjectBuilder.java

     *
     * <li>Optionally, configure the builder.</li>
     *
     * <li>Call {@link #build()} to create the {@code Project} instance.</li>
     *
     * </ol>
     *
     * <p>You can reuse a builder to create multiple {@code Project} instances.</p>
     *
     * <p>The {@code ProjectBuilder} implementation bundled with Gradle 3.0 and 3.1 suffers from a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      return builder.build()
    }
    
    internal fun Headers.toHeaderList(): List<Header> =
      (0 until size).map {
        Header(name(it), value(it))
      }
    
    /** Returns true if an HTTP request for this URL and [other] can reuse a connection. */
    internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean =
      host == other.host &&
        port == other.port &&
        scheme == other.scheme
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    import (
    	"crypto/hmac"
    	"errors"
    	"hash"
    	"io"
    )
    
    // Extract generates a pseudorandom key for use with Expand from an input secret
    // and an optional independent salt.
    //
    // Only use this function if you need to reuse the extracted key with multiple
    // Expand invocations and different context values. Most common scenarios,
    // including the generation of multiple keys, should use New instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/validation/vld_unix.go

    	}
    	// See sockaddr_in6 and sockaddr_in
    	dport = ntohs(addr.Addr.Port)
    
    	log.Infof("Local addr %s", conn.LocalAddr())
    	log.Infof("Original addr %s: %d", ip, dport)
    	return
    }
    
    // Setup reuse address to run the validation server more robustly
    func reuseAddr(network, address string, conn syscall.RawConn) error {
    	return conn.Control(func(descriptor uintptr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top