Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for livable (0.23 sec)

  1. src/sync/waitgroup.go

    // See the WaitGroup example.
    func (wg *WaitGroup) Add(delta int) {
    	if race.Enabled {
    		if delta < 0 {
    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/go/types/unify.go

    						return false
    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    					// In this case, either x or y could be viable matches for the corresponding
    					// type parameter, which means choosing either introduces an order dependence.
    					// Therefore, we must fail unification (go.dev/issue/60933).
    					return false
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K 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/net/http/h2_bundle.go

    	}
    	sc.startGracefulShutdownInternal()
    	// http://tools.ietf.org/html/rfc7540#section-6.8
    	// We should not create any new streams, which means we should disable push.
    	sc.pushEnabled = false
    	return nil
    }
    
    // isPushed reports whether the stream is server-initiated.
    func (st *http2stream) isPushed() bool {
    	return st.id%2 == 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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