Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Connector (0.18 sec)

  1. src/database/sql/sql.go

    // connection is returned to [DB]'s idle connection pool. The pool size
    // can be controlled with [DB.SetMaxIdleConns].
    type DB struct {
    	// Total time waited for new connections.
    	waitDuration atomic.Int64
    
    	connector driver.Connector
    	// numClosed is an atomic counter which represents a total number of
    	// closed connections. Stmt.openStmt checks it before cleaning closed
    	// connections in Stmt.css.
    	numClosed atomic.Uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer db.Close()
    
    	c, ok := db.connector.(*fakeConnector)
    	if !ok {
    		t.Fatal("not using *fakeConnector")
    	}
    
    	if err := db.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	if !c.closed {
    		t.Fatal("connector is not closed")
    	}
    }
    
    type ctxOnlyDriver struct {
    	fakeDriver
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/unicode/tables.go

    	N      = _N
    	Other  = _C // Other/C is the set of Unicode control and special characters, category C.
    	C      = _C
    	Pc     = _Pc // Pc is the set of Unicode characters in category Pc (Punctuation, connector).
    	Pd     = _Pd // Pd is the set of Unicode characters in category Pd (Punctuation, dash).
    	Pe     = _Pe // Pe is the set of Unicode characters in category Pe (Punctuation, close).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 04:29:53 UTC 2023
    - 205.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	return storage.fakeWatch
    }
    
    // Implement Connecter
    type ConnecterRESTStorage struct {
    	connectHandler http.Handler
    	handlerFunc    func() http.Handler
    
    	emptyConnectOptions    runtime.Object
    	receivedConnectOptions runtime.Object
    	receivedID             string
    	receivedResponder      rest.Responder
    	takesPath              string
    }
    
    // Implement Connecter
    var _ = rest.Connecter(&ConnecterRESTStorage{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top