Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for x6val (0.31 sec)

  1. src/runtime/map_test.go

    func TestSingleBucketMapStringKeys_NoDupLen(t *testing.T) {
    	testMapLookups(t, map[string]string{
    		"x":                      "x1val",
    		"xx":                     "x2val",
    		"foo":                    "fooval",
    		"xxxx":                   "x4val",
    		"xxxxx":                  "x5val",
    		"xxxxxx":                 "x6val",
    		strings.Repeat("x", 128): "longval",
    	})
    }
    
    func testMapLookups(t *testing.T, m map[string]string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. utils/utils.go

    }
    
    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    		return true
    	}
    	if x == nil || y == nil {
    		return false
    	}
    
    	xval := reflect.ValueOf(x)
    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/go/types/expr.go

    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_ {
    		xval = constant.ToInt(x.val)
    	}
    
    	if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
    		// The lhs is of integer type or an untyped constant representable
    		// as an integer. Nothing to do.
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    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_ {
    		xval = constant.ToInt(x.val)
    	}
    
    	if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
    		// The lhs is of integer type or an untyped constant representable
    		// as an integer. Nothing to do.
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      if (shape_x.size() == shape_y.size()) {
        llvm::SmallVector<int64_t, 4> out_shape(shape_x.size());
        for (int i = 0; i < shape_x.size(); i++) {
          auto x_val = shape_x[i];
          auto y_val = shape_y[i];
          out_shape[i] = std::max(x_val, y_val);
        }
        return tensorflow::GetTypeFromTFTensorShape(out_shape, element_type);
      }
    
      auto shape_large = shape_x.size() > shape_y.size() ? shape_x : shape_y;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (1)
Back to top