- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for attrType (0.16 sec)
-
src/encoding/xml/read.go
val.SetLen(n) return err } return nil } if val.Type() == attrType { val.Set(reflect.ValueOf(attr)) return nil } return copyValue(val, []byte(attr.Value)) } var ( attrType = reflect.TypeFor[Attr]() unmarshalerType = reflect.TypeFor[Unmarshaler]() unmarshalerAttrType = reflect.TypeFor[UnmarshalerAttr]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
src/debug/dwarf/const.go
AttrMacroInfo Attr = 0x43 AttrNamelistItem Attr = 0x44 AttrPriority Attr = 0x45 AttrSegment Attr = 0x46 AttrSpecification Attr = 0x47 AttrStaticLink Attr = 0x48 AttrType Attr = 0x49 AttrUseLocation Attr = 0x4A AttrVarParam Attr = 0x4B AttrVirtuality Attr = 0x4C AttrVtableElemLoc Attr = 0x4D // The following are new in DWARF 3. AttrAllocated Attr = 0x4E
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 13.8K bytes - Viewed (0) -
src/html/template/transition.go
}, len(s) } attrName := strings.ToLower(string(s[i:j])) if c.element == elementScript && attrName == "type" { attr = attrScriptType } else { switch attrType(attrName) { case contentTypeURL: attr = attrURL case contentTypeCSS: attr = attrStyle case contentTypeJS: attr = attrScript case contentTypeSrcset: attr = attrSrcset } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 18.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
i, _ := strconv.Atoi(name[len(bvarprefix):]) bvarDIE[i] = e } } } } typedieof := func(e *dwarf.Entry) dwarf.Offset { return e.Val(dwarf.AttrType).(dwarf.Offset) } if off := typedieof(ptrastructTypeDIE); off != astructTypeDIE.Offset { t.Errorf("type attribute of *main.astruct references %#x, not main.astruct DIE at %#x\n", off, astructTypeDIE.Offset) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0) -
src/debug/elf/file_test.go
{Attr: dwarf.AttrDeclFile, Val: int64(7), Class: dwarf.ClassConstant}, {Attr: dwarf.AttrDeclLine, Val: int64(236), Class: dwarf.ClassConstant}, {Attr: dwarf.AttrType, Val: dwarf.Offset(0xb7f), Class: dwarf.ClassReference}, {Attr: dwarf.AttrDataMemberLoc, Val: []byte{0x23, 0x0}, Class: dwarf.ClassExprLoc}, }, }, }, { entryNumber: 204,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/encoding/xml/marshal.go
n := val.Len() for i := 0; i < n; i++ { if err := p.marshalAttr(start, name, val.Index(i)); err != nil { return err } } return nil } if val.Type() == attrType { start.Attr = append(start.Attr, val.Interface().(Attr)) return nil } s, b, err := p.marshalSimple(val.Type(), val) if err != nil { return err } if b != nil { s = string(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td
// Receives a composite DictionaryAttr and returns the value of the Attribute // with the key `attr_name` as the type provided by `attr_type`. class GetCompositeAttributeAs<string attr_name, string attr_type>: NativeCodeCall<"$0.get(\"" # attr_name # "\").dyn_cast<" # attr_type # ">()">; // Receives a composite DictionaryAttr and returns the value of the Attribute // with the key `attr_name` as a DenseIntElementsAttr.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// refer to it via "C.<name>", so skip these vars // // See issue 53000 for more context. if name == "" { break } typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset) if typOff == 0 { if e.Val(dwarf.AttrSpecification) != nil { // Since we are reading all the DWARF, // assume we will see the variable elsewhere. break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.h
// Returns a <string, bool> pair. The string is the C++ type name to be used for // attr_type when defining an object of that type. The bool is a flag to // indicate whether to treat the type as const when accepting the C++ type as an // argument to a function. std::pair<StringPiece, bool> AttrTypeName(StringPiece attr_type); StringPiece ListElementTypeName(StringPiece attr_type); bool IsCPPKeyword(StringPiece name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
if (arg_def->getDef()->isSubClassOf(attr_type)) { StringRef arg_name = arg_values->getArgNameStr(i); // Already handle this case in flatbuffer_import.cc. if ((option_name == "LSTMOptions" || option_name == "UnidirectionalSequenceLSTMOptions") && arg_name.take_back(12) == "intermediate") continue; StringRef attr_type = mlir::tblgen::Attribute(arg_def).getAttrDefName();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0)