Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 379 for flagstr (0.13 sec)

  1. src/internal/goexperiment/flags.go

    // and "go version <binary>" if it differs from the default experiments.
    //
    // For the set of experiments supported by the current toolchain, see
    // "go doc goexperiment.Flags".
    //
    // Note that this package defines the set of experiments (in Flags)
    // and records the experiments that were enabled when the package
    // was compiled (as boolean and integer constants).
    //
    // Note especially that this package does not itself change behavior
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/bugreport/flags.go

    Tony Allen <******@****.***> 1699099670 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/options/generic.go

    func AddKubernetesVersionFlag(fs *pflag.FlagSet, kubernetesVersion *string) {
    	fs.StringVar(
    		kubernetesVersion, KubernetesVersion, *kubernetesVersion,
    		`Choose a specific Kubernetes version for the control plane.`,
    	)
    }
    
    // AddKubeadmOtherFlags adds flags that are not bound to a configuration file to the given flagset
    func AddKubeadmOtherFlags(flagSet *pflag.FlagSet, rootfsPath *string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/unveil_openbsd.go

    // unveil calls is handled by UnveilBlock.
    func Unveil(path string, flags string) error {
    	if err := supportsUnveil(); err != nil {
    		return err
    	}
    	pathPtr, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	flagsPtr, err := BytePtrFromString(flags)
    	if err != nil {
    		return err
    	}
    	return unveil(pathPtr, flagsPtr)
    }
    
    // UnveilBlock blocks future unveil calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. pkg/flag/flag.go

    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    )
    
    // Flaggable defines the set of types that can be flags.
    // This is not exhaustive; add more as needed
    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

    internal
    fun newTypeParameterOf(
        flags: Flags = 0,
        name: String,
        id: Int = 0,
        variance: KmVariance,
        upperBound: KmType,
    ): KmTypeParameter {
        val kmTypeParameter = KmTypeParameter(flags, name, id, variance)
        kmTypeParameter.upperBounds += upperBound
        return kmTypeParameter
    }
    
    
    internal
    fun nullable(kmType: KmType): KmType = kmType.also { it.flags = flagsOf(Flag.Type.IS_NULLABLE) }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/cmp.bash

    # old.txt and new.txt.
    
    FLAGS1="-newexport=0"
    FLAGS2="-newexport=1"
    
    echo
    echo
    echo "1a) clean build using $FLAGS1"
    (export GO_GCFLAGS="$FLAGS1"; sh make.bash)
    
    echo
    echo
    echo "1b) save go build output for all packages"
    for pkg in `go list std`; do
    	echo $pkg
    	DIR=$GOROOT/src/$pkg
    	go build -gcflags "$FLAGS1 -S" -o /dev/null $pkg &> $DIR/old.txt
    done
    
    echo
    echo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:03:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. istioctl/pkg/cli/option.go

    	defaultNamespace string
    }
    
    func AddRootFlags(flags *pflag.FlagSet) *RootFlags {
    	r := &RootFlags{
    		kubeconfig:     ptr.Of[string](""),
    		configContext:  ptr.Of[string](""),
    		namespace:      ptr.Of[string](""),
    		istioNamespace: ptr.Of[string](""),
    	}
    	flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "",
    		"Kubernetes configuration file")
    	flags.StringVar(r.configContext, FlagContext, "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 18:01:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top