Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isV7 (0.15 sec)

  1. src/internal/cpu/cpu_arm.go

    	// See ARMv7 manual section B1.6.
    	// We also need at least a v7 chip, for the DMB instruction.
    	ARM.HasV7Atomics = isSet(HWCap, hwcap_LPAE) && isV7(Platform)
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    }
    
    func isV7(s string) bool {
    	if s == "aarch64" {
    		return true
    	}
    	return s >= "v7" // will be something like v5, v7, v8, v8l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. test/typeparam/dictionaryCapture-noinline.go

    	f0 := s[int].g0
    	f0(x)
    	f1 := s[int].g1
    	is7(f1(x))
    	f2 := s[int].g2
    	is77(f2(x))
    }
    
    func methodValues() {
    	x := s[int]{a: 7}
    	f0 := x.g0
    	f0()
    	f1 := x.g1
    	is7(f1())
    	f2 := x.g2
    	is77(f2())
    }
    
    var x interface {
    	g0()
    	g1() int
    	g2() (int, int)
    } = s[int]{a: 7}
    var y interface{} = s[int]{a: 7}
    
    func interfaceMethods() {
    	x.g0()
    	is7(x.g1())
    	is77(x.g2())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. test/typeparam/dictionaryCapture.go

    var hh2 = s[int].g2
    
    var xtop = s[int]{a: 7}
    var ii0 = x.g0
    var ii1 = x.g1
    var ii2 = x.g2
    
    func globals() {
    	gg0(7)
    	is7(gg1(7))
    	is77(gg2(7))
    	x := s[int]{a: 7}
    	hh0(x)
    	is7(hh1(x))
    	is77(hh2(x))
    	ii0()
    	is7(ii1())
    	is77(ii2())
    }
    
    func recursive() {
    	if got, want := recur1[int](5), 110; got != want {
    		panic(fmt.Sprintf("recur1[int](5) = %d, want = %d", got, want))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top