Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 3xcomplex (0.96 sec)

  1. src/go/constant/example_test.go

    	negOne := constant.MakeInt64(-1)
    
    	mkComplex := func(a, b constant.Value) constant.Value {
    		b = constant.MakeImag(b)
    		return constant.BinaryOp(a, token.ADD, b)
    	}
    
    	vs := []constant.Value{
    		negOne,
    		mkComplex(zero, negOne),
    		mkComplex(one, negOne),
    		mkComplex(negOne, one),
    		mkComplex(negOne, negOne),
    		zero,
    		mkComplex(zero, zero),
    		one,
    		mkComplex(zero, one),
    		mkComplex(one, one),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/go/types/conversions.go

    				return true
    			}
    		}
    	}
    
    	// "V and T are both integer or floating point types"
    	if isIntegerOrFloat(Vu) && isIntegerOrFloat(Tu) {
    		return true
    	}
    
    	// "V and T are both complex types"
    	if isComplex(Vu) && isComplex(Tu) {
    		return true
    	}
    
    	// "V is an integer or a slice of bytes or runes and T is a string type"
    	if (isInteger(Vu) || isBytesOrRunes(Vu)) && isString(Tu) {
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

        if (complex_element_ty.isF32()) {
          return DenseElementsAttr::get(
              scalar_ty, static_cast<std::complex<float>>(raw_value));
        } else if (complex_element_ty.isF64()) {
          return DenseElementsAttr::get(
              scalar_ty, static_cast<std::complex<double>>(raw_value));
        }
      }
      llvm_unreachable("unsupported type");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/conversions.go

    				return true
    			}
    		}
    	}
    
    	// "V and T are both integer or floating point types"
    	if isIntegerOrFloat(Vu) && isIntegerOrFloat(Tu) {
    		return true
    	}
    
    	// "V and T are both complex types"
    	if isComplex(Vu) && isComplex(Tu) {
    		return true
    	}
    
    	// "V is an integer or a slice of bytes or runes and T is a string type"
    	if (isInteger(Vu) || isBytesOrRunes(Vu)) && isString(Tu) {
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/internal/fmtsort/sort.go

    		return cmp.Compare(aVal.String(), bVal.String())
    	case reflect.Float32, reflect.Float64:
    		return cmp.Compare(aVal.Float(), bVal.Float())
    	case reflect.Complex64, reflect.Complex128:
    		a, b := aVal.Complex(), bVal.Complex()
    		if c := cmp.Compare(real(a), real(b)); c != 0 {
    			return c
    		}
    		return cmp.Compare(imag(a), imag(b))
    	case reflect.Bool:
    		a, b := aVal.Bool(), bVal.Bool()
    		switch {
    		case a == b:
    			return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

        "meshConfig.defaultConfig.tracing.stackdriver.maxNumberOfMessageEvents" "Istio supported tracers"
    }}
    {{- range $dep, $replace := $deps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Cursor.java

     */
    
    package org.gradle.internal.logging.console;
    
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Objects;
    
    /**
     * A virtual console screen cursor. This class avoid complex screen position management.
     */
    public class Cursor {
        int col; // count from left of screen, 0 = left most
        int row; // count from bottom of screen, 0 = bottom most, 1 == 2nd from bottom
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

            }
    
            then:
            model.thing.is(model.thing)
            model.things[0].is(model.thing)
        }
    
        def "retains underlying object identity in complex model returned to client via build action"() {
            settingsFile << "include 'a', 'b'"
    
            when:
            Map<String, CustomModel> model = withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/cpu-profile.go

    			// impossible or has failed", using particular placeholder functions
    			// to represent common failure cases. Look for those functions in
    			// the leaf position as a sign that the call stack and its
    			// symbolization are more complex than this test can handle.
    			//
    			// TODO: Make the symbolization done by the execution tracer and CPU
    			// profiler match up even in these harder cases. See #53378.
    			switch leaf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // T[P interface{~int; m()}] int the structural restriction of the type
    // parameter P is ~int.
    //
    // With interface embedding and unions, the specification of structural type
    // restrictions may be arbitrarily complex. For example, consider the
    // following:
    //
    //	type A interface{ ~string|~[]byte }
    //
    //	type B interface{ int|string }
    //
    //	type C interface { ~string|~int }
    //
    //	type T[P interface{ A|B; C }] int
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top