- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for flagName (0.14 sec)
-
cmd/kubeadm/app/apis/kubeadm/validation/validation.go
kubeadmcmdoptions.UploadCerts, "print-join-command", "rootfs", "v", "log-file") if allowedFlags.Has(flagName) { return true } return strings.HasPrefix(flagName, "skip-") } // ValidateFeatureGates validates provided feature gates func ValidateFeatureGates(featureGates map[string]bool, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} // check valid feature names are provided
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 33.4K bytes - Viewed (0) -
src/debug/elf/elf.go
{0x100, "SHF_OS_NONCONFORMING"}, {0x200, "SHF_GROUP"}, {0x400, "SHF_TLS"}, {0x800, "SHF_COMPRESSED"}, } func (i SectionFlag) String() string { return flagName(uint32(i), shfStrings, false) } func (i SectionFlag) GoString() string { return flagName(uint32(i), shfStrings, true) } // Section compression type. type CompressionType int const ( COMPRESS_ZLIB CompressionType = 1 /* ZLIB compression. */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/flag/flag.go
var flagvar int func init() { flag.IntVar(&flagvar, "flagname", 1234, "help message for flagname") } Or you can create custom flags that satisfy the Value interface (with pointer receivers) and couple them to flag parsing by flag.Var(&flagVal, "name", "help message for flagname") For such flags, the default value is just the initial value of the variable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
} kvs := jstream.KVS{} for _, col := range pr.r.Columns() { var value interface{} if v, ok := nextRow[col.FlatName()]; ok { value, err = convertFromAnnotation(col.Element(), v) if err != nil { return nil, errParquetParsingError(err) } } kvs = append(kvs, jstream.KV{Key: col.FlatName(), Value: value}) } // Reuse destination if we can. dstRec, ok := dst.(*jsonfmt.Record) if !ok {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
// the source. This function will return an error if both base and diff base // profiles are specified. func (source *source) addBaseProfiles(flagBase, flagDiffBase []*string) error { base, diffBase := dropEmpty(flagBase), dropEmpty(flagDiffBase) if len(base) > 0 && len(diffBase) > 0 { return errors.New("-base and -diff_base flags cannot both be specified") } source.Base = base
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0) -
src/net/interface.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
src/flag/flag_test.go
t.Error("Visit fails after set") for k, v := range m { t.Log(k, *v) } } // Now test they're visited in sort order. var flagNames []string Visit(func(f *Flag) { flagNames = append(flagNames, f.Name) }) if !slices.IsSorted(flagNames) { t.Errorf("flag names not sorted: %v", flagNames) } } func TestGet(t *testing.T) { ResetForTesting(nil) Bool("test_bool", true, "bool value")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
// NT_FREEBSD_FEATURE_CTL out.Write32(ELF_NOTE_FREEBSD_NAMESZ) out.Write32(ELF_NOTE_FREEBSD_DESCSZ) out.Write32(ELF_NOTE_FREEBSD_FEATURE_CTL_TAG) out.WriteString(ELF_NOTE_FREEBSD_NAME) if *flagRace { // The race detector can't handle ASLR, turn the ASLR off when compiling with -race. out.Write32(ELF_NOTE_FREEBSD_FCTL_ASLR_DISABLE) } else { out.Write32(0) } return int(sh.Size) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/stackcheck.go
// // The call to morestack in every splittable function ensures // that there are at least StackLimit bytes available below SP // when morestack returns. limit := objabi.StackNosplit(*flagRace) - sc.callSize if buildcfg.GOARCH == "arm64" { // Need an extra 8 bytes below SP to save FP. limit -= 8 } // Compute stack heights without any back-tracking information.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 16:49:08 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
Funcalign = thearch.Funcalign // add goroot to the end of the libdir list. suffix := "" suffixsep := "" if *flagInstallSuffix != "" { suffixsep = "_" suffix = *flagInstallSuffix } else if *flagRace { suffixsep = "_" suffix = "race" } else if *flagMsan { suffixsep = "_" suffix = "msan" } else if *flagAsan { suffixsep = "_" suffix = "asan" } if buildcfg.GOROOT != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)