Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 492 for flagstr (0.17 sec)

  1. hack/verify-flags/excluded-flags.txt

    Vadim Rutkovsky <******@****.***> 1671109648 +0100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 11 09:42:14 UTC 2023
    - 379 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tools/bug-report/pkg/processlog/processlog.go

    	return 1000*s.numFatals + 100*s.numErrors + 10*s.numWarnings
    }
    
    // Process processes logStr based on the supplied config and returns the processed log along with statistics on it.
    func Process(config *config.BugReportConfig, logStr string) (string, *Stats) {
    	if !config.TimeFilterApplied {
    		return logStr, getStats(config, logStr)
    	}
    	out := getTimeRange(logStr, config.StartTime, config.EndTime)
    	return out, getStats(config, out)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/cmdflag/flag.go

    // and always consumes at least one argument (even on error).
    //
    // Unlike (*flag.FlagSet).Parse, ParseOne does not log its own errors.
    func ParseOne(fs *flag.FlagSet, args []string) (f *flag.Flag, remainingArgs []string, err error) {
    	// This function is loosely derived from (*flag.FlagSet).parseOne.
    
    	raw, args := args[0], args[1:]
    	arg := raw
    	if strings.HasPrefix(arg, "--") {
    		if arg == "--" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 02:38:04 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/kube-controller-manager/app/options/jobcontroller.go

    // JobControllerOptions holds the JobController options.
    type JobControllerOptions struct {
    	*jobconfig.JobControllerConfiguration
    }
    
    // AddFlags adds flags related to JobController for controller manager to the specified FlagSet.
    func (o *JobControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 12:19:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/validatingadmissionpolicycontroller.go

    	*validatingadmissionpolicystatusconfig.ValidatingAdmissionPolicyStatusControllerConfiguration
    }
    
    // AddFlags adds flags related to ValidatingAdmissionPolicyStatusController for controller manager to the specified FlagSet.
    func (o *ValidatingAdmissionPolicyStatusControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top