Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 221 for 3xcomplex (0.33 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    		},
    		"add only not nulls": {
    			Original: `{}`,
    			Current:  `{}`,
    			Modified: `{"complex":{"nested":null,"nested2":"foo"}}`,
    
    			ExpectedTwoWay:         `{"complex":{"nested":null,"nested2":"foo"}}`,
    			ExpectedTwoWayResult:   `{"complex":{"nested2":"foo"}}`,
    			ExpectedThreeWay:       `{"complex":{"nested":null,"nested2":"foo"}}`,
    			ExpectedThreeWayResult: `{"complex":{"nested2":"foo"}}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/sizes.go

    		panic("unreachable")
    	}
    	a := s.Sizeof(T) // may be 0 or negative
    	// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1."
    	if a < 1 {
    		return 1
    	}
    	// complex{64,128} are aligned like [2]float{32,64}.
    	if isComplex(T) {
    		a /= 2
    	}
    	if a > s.MaxAlign {
    		return s.MaxAlign
    	}
    	return a
    }
    
    func IsSyncAtomicAlign64(T Type) bool {
    	named := asNamed(T)
    	if named == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    	{"%.1f", complex(posInf, posInf), "(+Inf+Infi)"},
    	{"% f", complex(posInf, posInf), "( Inf+Infi)"},
    	{"% f", complex(negInf, negInf), "(-Inf-Infi)"},
    	{"% f", complex(NaN, NaN), "( NaN+NaNi)"},
    	{"%8e", complex(posInf, posInf), "(    +Inf    +Infi)"},
    	{"%8x", complex(posInf, posInf), "(    +Inf    +Infi)"},
    	{"% 8E", complex(posInf, posInf), "(     Inf    +Infi)"},
    	{"% 8X", complex(posInf, posInf), "(     Inf    +Infi)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  6. 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)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy

                [':b', ':c', ':a'],
                [':b', ':a', ':c'],
                [':z', ':a', ':c', ':x'],
                [':c', ':z', ':b', ':x', ':a', ':d'],
                []
            ]
        }
    
        def "can match on complex rule (#executedTasks)"() {
            def spec = exact(any(':a', ':b'), any(':c', exact(':d', ':e', ':f')))
    
            when:
            spec.assertMatches(-1, executedTasks)
    
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/internal/types/testdata/examples/constraints.go

    type (
    	Integer interface{ ~int|~int8|~int16|~int32|~int64 }
    	Unsigned interface{ ~uint|~uint8|~uint16|~uint32|~uint64 }
    	Floats interface{ ~float32|~float64 }
    	Complex interface{ ~complex64|~complex128 }
    	Number interface{ Integer|Unsigned|Floats|Complex }
    	Ordered interface{ Integer|Unsigned|Floats|~string }
    
    	_ interface{ Number | error /* ERROR "cannot use error in union" */ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. test/fixedbugs/issue17038.go

    // errorcheck
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 248 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/gcsizes.go

    		panic("unreachable")
    	}
    	a := s.Sizeof(T) // may be 0 or negative
    	// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1."
    	if a < 1 {
    		return 1
    	}
    	// complex{64,128} are aligned like [2]float{32,64}.
    	if isComplex(T) {
    		a /= 2
    	}
    	if a > s.MaxAlign {
    		return s.MaxAlign
    	}
    	return a
    }
    
    func (s *gcSizes) Offsetsof(fields []*Var) []int64 {
    	offsets := make([]int64, len(fields))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top