Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for defaults (0.21 sec)

  1. go.env

    # This file contains the initial defaults for go command configuration.
    # Values set by 'go env -w' and written to the user's go/env file override these.
    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Jun 06 19:18:46 GMT 2023
    - 505 bytes
    - Viewed (0)
  2. doc/next/6-stdlib/99-minor/os/61893.md

    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  3. 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
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. doc/godebug.md

    [`gotypesalias` setting](/pkg/go/types#Alias).
    For Go 1.22 it defaults to `gotypesalias=0`.
    For Go 1.23, `gotypesalias=1` will become the default.
    This setting will be removed in a future release, Go 1.24 at the earliest.
    
    Go 1.22 changed the default minimum TLS version supported by both servers
    and clients to TLS 1.2. The default can be reverted to TLS 1.0 using the
    [`tls10server` setting](/pkg/crypto/tls/#Config).
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    a single one that can proceed is chosen via a uniform pseudo-random selection.
    Otherwise, if there is a default case, that case is chosen.
    If there is no default case, the "select" statement blocks until
    at least one of the communications can proceed.
    </li>
    
    <li>
    Unless the selected case is the default case, the respective communication
    operation is executed.
    </li>
    
    <li>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/cmd/api/api_test.go

    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    	build.Default.GOROOT = testenv.GOROOT(nil)
    
    	os.Exit(m.Run())
    }
    
    var (
    	updateGolden = flag.Bool("updategolden", false, "update golden files")
    )
    
    func TestGolden(t *testing.T) {
    	if *flagCheck {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast_go118.go

    //go:build !compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 730 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/testdata/callback/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		fatal("usage: callback testname")
    	}
    	switch os.Args[1] {
    	default:
    		fatal("unknown test %q", os.Args[1])
    	case "Call":
    		testCall()
    	case "Callback":
    		testCallback()
    	}
    	println("OK")
    }
    
    func fatal(f string, args ...any) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue18146.go

    	// Tediously, RLIMIT_NPROC was left out of the syscall package,
    	// probably because it is not in POSIX.1, so we define it here.
    	// It is not defined on Solaris.
    	var nproc int
    	setNproc := true
    	switch runtime.GOOS {
    	default:
    		setNproc = false
    	case "aix":
    		nproc = 9
    	case "linux":
    		nproc = 6
    	case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. api/go1.3.txt

    pkg syscall (netbsd-386), const MAP_INHERIT_COPY = 1
    pkg syscall (netbsd-386), const MAP_INHERIT_COPY ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_DEFAULT = 1
    pkg syscall (netbsd-386), const MAP_INHERIT_DEFAULT ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_DONATE_COPY = 3
    pkg syscall (netbsd-386), const MAP_INHERIT_DONATE_COPY ideal-int
    pkg syscall (netbsd-386), const MAP_INHERIT_NONE = 2
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
Back to top