- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for setTyped (0.12 sec)
-
src/cmd/compile/internal/typecheck/expr.go
if t == nil || r.Type() == nil { n.SetType(nil) return n } switch t.Kind() { default: base.Errorf("invalid operation: %v (type %v does not support indexing)", n, t) n.SetType(nil) return n case types.TSTRING, types.TARRAY, types.TSLICE: n.Index = indexlit(n.Index) if t.IsString() { n.SetType(types.ByteType) } else { n.SetType(t.Elem()) } why := "string"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains userResult = new PersistedToolchains(); userResult.setToolchains(Collections.singletonList(toolchain)); props = new Properties(); props.put("key", "global_value"); toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
n.SetType(nil) return n } if !n.Y.Type().IsBoolean() { base.Errorf("invalid operation: %v (operator %v not defined on %s)", n, n.Op(), typekind(n.Y.Type())) n.SetType(nil) return n } l, r, t := tcArith(n, n.Op(), n.X, n.Y) n.X, n.Y = l, r n.SetType(t) return n // shift operators case ir.OLSH, ir.ORSH:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
for (auto [call_arg, body_arg] : llvm::zip(call.getOperation()->getOperands(), f.getBody().front().getArguments())) { if (call_arg.getType() != body_arg.getType()) { body_arg.setType(call_arg.getType()); changed = true; } } if (changed) { rewriter.finalizeOpModification(f); return success(); } else { rewriter.cancelOpModification(f);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
src/encoding/gob/type.go
return s } func (s *sliceType) init(elem gobType) { // Set our type id before evaluating the element's, in case it's our own. setTypeId(s) // See the comments about ids in newTypeObject. Only slices and // structs have mutual recursion. if elem.id() == 0 { setTypeId(elem) } s.Elem = elem.id() } func (s *sliceType) safeString(seen map[typeId]bool) string { if seen[s.Id] { return s.Name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
plt.SetType(sym.SELFSECT) } else { plt.SetType(sym.SELFRXSECT) } s = ldr.CreateSymForUpdate(elfRelType+".plt", 0) s.SetType(sym.SELFROSECT) s = ldr.CreateSymForUpdate(".gnu.version", 0) s.SetType(sym.SELFROSECT) s = ldr.CreateSymForUpdate(".gnu.version_r", 0) s.SetType(sym.SELFROSECT) /* define dynamic elf table */ dynamic := ldr.CreateSymForUpdate(".dynamic", 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
/* Dependency dep1 = new Dependency(); dep1.setGroupId( "test" ); dep1.setArtifactId( "test-artifact" ); dep1.setVersion( "1" ); dep1.setType( "jar" ); Exclusion exc = new Exclusion(); exc.setGroupId( "test" ); exc.setArtifactId( "test-artifact3" ); dep1.addExclusion( exc ); Dependency dep2 = new Dependency();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc
// Most passthrough ops do not support F16. if (input_element_type.isF16()) { return failure(); } // Set the output type of the dequantize op and push it down. dequantize_op.getOutput().setType(output_type); passthrough_op->replaceAllUsesWith(dequantize_op); // Set the input type of the passthrough op and pull it up. Type new_output_type; if (mlir::isa<quant::QuantizedType>(input_element_type)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
for (BlockArgument arg : region.getArguments()) { arg.setType(ReplaceElementType(arg.getType(), element_type)); } for (Operation& op : region.getOps()) { for (Value operand : op.getOperands()) { operand.setType(ReplaceElementType(operand.getType(), element_type)); } for (Value result : op.getResults()) { result.setType(ReplaceElementType(result.getType(), element_type)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
auto resultType = RankedTensorType::get(shape, inputType.getElementType(), extensions); arg.setType(resultType); } llvm::SmallVector<Type, 8> arg_types; for (auto arg : func.getArguments()) arg_types.push_back(arg.getType()); func.setType( FunctionType::get(func.getContext(), arg_types, func.front().getTerminator()->getOperandTypes()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0)