Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for csflags (0.17 sec)

  1. src/runtime/cgo/cgo.go

    */
    package cgo
    
    /*
    
    #cgo darwin,!arm64 LDFLAGS: -lpthread
    #cgo darwin,arm64 LDFLAGS: -framework CoreFoundation
    #cgo dragonfly LDFLAGS: -lpthread
    #cgo freebsd LDFLAGS: -lpthread
    #cgo android LDFLAGS: -llog
    #cgo !android,linux LDFLAGS: -lpthread
    #cgo netbsd LDFLAGS: -lpthread
    #cgo openbsd LDFLAGS: -lpthread
    #cgo aix LDFLAGS: -Wl,-berok
    #cgo solaris LDFLAGS: -lxnet
    #cgo solaris LDFLAGS: -lsocket
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 14:29:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/testdata/script/goflags.txt

    env GOFLAGS=-f
    ! go list runtime
    stderr '^go: flag needs an argument: -f \(from (\$GOFLAGS|%GOFLAGS%)\)$'
    
    env GOFLAGS=-e=asdf
    ! go list runtime
    stderr '^go: invalid boolean value \"asdf\" for flag -e \(from (\$GOFLAGS|%GOFLAGS%)\)'
    
    # except in go bug (untested) and go env
    go env
    stdout GOFLAGS
    
    # Flags listed in GOFLAGS should be safe to duplicate on the command line.
    env GOFLAGS=-tags=magic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:47:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/flagalloc.go

    	if opcodeTable[v.Op].clobberFlags {
    		return true
    	}
    	if v.Type.IsTuple() && (v.Type.FieldType(0).IsFlags() || v.Type.FieldType(1).IsFlags()) {
    		// This case handles the possibility where a flag value is generated but never used.
    		// In that case, there's no corresponding Select to overwrite the flags value,
    		// so we must consider flags clobbered by the tuple-generating instruction.
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_bad_directives.txt

    # Reject #cgo CFLAGS: -D @foo
    cp y_cflags_dash_d_space_at_foo.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -D @foo'
    
    # Reject #cgo CFLAGS -D@foo
    cp y_cflags_dash_d_at_foo.txt y.go
    ! go build x
    stderr 'invalid flag in #cgo CFLAGS: -D@foo'
    
    # Check for CFLAGS in commands
    env CGO_CFLAGS=-D@foo
    cp y_no_cflags.txt y.go
    go build -n x
    stderr '-D@foo'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    ) >_const.go
    
    # Pull out the error names for later.
    errors=$(
    	echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
    	sort
    )
    
    # Pull out the signal names for later.
    signals=$(
    	echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT' |
    	sort
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (2)
  7. 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)
  8. 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)
  9. 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)
  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