Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 202 for livable (0.2 sec)

  1. src/cmd/dist/build.go

    func toolenv() []string {
    	var env []string
    	if !mustLinkExternal(goos, goarch, false) {
    		// Unless the platform requires external linking,
    		// we disable cgo to get static binaries for cmd/go and cmd/pprof,
    		// so that they work on systems without the same dynamic libraries
    		// as the original build system.
    		env = append(env, "CGO_ENABLED=0")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/runtime/os3_solaris.go

    		throw("pthread_attr_getstack")
    	}
    	mp.g0.stack.lo = mp.g0.stack.hi - uintptr(size)
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		throw("pthread_attr_setdetachstate")
    	}
    
    	// Disable signals during create, so that the new thread starts
    	// with signals disabled. It will enable them in minit.
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	ret = retryOnEAGAIN(func() int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/link/internal/amd64/asm.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 amd64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/pprof/readlineui.go

    // The upstream pprof command implements the same functionality
    // using the github.com/chzyer/readline package.
    type readlineUI struct {
    	term *term.Terminal
    }
    
    func newReadlineUI() driver.UI {
    	// disable readline UI in dumb terminal. (golang.org/issue/26254)
    	if v := strings.ToLower(os.Getenv("TERM")); v == "" || v == "dumb" {
    		return nil
    	}
    	// test if we can use term.ReadLine
    	// that assumes operation in the raw mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/dist/buildtool.go

    	os.Setenv("GOARCH", "")
    	os.Setenv("GOHOSTARCH", "")
    
    	// Run Go bootstrap to build binaries.
    	// Use the math_big_pure_go build tag to disable the assembly in math/big
    	// which may contain unsupported instructions.
    	// Use the purego build tag to disable other assembly code,
    	// such as in cmd/internal/notsha256.
    	cmd := []string{
    		pathf("%s/bin/go", goroot_bootstrap),
    		"install",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    	// Replace x.go:19[/tmp/.../x.cgo1.go:18] with x.go:19.
    	// Replace *[100]_Ctype_foo with *[100]C.foo.
    	// If we're using -x, assume we're debugging and want the full dump, so disable the rewrite.
    	if !cfg.BuildX && cgoLine.MatchString(out) {
    		out = cgoLine.ReplaceAllString(out, "")
    		out = cgoTypeSigRe.ReplaceAllString(out, "C.")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/language/language.go

    }
    
    // IsRoot returns true if t is equal to language "und".
    func (t Tag) IsRoot() bool {
    	return compact.Tag(t).IsRoot()
    }
    
    // CanonType can be used to enable or disable various types of canonicalization.
    type CanonType int
    
    const (
    	// Replace deprecated base languages with their preferred replacements.
    	DeprecatedBase CanonType = 1 << iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    		}
    	}
    }
    
    // setProcessCPUProfilerTimer is called when the profiling timer changes.
    // It is called with prof.signalLock held. hz is the new timer, and is 0 if
    // profiling is being disabled. Enable or disable the signal as
    // required for -buildmode=c-archive.
    func setProcessCPUProfilerTimer(hz int32) {
    	if hz != 0 {
    		// Enable the Go signal handler if not enabled.
    		if atomic.Cas(&handlingSig[_SIGPROF], 0, 1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf.go

     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top