Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for TestB (0.07 sec)

  1. test/codegen/slices.go

    	return make([]int, 0)
    }
    
    // ---------------------- //
    //   Nil check of &s[0]   //
    // ---------------------- //
    // See issue 30366
    func SliceNilCheck(s []int) {
    	p := &s[0]
    	// amd64:-`TESTB`
    	_ = *p
    }
    
    // ---------------------- //
    //   Init slice literal   //
    // ---------------------- //
    // See issue 21561
    func InitSmallSliceLiteral() []int {
    	// amd64:`MOVQ\t[$]42`
    	return []int{42}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 18:57:27 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. test/codegen/comparisons.go

    	}
    	return 0
    }
    
    func UintLtZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCC|JCS)`
    	// arm64: -`(CMPW|CMP|BHS|BLO)`
    	if a < 0 || b < 0 || c < 0 || d < 0 {
    		return 1
    	}
    	return 0
    }
    
    func UintGeqZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCS|JCC)`
    	// arm64: -`(CMPW|CMP|BLO|BHS)`
    	if a >= 0 || b >= 0 || c >= 0 || d >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() == 0
    	// result: (TESTB x:(MOVBload {sym} [vo.Off()] ptr mem) x)
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  4. test/codegen/bits.go

    	a[0] &= 200
    	// amd64:`ORL\s[$]220,\s4\([A-Z][A-Z0-9]+\)`
    	a[1] |= 220
    	// amd64:`XORL\s[$]240,\s8\([A-Z][A-Z0-9]+\)`
    	a[2] ^= 240
    }
    
    func bitcheckMostNegative(b uint8) bool {
    	// amd64:"TESTB"
    	return b&0x80 == 0x80
    }
    
    // Check AND masking on arm64 (Issue #19857)
    
    func and_mask_1(a uint64) uint64 {
    	// arm64:`AND\t`
    	return a & ((1 << 63) - 1)
    }
    
    func and_mask_2(a uint64) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/anames.go

    	"SUBB",
    	"SUBL",
    	"SUBPD",
    	"SUBPS",
    	"SUBQ",
    	"SUBSD",
    	"SUBSS",
    	"SUBW",
    	"SWAPGS",
    	"SYSCALL",
    	"SYSENTER",
    	"SYSENTER64",
    	"SYSEXIT",
    	"SYSEXIT64",
    	"SYSRET",
    	"TESTB",
    	"TESTL",
    	"TESTQ",
    	"TESTW",
    	"TPAUSE",
    	"TZCNTL",
    	"TZCNTQ",
    	"TZCNTW",
    	"UCOMISD",
    	"UCOMISS",
    	"UD1",
    	"UD2",
    	"UMWAIT",
    	"UNPCKHPD",
    	"UNPCKHPS",
    	"UNPCKLPD",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite386.go

    		if !(0 <= int8(m) && int8(m) < n) {
    			break
    		}
    		v.reset(Op386FlagLT_ULT)
    		return true
    	}
    	// match: (CMPBconst l:(ANDL x y) [0])
    	// cond: l.Uses==1
    	// result: (TESTB x y)
    	for {
    		if auxIntToInt8(v.AuxInt) != 0 {
    			break
    		}
    		l := v_0
    		if l.Op != Op386ANDL {
    			break
    		}
    		y := l.Args[1]
    		x := l.Args[0]
    		if !(l.Uses == 1) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

                        capability('cap')
                    }
                }
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
                        capability('cap')
                    }
                }
            }
    
            buildFile << """
                dependencies {
                    conf 'org:testA:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/x86/ssa.go

    		s.Prog(x86.AREP)
    		s.Prog(x86.AMOVSL)
    	case ssa.Op386LoweredNilCheck:
    		// Issue a load which will fault if the input is nil.
    		// TODO: We currently use the 2-byte instruction TESTB AX, (reg).
    		// Should we use the 3-byte TESTB $0, (reg) instead? It is larger
    		// but it doesn't have false dependency on AX.
    		// Or maybe allocate an output register and use MOVL (reg),reg2 ?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "TESTW", argLength: 2, reg: gp2flags, commutative: true, asm: "TESTW", typ: "Flags"}, // (arg0 & arg1) compare to 0
    		{name: "TESTB", argLength: 2, reg: gp2flags, commutative: true, asm: "TESTB", typ: "Flags"}, // (arg0 & arg1) compare to 0
    		{name: "TESTLconst", argLength: 1, reg: gp1flags, asm: "TESTL", typ: "Flags", aux: "Int32"}, // (arg0 & auxint) compare to 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy

         \\--- conf
    """
        }
    
        def "correctly reports attributes declared on dependencies"() {
            given:
            mavenRepo.module('org', 'testA', '1.0').publish()
            mavenRepo.module('org', 'testB', '1.0').publish()
    
            buildFile << """
                def CUSTOM_ATTRIBUTE = Attribute.of('custom', CustomAttributeType)
                dependencies.attributesSchema.attribute(CUSTOM_ATTRIBUTE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top