- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for set_type (0.22 sec)
-
src/cmd/internal/goobj/objfile.go
binary.LittleEndian.PutUint32(s[:], uint32(len(x))) binary.LittleEndian.PutUint32(s[4:], w.stringOff(x)) } func (s *Sym) SetABI(x uint16) { binary.LittleEndian.PutUint16(s[8:], x) } func (s *Sym) SetType(x uint8) { s[10] = x } func (s *Sym) SetFlag(x uint8) { s[11] = x } func (s *Sym) SetFlag2(x uint8) { s[12] = x } func (s *Sym) SetSiz(x uint32) { binary.LittleEndian.PutUint32(s[13:], x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
// 0 for all other objects (including objects in file scopes). order() uint32 // color returns the object's color. color() color // setType sets the type of the object. setType(Type) // setOrder sets the order number of the object. It must be > 0. setOrder(uint32) // setColor sets the object's color. It must not be white. setColor(color color)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/object.go
// 0 for all other objects (including objects in file scopes). order() uint32 // color returns the object's color. color() color // setType sets the type of the object. setType(Type) // setOrder sets the order number of the object. It must be > 0. setOrder(uint32) // setColor sets the object's color. It must not be white. setColor(color color)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
base.FatalfAt(l.Pos(), "assigning %v to %+v", r.Type, l) } res := ir.NewResultExpr(base.Pos, nil, types.BADWIDTH) res.Index = int64(i) res.SetType(r.Type) res.SetTypecheck(1) nn.Append(ir.NewAssignStmt(base.Pos, l, res)) } return nn } // check assign expression list to // an expression list. called in //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
if (!status.ok()) return op.emitOpError( llvm::formatv("failed to determine operand type at index {0}: {1}", index, status.message())); arg->set_dtype(dtype); // TODO(lyandy): Support other arg kinds. if (dtype == tensorflow::DT_RESOURCE) arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE); else
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc
op->eraseOperand(idx + 1); } } // Patch up function types (with less number of return values and potentially // less number of arguments) for (func::FuncOp func : cloned_branches) { func.setType( FunctionType::get(func.getContext(), func.front().getArgumentTypes(), func.front().getTerminator()->getOperandTypes())); } EliminateUnusedResults(op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java
private static ProjectLibrary createScalaSdkLibrary(String name, Iterable<File> jars) { ProjectLibrary projectLibrary = new ProjectLibrary(); projectLibrary.setName(name); projectLibrary.setType("Scala"); projectLibrary.setCompilerClasspath(Sets.newLinkedHashSet(jars)); return projectLibrary; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} func (w *writer) Reloc(r *Reloc) { o := &w.tmpReloc o.SetOff(r.Off) o.SetSiz(r.Siz) o.SetType(uint16(r.Type)) o.SetAdd(r.Add) o.SetSym(makeSymRef(r.Sym)) o.Write(w.Writer) } func (w *writer) aux1(typ uint8, rs *LSym) { o := &w.tmpAux o.SetType(typ) o.SetSym(makeSymRef(rs)) o.Write(w.Writer) } func (w *writer) Aux(s *LSym) { if s.Gotype != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
// them 42. Our conversion routine should not materialize these elements when // creating the Attribute. If it tries to, we'll crash OOM here. TensorProto tensor; tensor.set_dtype(DT_FLOAT); tensor.mutable_tensor_shape()->add_dim()->set_size(1ULL << 35); tensor.add_float_val(42.0); mlir::MLIRContext context; mlir::Builder builder(&context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
auto stack_type = arg_to_stack_type(i); if (!stack_type.has_value()) continue; func.getArgument(i).setType(*stack_type); new_input_types[i] = *stack_type; auto size_arg = func.front().addArgument(size_var_type, func.getLoc()); new_input_types.push_back(size_arg.getType()); if (stack_var_to_size_var) { (*stack_var_to_size_var)[func.getArgument(i)] = size_arg; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0)