Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Shift1 (0.08 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/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkLongShift checks if shift or shift-assign operations shift by more than
    // the length of the underlying variable.
    func checkLongShift(pass *analysis.Pass, node ast.Node, x, y ast.Expr) {
    	if pass.TypesInfo.Types[x].Value != nil {
    		// Ignore shifts of constants.
    		// These are frequently used for bit-twiddling tricks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/strconv/itoa.go

    		// the compiler to generate better code for the shift operation.
    		shift := uint(bits.TrailingZeros(uint(base))) & 7
    		b := uint64(base)
    		m := uint(base) - 1 // == 1<<shift - 1
    		for u >= b {
    			i--
    			a[i] = digits[uint(u)&m]
    			u >>= shift
    		}
    		// u < base
    		i--
    		a[i] = digits[uint(u)]
    	} else {
    		// general case
    		b := uint64(base)
    		for u >= b {
    			i--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/util/intstr/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
    - 9.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.cc

      // no matter what.
      if (quantized_fraction == (1L << 15)) {
        quantized_fraction /= 2;
        ++shift;
      }
      if (shift < -15) {
        shift = 0;
        quantized_fraction = 0;
      }
      if (shift > 14) {
        shift = 14;
        quantized_fraction = (1LL << 15) - 1;
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/crypto/md5/md5block_amd64.s

    #define ROUND3FIRST(a, b, c, d, index, const, shift) \
    	MOVL	d,		R9; \
    	XORL	c,		R9; \
    	XORL	b,		R9; \
    	ADDL	$const,	a; \
    	ADDL	R8,		a; \
    	MOVL	(index*4)(SI),R8; \
    	ADDL	R9,		a; \
    	ROLL	$shift,		a; \
    	ADDL	b,		a
    
    #define ROUND3(a, b, c, d, index, const, shift) \
    	XORL	a,		R9; \
    	XORL	b,		R9; \
    	ADDL	$const,	a; \
    	ADDL	R8,		a; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. 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)
  9. prow/integ-suite-kind.sh

        --node-image)
          NODE_IMAGE=$2
          shift 2
        ;;
        # Config for enabling different Kubernetes features in KinD (see prow/config{endpointslice.yaml,trustworthy-jwt.yaml}).
        --kind-config)
        KIND_CONFIG=$2
        shift 2
        ;;
        --skip-setup)
          SKIP_SETUP=true
          shift
        ;;
        --skip-cleanup)
          SKIP_CLEANUP=true
          shift
        ;;
        --skip-build)
          SKIP_BUILD=true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/crypto/md5/md5block_s390x.s

    	CMPBEQ	R6, R7, end
    
    loop:
    	STMY	R2, R5, tmp-16(SP)
    
    	MOVWBR	0(R6), R8
    	MOVWZ	R5, R9
    
    #define ROUND1(a, b, c, d, index, const, shift) \
    	XOR	c, R9; \
    	ADD	$const, a; \
    	ADD	R8, a; \
    	MOVWBR	(index*4)(R6), R8; \
    	AND	b, R9; \
    	XOR	d, R9; \
    	ADD	R9, a; \
    	RLL	$shift, a; \
    	MOVWZ	c, R9; \
    	ADD	b, a
    
    	ROUND1(R2,R3,R4,R5, 1,0xd76aa478, 7);
    	ROUND1(R5,R2,R3,R4, 2,0xe8c7b756,12);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top