- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for stringBody (0.22 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
) var ( corev1GV = schema.GroupVersion{Version: "v1"} corev1Codec = scheme.Codecs.CodecForVersions(scheme.Codecs.LegacyCodec(corev1GV), scheme.Codecs.UniversalDecoder(corev1GV), corev1GV, corev1GV) ) func stringBody(body string) io.ReadCloser { return io.NopCloser(bytes.NewReader([]byte(body))) } func watchBody(events ...watch.Event) string { buf := &bytes.Buffer{} codec := corev1Codec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
src/text/template/parse/node.go
return nn } // StringNode holds a string constant. The value has been "unquoted". type StringNode struct { NodeType Pos tr *Tree Quoted string // The original text of the string, with quotes. Text string // The string, after quote processing. } func (t *Tree) newString(pos Pos, orig, text string) *StringNode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/text/template/exec.go
return reflect.ValueOf(word.True) case *parse.DotNode: return dot case *parse.NilNode: s.errorf("nil is not a command") case *parse.NumberNode: return s.idealConstant(word) case *parse.StringNode: return reflect.ValueOf(word.Text) } s.errorf("can't evaluate command %q", firstWord) panic("not reached") } // idealConstant is called to return the value of a number in a context where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/reflect/value.go
} dst.mustBeExported() sk := src.kind() var stringCopy bool if sk != Array && sk != Slice { stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8 if !stringCopy { panic(&ValueError{"reflect.Copy", sk}) } } src.mustBeExported() de := dst.typ().Elem() if !stringCopy { se := src.typ().Elem() typesMustMatch("reflect.Copy", toType(de), toType(se))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Pos", Type, 1}, {"RangeNode", Type, 0}, {"RangeNode.BranchNode", Field, 0}, {"SkipFuncCheck", Const, 17}, {"StringNode", Type, 0}, {"StringNode.NodeType", Field, 0}, {"StringNode.Pos", Field, 1}, {"StringNode.Quoted", Field, 0}, {"StringNode.Text", Field, 0}, {"TemplateNode", Type, 0}, {"TemplateNode.Line", Field, 0}, {"TemplateNode.Name", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg text/template/parse, type RangeNode struct, embedded BranchNode pkg text/template/parse, type StringNode struct pkg text/template/parse, type StringNode struct, Quoted string pkg text/template/parse, type StringNode struct, Text string pkg text/template/parse, type StringNode struct, embedded NodeType pkg text/template/parse, type TemplateNode struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg text/template/parse, method (PipeNode) Position() Pos pkg text/template/parse, method (Pos) Position() Pos pkg text/template/parse, method (RangeNode) Position() Pos pkg text/template/parse, method (StringNode) Position() Pos pkg text/template/parse, method (TemplateNode) Position() Pos pkg text/template/parse, method (TextNode) Position() Pos pkg text/template/parse, method (VariableNode) Position() Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)