Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Shift1 (0.13 sec)

  1. src/crypto/md5/gen.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	err = os.WriteFile(*filename, data, 0644)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    type Data struct {
    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    			sllOp, srlOp = ASLLW, ASRLW
    		}
    		shift1, shift2 := sllOp, srlOp
    		if ins.as == AROR || ins.as == ARORW {
    			shift1, shift2 = shift2, shift1
    		}
    		return []*instruction{
    			&instruction{as: ASUB, rs1: REG_ZERO, rs2: ins.rs2, rd: REG_TMP},
    			&instruction{as: shift2, rs1: ins.rs1, rs2: REG_TMP, rd: REG_TMP},
    			&instruction{as: shift1, rs1: ins.rs1, rs2: ins.rs2, rd: ins.rd},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    	case *Map:
    		return "map"
    	case *Chan:
    		return "chan"
    	default:
    		return check.sprintf("%s", typ) // catch-all
    	}
    }
    
    // If e != nil, it must be the shift expression; it may be nil for non-constant shifts.
    func (check *Checker) shift(x, y *operand, e ast.Expr, op token.Token) {
    	// TODO(gri) This function seems overly complex. Revisit.
    
    	var xval constant.Value
    	if x.mode == constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    	case *Map:
    		return "map"
    	case *Chan:
    		return "chan"
    	default:
    		return check.sprintf("%s", typ) // catch-all
    	}
    }
    
    // If e != nil, it must be the shift expression; it may be nil for non-constant shifts.
    func (check *Checker) shift(x, y *operand, e syntax.Expr, op syntax.Operator) {
    	// TODO(gri) This function seems overly complex. Revisit.
    
    	var xval constant.Value
    	if x.mode == constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc

    TEST(UtilsTest, QuantizeMultiplierNormalMultipliers) {
      int32_t quantized_fraction;
      int32_t shift;
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1.2, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 19661);
      EXPECT_EQ(shift, 1);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(15.5, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 31744);
      EXPECT_EQ(shift, 4);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1, quantized_fraction, shift)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 05:58:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/generated.pb.go

    	iNdEx := 0
    	for iNdEx < l {
    		preIndex := iNdEx
    		var wire uint64
    		for shift := uint(0); ; shift += 7 {
    			if shift >= 64 {
    				return ErrIntOverflowGenerated
    			}
    			if iNdEx >= l {
    				return io.ErrUnexpectedEOF
    			}
    			b := dAtA[iNdEx]
    			iNdEx++
    			wire |= uint64(b&0x7F) << shift
    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  8. src/runtime/asm_amd64.s

    DATA shifts<>+0x58(SB)/8, $0xffffffffffffffff
    DATA shifts<>+0x60(SB)/8, $0xffff0f0e0d0c0b0a
    DATA shifts<>+0x68(SB)/8, $0xffffffffffffffff
    DATA shifts<>+0x70(SB)/8, $0xff0f0e0d0c0b0a09
    DATA shifts<>+0x78(SB)/8, $0xffffffffffffffff
    DATA shifts<>+0x80(SB)/8, $0x0f0e0d0c0b0a0908
    DATA shifts<>+0x88(SB)/8, $0xffffffffffffffff
    DATA shifts<>+0x90(SB)/8, $0x0e0d0c0b0a090807
    DATA shifts<>+0x98(SB)/8, $0xffffffffffffff0f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// shifts
    		{name: "SLL", argLength: 2, reg: gp21, asm: "LSL"},                        // arg0 << arg1, shift amount is mod 64
    		{name: "SLLconst", argLength: 1, reg: gp11, asm: "LSL", aux: "Int64"},     // arg0 << auxInt, auxInt should be in the range 0 to 63.
    		{name: "SRL", argLength: 2, reg: gp21, asm: "LSR"},                        // arg0 >> arg1, unsigned, shift amount is mod 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/crypto/des/block.go

    }
    
    // Expand 48-bit input to 64-bit, with each 6-bit block padded by extra two bits at the top.
    // By doing so, we can have the input blocks (four bits each), and the key blocks (six bits each) well-aligned without
    // extra shifts/rotations for alignments.
    func unpack(x uint64) uint64 {
    	return ((x>>(6*1))&0xff)<<(8*0) |
    		((x>>(6*3))&0xff)<<(8*1) |
    		((x>>(6*5))&0xff)<<(8*2) |
    		((x>>(6*7))&0xff)<<(8*3) |
    		((x>>(6*0))&0xff)<<(8*4) |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top