Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for attrBuf (0.15 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go

    func Setattrlist(path string, attrlist *Attrlist, attrBuf []byte, options int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 unsafe.Pointer
    	if len(attrBuf) > 0 {
    		_p1 = unsafe.Pointer(&attrBuf[0])
    	} else {
    		_p1 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go

    func Setattrlist(path string, attrlist *Attrlist, attrBuf []byte, options int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	var _p1 unsafe.Pointer
    	if len(attrBuf) > 0 {
    		_p1 = unsafe.Pointer(&attrBuf[0])
    	} else {
    		_p1 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 66.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
    //sys	Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
    //sys	Setattrlist(path string, attrlist *Attrlist, attrBuf []byte, options int) (err error)
    //sys	Setegid(egid int) (err error)
    //sysnb	Seteuid(euid int) (err error)
    //sysnb	Setgid(gid int) (err error)
    //sys	Setlogin(name string) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/model/attr_spec.h

    // An attribute for an Op, such as an input/output type or for passing options.
    //
    // Essentially, this represents an OpDef::AttrDef and its context within the Op.
    class AttrSpec {
     public:
      AttrSpec() = default;
      AttrSpec(const AttrSpec& other) = default;
      static AttrSpec Create(const OpDef::AttrDef& attr_def);
    
      const string& name() const { return name_; }
      const string& description() const { return description_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

      let cppStorageType = "::llvm::SmallVector<int32_t>";
      let parser = "::mlir::TFL::parseI32Array($_parser)";
      let printer = "$_printer << '[' << $_self << ']'";
    }
    
    def DimensionMetadataAttr : AttrDef<TFL_Dialect, "DimensionMetadata"> {
      let mnemonic = "dimension_metadata";
      let parameters = (ins
          TFL_DimensionTypeAttr:$format,
          "int32_t":$dense_size,
          I32ArrayParameter:$segments,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/model/attr_spec.cc

    #include "tensorflow/core/lib/strings/str_util.h"
    
    namespace tensorflow {
    namespace generator {
    
    AttrSpec AttrSpec::Create(const OpDef::AttrDef& attr_def) {
      return AttrSpec(attr_def);
    }
    
    AttrSpec::AttrSpec(const OpDef::AttrDef& attr_def) {
      name_ = attr_def.name();
      description_ = attr_def.description();
      full_type_ = attr_def.type();
      default_value_ = attr_def.default_value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/README.md

    > _For example, an `OpDef` proto's `ArgDef` members contain a type string, which
    > must be dereferenced to an `AttrDef` by name to determine its type. This
    > `AttrDef` proto message in turn contains a type string which may need to be
    > parsed as "list(type)". Other `AttrDef` messages are not types, but instead
    > argument-like modifiers. In contrast, the generator model `ArgSpec` contains a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/model/op_spec.cc

      }
      for (const OpDef::ArgDef& arg_def : op_def.output_arg()) {
        ArgSpec arg = ArgSpec::CreateOutput(arg_def, output_args_.size());
        output_args_.push_back(arg);
      }
      // Parse the attributes.
      for (const OpDef::AttrDef& attr_def : op_def.attr()) {
        AttrSpec attr = AttrSpec::Create(attr_def);
        // Only non-inferred args are added as arguments.
        if (inferred_attrs.find(attr_def.name()) == inferred_attrs.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 01 21:05:56 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

      }
    
      void GetAttr(const char* attr_name, AttrValue* out_attr) {
        TF_Buffer* attr_buf = TF_NewBuffer();
        TF_FunctionGetAttrValueProto(func_, attr_name, attr_buf, s_);
        ASSERT_TRUE(out_attr->ParseFromArray(attr_buf->data, attr_buf->length));
        TF_DeleteBuffer(attr_buf);
      }
    
      const char* func_name_ = "MyFunc";
      const char* func_node_name_ = "MyFunc_0";
      TF_Status* s_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. src/html/template/content.go

    	// as it will be included verbatim in the template output.
    	URL string
    
    	// Srcset encapsulates a known safe srcset attribute
    	// (see https://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset).
    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	Srcset string
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top