Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 830 for reuse (0.04 sec)

  1. 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)
  2. src/cmd/go/internal/modload/build.go

    // versions will also be omitted.
    func addVersions(ctx context.Context, m *modinfo.ModulePublic, listRetracted bool) {
    	// TODO(bcmills): Would it make sense to check for reuse here too?
    	// Perhaps that doesn't buy us much, though: we would always have to fetch
    	// all of the version tags to list the available versions anyway.
    
    	allowed := CheckAllowed
    	if listRetracted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/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)
  6. tests/integration/pilot/revisions/revisions_test.go

    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireMultiPrimary().
    		// Requires two CPs with specific names to be configured.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 27 15:52:38 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/ReferenceEntry.java

     *
     * <p>Invalid:
     *
     * <ul>
     *   <li>Expired: time expired (key/value may still be set)
     *   <li>Collected: key/value was partially collected, but not yet cleaned up
     *   <li>Unset: marked as unset, awaiting cleanup or reuse
     * </ul>
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @CheckForNull
      ValueReference<K, V> getValueReference();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. src/database/sql/example_test.go

    	// In normal use, create one Stmt when your process starts.
    	stmt, err := db.PrepareContext(ctx, "SELECT username FROM users WHERE id = ?")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer stmt.Close()
    
    	// Then reuse it each time you need to issue the query.
    	id := 43
    	var username string
    	err = stmt.QueryRowContext(ctx, id).Scan(&username)
    	switch {
    	case err == sql.ErrNoRows:
    		log.Fatalf("no user with id %d", id)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 14:05:09 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sink_constant.cc

            // cloned value if any.
            auto map_entry = sunk_constant.try_emplace(constant, nullptr);
            if (!map_entry.second) {
              // This constant has already been cloned into the region, reuse it.
              use->set(map_entry.first->getSecond().getResult());
              LLVM_DEBUG(llvm::dbgs() << "Re-use sunk constant " << use->get()
                                      << "\n     in " << use->get() << "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/templates.md

    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Using `Jinja2Templates`
    
    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top