Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 739 for int1 (0.04 sec)

  1. src/cmd/compile/internal/types/universe.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/internal/src"
    )
    
    var basicTypes = [...]struct {
    	name  string
    	etype Kind
    }{
    	{"int8", TINT8},
    	{"int16", TINT16},
    	{"int32", TINT32},
    	{"int64", TINT64},
    	{"uint8", TUINT8},
    	{"uint16", TUINT16},
    	{"uint32", TUINT32},
    	{"uint64", TUINT64},
    	{"float32", TFLOAT32},
    	{"float64", TFLOAT64},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. test/codegen/switch.go

    	default:
    		return ""
    	}
    }
    
    // use jump tables for type switches to concrete types.
    func typeSwitch(x any) int {
    	// amd64:`JMP\s\(.*\)\(.*\)$`
    	// arm64:`MOVD\s\(R.*\)\(R.*<<3\)`,`JMP\s\(R.*\)$`
    	switch x.(type) {
    	case int:
    		return 0
    	case int8:
    		return 1
    	case int16:
    		return 2
    	case int32:
    		return 3
    	case int64:
    		return 4
    	}
    	return 7
    }
    
    type I interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:39:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/resources/decomposition_lib.mlir

    }
    
    // Translated from:
    //
    // REGISTER_OP("Add")
    //     .Input("x: T")
    //     .Input("y: T")
    //     .Output("z: T")
    //     .Attr(
    //         "T: {bfloat16, half, float, double, uint8, int8, int16, int32, int64, "
    //         "complex64, complex128, string}")
    tfr.func @tf__add_(!tfr.tensor<T>, !tfr.tensor<T>)
        -> !tfr.tensor<T> attributes{T}
    
    // Translated from:
    //
    // REGISTER_OP("MatMul")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. security/pkg/pki/testdata/multilevelpki/ecc-int-key.pem

    jacob-delgado <******@****.***> 1588995233 -0600
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 09 03:33:53 UTC 2020
    - 227 bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/mkbuiltin.go

    // Needs to be kept in sync with reflect.go:WriteBasicTypes() and
    // reflect.go:writeType() in the compiler.
    func enumerateBasicTypes() []extra {
    	names := [...]string{
    		"int8", "uint8", "int16", "uint16",
    		"int32", "uint32", "int64", "uint64",
    		"float32", "float64", "complex64", "complex128",
    		"unsafe.Pointer", "uintptr", "bool", "string", "error",
    		"func(error) string"}
    	result := []extra{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/prove.go

    				case 2:
    					min = int64(int16(w.AuxInt) - int16(delta))
    					max = int64(int16(^uint16(0)>>1) - int16(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst16, parent.Func.Config.Types.Int16, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst16, parent.Func.Config.Types.Int16, max)
    
    				case 1:
    					min = int64(int8(w.AuxInt) - int8(delta))
    					max = int64(int8(^uint8(0)>>1) - int8(delta))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  7. test/typeparam/sliceimp.dir/a.go

    // Copyright 2021 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 a
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // Max returns the maximum of two values of some ordered type.
    func Max[T Ordered](a, b T) T {
    	if a > b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/support.go

    	default:
    		errorf("unexpected channel dir %d", d)
    		return 0
    	}
    }
    
    var predeclared = []types.Type{
    	// basic types
    	types.Typ[types.Bool],
    	types.Typ[types.Int],
    	types.Typ[types.Int8],
    	types.Typ[types.Int16],
    	types.Typ[types.Int32],
    	types.Typ[types.Int64],
    	types.Typ[types.Uint],
    	types.Typ[types.Uint8],
    	types.Typ[types.Uint16],
    	types.Typ[types.Uint32],
    	types.Typ[types.Uint64],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: {numbertype, variant}")
        .SetIsCommutative()
        .SetIsAggregate()
        .SetShapeFn(shape_inference::UnchangedShape);
    
    REGISTER_OP("RiscAddDummy")
        .Input("x: T")
        .Input("y: T")
        .Output("z: T")
        .Attr(
            "T: {bfloat16, half, float, double, uint8, int8, int16, int32, int64, "
            "complex64, complex128, string}")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath.go

    			var x int64
    			switch index.Kind() {
    			case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    				x = index.Int()
    			case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    				x = int64(index.Uint())
    			default:
    				return false
    			}
    			if x < 0 || x >= int64(v.Len()) {
    				return false
    			}
    			v = v.Index(int(x))
    		case reflect.Map:
    			if !index.IsValid() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top