- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for typeList (0.15 sec)
-
src/cmd/compile/internal/types2/call.go
// targs and xlist are the type arguments and corresponding type expressions, or nil. var targs []Type var xlist []syntax.Expr if inst != nil { xlist = syntax.UnpackListExpr(inst.Index) targs = check.typeList(xlist) if targs == nil { x.mode = invalid return nil, nil } assert(len(targs) == len(xlist)) } // Check the number of type arguments (got) vs number of type parameters (want).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/go/types/named.go
} // instance holds information that is only necessary for instantiated named // types. type instance struct { orig *Named // original, uninstantiated type targs *TypeList // type arguments expandedMethods int // number of expanded methods; expandedMethods <= len(orig.methods) ctxt *Context // local Context; set to nil after full expansion }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
src/go/types/call.go
// targs and xlist are the type arguments and corresponding type expressions, or nil. var targs []Type var xlist []ast.Expr if ix != nil { xlist = ix.Indices targs = check.typeList(xlist) if targs == nil { x.mode = invalid return nil, nil } assert(len(targs) == len(xlist)) } // Check the number of type arguments (got) vs number of type parameters (want).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
src/go/types/api.go
// function instantiations. For type instantiations, [Type] will be of dynamic // type *[Named]. For function instantiations, [Type] will be of dynamic type // *Signature. type Instance struct { TypeArgs *TypeList Type Type } // An Initializer describes a package-level variable, or a list of variables in case // of a multi-valued initialization expression, and the corresponding initialization // expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// function instantiations. For type instantiations, Type will be of dynamic // type *Named. For function instantiations, Type will be of dynamic type // *Signature. type Instance struct { TypeArgs *TypeList Type Type } // An Initializer describes a package-level variable, or a list of variables in case // of a multi-valued initialization expression, and the corresponding initialization // expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
) }, ) /** The type of the parameters depends on the algorithm that precedes it. */ private val algorithmParameters: DerAdapter<Any?> = Adapters.usingTypeHint { typeHint -> when (typeHint) { // This type is pretty strange. The spec says that for certain algorithms we must encode null // when it is present, and for others we must omit it!
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/values.go
case "atomic": return &typedList default: return types.NewErr("invalid x-kubernetes-list-type, expected 'map', 'set' or 'atomic' but got %s", listType) } } return &typedList } if schema.Type() == "string" { str, ok := unstructured.(string) if !ok { return types.NewErr("invalid data, expected string, got %T", unstructured) } switch schema.Format() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:30:17 UTC 2023 - 20.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
Status SetTypeAttribute(absl::string_view name, ContainerT types, AttrValueMap* values) { AttrValue value; auto& type_list = *value.mutable_list(); for (auto type : types) { DataType dtype; TF_RETURN_IF_ERROR(ConvertScalarTypeToDataType(type, &dtype)); type_list.add_type(dtype); } auto result = values->insert({string(name), value});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
} static mlir::Attribute BuildI64ArrayAttr(std::vector<int32_t> value, mlir::Builder builder) { std::vector<int64_t> typecast(value.begin(), value.end()); return builder.getI64ArrayAttr(typecast); } static mlir::Attribute BuildVhloBooleanV1Attr(bool value, mlir::Builder builder) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
val adapter = chooser(writer.typeHint) as DerAdapter<Any?>? when { adapter != null -> adapter.toDer(writer, value) else -> writer.writeOctetString(value as ByteString) } } override fun fromDer(reader: DerReader): Any? { val adapter = chooser(reader.typeHint) as DerAdapter<Any?>? return when {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0)