Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 338 for reuse (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              annotationClass.getDeclaringClass(),
              returnType.getComponentType());
        }
      }
    
      // This is public so that tests for Feature enums we haven't yet imagined
      // can reuse it.
      public static <E extends Enum<?> & Feature<?>> void assertGoodFeatureEnum(
          Class<E> featureEnumClass) {
        final Class<?>[] classes = featureEnumClass.getDeclaredClasses();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyContextManagerTest.groovy

                assert param.settings.is(ivySettings)
                assert IvyContext.context.ivy.is(ivy)
            }
    
            and:
            IvyContext.currentStack.empty()
        }
    
        def "resets Ivy settings on reuse"() {
            given:
            def action1 = Mock(Action)
            def action2 = Mock(Action)
            def ivy
            def ivySettings
    
            when:
            manager.withIvy(action1)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/io/multi.go

    }
    
    func (mr *multiReader) writeToWithBuffer(w Writer, buf []byte) (sum int64, err error) {
    	for i, r := range mr.readers {
    		var n int64
    		if subMr, ok := r.(*multiReader); ok { // reuse buffer with nested multiReaders
    			n, err = subMr.writeToWithBuffer(w, buf)
    		} else {
    			n, err = copyBuffer(w, r, buf)
    		}
    		sum += n
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top