Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for Shift3 (0.28 sec)

  1. src/cmd/compile/internal/types2/builtins.go

    			//    floating-point numbers if possible,
    			// 2) if one of them is not constant (possible because
    			//    it contains a shift that is yet untyped), convert
    			//    both of them to float64 since they must have the
    			//    same type to succeed (this will result in an error
    			//    because shifts of floats are not permitted)
    			if x.mode == constant_ && y.mode == constant_ {
    				toFloat := func(x *operand) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    // uses unsafe.Pointer for speed.
    func readvarintUnsafe(fd unsafe.Pointer) (uint32, unsafe.Pointer) {
    	var r uint32
    	var shift int
    	for {
    		b := *(*uint8)(fd)
    		fd = add(fd, unsafe.Sizeof(b))
    		if b < 128 {
    			return r + uint32(b)<<shift, fd
    		}
    		r += uint32(b&0x7F) << (shift & 31)
    		shift += 7
    		if shift > 28 {
    			panic("Bad varint")
    		}
    	}
    }
    
    // A PanicNilError happens when code calls panic(nil).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/math/big/float.go

    	// TODO(gri) having a combined add-and-shift primitive
    	//           could make this code significantly faster
    	switch {
    	case ex < ey:
    		if al {
    			t := nat(nil).shl(y.mant, uint(ey-ex))
    			z.mant = z.mant.add(x.mant, t)
    		} else {
    			z.mant = z.mant.shl(y.mant, uint(ey-ex))
    			z.mant = z.mant.add(x.mant, z.mant)
    		}
    	default:
    		// ex == ey, no shift needed
    		z.mant = z.mant.add(x.mant, y.mant)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    				expectedByName:       sets.New("shirt1", "shirt3"),
    				expectObserveRemoval: sets.New("shirt1"), // shirt 1 is deleted
    			},
    			{
    				version:        version,
    				fieldSelector:  "spec.size=M",
    				expectedByName: sets.New("shirt2"),
    			},
    			{
    				version:        version,
    				fieldSelector:  "spec.branded=false",
    				expectedByName: sets.New("shirt2", "shirt3"),
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    }
    
    func newPPC64ShiftAuxInt(sh, mb, me, sz int64) int32 {
    	if sh < 0 || sh >= sz {
    		panic("PPC64 shift arg sh out of range")
    	}
    	if mb < 0 || mb >= sz {
    		panic("PPC64 shift arg mb out of range")
    	}
    	if me < 0 || me >= sz {
    		panic("PPC64 shift arg me out of range")
    	}
    	return int32(sh<<16 | mb<<8 | me)
    }
    
    func GetPPC64Shiftsh(auxint int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/link.go

    //		Encoding:
    //			type = TYPE_TEXTSIZE
    //			offset = x
    //			val = int32(y)
    //
    //	reg<<shift, reg>>shift, reg->shift, reg@>shift
    //		Shifted register value, for ARM and ARM64.
    //		In this form, reg must be a register and shift can be a register or an integer constant.
    //		Encoding:
    //			type = TYPE_SHIFT
    //		On ARM:
    //			offset = (reg&15) | shifttype<<5 | count
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    			val := p.From.Offset
    			shift := bits.TrailingZeros64(uint64(val))
    			mask := int64(0xFFFF) << shift
    			if val&mask == val || (val>>(shift+16) == -1 && (val>>shift)<<shift == val) {
    				// Rewrite this value into MOVD $const>>shift, Rto; SLD $shift, Rto
    				q := obj.Appendp(p, c.newprog)
    				q.As = ASLD
    				q.From.SetConst(int64(shift))
    				q.To = p.To
    				p.From.Offset >>= shift
    				p = q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. src/math/big/int_test.go

    		out := new(Int).Lsh(in, test.shift)
    		out = out.Rsh(out, test.shift)
    
    		if !isNormalized(out) {
    			t.Errorf("#%d: %v is not normalized", i, *out)
    		}
    		if in.Cmp(out) != 0 {
    			t.Errorf("#%d: got %s want %s", i, out, in)
    		}
    	}
    	for i, test := range lshTests {
    		in, _ := new(Int).SetString(test.in, 10)
    		out := new(Int).Lsh(in, test.shift)
    		out.Rsh(out, test.shift)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerRetryTest.groovy

            //these meta tests mess with the daemon log: do not interfere with other tests when running in parallel
            requireIsolatedTestKitDir = true
        }
    
        def iteration = 0
    
        def "retries on clock shift issue for <2.10"() {
            given:
            iteration++
            def isVersionWithIssue = gradleVersion < GradleVersion.version('2.10')
    
            when:
            throwWhen(new GradleConnectionException("Test Exception",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. test/codegen/arithmetic.go

    		d = divd / divr
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		e = divd % divr
    		d += e
    	}
    	return d, e
    }
    
    // Check that len() and cap() calls divided by powers of two are
    // optimized into shifts and ands
    
    func LenDiv1(a []int) int {
    	// 386:"SHRL\t[$]10"
    	// amd64:"SHRQ\t[$]10"
    	// arm64:"LSR\t[$]10",-"SDIV"
    	// arm:"SRL\t[$]10",-".*udiv"
    	// ppc64x:"SRD"\t[$]10"
    	return len(a) / 1024
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top