Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for fComplex128 (0.17 sec)

  1. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        case toco::IODataType::STRING:
          return DT_STRING;
        case toco::IODataType::BOOL:
          return DT_BOOL;
        case toco::IODataType::COMPLEX64:
          return DT_COMPLEX64;
        case toco::IODataType::COMPLEX128:
          return DT_COMPLEX128;
        case toco::IODataType::RESOURCE:
          return DT_RESOURCE;
        case toco::IODataType::VARIANT:
          return DT_VARIANT;
        default:
          return DT_INVALID;
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/runtime/map_test.go

    	b.Run("Str", runWith(benchmarkMapDeleteStr, 100, 1000, 10000))
    	b.Run("Pointer", runWith(benchmarkMapDeletePointer, 100, 1000, 10000))
    }
    
    func TestDeferDeleteSlow(t *testing.T) {
    	ks := []complex128{0, 1, 2, 3}
    
    	m := make(map[any]int)
    	for i, k := range ks {
    		m[k] = i
    	}
    	if len(m) != len(ks) {
    		t.Errorf("want %d elements, got %d", len(ks), len(m))
    	}
    
    	func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	{x: []float64{1.414}, y: []float64{1.414}},
    
    	{x: complex64(1.414), y: complex64(1.414)},
    	{x: []complex64{1.414}, y: []complex64{1.414}},
    	{x: complex128(1.414), y: complex128(1.414)},
    	{x: []complex128{1.414}, y: []complex128{1.414}},
    
    	{x: true, y: true},
    	{x: []bool{true}, y: []bool{true}},
    
    	{x: "abcdef", y: "abcdef"},
    	{x: []string{"abcdef"}, y: []string{"abcdef"}},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. src/encoding/gob/encoder_test.go

    		int64(-1234567),
    		uint(123),
    		uint8(123),
    		uint16(12345),
    		uint32(123456),
    		uint64(1234567),
    		uintptr(12345678),
    		float32(1.2345),
    		float64(1.2345678),
    		complex64(1.2345 + 2.3456i),
    		complex128(1.2345678 + 2.3456789i),
    		[]byte("hello"),
    		string("hello"),
    	}
    	for _, value := range values {
    		b := new(bytes.Buffer)
    		enc := NewEncoder(b)
    		err := enc.Encode(value)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	typs[22] = types.Types[types.TINT64]
    	typs[23] = newSig(params(typs[22]), nil)
    	typs[24] = types.Types[types.TUINT64]
    	typs[25] = newSig(params(typs[24]), nil)
    	typs[26] = types.Types[types.TCOMPLEX128]
    	typs[27] = newSig(params(typs[26]), nil)
    	typs[28] = types.Types[types.TSTRING]
    	typs[29] = newSig(params(typs[28]), nil)
    	typs[30] = newSig(params(typs[2]), nil)
    	typs[31] = newSig(params(typs[5]), nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    		case 8:
    			return a.assignIntN(offset, 8, 1, 0b0)
    		}
    	case Float32, Float64:
    		return a.assignFloatN(offset, t.Size(), 1)
    	case Complex64:
    		return a.assignFloatN(offset, 4, 2)
    	case Complex128:
    		return a.assignFloatN(offset, 8, 2)
    	case String:
    		return a.assignIntN(offset, goarch.PtrSize, 2, 0b01)
    	case Interface:
    		return a.assignIntN(offset, goarch.PtrSize, 2, 0b10)
    	case Slice:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/runtime/type.go

    			return false
    		}
    		pkgpatht := rt.nameOff(ut.PkgPath).Name()
    		pkgpathv := rv.nameOff(uv.PkgPath).Name()
    		if pkgpatht != pkgpathv {
    			return false
    		}
    	}
    	if abi.Bool <= kind && kind <= abi.Complex128 {
    		return true
    	}
    	switch kind {
    	case abi.String, abi.UnsafePointer:
    		return true
    	case abi.Array:
    		at := (*arraytype)(unsafe.Pointer(t))
    		av := (*arraytype)(unsafe.Pointer(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/internal/reflectlite/type.go

    	kind := T.Kind()
    	if kind != V.Kind() {
    		return false
    	}
    
    	// Non-composite types of equal kind have same underlying type
    	// (the predefined instance of the type).
    	if abi.Bool <= kind && kind <= abi.Complex128 || kind == abi.String || kind == abi.UnsafePointer {
    		return true
    	}
    
    	// Composite types.
    	switch kind {
    	case abi.Array:
    		return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/predicates.go

    			return Typ[Bool]
    		case UntypedInt:
    			return Typ[Int]
    		case UntypedRune:
    			return universeRune // use 'rune' name
    		case UntypedFloat:
    			return Typ[Float64]
    		case UntypedComplex:
    			return Typ[Complex128]
    		case UntypedString:
    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/iimport.go

    	if (b.Info() & types.IsUntyped) != 0 {
    		return true, 64
    	}
    
    	switch b.Kind() {
    	case types.Float32, types.Complex64:
    		return true, 3
    	case types.Float64, types.Complex128:
    		return true, 7
    	}
    
    	signed = (b.Info() & types.IsUnsigned) == 0
    	switch b.Kind() {
    	case types.Int8, types.Uint8:
    		maxBytes = 1
    	case types.Int16, types.Uint16:
    		maxBytes = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top