- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Mystring (0.17 sec)
-
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
} return n } // String implements fmt.Stringer.String. // // Note: characters inside the labels are not escaped in any way. func (n Name) String() string { return string(n.Data[:n.Length]) } // GoString implements fmt.GoStringer.GoString. func (n *Name) GoString() string { return `dnsmessage.MustNewName("` + printString(n.Data[:n.Length]) + `")` }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
src/fmt/fmt_test.go
} } } // PanicS is a type that panics in String. type PanicS struct { message any } // Value receiver. func (p PanicS) String() string { panic(p.message) } // PanicGo is a type that panics in GoString. type PanicGo struct { message any } // Value receiver. func (p PanicGo) GoString() string { panic(p.message) }
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/cmd/cgo/out.go
//go:linkname _cgo_runtime_gostring runtime.gostring func _cgo_runtime_gostring(*_Ctype_char) string // GoString converts the C string p into a Go string. func _Cfunc_GoString(p *_Ctype_char) string { return _cgo_runtime_gostring(p) } ` const goStringNDef = ` //go:linkname _cgo_runtime_gostringn runtime.gostringn func _cgo_runtime_gostringn(*_Ctype_char, int) string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/time/format.go
// ParseError describes a problem parsing a time string. type ParseError struct { Layout string Value string LayoutElem string ValueElem string Message string } // newParseError creates a new ParseError. // The provided value and valueElem are cloned to avoid escaping their values. func newParseError(layout, value, layoutElem, valueElem, message string) *ParseError { valueCopy := stringslite.Clone(value)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/go/types/expr.go
// that might overflow; otherwise it returns the empty string. func opName(e ast.Expr) string { switch e := e.(type) { case *ast.BinaryExpr: if int(e.Op) < len(op2str2) { return op2str2[e.Op] } case *ast.UnaryExpr: if int(e.Op) < len(op2str1) { return op2str1[e.Op] } } return "" } var op2str1 = [...]string{ token.XOR: "bitwise complement", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
var UntypedTypes = [...]*Type{ constant.Bool: UntypedBool, constant.String: UntypedString, constant.Int: UntypedInt, constant.Float: UntypedFloat, constant.Complex: UntypedComplex, } // DefaultKinds maps from a constant.Kind to its default Kind. var DefaultKinds = [...]Kind{ constant.Bool: TBOOL, constant.String: TSTRING, constant.Int: TINT, constant.Float: TFLOAT64,
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/cmd/compile/internal/types2/expr.go
// that might overflow; otherwise it returns the empty string. func opName(x syntax.Expr) string { if e, _ := x.(*syntax.Operation); e != nil { op := int(e.Op) if e.Y == nil { if op < len(op2str1) { return op2str1[op] } } else { if op < len(op2str2) { return op2str2[op] } } } return "" } var op2str1 = [...]string{ syntax.Xor: "bitwise complement", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/time/time_test.go
} func TestDurationString(t *testing.T) { for _, tt := range durationTests { if str := tt.d.String(); str != tt.str { t.Errorf("Duration(%d).String() = %s, want %s", int64(tt.d), str, tt.str) } if tt.d > 0 { if str := (-tt.d).String(); str != "-"+tt.str { t.Errorf("Duration(%d).String() = %s, want %s", int64(-tt.d), str, "-"+tt.str) } } } } var dateTests = []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
func (apiVersions APIVersions) String() string { return strings.Join(apiVersions.Versions, ",") } func (apiVersions APIVersions) GoString() string { return apiVersions.String() } // Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. type Patch struct{} // Note: // There are two different styles of label selectors used in versioned types:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 10:52:25 UTC 2024 - 79.2K bytes - Viewed (0)