- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 162 for stringVar (0.14 sec)
-
operator/cmd/mesh/test-util_test.go
"istio.io/istio/pkg/log" "istio.io/istio/pkg/test" ) // PathValue is a path/value type. type PathValue struct { path string value any } // String implements the Stringer interface. func (pv *PathValue) String() string { return fmt.Sprintf("%s:%v", pv.path, pv.value) } // ObjectSet is a set of objects maintained both as a slice (for ordering) and map (for speed). type ObjectSet struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
} ` csrc = ` package c import ( "a" "fmt" "html/template" ) // go.dev/issue/46905: make sure template is not the first package qualified. var _ fmt.Stringer = 1 // ERRORx "cannot use 1.*as fmt\\.Stringer" // Packages should be fully qualified when there is ambiguity in reachable // packages. In this case both a (and for that matter html/template) import // text/template.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/log/slog/doc.go
If you want to avoid eagerly paying the cost of the String call without causing the handler to potentially inspect the structure of the value, wrap the value in a fmt.Stringer implementation that hides its Marshal methods. You can also use the [LogValuer] interface to avoid unnecessary work in disabled log calls. Say you need to log some expensive value:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 14:35:48 UTC 2024 - 12.3K bytes - Viewed (0) -
operator/pkg/object/objects.go
return err.Error() } return string(y) } // K8sObjects holds a collection of k8s objects, so that we can filter / sequence them type K8sObjects []*K8sObject // String implements the Stringer interface. func (os K8sObjects) String() string { var out []string for _, oo := range os { out = append(out, oo.YAMLDebugString()) } return strings.Join(out, helm.YAMLSeparator) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 15.5K bytes - Viewed (1) -
pkg/volume/util/operationexecutor/operation_executor.go
} return struct { VolumeName, UniqueName, NodeName string }{ VolumeName: volumeSpecName, UniqueName: string(volume.VolumeName), NodeName: string(volume.NodeName), } } var _ fmt.Stringer = &VolumeToAttach{} var _ logr.Marshaler = &VolumeToAttach{} // VolumeToMount represents a volume that should be attached to this node and // mounted to the PodName. type VolumeToMount struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 42.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/compare.go
and = ir.OOROR default: // Don't do byte-wise comparisons for <, <=, etc. // They're fairly complicated. // Length-only checks are ok, though. maxRewriteLen = 0 } if s := ir.StringVal(cs); len(s) <= maxRewriteLen { if len(s) > 0 { ncs = safeExpr(ncs, init) } r := ir.Node(ir.NewBinaryExpr(base.Pos, cmp, ir.NewUnaryExpr(base.Pos, ir.OLEN, ncs), ir.NewInt(base.Pos, int64(len(s)))))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
// A reference to name@GOT(SB) is a reference to the entry in the global offset // table for 'name'. NAME_GOTREF // Indicates that this is a reference to a TOC anchor. NAME_TOCREF ) //go:generate stringer -type AddrType type AddrType uint8 const ( TYPE_NONE AddrType = iota TYPE_BRANCH TYPE_TEXTSIZE TYPE_MEM TYPE_CONST TYPE_FCONST TYPE_SCONST TYPE_REG TYPE_ADDR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
Labels map[string]string // Replicas of this deployment Replicas int // TODO: port more into workload config. } // String implements the Configuration interface (which implements fmt.Stringer) func (c Config) String() string { return fmt.Sprint("{service: ", c.Service, ", version: ", c.Version, "}") } // ClusterLocalFQDN returns the fully qualified domain name for cluster-local host.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
bool IsNextODSArgAvailable(); MLIRContext* context_; MlirFunctionContext* function_context_; SmallVector<Value, 8> operands_; llvm::StringMap<Attribute> attrs_; std::unique_ptr<OperationState> state_; // This is the index of the next ODS operand that will be added with AddInput // or AddInput; int current_ods_input_ = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
src/go/build/deps_test.go
< internal/coverage/cmerge, internal/coverage/pods, internal/coverage/slicereader, internal/coverage/slicewriter; internal/coverage/slicereader, internal/coverage/slicewriter < internal/coverage/stringtab < internal/coverage/decodecounter, internal/coverage/decodemeta, internal/coverage/encodecounter, internal/coverage/encodemeta; internal/coverage/cmerge < internal/coverage/cformat;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0)