- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for Needzero (0.09 sec)
-
src/encoding/gob/encgen.go
slice, ok := v.Interface().([]%[1]s) if !ok { // It is kind %[1]s but not type %[1]s. TODO: We can handle this unsafely. return false } for _, x := range slice { if x != %[3]s || state.sendZero { %[4]s } } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:39:09 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
//go:build ignore package runtime // emitted by compiler, not referred to by go programs import "unsafe" func newobject(typ *byte) *any func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer func panicdivide() func panicshift() func panicmakeslicelen() func panicmakeslicecap() func throwinit() func panicwrap() func gopanic(interface{}) func gorecover(*int32) interface{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/crypto/x509/parser.go
func isValidIPMask(mask []byte) bool { seenZero := false for _, b := range mask { if seenZero { if b != 0 { return false } continue } switch b { case 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe: seenZero = true case 0xff: default: return false } } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
size := ir.NewBinaryExpr(base.Pos, ir.OMUL, typecheck.Conv(length, types.Types[types.TUINTPTR]), typecheck.Conv(ir.NewInt(base.Pos, t.Elem().Size()), types.Types[types.TUINTPTR])) // instantiate mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer fn := typecheck.LookupRuntime("mallocgc") ptr := mkcall1(fn, types.Types[types.TUNSAFEPTR], init, size, typecheck.NodNil(), ir.NewBool(base.Pos, false)) ptr.MarkNonNil()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0)