- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 118 for nilslice (0.28 sec)
-
staging/src/k8s.io/api/resource/v1alpha2/generated.proto
optional bool bool = 2; // IntValue is a 64-bit integer. optional int64 int = 7; // IntSliceValue is an array of 64-bit integers. optional NamedResourcesIntSlice intSlice = 8; // StringValue is a string. optional string string = 5; // StringSliceValue is an array of strings. optional NamedResourcesStringSlice stringSlice = 9;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 22:07:50 UTC 2024 - 26.2K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
func (z *PoolStatus) Msgsize() (s int) { s = 1 + 3 + msgp.IntSize + 3 + msgp.StringPrefixSize + len(z.CmdLine) + 3 + msgp.TimeSize + 4 if z.Decommission == nil { s += msgp.NilSize } else { s += z.Decommission.Msgsize() } return } // DecodeMsg implements msgp.Decodable func (z *decomError) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
// note: order.expr knows this cutoff too. fn = fmt.Sprintf("concatstring%d", c) } else { // large numbers of strings are passed to the runtime as a slice. fn = "concatstrings" t := types.NewSlice(types.Types[types.TSTRING]) // args[1:] to skip buf arg slice := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, t, args[1:]) slice.Prealloc = n.Prealloc args = []ir.Node{buf, slice} slice.SetEsc(ir.EscNone) }
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/cmd/compile/internal/walk/switch.go
// TODO: what if the best split is still pretty bad? if bestScore == 0 { base.Fatalf("unable to split string set") } // Convert expr to a []int8 slice := ir.NewConvExpr(base.Pos, ir.OSTR2BYTESTMP, types.NewSlice(types.Types[types.TINT8]), expr) slice.SetTypecheck(1) // legacy typechecker doesn't handle this op slice.MarkNonNil() // Load the byte we're splitting on.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
return mkcall1(fn, slice.Type(), init, oldPtr, newLen, oldCap, num, elemtypeptr) } // walkClear walks an OCLEAR node. func walkClear(n *ir.UnaryExpr) ir.Node { typ := n.X.Type() switch { case typ.IsSlice(): if n := arrayClear(n.X.Pos(), n.X, nil); n != nil { return n } // If n == nil, we are clearing an array which takes zero memory, do nothing. return ir.NewBlockStmt(n.Pos(), nil) case typ.IsMap():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "NeqPtr", argLength: 2, commutative: true, typ: "Bool"}, {name: "NeqInter", argLength: 2, typ: "Bool"}, // arg0 or arg1 is nil; other cases handled by frontend {name: "NeqSlice", argLength: 2, typ: "Bool"}, // arg0 or arg1 is nil; other cases handled by frontend {name: "Neq32F", argLength: 2, commutative: true, typ: "Bool"}, {name: "Neq64F", argLength: 2, commutative: true, typ: "Bool"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, func NewPointer(Type) *Pointer pkg go/types, func NewScope(*Scope, token.Pos, token.Pos, string) *Scope pkg go/types, func NewSignature(*Var, *Tuple, *Tuple, bool) *Signature pkg go/types, func NewSlice(Type) *Slice pkg go/types, func NewStruct([]*Var, []string) *Struct pkg go/types, func NewTuple(...*Var) *Tuple pkg go/types, func NewTypeName(token.Pos, *Package, string, Type) *TypeName
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(Float64Slice).Search", Method, 0}, {"(Float64Slice).Sort", Method, 0}, {"(Float64Slice).Swap", Method, 0}, {"(IntSlice).Len", Method, 0}, {"(IntSlice).Less", Method, 0}, {"(IntSlice).Search", Method, 0}, {"(IntSlice).Sort", Method, 0}, {"(IntSlice).Swap", Method, 0}, {"(StringSlice).Len", Method, 0}, {"(StringSlice).Less", Method, 0}, {"(StringSlice).Search", Method, 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) -
cmd/object-api-datatypes_gen.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
src/reflect/all_test.go
t.Errorf("error is %q, want %q", e, wantStr) } } func TestValue_Comparable(t *testing.T) { var a int var s []int var i interface{} = a var iNil interface{} var iSlice interface{} = s var iArrayFalse interface{} = [2]interface{}{1, map[int]int{}} var iArrayTrue interface{} = [2]interface{}{1, struct{ I interface{} }{1}} var testcases = []struct { value Value
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)