Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for InUse (0.03 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    this.netbiosName = null;
    
                    synchronized ( this.trees ) {
                        long us = this.usageCount.get();
                        if ( ( inUse && us != 1 ) || ( !inUse && us > 0 ) ) {
                            log.warn("Logging off session while still in use " + this + ":" + this.trees);
                            wasInUse = true;
                        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts), 2)
    	for _, stmt := range conn.Stmts {
    		if stmt == nil {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        @Override
        protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException {
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
            long l = getUsageCount();
            if ( ( inUse && l != 1 ) || ( !inUse && l > 0 ) ) {
                log.warn("Disconnecting transport while still in use " + this + ": " + this.sessions);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. api/go1.11.txt

    pkg database/sql, method (IsolationLevel) String() string
    pkg database/sql, type DBStats struct, Idle int
    pkg database/sql, type DBStats struct, InUse int
    pkg database/sql, type DBStats struct, MaxIdleClosed int64
    pkg database/sql, type DBStats struct, MaxLifetimeClosed int64
    pkg database/sql, type DBStats struct, MaxOpenConnections int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
Back to top