Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for livable (0.28 sec)

  1. src/crypto/x509/root.go

    // panic.
    //
    // The fallback behavior can be forced on all platforms, even when there is a
    // system certificate pool, by setting GODEBUG=x509usefallbackroots=1 (note that
    // on Windows and macOS this will disable usage of the platform verification
    // APIs and cause the pure Go verifier to be used). Setting
    // x509usefallbackroots=1 without calling SetFallbackRoots has no effect.
    func SetFallbackRoots(roots *CertPool) {
    	if roots == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/sync/pool_test.go

    //
    //go:build !race
    
    package sync_test
    
    import (
    	"runtime"
    	"runtime/debug"
    	"slices"
    	. "sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    func TestPool(t *testing.T) {
    	// disable GC so we can control when it happens.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	var p Pool
    	if p.Get() != nil {
    		t.Fatal("expected empty")
    	}
    
    	// Make sure that the goroutine doesn't migrate to another P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go

    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (any, error) {
    	// Prior to go1.22, versions.FileVersion returns only the
    	// toolchain version, which is of no use to us, so
    	// disable this analyzer on earlier versions.
    	if !slicesContains(build.Default.ReleaseTags, "go1.22") {
    		return nil, nil
    	}
    
    	// Don't report diagnostics for modules marked before go1.21,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/runtime/crash_unix_test.go

    		t.Errorf("unexpected \"unexpected SPWRITE\" in traceback:\n%s", tb)
    	}
    }
    
    func init() {
    	if len(os.Args) >= 2 && os.Args[1] == "testPanicSystemstackInternal" {
    		// Complete any in-flight GCs and disable future ones. We're going to
    		// block goroutines on runtime locks, which aren't ever preemptible for the
    		// GC to scan them.
    		runtime.GC()
    		debug.SetGCPercent(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/sync/atomic/value.go

    	}
    	vp := (*efaceWords)(unsafe.Pointer(v))
    	vlp := (*efaceWords)(unsafe.Pointer(&val))
    	for {
    		typ := LoadPointer(&vp.typ)
    		if typ == nil {
    			// Attempt to start first store.
    			// Disable preemption so that other goroutines can use
    			// active spin wait to wait for completion.
    			runtime_procPin()
    			if !CompareAndSwapPointer(&vp.typ, nil, unsafe.Pointer(&firstStoreInProgress)) {
    				runtime_procUnpin()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/telemetrycmd/telemetry.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.
    `,
    	Run: runTelemetry,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/internal/race/race.go

    	runtime.RaceAcquire(addr)
    }
    
    func Release(addr unsafe.Pointer) {
    	runtime.RaceRelease(addr)
    }
    
    func ReleaseMerge(addr unsafe.Pointer) {
    	runtime.RaceReleaseMerge(addr)
    }
    
    func Disable() {
    	runtime.RaceDisable()
    }
    
    func Enable() {
    	runtime.RaceEnable()
    }
    
    func Read(addr unsafe.Pointer) {
    	runtime.RaceRead(addr)
    }
    
    func Write(addr unsafe.Pointer) {
    	runtime.RaceWrite(addr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 881 bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips64/obj.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 mips64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/crypto/tls/example_test.go

    	// verify the peer's certificate.
    
    	// Client side configuration.
    	_ = &tls.Config{
    		// Set InsecureSkipVerify to skip the default validation we are
    		// replacing. This will not disable VerifyConnection.
    		InsecureSkipVerify: true,
    		VerifyConnection: func(cs tls.ConnectionState) error {
    			opts := x509.VerifyOptions{
    				DNSName:       cs.ServerName,
    				Intermediates: x509.NewCertPool(),
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400_linux.go

    	}()
    
    	// Grow the stack and put down a test pattern
    	const pattern = 0x123456789abcdef
    	var big [1024]uint64 // len must match assembly
    	for i := range big {
    		big[i] = pattern
    	}
    
    	// Disable GC for the duration of the test.
    	// This avoids a potential GC deadlock when spinning in uninterruptible ASM below #49695.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top