Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for strequal (0.14 sec)

  1. src/cmd/go/internal/script/cmds.go

    // PATH to find the executable.
    func lookPath(s *State, command string) (string, error) {
    	var strEqual func(string, string) bool
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		// Using GOOS as a proxy for case-insensitive file system.
    		// TODO(bcmills): Remove this assumption.
    		strEqual = strings.EqualFold
    	} else {
    		strEqual = func(a, b string) bool { return a == b }
    	}
    
    	var pathExt []string
    	var searchExt bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.memequal32", 1},
    	{"runtime.memequal64", 1},
    	{"runtime.memequal128", 1},
    	{"runtime.f32equal", 1},
    	{"runtime.f64equal", 1},
    	{"runtime.c64equal", 1},
    	{"runtime.c128equal", 1},
    	{"runtime.strequal", 1},
    	{"runtime.interequal", 1},
    	{"runtime.nilinterequal", 1},
    	{"runtime.memhash", 1},
    	{"runtime.memhash0", 1},
    	{"runtime.memhash8", 1},
    	{"runtime.memhash16", 1},
    	{"runtime.memhash32", 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)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func memequal128(x, y *any) bool
    func f32equal(p, q unsafe.Pointer) bool
    func f64equal(p, q unsafe.Pointer) bool
    func c64equal(p, q unsafe.Pointer) bool
    func c128equal(p, q unsafe.Pointer) bool
    func strequal(p, q unsafe.Pointer) bool
    func interequal(p, q unsafe.Pointer) bool
    func nilinterequal(p, q unsafe.Pointer) bool
    
    func memhash(x *any, h uintptr, size uintptr) uintptr
    func memhash0(p unsafe.Pointer, h uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"memequal64", funcTag, 126},
    	{"memequal128", funcTag, 126},
    	{"f32equal", funcTag, 127},
    	{"f64equal", funcTag, 127},
    	{"c64equal", funcTag, 127},
    	{"c128equal", funcTag, 127},
    	{"strequal", funcTag, 127},
    	{"interequal", funcTag, 127},
    	{"nilinterequal", funcTag, 127},
    	{"memhash", funcTag, 128},
    	{"memhash0", funcTag, 129},
    	{"memhash8", funcTag, 129},
    	{"memhash16", funcTag, 129},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/runtime/alg.go

    }
    func c64equal(p, q unsafe.Pointer) bool {
    	return *(*complex64)(p) == *(*complex64)(q)
    }
    func c128equal(p, q unsafe.Pointer) bool {
    	return *(*complex128)(p) == *(*complex128)(q)
    }
    func strequal(p, q unsafe.Pointer) bool {
    	return *(*string)(p) == *(*string)(q)
    }
    func interequal(p, q unsafe.Pointer) bool {
    	x := *(*iface)(p)
    	y := *(*iface)(q)
    	return x.tab == y.tab && ifaceeq(x.tab, x.data, y.data)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/poset_test.go

    		{Checkpoint, 0, 0},
    		{SetEqual, 2, 100},
    		{Ordered, 1, 107},
    		{Ordered, 100, 6},
    
    		// SetEqual with new node
    		{Undo, 0, 0},
    		{Checkpoint, 0, 0},
    		{SetEqual, 2, 400},
    		{SetEqual, 401, 2},
    		{Equal, 400, 401},
    		{Ordered, 1, 400},
    		{Ordered, 400, 6},
    		{Ordered, 1, 401},
    		{Ordered, 401, 6},
    		{Ordered_Fail, 2, 401},
    
    		// SetEqual unseen nodes and then connect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  7. test/codegen/copy.go

    }
    
    func moveArchLowering16(b []byte, x *[16]byte) {
    	_ = b[16]
    	// amd64:-".*memmove"
    	copy(b, x[:])
    }
    
    // Check that no branches are generated when the pointers are [not] equal.
    
    func ptrEqual() {
    	// amd64:-"JEQ",-"JNE"
    	// ppc64x:-"BEQ",-"BNE"
    	// s390x:-"BEQ",-"BNE"
    	copy(x[:], x[:])
    }
    
    func ptrOneOffset() {
    	// amd64:-"JEQ",-"JNE"
    	// ppc64x:-"BEQ",-"BNE"
    	// s390x:-"BEQ",-"BNE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 14:09:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/poset.go

    		panic("should not call SetOrder with n1==n2")
    	}
    	return po.setOrder(n1, n2, false)
    }
    
    // SetEqual records that n1==n2. Returns false if this is a contradiction
    // (that is, if it is already recorded that n1<n2 or n2<n1).
    // Complexity is O(1) if n2 was never seen before, or O(n) otherwise.
    func (po *poset) SetEqual(n1, n2 *Value) bool {
    	if debugPoset {
    		defer po.CheckIntegrity()
    	}
    	if n1.ID == n2.ID {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  9. hack/tools/go.mod

    	github.com/go-critic/go-critic v0.11.1 // indirect
    	github.com/go-toolsmith/astcast v1.1.0 // indirect
    	github.com/go-toolsmith/astcopy v1.1.0 // indirect
    	github.com/go-toolsmith/astequal v1.2.0 // indirect
    	github.com/go-toolsmith/astfmt v1.1.0 // indirect
    	github.com/go-toolsmith/astp v1.1.0 // indirect
    	github.com/go-toolsmith/strparse v1.1.0 // indirect
    	github.com/go-toolsmith/typep v1.1.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. hack/tools/go.sum

    github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4=
    github.com/go-toolsmith/astequal v1.1.0/go.mod h1:sedf7VIdCL22LD8qIvv7Nn9MuWJruQA/ysswh64lffQ=
    github.com/go-toolsmith/astequal v1.2.0 h1:3Fs3CYZ1k9Vo4FzFhwwewC3CHISHDnVUPC4x0bI2+Cw=
    github.com/go-toolsmith/astequal v1.2.0/go.mod h1:c8NZ3+kSFtFY/8lPso4v8LuJjdJiUFVnSuU3s0qrrDY=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top