Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsIdleForTesting (0.11 sec)

  1. src/net/http/export_test.go

    		}
    	}
    	return 0
    }
    
    func (t *Transport) IdleConnWaitMapSizeForTesting() int {
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    	return len(t.idleConnWait)
    }
    
    func (t *Transport) IsIdleForTesting() bool {
    	t.idleMu.Lock()
    	defer t.idleMu.Unlock()
    	return t.closeIdle
    }
    
    func (t *Transport) QueueForIdleConnForTesting() {
    	t.queueForIdleConn(nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top