Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Reused (0.15 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertHeader("Test", "Redirect from /a to /b")
    
        // New connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection reused.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        // Connection reused again!
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      @Test
      fun postRedirectsToGet() {
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    //
    // The provided context is used until the transaction is committed or rolled back.
    // If the context is canceled, the sql package will roll back
    // the transaction. [Tx.Commit] will return an error if the context provided to
    // BeginTx is canceled.
    //
    // The provided [TxOptions] is optional and may be nil if defaults should be used.
    // If a non-default isolation level is used that the driver doesn't support,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		doBreak := i != numReqs
    
    		ctx := httptrace.WithClientTrace(context.Background(), &httptrace.ClientTrace{
    			GotConn: func(info httptrace.GotConnInfo) {
    				t.Logf("got conn: %v, reused=%v, wasIdle=%v, idleTime=%v", info.Conn.LocalAddr(), info.Reused, info.WasIdle, info.IdleTime)
    				atomic.AddUint32(&gotConns, 1)
    			},
    			TLSHandshakeDone: func(cfg tls.ConnectionState, err error) {
    				brokenState.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm9.go

    		/* 0 = invalidates the block containing EA in all processors. */
    		/* 1 = same as 0, but with limited scope (i.e. block in the current processor will not be reused soon). */
    		/* 3 = same as 1, but with even more limited scope (i.e. block in the current processor primary cache will not be reused soon). */
    		if p.To.Type == obj.TYPE_NONE {
    			o1 = AOP_RRR(c.oprrr(p.As), 0, uint32(p.From.Index), uint32(p.From.Reg))
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    			t.Fatal(err)
    		}
    		res.Body.Close()
    		if conns != 1 {
    			t.Fatalf("request %v: got %v conns, want 1", try, conns)
    		}
    		if info.Reused || info.WasIdle {
    			t.Fatalf("request %v: Reused=%v (want false), WasIdle=%v (want false)", try, info.Reused, info.WasIdle)
    		}
    	}
    }
    
    // Issue 18447: test that the Server's ReadTimeout is stopped while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // attached to control flow share following common properties:
      //   1) They are never reused, ie. having a single use in module.
      //   2) Their input types match those of their parent ops (excluding inputs
      //      like predicate).
      // For calls, functions can be reused across multiple call sites. In this case
      // we propagate the types when all call sites have the same operand types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	}
    }
    
    // shouldReuseConnection reports whether the underlying TCP connection can be reused.
    // It must only be called after the handler is done executing.
    func (w *response) shouldReuseConnection() bool {
    	if w.closeAfterReply {
    		// The request or something set while executing the
    		// handler indicated we shouldn't reuse this
    		// connection.
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    }
    
    func (c *ctxOnlyConn) Close() error {
    	return c.fc.Close()
    }
    
    // Prepare is still part of the Conn interface, so while it isn't used
    // must be defined for compatibility.
    func (c *ctxOnlyConn) Prepare(q string) (driver.Stmt, error) {
    	panic("not used")
    }
    
    func (c *ctxOnlyConn) PrepareContext(ctx context.Context, q string) (driver.Stmt, error) {
    	return c.fc.PrepareContext(ctx, q)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // Check that a fresh connection was created, either immediately or after attempting reuse.
        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
        // creating a fresh connection, the server may have recorded 2 requests at this point. The order
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
       * constructors with arguments. MUST be a power of two {@code <= 1<<30} to ensure that entries are
       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
Back to top