Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for shifts (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go

    		case 0:
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return 0, ErrIntOverflowGenerated
    				}
    				if iNdEx >= l {
    					return 0, io.ErrUnexpectedEOF
    				}
    				iNdEx++
    				if dAtA[iNdEx-1] < 0x80 {
    					break
    				}
    			}
    		case 1:
    			iNdEx += 8
    		case 2:
    			var length int
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return 0, ErrIntOverflowGenerated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/syscall/mksyscall.pl

    if($ARGV[0] eq "-b32") {
    	$_32bit = "big-endian";
    	shift;
    } elsif($ARGV[0] eq "-l32") {
    	$_32bit = "little-endian";
    	shift;
    }
    if($ARGV[0] eq "-plan9") {
    	$plan9 = 1;
    	shift;
    }
    if($ARGV[0] eq "-darwin") {
    	$darwin = 1;
    	$libc = 1;
    	shift;
    }
    if($ARGV[0] eq "-openbsd") {
    	$openbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-netbsd") {
    	$netbsd = 1;
    	shift;
    }
    if($ARGV[0] eq "-dragonfly") {
    	$dragonfly = 1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/runtime/slice.go

    	case isPowerOfTwo(et.Size_):
    		var shift uintptr
    		if goarch.PtrSize == 8 {
    			// Mask shift for better code generation.
    			shift = uintptr(sys.TrailingZeros64(uint64(et.Size_))) & 63
    		} else {
    			shift = uintptr(sys.TrailingZeros32(uint32(et.Size_))) & 31
    		}
    		lenmem = uintptr(oldLen) << shift
    		newlenmem = uintptr(newLen) << shift
    		capmem = roundupsize(uintptr(newcap)<<shift, noscan)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "SLLIW", argLength: 1, reg: gp11, asm: "SLLIW", aux: "Int64"}, // arg0 << auxint, shift amount 0-31, logical left shift of 32 bit value, sign extended to 64 bits
    		{name: "SRAI", argLength: 1, reg: gp11, asm: "SRAI", aux: "Int64"},   // arg0 >> auxint, shift amount 0-63, arithmetic right shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.concat()).isEqualTo(EMPTY);
        assertThat(Shorts.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Shorts.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Shorts.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Shorts.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Shorts.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Shorts.concat(ARRAY1, ARRAY1, ARRAY1))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/obj9.go

    		default:
    			// Is this a shifted 16b constant? If so, rewrite it to avoid a creating and loading a constant.
    			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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe.go

    	}
    
    	// Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51).
    	v.l0 = byteorder.LeUint64(x[0:8])
    	v.l0 &= maskLow51Bits
    	// Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51).
    	v.l1 = byteorder.LeUint64(x[6:14]) >> 3
    	v.l1 &= maskLow51Bits
    	// Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51).
    	v.l2 = byteorder.LeUint64(x[12:20]) >> 6
    	v.l2 &= maskLow51Bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/runtime/mpallocbits.go

    	for p > 0 {
    		if p <= k {
    			// Shift p 0s down into the top of each run of 1s.
    			c &= c >> (p & 63)
    			break
    		}
    		// Shift k 0s down into the top of each run of 1s.
    		c &= c >> (k & 63)
    		if c == 0 {
    			return 64
    		}
    		p -= k
    		// We've just doubled the minimum length of 0-runs.
    		// This allows us to shift farther in the next iteration.
    		k *= 2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    		default:
    			precision = -1
    		}
    	}
    
    	if precision >= 0 {
    		// if we have a denominator, shift the entire value to the left by the number of places in the
    		// denominator
    		scale -= int32(len(denom))
    		if scale >= int32(Nano) {
    			shifted := num + denom
    
    			var value int64
    			value, err := strconv.ParseInt(shifted, 10, 64)
    			if err != nil {
    				return Quantity{}, ErrNumeric
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top