Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 165 for goGcflags (0.16 sec)

  1. hack/test-integration.sh

    echo '    make test-integration'
    echo
    echo "The following invocation will run a specific test with the verbose flag set: "
    echo '    make test-integration WHAT=./test/integration/pods GOFLAGS="-v" KUBE_TEST_ARGS="-run ^TestPodUpdateActiveDeadlineSeconds$"'
    echo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 00:27:40 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. src/net/netip/inlining_test.go

    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    	regexp.MustCompile(` can inline (\S+)`).ReplaceAllFunc(out, func(match []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gc.go

    	if symabis != "" {
    		defaultGcFlags = append(defaultGcFlags, "-symabis", symabis)
    	}
    
    	gcflags := str.StringList(forcedGcflags, p.Internal.Gcflags)
    	if p.Internal.FuzzInstrument {
    		gcflags = append(gcflags, fuzzInstrumentFlags()...)
    	}
    	// Add -c=N to use concurrent backend compilation, if possible.
    	if c := gcBackendConcurrency(gcflags); c > 1 {
    		defaultGcFlags = append(defaultGcFlags, fmt.Sprintf("-c=%d", c))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/cmd/doc/dirs.go

    	mainMod, go114, err := getMainModuleAnd114()
    	if err != nil {
    		return nil, false, err
    	}
    
    	stdout, _ := exec.Command(goCmd(), "env", "GOFLAGS").Output()
    	goflags := string(bytes.TrimSpace(stdout))
    	matches := modFlagRegexp.FindStringSubmatch(goflags)
    	var modFlag string
    	if len(matches) != 0 {
    		modFlag = matches[1]
    	}
    	if modFlag != "" {
    		// Don't override an explicit '-mod=' argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  5. src/runtime/debug/mod.go

    //
    //   - -buildmode: the buildmode flag used (typically "exe")
    //   - -compiler: the compiler toolchain flag used (typically "gc")
    //   - CGO_ENABLED: the effective CGO_ENABLED environment variable
    //   - CGO_CFLAGS: the effective CGO_CFLAGS environment variable
    //   - CGO_CPPFLAGS: the effective CGO_CPPFLAGS environment variable
    //   - CGO_CXXFLAGS:  the effective CGO_CXXFLAGS environment variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (1)
  6. src/cmd/go/testdata/script/build_shorten_pkg.txt

    # Accurate reporting of notable loops in the presence of inlining
    # can create warnings in sibling directories, and it's nice if those
    # can be trimmed like subdirectory paths are.
    
    env GOEXPERIMENT=loopvar
    go build -gcflags=inlines/a=-d=loopvar=2 .
    stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go
    stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go
    
    -- go.mod --
    module inlines
    
    go 1.21
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 09:07:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_indirect.txt

    env GO111MODULE=on
    
    # golang.org/issue/31248: required modules imposed by dependency versions
    # older than the selected version must still be taken into account.
    
    env GOFLAGS=-mod=readonly
    
    # Indirect dependencies required via older-than-selected versions must exist in
    # the module graph, but do not need to be listed explicitly in the go.mod file
    # (since they are implied).
    go mod graph
    stdout i@v0.1.0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 13 20:13:25 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_modcache.txt

    # module cache is writable. (For example, on some platforms it can always be
    # written if the user is running as root.) At one point, a failing fuzz test
    # in a writable module cache would corrupt module checksums in the cache.
    env GOFLAGS=-modcacherw
    
    
    # When the upstream module has no test corpus, running 'go test' should succeed,
    # but 'go test -fuzz=.' should error out before running the test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:39 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  9. doc/next/5-toolchain.md

    a cost of an additional 0.1% text and binary size.  This is currently only implemented
    on 386 and amd64 because it has not shown an improvement on other platforms.
    Hot block alignment can be disabled with `-gcflags=[<packages>=]-d=alignhot=0`
    
    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    <!-- go.dev/issue/67401, CL 585556, CL 587220, and many more -->
    The linker now disallows using a `//go:linkname` directive to refer to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. test/inline_caller.go

    // run -gcflags -l=4
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    type frame struct {
    	pc   uintptr
    	file string
    	line int
    	ok   bool
    }
    
    var (
    	skip        int
    	globalFrame frame
    )
    
    func f() {
    	g() // line 27
    }
    
    func g() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 08 21:54:04 UTC 2019
    - 1.4K bytes
    - Viewed (0)
Back to top