Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for livable (0.17 sec)

  1. src/net/http/server.go

    // SetKeepAlivesEnabled controls whether HTTP keep-alives are enabled.
    // By default, keep-alives are always enabled. Only very
    // resource-constrained environments or servers in the process of
    // shutting down should disable them.
    func (srv *Server) SetKeepAlivesEnabled(v bool) {
    	if v {
    		srv.disableKeepAlives.Store(false)
    		return
    	}
    	srv.disableKeepAlives.Store(true)
    
    	// Close idle HTTP/1 conns:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    // (https://policies.google.com/privacy).
    //
    // To view the current telemetry mode, run "go telemetry".
    // To disable telemetry uploading, but keep local data collection, run
    // "go telemetry local".
    // To enable both collection and uploading, run “go telemetry on”.
    // To disable both collection and uploading, run "go telemetry off".
    //
    // See https://go.dev/doc/telemetry for more information on telemetry.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    	}, func(t *testing.T, timeout time.Duration) error {
    		cst := newClientServerTest(t, mode, serve(200), func(ts *httptest.Server) {
    			ts.Config.ReadHeaderTimeout = timeout
    			ts.Config.IdleTimeout = 0 // disable idle timeout
    		})
    		defer cst.close()
    		ts := cst.ts
    
    		// rather than using an http.Client, create a single connection, so that
    		// we can ensure this connection is not closed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func SetProcessPriorityBoost(process Handle, disable bool) (err error) {
    	var _p0 uint32
    	if disable {
    		_p0 = 1
    	}
    	r1, _, e1 := syscall.Syscall(procSetProcessPriorityBoost.Addr(), 2, uintptr(process), uintptr(_p0), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		buf.Flush()
    		conn.Close()
    	}))
    
    	// Our test server above is sending back bogus data after the
    	// response (the "0\r\n\r\n" part), which causes the Transport
    	// code to log spam. Disable keep-alives so we never even try
    	// to reuse the connection.
    	cst.tr.DisableKeepAlives = true
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if res.Body != NoBody {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    	// But that would mean that if an analysis causes problems like
    	// unexpected crashes there would be no way to turn it off.
    	// It seems better to let the flags disable export analysis too.
    	fmt.Fprintf(h, "vetflags %q\n", vetFlags)
    
    	fmt.Fprintf(h, "pkg %q\n", a.Deps[0].actionID)
    	for _, a1 := range a.Deps {
    		if a1.Mode == "vet" && a1.built != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package ld
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top