- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for memequal (0.23 sec)
-
test/codegen/comparisons.go
// arm64:-".*memequal" // ppc64x:-".*memequal" return a == b } func equalVarString4(a string) bool { b := string("ZZZZ") // amd64:-".*memequal" // arm64:-".*memequal" // ppc64x:-".*memequal" return a[:4] == b } func equalConstString8() bool { a := string("AAAAAAAA") b := string("ZZZZZZZZ") // amd64:-".*memequal" // arm64:-".*memequal" // ppc64x:-".*memequal"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 16:31:02 UTC 2024 - 15.2K bytes - Viewed (0) -
src/runtime/map_faststr.go
k := (*stringStruct)(kptr) if k.len != key.len || isEmpty(b.tophash[i]) { if b.tophash[i] == emptyRest { break } continue } if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) { return add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*2*goarch.PtrSize+i*uintptr(t.ValueSize)) } } return unsafe.Pointer(&zeroVal[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 15.3K bytes - Viewed (0) -
src/internal/bytealg/equal_loong64.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 "textflag.h" #define REGCTXT R29 // memequal(a, b unsafe.Pointer, size uintptr) bool TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25 BEQ R4, R5, eq ADDV R4, R6, R7 PCALIGN $16 loop: BNE R4, R7, test MOVV $1, R4 RET test:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 875 bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
{"runtime.memmove", 1}, {"runtime.memclrNoHeapPointers", 1}, {"runtime.memclrHasPointers", 1}, {"runtime.memequal", 1}, {"runtime.memequal0", 1}, {"runtime.memequal8", 1}, {"runtime.memequal16", 1}, {"runtime.memequal32", 1}, {"runtime.memequal64", 1}, {"runtime.memequal128", 1}, {"runtime.f32equal", 1}, {"runtime.f64equal", 1}, {"runtime.c64equal", 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 7.4K 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/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)