Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for csflags (0.57 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    	// First some score adjustments to discourage inlining in selected cases.
    	if csflags&CallSiteOnPanicPath != 0 {
    		score, tmask = adjustScore(panicPathAdj, score, tmask)
    	}
    	if csflags&CallSiteInInitFunc != 0 {
    		score, tmask = adjustScore(initFuncAdj, score, tmask)
    	}
    
    	// Then adjustments to encourage inlining in selected cases.
    	if csflags&CallSiteInLoop != 0 {
    		score, tmask = adjustScore(inLoopAdj, score, tmask)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/cmd/link/elf_test.go

    		t.Logf("%s %v -c -o %s %s", cc, cflags, obj, csrcFile)
    		if out, err := testenv.Command(t, cc, append(cflags, "-c", "-o", obj, csrcFile)...).CombinedOutput(); err != nil {
    			t.Logf("%s", out)
    			t.Fatal(err)
    		}
    	}
    
    	sysoObj := filepath.Join(dir, "ldr.syso")
    	t.Logf("%s %v -nostdlib -r -o %s %v", cc, cflags, sysoObj, objs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    	}
    	return args
    }
    
    // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo.
    func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
    	if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
    		return
    	}
    	if cflags, err = buildFlags("CFLAGS", DefaultCFlags, p.CgoCFLAGS, checkCompilerFlags); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/base/goflags.go

    	"cmd/internal/quoted"
    )
    
    var goflags []string // cached $GOFLAGS list; can be -x or --x form
    
    // GOFLAGS returns the flags from $GOFLAGS.
    // The list can be assumed to contain one string per flag,
    // with each string either beginning with -name or --name.
    func GOFLAGS() []string {
    	InitGOFLAGS()
    	return goflags
    }
    
    // InitGOFLAGS initializes the goflags list from $GOFLAGS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/swig_test.go

    		extraLDFlags := ""
    		if strings.Contains(testenv.Builder(), "clang") {
    			extraLDFlags += " -fuse-ld=lld"
    		}
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags+extraLDFlags)
    	}
    	out, err := cmd.CombinedOutput()
    	if string(out) != "OK\n" {
    		t.Errorf("%s", string(out))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/flags/flags.go

    // Copyright 2015 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 flags implements top-level flags and the usage message for the assembler.
    package flags
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"flag"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/kubelet/flags.go

    		nodeName = name
    	}
    	return nodeName, hostname, err
    }
    
    // WriteKubeletDynamicEnvFile writes an environment file with dynamic flags to the kubelet.
    // Used at "kubeadm init" and "kubeadm join" time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    			enabled[a] = enable
    		}
    
    		a.Flags.VisitAll(func(f *flag.Flag) {
    			if !multi && flag.Lookup(f.Name) != nil {
    				log.Printf("%s flag -%s would conflict with driver; skipping", a.Name, f.Name)
    				return
    			}
    
    			name := prefix + f.Name
    			flag.Var(f.Value, name, f.Usage)
    		})
    	}
    
    	// standard flags: -flags, -V.
    	printflags := flag.Bool("flags", false, "print analyzer flags in JSON")
    	addVersionFlag()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. pkg/test/framework/resource/flags.go

    	"istio.io/istio/pkg/test/framework/config"
    	"istio.io/istio/pkg/test/framework/label"
    )
    
    var settingsFromCommandLine = DefaultSettings()
    
    // SettingsFromCommandLine returns settings obtained from command-line flags. config.Parse must be called before
    // calling this function.
    func SettingsFromCommandLine(testID string) (*Settings, error) {
    	if !config.Parsed() {
    		panic("config.Parse must be called before this function")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/flags.go

    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package istio
    
    import (
    	"flag"
    )
    
    // init registers the command-line flags that we can exposed for "go test".
    func init() {
    	flag.StringVar(&settingsFromCommandline.SystemNamespace, "istio.test.kube.systemNamespace", settingsFromCommandline.SystemNamespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top