- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for Stringer (0.12 sec)
-
src/html/template/exec_test.go
Empty1 any Empty2 any Empty3 any Empty4 any // Non-empty interfaces. NonEmptyInterface I NonEmptyInterfacePtS *I NonEmptyInterfaceNil I NonEmptyInterfaceTypedNil I // Stringer. Str fmt.Stringer Err error // Pointers PI *int PS *string PSI *[]int NIL *int // Function (not method) BinaryFunc func(string, string) string VariadicFunc func(...string) string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/text/template/exec_test.go
Empty1 any Empty2 any Empty3 any Empty4 any // Non-empty interfaces. NonEmptyInterface I NonEmptyInterfacePtS *I NonEmptyInterfaceNil I NonEmptyInterfaceTypedNil I // Stringer. Str fmt.Stringer Err error // Pointers PI *int PS *string PSI *[]int NIL *int // Function (not method) BinaryFunc func(string, string) string VariadicFunc func(...string) string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%s", I(23), `<23>`}, {"%q", I(23), `"<23>"`}, {"%x", I(23), `3c32333e`}, {"%#x", I(23), `0x3c32333e`}, {"%# x", I(23), `0x3c 0x32 0x33 0x3e`}, // Stringer applies only to string formats. {"%d", I(23), `23`}, // Stringer applies to the extracted value. {"%s", reflect.ValueOf(I(23)), `<23>`}, // go syntax {"%#v", A{1, 2, "a", []int{1, 2}}, `fmt_test.A{i:1, j:0x2, s:"a", x:[]int{1, 2}}`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
TypeSRV: "TypeSRV", TypeOPT: "TypeOPT", TypeWKS: "TypeWKS", TypeHINFO: "TypeHINFO", TypeMINFO: "TypeMINFO", TypeAXFR: "TypeAXFR", TypeALL: "TypeALL", } // String implements fmt.Stringer.String. func (t Type) String() string { if n, ok := typeNames[t]; ok { return n } return printUint16(uint16(t)) } // GoString implements fmt.GoStringer.GoString. func (t Type) GoString() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
if supported { // Iterate over watchers interested in the given values of the trigger. for _, triggerValue := range triggerValues { for _, watcher := range c.watchers.valueWatchers[triggerValue] { c.watchersBuffer = append(c.watchersBuffer, watcher) } } } else { // supported equal to false generally means that trigger function // is not defined (or not aware of any indexes). In this case,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
cmd/batch-handlers.go
return nil } //msgp:ignore batchJobMetrics type batchJobMetrics struct { sync.RWMutex metrics map[string]*batchJobInfo } //msgp:ignore batchJobMetric //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE type batchJobMetric uint8 const ( batchJobMetricReplication batchJobMetric = iota batchJobMetricKeyRotation batchJobMetricExpire )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 56K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
// values of type Object to ir.Node or a more specific type. type Object interface { Pos() src.XPos Sym() *Sym Type() *Type } //go:generate stringer -type Kind -trimprefix T type.go // Kind describes a kind of type. type Kind uint8 const ( Txxx Kind = iota TINT8 TUINT8 TINT16 TUINT16 TINT32 TUINT32 TINT64 TUINT64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/crypto/tls/common.go
// more than one session ticket. If called with a nil *ClientSessionState, // it should remove the cache entry. Put(sessionKey string, cs *ClientSessionState) } //go:generate stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go // SignatureScheme identifies a signature algorithm supported by TLS. See // RFC 8446, Section 4.2.3. type SignatureScheme uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
cmd/api-errors.go
RangeRequested string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"` } // APIErrorCode type of error status. type APIErrorCode int //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html const ( ErrNone APIErrorCode = iota ErrAccessDenied ErrBadDigest
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
var ( // XL header specifies the format xlHeader = [4]byte{'X', 'L', '2', ' '} // Current version being written. xlVersionCurrent [4]byte ) //go:generate msgp -file=$GOFILE -unexported //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE const ( // Breaking changes. // Newer versions cannot be read by older software. // This will prevent downgrades to incompatible versions.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0)