Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for livable (0.12 sec)

  1. src/sync/rwmutex.go

    // Happens-before relationships are indicated to the race detector via:
    // - Unlock  -> Lock:  readerSem
    // - Unlock  -> RLock: readerSem
    // - RUnlock -> Lock:  writerSem
    //
    // The methods below temporarily disable handling of race synchronization
    // events in order to provide the more precise model above to the race
    // detector.
    //
    // For example, atomic.AddInt32 in RLock should not appear to provide
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    			}
    			// A main module can only be set to its own version.
    			continue
    		}
    
    		vr, ok := r.resolvedVersion[m.Path]
    		if !ok {
    			// m is a viable answer to the query, but other answers may also
    			// still be viable.
    			filtered.pkgMods = append(filtered.pkgMods, m)
    			continue
    		}
    
    		if vr.version != m.Version {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/help/helpdoc.go

    		of module path prefixes that should always be fetched in an insecure
    		manner. Only applies to dependencies that are being fetched directly.
    		GOINSECURE does not disable checksum database validation. GOPRIVATE or
    		GONOSUMDB may be used to achieve that.
    	GOOS
    		The operating system for which to compile code.
    		Examples are linux, darwin, windows, netbsd.
    	GOPATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/init.go

    			base.Fatalf("go: modules disabled by GO111MODULE=off; see 'go help modules'")
    		}
    		mustUseModules = false
    		return
    	}
    
    	if err := fsys.Init(base.Cwd()); err != nil {
    		base.Fatal(err)
    	}
    
    	// Disable any prompting for passwords by Git.
    	// Only has an effect for 2.3.0 or later, but avoiding
    	// the prompt in earlier versions is just too hard.
    	// If user has explicitly set GIT_TERMINAL_PROMPT=1, keep
    	// prompting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  7. src/runtime/gc_test.go

    	// is very heavy-weight and not easy to stop, so we could end up
    	// confusing the benchmarking framework for small b.N.
    	b.StopTimer()
    	stop()
    
    	// Disable the default */op metrics.
    	// ns/op doesn't mean anything because it's an average, but we
    	// have a sleep in our b.N loop above which skews this significantly.
    	b.ReportMetric(0, "ns/op")
    	b.ReportMetric(0, "B/op")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/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.8K bytes
    - Viewed (0)
  9. src/net/http/transport.go

    			if h2i, ok := v.Interface().(h2Transport); ok {
    				t.h2transport = h2i
    				return
    			}
    		}
    	}
    
    	if t.TLSNextProto != nil {
    		// This is the documented way to disable http2 on a
    		// Transport.
    		return
    	}
    	if !t.ForceAttemptHTTP2 && (t.TLSClientConfig != nil || t.Dial != nil || t.DialContext != nil || t.hasCustomTLSDialer()) {
    		// Be conservative and don't automatically enable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  10. src/sync/pool.go

    func (p *Pool) Put(x any) {
    	if x == nil {
    		return
    	}
    	if race.Enabled {
    		if runtime_randn(4) == 0 {
    			// Randomly drop x on floor.
    			return
    		}
    		race.ReleaseMerge(poolRaceAddr(x))
    		race.Disable()
    	}
    	l, _ := p.pin()
    	if l.private == nil {
    		l.private = x
    	} else {
    		l.shared.pushHead(x)
    	}
    	runtime_procUnpin()
    	if race.Enabled {
    		race.Enable()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top