Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for 3xcomplex (0.28 sec)

  1. src/cmd/compile/internal/ssa/decompose.go

    				}
    				f.NamedValues[*hiName] = append(f.NamedValues[*hiName], v.Args[0])
    				f.NamedValues[*loName] = append(f.NamedValues[*loName], v.Args[1])
    				toDelete = append(toDelete, namedVal{i, j})
    			}
    		case t.IsComplex():
    			rName, iName := f.SplitComplex(name)
    			newNames = maybeAppend2(f, newNames, rName, iName)
    			for j, v := range f.NamedValues[*name] {
    				if v.Op != OpComplexMake {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  2. 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)
  3. src/text/template/parse/node.go

    			return nil, err
    		}
    		n.IsComplex = true
    		n.simplifyComplex()
    		return n, nil
    	}
    	// Imaginary constants can only be complex unless they are zero.
    	if len(text) > 0 && text[len(text)-1] == 'i' {
    		f, err := strconv.ParseFloat(text[:len(text)-1], 64)
    		if err == nil {
    			n.IsComplex = true
    			n.Complex128 = complex(0, f)
    			n.simplifyComplex()
    			return n, nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/types2/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.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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 (1)
Back to top