Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for enabled (0.18 sec)

  1. src/cmd/cgo/doc.go

    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    as well as when the CC environment variable is unset and the default
    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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    func (in *Input) enabled() bool {
    	return len(in.ifdefStack) == 0 || in.ifdefStack[len(in.ifdefStack)-1]
    }
    
    func (in *Input) expectNewline(directive string) {
    	tok := in.Stack.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. doc/godebug.md

    profile](/pkg/runtime/pprof#Profile). Contention on these locks is always
    reported at `runtime._LostContendedRuntimeLock`. Complete stack traces of
    runtime locks can be enabled with the [`runtimecontentionstacks`
    setting](/pkg/runtime#hdr-Environment_Variable). These stack traces have
    non-standard semantics, see setting documentation for details.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. api/go1.21.txt

    pkg log/slog, type Attr struct #56345
    pkg log/slog, type Attr struct, Key string #56345
    pkg log/slog, type Attr struct, Value Value #56345
    pkg log/slog, type Handler interface, Enabled(context.Context, Level) bool #56345
    pkg log/slog, type Handler interface { Enabled, Handle, WithAttrs, WithGroup } #56345
    pkg log/slog, type Handler interface, Handle(context.Context, Record) error #56345
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		dataAddr:    make(map[string]int64),
    		errorWriter: os.Stderr,
    		allowABI:    ctxt != nil && objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI,
    		pkgPrefix:   pkgPrefix,
    	}
    }
    
    // panicOnError is enabled when testing to abort execution on the first error
    // and turn it into a recoverable panic.
    var panicOnError bool
    
    func (p *Parser) errorf(format string, args ...interface{}) {
    	if panicOnError {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    	}
    	for k, v := range paxHdrs {
    		if !validPAXRecord(k, v) {
    			return FormatUnknown, nil, headerError{fmt.Sprintf("invalid PAX record: %q", k+" = "+v)}
    		}
    	}
    
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Check sparse files.
    		if len(h.SparseHoles) > 0 || h.Typeflag == TypeGNUSparse {
    			if isHeaderOnlyType(h.Typeflag) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. src/cmd/api/main_test.go

    	if c == nil {
    		return os.Environ()
    	}
    
    	environ := append(os.Environ(),
    		"GOOS="+c.GOOS,
    		"GOARCH="+c.GOARCH)
    	if c.CgoEnabled {
    		environ = append(environ, "CGO_ENABLED=1")
    	} else {
    		environ = append(environ, "CGO_ENABLED=0")
    	}
    	return environ
    }
    
    type apiPackage struct {
    	*types.Package
    	Files []*ast.File
    }
    
    // Importing is a sentinel taking the place in Walker.imported
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    			adb("exec-out", "killall -QUIT "+binName)
    		}
    	}()
    	cmd := `export TMPDIR="` + deviceGotmp + `"` +
    		`; export GOROOT="` + deviceGoroot + `"` +
    		`; export GOPATH="` + deviceGopath + `"` +
    		`; export CGO_ENABLED=0` +
    		`; export GOPROXY=` + os.Getenv("GOPROXY") +
    		`; export GOCACHE="` + deviceRoot + `/gocache"` +
    		`; export PATH="` + deviceGoroot + `/bin":$PATH` +
    		`; export HOME="` + deviceRoot + `/home"` +
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	}
    	return tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag)
    }
    
    func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error {
    	realName, realSize := hdr.Name, hdr.Size
    
    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Handle sparse files.
    		var spd sparseDatas
    		var spb []byte
    		if len(hdr.SparseHoles) > 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    			// versions of Go, we skeptically parse the atime and ctime fields.
    			// If we are unable to parse them and the prefix field looks like
    			// an ASCII string, then we fallback on the pre-Go1.8 behavior
    			// of treating these fields as the USTAR prefix field.
    			//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top