- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 247 for flag (1.05 sec)
-
src/cmd/internal/objabi/flag.go
// expect form ssa/phase/flag // e.g. -d=ssa/generic_cse/time // _ in phase name also matches space phase := name[4:] flag := "debug" // default flag is debug if i := strings.Index(phase, "/"); i >= 0 { flag = phase[i+1:] phase = phase[:i] } err := f.debugSSA(phase, flag, val, valstring) if err != "" { log.Fatalf(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 23:08:09 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() os.Exit(2) } func Parse() { objabi.Flagparse(Usage) if flag.NArg() == 0 { flag.Usage() } // Flag refinement. if *OutputFile == "" { if flag.NArg() != 1 { flag.Usage() } input := filepath.Base(flag.Arg(0)) input = strings.TrimSuffix(input, ".s")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy
flag.systemPropertyName >> "prop" expect: !flags.isEnabled(flag) !flags.isEnabledWithApi(flag) } def "can explicitly enable flag"() { def flag = Stub(FeatureFlag) flag.systemPropertyName >> null flags.enable(flag) expect: flags.isEnabled(flag) flags.isEnabledWithApi(flag) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/go/internal/vet/vetflag.go
"bytes" "encoding/json" "errors" "flag" "fmt" "log" "os" "os/exec" "path/filepath" "strings" "cmd/go/internal/base" "cmd/go/internal/cmdflag" "cmd/go/internal/work" ) // go vet flag processing // // We query the flags of the tool specified by -vettool and accept any // of those flags plus any flag valid for 'go build'. The tool must
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 5.1K bytes - Viewed (0) -
src/cmd/go/internal/base/goflags.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/counter.go
func Open() { counter.Open() } // CountFlags creates a counter for every flag that is set // and increments the counter. The name of the counter is // the concatenation of prefix and the flag name. // // For instance, CountFlags("gopls/flag:", *flag.CommandLine) func CountFlags(prefix string, fs flag.FlagSet) { fs.Visit(func(f *flag.Flag) { New(prefix + f.Name).Inc() }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 18:02:34 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/covdata/covdata.go
} // Edit out command selector, then parse flags. os.Args = append(os.Args[:1], os.Args[2:]...) flag.Usage = func() { op.Usage("") } flag.Parse() telemetry.Inc("covdata/invocations") telemetry.CountFlags("covdata/flag:", *flag.CommandLine) // Mode-independent flag setup dbgtrace(1, "starting mode-independent setup") if flag.NArg() != 0 { op.Usage("unknown extra arguments") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/DefaultFeatureFlags.java
} } return enabled.contains(flag); } @Override public void enable(FeatureFlag flag) { enabled.add(flag); } @Override public boolean isEnabledWithApi(FeatureFlag flag) { return enabled.contains(flag); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionSetTest.groovy
def args = parser.parse("--some-option", "abc", "--some-flag") def bean = converter.convert(args, new Bean()) then: bean.flag bean.prop == "abc" } def "can convert properties"() { def converter = set.propertiesConverter() when: def bean = converter.convert(["some.option": "abc", "some.flag": "true"], new Bean()) then: bean.flag
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/FeatureFlags.java
/** * A service that determines whether a feature flag is enabled or not. */ @ServiceScope(Scope.BuildTree.class) public interface FeatureFlags { boolean isEnabled(FeatureFlag flag); /** * Explicitly enable the given flag. The resulting flag status may still be overridden. */ void enable(FeatureFlag flag); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0)