Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for regUsed (0.14 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. cmd/site-replication.go

    	}
    
    	// Next should be userAccounts those are local users, OIDC and LDAP will not
    	// may not have any local users.
    	{
    		userAccounts := make(map[string]UserIdentity)
    		err := globalIAMSys.store.loadUsers(ctx, regUser, userAccounts)
    		if err != nil {
    			return errSRBackendIssue(err)
    		}
    
    		for _, acc := range userAccounts {
    			if err := c.IAMChangeHook(ctx, madmin.SRIAMItem{
    				Type: madmin.SRIAMItemIAMUser,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    	maxOpen           int                    // <= 0 means unlimited
    	maxLifetime       time.Duration          // maximum amount of time a connection may be reused
    	maxIdleTime       time.Duration          // maximum amount of time a connection may be idle before being closed
    	cleanerCh         chan struct{}
    	waitCount         int64 // Total number of connections waited for.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/http/server.go

    	w.reqBody.Close()
    
    	if w.req.MultipartForm != nil {
    		w.req.MultipartForm.RemoveAll()
    	}
    }
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    			// Thus it is timeOffset + secondTimeOffset + 3 (+2 for Close while reusing conns and +1 for Conn).
    			10*time.Millisecond + 100*time.Nanosecond + 3*time.Nanosecond,
    			time.Nanosecond,
    			// Closed all not reused connections and extra one by max lifetime.
    			int64(usedConns - reusedConns + 1),
    			int64(usedConns - reusedConns),
    			10 * time.Millisecond,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          ),
        )
        val responseAfter = MockResponse(body = "This comes after a busted connection")
        server.enqueue(responseAfter)
        server.enqueue(responseAfter) // Enqueue 2x because the broken connection may be reused.
        val response1 = getResponse(newRequest("/a"))
        response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
        assertContent("This connection won't pool properly", response1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top