- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for memequal (0.21 sec)
-
src/internal/bytealg/equal_amd64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go_asm.h" #include "asm_amd64.h" #include "textflag.h" // memequal(a, b unsafe.Pointer, size uintptr) bool TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT,$0-25 // AX = a (want in SI) // BX = b (want in DI) // CX = size (want in BX) CMPQ AX, BX JNE neq
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:34:40 UTC 2023 - 2.8K bytes - Viewed (0) -
src/internal/bytealg/equal_arm64.s
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go_asm.h" #include "textflag.h" // memequal(a, b unsafe.Pointer, size uintptr) bool TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25 // short path to handle 0-byte case CBZ R2, equal // short path to handle equal pointers CMP R0, R1 BEQ equal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 16:07:25 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/stubs.go
// in internal/bytealg/equal_*.s // // memequal should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/bytedance/sonic // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname memequal //go:noescape func memequal(a, b unsafe.Pointer, size uintptr) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/compare.go
// quick check of len before full compare for == or !=. // memequal then tests equality up to length len. if n.Op() == ir.OEQ { // len(left) == len(right) && memequal(left, right, len) r = ir.NewLogicalExpr(base.Pos, ir.OANDAND, eqlen, eqmem) } else { // len(left) != len(right) || !memequal(left, right, len) eqlen.SetOp(ir.ONE)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr) func memclrHasPointers(ptr unsafe.Pointer, n uintptr) func memequal(x, y *any, size uintptr) bool func memequal0(x, y *any) bool func memequal8(x, y *any) bool func memequal16(x, y *any) bool func memequal32(x, y *any) bool func memequal64(x, y *any) bool func memequal128(x, y *any) bool func f32equal(p, q unsafe.Pointer) bool func f64equal(p, q unsafe.Pointer) bool
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/runtime/tracemap.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(NilCheck ptr:(Convert (Addr {_} (SB)) _) _) => ptr // for late-expanded calls, recognize memequal applied to a single constant byte // Support is limited by 1, 2, 4, 8 byte sizes (StaticLECall {callAux} sptr (Addr {scon} (SB)) (Const64 [1]) mem) && isSameCall(callAux, "runtime.memequal") && symIsRO(scon) => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"memmove", funcTag, 123}, {"memclrNoHeapPointers", funcTag, 124}, {"memclrHasPointers", funcTag, 124}, {"memequal", funcTag, 125}, {"memequal0", funcTag, 126}, {"memequal8", funcTag, 126}, {"memequal16", funcTag, 126}, {"memequal32", funcTag, 126}, {"memequal64", funcTag, 126}, {"memequal128", funcTag, 126}, {"f32equal", funcTag, 127}, {"f64equal", funcTag, 127}, {"c64equal", funcTag, 127},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
// cond: isSameCall(callAux, "runtime.memequal") && isSamePtr(p, q) // result: (MakeResult (ConstBool <typ.Bool> [true]) mem) for { if len(v.Args) != 4 { break } callAux := auxToCall(v.Aux) mem := v.Args[3] p := v.Args[0] q := v.Args[1] if !(isSameCall(callAux, "runtime.memequal") && isSamePtr(p, q)) { break } v.reset(OpMakeResult)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0) -
src/runtime/alg.go
return typehash(t, p, h) } func memequal0(p, q unsafe.Pointer) bool { return true } func memequal8(p, q unsafe.Pointer) bool { return *(*int8)(p) == *(*int8)(q) } func memequal16(p, q unsafe.Pointer) bool { return *(*int16)(p) == *(*int16)(q) } func memequal32(p, q unsafe.Pointer) bool { return *(*int32)(p) == *(*int32)(q) } func memequal64(p, q unsafe.Pointer) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 13.6K bytes - Viewed (0)