Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for LeftShift (0.12 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

                element.removeChild(element.getFirstChild())
            }
            leftShift(element, cl)
        }
    
        public static def leftShift(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent)
            cl.delegate = builder
            cl.call()
            return builder.elements[0]
        }
    
        public static void leftShift(Node parent, Node node) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/strconv/decimal.go

    // Binary shift left (k > 0) or right (k < 0).
    func (a *decimal) Shift(k int) {
    	switch {
    	case a.nd == 0:
    		// nothing to do: a == 0
    	case k > 0:
    		for k > maxShift {
    			leftShift(a, maxShift)
    			k -= maxShift
    		}
    		leftShift(a, uint(k))
    	case k < 0:
    		for k < -maxShift {
    			rightShift(a, maxShift)
    			k += maxShift
    		}
    		rightShift(a, uint(-k))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 15 19:41:25 UTC 2017
    - 11K bytes
    - Viewed (0)
  3. test/64bit.go

    	for i := uint(0); i < 64; i++ {
    		if b.HasBit(i) {
    			c = c.Plus(a.LeftShift(i))
    		}
    	}
    	return
    }
    
    func (a Uint64) DivMod(b Uint64) (quo, rem Uint64) {
    	n := a.Len() - b.Len()
    	if n >= 0 {
    		b = b.LeftShift(uint(n))
    		for i := 0; i <= n; i++ {
    			quo = quo.LeftShift(1)
    			if b.Cmp(a) <= 0 {	// b <= a
    				quo.lo |= 1
    				a = a.Minus(b)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/memcombine.go

    	if n*size < root.Type.Size() {
    		v = zeroExtend(loadBlock, pos, v, n*size, root.Type.Size())
    	}
    
    	// Shift if needed.
    	if isLittleEndian && shift0 != 0 {
    		v = leftShift(loadBlock, pos, v, shift0)
    	}
    	if isBigEndian && shift0-(n-1)*size*8 != 0 {
    		v = leftShift(loadBlock, pos, v, shift0-(n-1)*size*8)
    	}
    
    	// Install with (Copy v).
    	root.reset(OpCopy)
    	root.AddArg(v)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            }
            return this;
        }
    
        public TestFile leftShift(Object content) {
            getParentFile().mkdirs();
            try {
                ResourceGroovyMethods.leftShift(this, content);
                return this;
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

    }
    
    // CHECK-LABEL: func @shift_left
    func.func @shift_left(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>) -> tensor<4xi32> {
      // CHECK:  mhlo.shift_left %arg0, %arg1 : tensor<4xi32>
      %0 = "tf.LeftShift"(%arg0, %arg1) : (tensor<4xi32>, tensor<4xi32>) -> tensor<4xi32>
      func.return %0 : tensor<4xi32>
    }
    
    // CHECK-LABEL: func @div_unranked
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK-DAG.       %cst = arith.constant dense<[4]> : tensor<1xi64>
    // CHECK:           %[[VAL_2:.*]] = "tf.LeftShift"(%[[VAL_0]], %[[VAL_1]]) : (tensor<1xi32>, tensor<4xi32>) -> tensor<4xi32>
    // CHECK:           %[[VAL_3:.*]] = "tf.LeftShift"(%[[VAL_1]], %[[VAL_0]]) : (tensor<4xi32>, tensor<1xi32>) -> tensor<4xi32>
    // CHECK:           return %[[VAL_2]], %[[VAL_3]] : tensor<4xi32>, tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        static bool isCompatibleReturnTypes(TypeRange inferred, TypeRange actual) {
          return ArraysAreCastCompatible(inferred, actual);
        }
      }];
    }
    
    def TF_LeftShiftOp : TF_Op<"LeftShift", [Pure, ResultsBroadcastableShape]>,
                         WithBroadcastableBinOpBuilder {
      let summary = "Elementwise computes the bitwise left-shift of `x` and `y`.";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top