Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for numOpen (0.23 sec)

  1. src/database/sql/sql_test.go

    			return
    		}
    
    		if !broken || !retried {
    			t.Error(name + ": Failed to simulate broken connection")
    		}
    		*hook = nil
    
    		if numOpen != db.numOpen {
    			t.Errorf(name+": leaked %d connection(s)!", db.numOpen-numOpen)
    			numOpen = db.numOpen
    		}
    	}
    
    	// db.Exec
    	dbExec := func() error {
    		_, err := db.Exec("INSERT|t1|name=?,age=?,dead=?", "Gordon", 3, true)
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    	// maybeOpenNewConnections has already executed db.numOpen++ before it sent
    	// on db.openerCh. This function must execute db.numOpen-- if the
    	// connection fails or is closed before returning.
    	ci, err := db.connector.Connect(ctx)
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	if db.closed {
    		if err == nil {
    			ci.Close()
    		}
    		db.numOpen--
    		return
    	}
    	if err != nil {
    		db.numOpen--
    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. pkg/proxy/nftables/proxier_test.go

    		add rule ip kube-proxy service-ULMVA6XW-ns1/svc1/tcp/p80 ip daddr 172.30.0.41 tcp dport 80 ip saddr != 10.0.0.0/8 jump mark-for-masquerade
    		add rule ip kube-proxy service-ULMVA6XW-ns1/svc1/tcp/p80 numgen random mod 1 vmap { 0 : goto endpoint-5OJB2KTY-ns1/svc1/tcp/p80__10.180.0.1/80 }
    
    		add chain ip kube-proxy endpoint-5OJB2KTY-ns1/svc1/tcp/p80__10.180.0.1/80
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top