Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for 2xcomplex (0.13 sec)

  1. src/cmd/compile/internal/typecheck/subr.go

    		if types.SimType[src.Kind()] == types.SimType[dst.Kind()] {
    			return ir.OCONVNOP, ""
    		}
    		return ir.OCONV, ""
    	}
    
    	// 5. src and dst are both complex types.
    	if src.IsComplex() && dst.IsComplex() {
    		if types.SimType[src.Kind()] == types.SimType[dst.Kind()] {
    			return ir.OCONVNOP, ""
    		}
    		return ir.OCONV, ""
    	}
    
    	// Special case for constant conversions: any numeric
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. src/go/parser/parser_test.go

    package p
    //
    func f1a(int)
    func f2a(byte, int, float)
    func f3a(a, b int, c float)
    func f4a(...complex)
    func f5a(a s1a, b ...complex)
    //
    func f1b(*int)
    func f2b([]byte, (int), *float)
    func f3b(a, b *int, c []float)
    func f4b(...*complex)
    func f5b(a s1a, b ...[]complex)
    //
    type s1a struct { int }
    type s2a struct { byte; int; s1a }
    type s3a struct { a, b int; c float }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. src/internal/pkgbits/decoder.go

    	}
    	return res
    }
    
    // Value decodes and returns a constant.Value from the element
    // bitstream.
    func (r *Decoder) Value() constant.Value {
    	r.Sync(SyncValue)
    	isComplex := r.Bool()
    	val := r.scalar()
    	if isComplex {
    		val = constant.BinaryOp(val, token.ADD, constant.MakeImag(r.scalar()))
    	}
    	return val
    }
    
    func (r *Decoder) scalar() constant.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  4. src/go/types/predicates.go

    func isInteger(t Type) bool        { return isBasic(t, IsInteger) }
    func isUnsigned(t Type) bool       { return isBasic(t, IsUnsigned) }
    func isFloat(t Type) bool          { return isBasic(t, IsFloat) }
    func isComplex(t Type) bool        { return isBasic(t, IsComplex) }
    func isNumeric(t Type) bool        { return isBasic(t, IsNumeric) }
    func isString(t Type) bool         { return isBasic(t, IsString) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

            """
    
            expect:
            succeeds "customTask"
    
            where:
            annotation << [InputFile, InputDirectory, InputFiles]
        }
    
        def "TaskInputs.#method shows error message when used with complex input"() {
            buildFile << """
                task dependencyTask {
                }
    
                task test {
                    inputs.$method(dependencyTask).withPropertyName('input')
                    doFirst {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/walk.go

    	// When instrumenting, any expression might require function calls.
    	if base.Flag.Cfg.Instrumenting {
    		return true
    	}
    
    	isSoftFloat := func(typ *types.Type) bool {
    		return types.IsFloat[typ.Kind()] || types.IsComplex[typ.Kind()]
    	}
    
    	return ir.Any(n, func(n ir.Node) bool {
    		// walk should have already moved any Init blocks off of
    		// expressions.
    		if len(n.Init()) != 0 {
    			base.FatalfAt(n.Pos(), "mayCall %+v", n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      }
    
      // CHECK-LABEL: mirror_pad
      func.func @mirror_pad(%arg0: tensor<2x3xcomplex<f64>>) -> tensor<4x7xcomplex<f64>> {
        %0 = mhlo.constant dense<[[1, 1], [2, 2]]> : tensor<2x2xi32>
        // CHECK-NOT: tf.MirrorPad
        %1 = "tf.MirrorPad"(%arg0, %0) {mode = "SYMMETRIC"} : (tensor<2x3xcomplex<f64>>, tensor<2x2xi32>) -> tensor<4x7xcomplex<f64>>
        func.return %1 : tensor<4x7xcomplex<f64>>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  8. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\....
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        MATCH(DT_BFLOAT16, half);
        MATCH(DT_STRING, string);
    
        // TODO(b/188995810): DenseElementsAttr::get doesn't support complex
        // Attributes being passed, so we bail out for now. This should just be
        //   MATCH(DT_COMPLEX64, scomplex) / 2;
        //   MATCH(DT_COMPLEX128, dcomplex) / 2;
        // when DenseElementsAttr is updated.
        case DT_COMPLEX64:
        case DT_COMPLEX128:
        default:
          return -1;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    // walkDivMod walks an ODIV or OMOD node.
    func walkDivMod(n *ir.BinaryExpr, init *ir.Nodes) ir.Node {
    	n.X = walkExpr(n.X, init)
    	n.Y = walkExpr(n.Y, init)
    
    	// rewrite complex div into function call.
    	et := n.X.Type().Kind()
    
    	if types.IsComplex[et] && n.Op() == ir.ODIV {
    		t := n.Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top