- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for addTypes (0.26 sec)
-
src/debug/elf/file.go
// Already handled. continue } b, err := sectionData(i, s) if err != nil { return nil, err } if suffix == "types" { if err := d.AddTypes(fmt.Sprintf("types-%d", i), b); err != nil { return nil, err } } else { if err := d.AddSection(".debug_"+suffix, b); err != nil { return nil, err } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
} auto output_shape = DenseElementsAttr::get(shape_type, shape); auto shape_op = builder.create<tfl::ConstOp>(loc, output_shape); op_state.addOperands({shape_op}); } op_state.addTypes({type}); } // While the last several tensors could be optional tensors for an tfl op, the // number of input operands could vary. Gets the min/max number of // operands from tflite op name.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
addType(T.Elem()) case *types.Slice: addType(T.Elem()) case *types.Array: addType(T.Elem()) case *types.Chan: addType(T.Elem()) case *types.Map: addType(T.Key()) addType(T.Elem()) case *types.Signature: addType(T.Params()) addType(T.Results()) if tparams := T.TypeParams(); tparams != nil { for i := 0; i < tparams.Len(); i++ { addType(tparams.At(i)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
Attribute value) { // Handle the case where the type and value are already tensors. if (mlir::isa<TensorType>(type) && mlir::isa<ElementsAttr>(value)) { result.addTypes(type); result.addAttribute("value", value); return; } // Otherwise, default to the attribute builder. ConstOp::build(builder, result, value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
exts.AddBytes([]byte(m.serverName)) }) }) }) } if len(m.supportedPoints) > 0 && !echInner { // RFC 4492, Section 5.1.2 exts.AddUint16(extensionSupportedPoints) exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) { exts.AddUint8LengthPrefixed(func(exts *cryptobyte.Builder) { exts.AddBytes(m.supportedPoints) }) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
test/typeparam/adder.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" ) type AddType interface { int | int64 | string } // Add can add numbers or strings func Add[T AddType](a, b T) T { return a + b } func main() { if got, want := Add(5, 3), 8; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 559 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
#define GET_ATTRDEF_LIST #include "tensorflow/compiler/mlir/lite/ir/tfl_ops_attrdefs.cc.inc" >(); addInterfaces<TensorFlowLiteInlinerInterface, TensorFlowLiteDialectFoldInterface>(); addTypes<ControlType>(); } //===----------------------------------------------------------------------===// // Common support logic //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_helpers.go
func (d *desiredCalc) initPorts(subsetPorts []v1.EndpointPort) multiAddrTypePortMapKey { endpointPorts := epPortsToEpsPorts(subsetPorts) addrTypes := []discovery.AddressType{discovery.AddressTypeIPv4, discovery.AddressTypeIPv6} multiKey := multiAddrTypePortMapKey{} for _, addrType := range addrTypes { multiKey[addrType] = newAddrTypePortMapKey(endpointPorts, addrType) if _, ok := d.endpointsByKey[multiKey[addrType]]; !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 4.7K bytes - Viewed (0) -
api/go1.3.txt
pkg debug/dwarf, const TagTemplateAlias = 67 pkg debug/dwarf, const TagTemplateAlias Tag pkg debug/dwarf, const TagTypeUnit = 65 pkg debug/dwarf, const TagTypeUnit Tag pkg debug/dwarf, method (*Data) AddTypes(string, []uint8) error pkg debug/macho, const CpuArm = 12 pkg debug/macho, const CpuArm Cpu pkg debug/macho, const CpuPpc = 18 pkg debug/macho, const CpuPpc Cpu pkg debug/macho, const CpuPpc64 = 16777234
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 02 02:45:00 UTC 2014 - 117K bytes - Viewed (0) -
src/crypto/tls/ticket.go
} b.AddUint16(s.cipherSuite) addUint64(&b, s.createdAt) b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(s.secret) }) b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { for _, extra := range s.Extra { b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(extra) }) } }) if s.extMasterSecret { b.AddUint8(1) } else { b.AddUint8(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0)