- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 239 for stringVar (1.31 sec)
-
internal/logger/target/types/types.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package types // TargetType indicates type of the target e.g. console, http, kafka type TargetType uint8 //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE // Constants for target types const ( _ TargetType = iota TargetConsole TargetHTTP TargetKafka ) // TargetStats contains statistics for a target.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Nov 10 18:20:21 UTC 2022 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go
annotations = append(annotations, strings.TrimLeft(ext, ".")) } flags.SetAnnotation("filename", cobra.BashCompFilenameExt, annotations) } if o.Kustomize != nil { flags.StringVarP(o.Kustomize, "kustomize", "k", *o.Kustomize, "Process a kustomization directory. This flag can't be used together with -f or -R.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 13 10:28:09 UTC 2021 - 2.3K bytes - Viewed (0) -
src/debug/macho/reloctype.go
// Copyright 2017 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 macho //go:generate stringer -type=RelocTypeGeneric,RelocTypeX86_64,RelocTypeARM,RelocTypeARM64 -output reloctype_string.go type RelocTypeGeneric int const ( GENERIC_RELOC_VANILLA RelocTypeGeneric = 0 GENERIC_RELOC_PAIR RelocTypeGeneric = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 18:45:40 UTC 2017 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/deprecation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 24 22:06:09 UTC 2020 - 4.2K bytes - Viewed (0) -
src/internal/pkgbits/sync.go
return } } } // SyncMarker is an enum type that represents markers that may be // written to export data to ensure the reader and writer stay // synchronized. type SyncMarker int //go:generate stringer -type=SyncMarker -trimprefix=Sync const ( _ SyncMarker = iota // Public markers (known to go/types importers). // Low-level coding markers. SyncEOF SyncBool SyncInt64 SyncUint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 17:12:28 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.h
// Builds the op clusters in the `block`. Ops are filtered by the function // `get_target` that takes an op and returns the target name. `is_ignored_op` is // a hook to ignore certain ops that are not included in any clusters. llvm::StringMap<SmallVector<Cluster>> BuildAllClusters( Block& block, const TF::SideEffectAnalysis::Info& side_effect_analysis, std::function<std::string(Operation*)> get_target, std::function<bool(Operation*)> is_ignored_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 21 22:33:23 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/flag/flag.go
// cfg := Config{Foo: "default-foo"} // flag.Bind(fs, "foo", "f", "the foo value", &cfg.Foo) func Bind[T Flaggable](fs *pflag.FlagSet, name, shorthand, usage string, val *T) { switch d := any(val).(type) { case *string: fs.StringVarP(d, name, shorthand, *d, usage) case *bool: fs.BoolVarP(d, name, shorthand, *d, usage) case *time.Duration: fs.DurationVarP(d, name, shorthand, *d, usage) case *uint16:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 2.1K bytes - Viewed (0) -
src/runtime/traceevent.go
func (tl traceLocker) string(s string) traceArg { return traceArg(trace.stringTab[tl.gen%2].put(tl.gen, s)) } // uniqueString returns a traceArg representing s which may be passed to write. // The string is assumed to be unique or long, so it will be written out to // the trace eagerly. func (tl traceLocker) uniqueString(s string) traceArg { return traceArg(trace.stringTab[tl.gen%2].emit(tl.gen, s)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/collateral/cobra_noagent.go
c.EmitManPages = true c.EmitMarkdown = true c.EmitHTMLFragmentWithFrontMatter = true c.ManPageInfo = *hdr } return EmitCollateral(root, &c) }, } cmd.Flags().StringVarP(&c.OutputDir, "outputDir", "o", c.OutputDir, "Directory where to generate the collateral files") cmd.Flags().BoolVarP(&all, "all", "", all, "Produce all supported collateral files")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 2.5K bytes - Viewed (1) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
==============================================================================*/ #include <memory> #include <utility> #include "absl/strings/str_cat.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Block.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0)