- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for slicelit (0.17 sec)
-
src/cmd/compile/internal/walk/complit.go
// Discard. continue } switch value.Op() { case ir.OSLICELIT: value := value.(*ir.CompLitExpr) if (kind == initKindStatic && ctxt == inNonInitFunction) || (kind == initKindDynamic && ctxt == inInitFunction) { var sinit ir.Nodes slicelit(ctxt, value, a, &sinit) if kind == initKindStatic {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
src/go/parser/parser_test.go
{name: "interface", format: "package main; var x «interface { M() «int» }»", scope: true, scopeMultiplier: 2}, // Scopes: InterfaceType, FuncType {name: "map", format: "package main; var x «map[int]»int"}, {name: "slicelit", format: "package main; var x = «[]any{«»}»", parseMultiplier: 2}, // Parser nodes: UnaryExpr, CompositeLit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 09:27:01 UTC 2024 - 34.8K bytes - Viewed (0) -
test/gcgort.go
case a.pointerT == nil: return errors.New(a.name + " missing pointerT") case a.arrayT == nil: return errors.New(a.name + " missing arrayT") case a.sliceT == nil: return errors.New(a.name + " missing sliceT") case a.mapT == nil: return errors.New(a.name + " missing mapT") case a.mapPointerKeyT == nil: return errors.New(a.name + " missing mapPointerKeyT") case a.chanT == nil:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 21:15:48 UTC 2018 - 34.5K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
return true } case ir.OPTRLIT: r := r.(*ir.AddrExpr) switch r.X.Op() { case ir.OARRAYLIT, ir.OSLICELIT, ir.OSTRUCTLIT, ir.OMAPLIT: // copy pointer staticdata.InitAddr(l, loff, staticdata.GlobalLinksym(s.Temps[r])) return true } case ir.OSLICELIT: r := r.(*ir.CompLitExpr) // copy slice staticdata.InitSlice(l, loff, staticdata.GlobalLinksym(s.Temps[r]), r.Len)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/encoding/gob/debug.go
fmt.Fprintf(os.Stderr, "%skey id=%d\n", indent+1, wire.MapT.Key) fmt.Fprintf(os.Stderr, "%selem id=%d\n", indent+1, wire.MapT.Elem) case wire.SliceT != nil: deb.printCommonType(indent, "slice", &wire.SliceT.CommonType) fmt.Fprintf(os.Stderr, "%selem id=%d\n", indent+1, wire.SliceT.Elem) case wire.StructT != nil: deb.printCommonType(indent, "struct", &wire.StructT.CommonType) for i, field := range wire.StructT.Field {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 09:34:41 UTC 2023 - 18.3K bytes - Viewed (0) -
src/encoding/gob/type.go
const unknown = "unknown type" if w == nil { return unknown } switch { case w.ArrayT != nil: return w.ArrayT.Name case w.SliceT != nil: return w.SliceT.Name case w.StructT != nil: return w.StructT.Name case w.MapT != nil: return w.MapT.Name case w.GobEncoderT != nil: return w.GobEncoderT.Name case w.BinaryMarshalerT != nil: return w.BinaryMarshalerT.Name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
case ir.OSTR2BYTESTMP: n := n.(*ir.ConvExpr) return walkStringToBytesTemp(n, init) case ir.OSTR2RUNES: n := n.(*ir.ConvExpr) return walkStringToRunes(n, init) case ir.OARRAYLIT, ir.OSLICELIT, ir.OMAPLIT, ir.OSTRUCTLIT, ir.OPTRLIT: return walkCompLit(n, init) case ir.OSEND: n := n.(*ir.SendStmt) return walkSend(n, init) case ir.OCLOSURE:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/encoding/gob/decode.go
elemOp := dec.decIgnoreOpFor(elemId, inProgress, depth+1) op = func(i *decInstr, state *decoderState, value reflect.Value) { state.dec.ignoreMap(state, *keyOp, *elemOp) } case wire.SliceT != nil: elemId := wire.SliceT.Elem elemOp := dec.decIgnoreOpFor(elemId, inProgress, depth+1) op = func(i *decInstr, state *decoderState, value reflect.Value) { state.dec.ignoreSlice(state, *elemOp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:10:23 UTC 2023 - 40.1K bytes - Viewed (0)