Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for livable (0.1 sec)

  1. 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)
  2. src/runtime/extern.go

    GOTRACEBACK=crash is like “system” but crashes in an operating system-specific
    manner instead of exiting. For example, on Unix systems, the crash raises
    SIGABRT to trigger a core dump.
    GOTRACEBACK=wer is like “crash” but doesn't disable Windows Error Reporting (WER).
    For historical reasons, the GOTRACEBACK settings 0, 1, and 2 are synonyms for
    none, all, and system, respectively.
    The [runtime/debug.SetTraceback] function allows increasing the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    //
    // To include every blocking event in the profile, pass rate = 1.
    // To turn off profiling entirely, pass rate <= 0.
    func SetBlockProfileRate(rate int) {
    	var r int64
    	if rate <= 0 {
    		r = 0 // disable profiling
    	} else if rate == 1 {
    		r = 1 // profile everything
    	} else {
    		// convert ns to cycles, use float64 to prevent overflow during multiplication
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/go/types/infer.go

    // (incl. returned) to variables of function type and type
    // inference will attempt to infer the missing type arguments.
    // Available with go1.21.
    const enableReverseTypeInference = true // disable for debugging
    
    // infer attempts to infer the complete set of type arguments for generic function instantiation/call
    // based on the given type parameters tparams, type arguments targs, function parameters params, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/trace.go

    	mp := acquirem()
    
    	// Advance the generation or stop the trace.
    	trace.lastNonZeroGen = gen
    	if stopTrace {
    		systemstack(func() {
    			// Ordering is important here. Set shutdown first, then disable tracing,
    			// so that conditions like (traceEnabled() || traceShuttingDown()) have
    			// no opportunity to be false. Hold the trace lock so this update appears
    			// atomic to the trace reader.
    			lock(&trace.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/internal/obj/x86/asm6.go

    	}
    
    	return true, fusedSize
    }
    
    type padJumpsCtx int32
    
    func makePjcCtx(ctxt *obj.Link) padJumpsCtx {
    	// Disable jump padding on 32 bit builds by setting
    	// padJumps to 0.
    	if ctxt.Arch.Family == sys.I386 {
    		return padJumpsCtx(0)
    	}
    
    	// Disable jump padding for hand written assembly code.
    	if ctxt.IsAsm {
    		return padJumpsCtx(0)
    	}
    
    	return padJumpsCtx(32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    C compiler (typically gcc or clang) cannot be found on the system PATH.
    You can override the default by setting the CGO_ENABLED
    environment variable when running the go tool: set it to 1 to enable
    the use of cgo, and to 0 to disable it. The go tool will set the
    build constraint "cgo" if cgo is enabled. The special import "C"
    implies the "cgo" build constraint, as though the file also said
    "//go:build cgo".  Therefore, if cgo is disabled, files that import
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    			return
    		}
    	}
    	hint.next = nil
    }
    
    // MapNextArenaHint reserves a page at the next arena growth hint,
    // preventing the arena from growing there, and returns the range of
    // addresses that are no longer viable.
    //
    // This may fail to reserve memory. If it fails, it still returns the
    // address range it attempted to reserve.
    func MapNextArenaHint() (start, end uintptr, ok bool) {
    	hint := mheap_.arenaHints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top