Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for attrType (0.34 sec)

  1. src/debug/dwarf/type.go

    				t.Val[n] = f
    			}
    		}
    
    	case TagPointerType:
    		// Type modifier (DWARF v2 ยง5.2)
    		// Attributes:
    		//	AttrType: subtype [not required!  void* has no AttrType]
    		//	AttrAddrClass: address class [ignored]
    		t := new(PtrType)
    		typ = t
    		typeCache[off] = t
    		if e.Val(AttrType) == nil {
    			t.Type = &VoidType{}
    			break
    		}
    		t.Type = typeOf(e)
    
    	case TagSubroutineType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/cc/framework/cc_op_gen_util.cc

          };
    
      auto entry = attr_type_map->find(attr_type);
      if (entry == attr_type_map->end()) {
        LOG(FATAL) << "Unsupported Attr type: " << attr_type;
        return {"", false};
      }
      return entry->second;
    }
    
    StringPiece ListElementTypeName(StringPiece attr_type) {
      static const auto* attr_list_type_map =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                                                      StringAttr attr_type) const {
      if (!attr_type) return attr;
    
      if (attr_type.getValue() == "tensor") {
        if (auto f = mlir::dyn_cast<FloatAttr>(attr)) {
          RankedTensorType type = RankedTensorType::get({}, f.getType());
          return DenseFPElementsAttr::get(type, attr);
        }
        // TODO(fengliuai): handles ArrayAttr. Note that it can be nested ArrayAttr.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/c/kernels.cc

      if (!status->status.ok()) {
        *list_size = -1;
        *total_size = -1;
        return;
      }
      switch (attr->value_case()) {
    #define SINGLE_CASE(kK, attr_type, size_expr) \
      case tensorflow::AttrValue::kK:             \
        *list_size = -1;                          \
        *total_size = size_expr;                  \
        break;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top