Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for memequal0 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/bytealg/equal_native.go

    // implemented in assembly in this package but declared in another
    // package.
    
    // The compiler generates calls to runtime.memequal and runtime.memequal_varlen.
    // In addition, the runtime calls runtime.memequal explicitly.
    // Those functions are implemented in this package.
    
    //go:linkname abigen_runtime_memequal runtime.memequal
    func abigen_runtime_memequal(a, b unsafe.Pointer, size uintptr) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 789 bytes
    - Viewed (0)
  7. src/internal/bytealg/equal_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    #define	CTXT	S10
    
    // func memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	// X10 = a_base
    	// X11 = b_base
    	// X12 = size
    	JMP	memequal<>(SB)
    
    // func memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. test/codegen/strings.go

    	bsink = []byte("0123456789ab")
    }
    
    // self-equality is always true. See issue 60777.
    func EqualSelf(s string) bool {
    	// amd64:`MOVL\t\$1, AX`,-`.*memequal.*`
    	return s == s
    }
    func NotEqualSelf(s string) bool {
    	// amd64:`XORL\tAX, AX`,-`.*memequal.*`
    	return s != s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top