- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for slicelit (0.74 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) -
doc/next/6-stdlib/99-minor/reflect/61308.md
The [SliceAt(typ Type, p unsafe.Pointer, len int)] function returns a Value representing a slice whose underlying array starts
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 170 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/cmd/compile/internal/ssa/_gen/dec.rules
(Store dst (StringMake ptr len) mem) => (Store {typ.Int} (OffPtr <typ.IntPtr> [config.PtrSize] dst) len (Store {typ.BytePtr} dst ptr mem)) // slice ops (SlicePtr (SliceMake ptr _ _ )) => ptr (SliceLen (SliceMake _ len _)) => len (SliceCap (SliceMake _ _ cap)) => cap (SlicePtrUnchecked (SliceMake ptr _ _ )) => ptr (Load <t> ptr mem) && t.IsSlice() => (SliceMake (Load <t.Elem().PtrTo()> ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:48:31 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
expectActions(t, client.Actions(), 1, "create", "endpointslices") sliceList, err := client.DiscoveryV1().EndpointSlices(ns).List(context.TODO(), metav1.ListOptions{}) assert.Nil(t, err, "Expected no error fetching endpoint slices") assert.Len(t, sliceList.Items, 1, "Expected 1 endpoint slices") slice := sliceList.Items[0] assert.Regexp(t, "^"+serviceName, slice.Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K 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) -
api/go1.23.txt
pkg os, func CopyFS(string, fs.FS) error #62484 pkg path/filepath, func Localize(string) (string, error) #57151 pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308 pkg reflect, method (Value) Seq() iter.Seq[Value] #66056 pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056 pkg reflect, type Type interface, CanSeq() bool #66056
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0)