- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 168 for _retval (0.15 sec)
-
src/go/types/builtins.go
if resTyp == nil { code := InvalidImag if id == _Real { code = InvalidReal } check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ) return } // if the argument is a constant, the result is a constant if x.mode == constant_ { if id == _Real { x.val = constant.Real(x.val) } else { x.val = constant.Imag(x.val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
return op.emitOpError( llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kOutputShardingAttr, op.getNumResults(), output_shardings.size())); // Set retvals metadata in proto. for (auto output_sharding_and_idx : llvm::enumerate(output_shardings)) if (failed(SetOpSharding(op, output_sharding_and_idx.value(), tensorflow::kOutputShardingAttr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
if resTyp == nil { code := InvalidImag if id == _Real { code = InvalidReal } check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ) return } // if the argument is a constant, the result is a constant if x.mode == constant_ { if id == _Real { x.val = constant.Real(x.val) } else { x.val = constant.Imag(x.val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
srcX, err := src.UnmarshalNew() if err != nil { return nil, err } // Merge the two typed protos merge.Merge(dstX, srcX) // Convert the merged proto back to dst retVal := protoconv.MessageToAny(dstX) return retVal, nil } // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
"[\\PIPE\\netdfs]", auth); try { rpc = new MsrpcDfsRootEnum(getServer()); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, true); return rpc.getEntries(); } finally { try { handle.close(); } catch(IOException ioe) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
src/runtime/cgocall.go
type argset struct { args unsafe.Pointer retval uintptr } // wrapper for syscall package to call cgocall for libc (cgo) calls. // //go:linkname syscall_cgocaller syscall.cgocaller //go:nosplit //go:uintptrescapes func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr { as := argset{args: unsafe.Pointer(&args[0])} cgocall(fn, unsafe.Pointer(&as)) return as.retval }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
for (int i = 0, end = ctx->num_outputs(); i < end; ++i) { const TensorShape& shape = output_tensor_shapes[i]; const DataType& type = compilation_result->outputs[i].type; VLOG(2) << "Populating output for retval " << i << " shape " << shape.DebugString() << " type " << DataTypeString(type); if (compilation_result->outputs[i].is_constant) { TF_RETURN_IF_ERROR(SetOutputForConstant(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
llvm::enumerate(callee.front().getTerminator()->getOperands())) { auto retval = entry.value(); if (!mlir::isa<TF::ResourceType>(getElementTypeOrSelf(retval.getType()))) { result->old_to_new_output_indices.push_back(non_resource_results++); continue; } auto aliasing_arg = mlir::dyn_cast<BlockArgument>(retval); if (!aliasing_arg) { return callee.emitOpError("unsupported function call: ")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
sz := len(sv.fieldMap) ntvMap := reflect.MakeMapWithSize(typeDesc, sz) for name, val := range sv.fieldMap { refVal, err := val.Ref.ConvertToNative(elemType) if err != nil { return nil, err } ntvMap.SetMapIndex(reflect.ValueOf(name), reflect.ValueOf(refVal)) } return ntvMap.Interface(), nil } if typeDesc.Kind() == reflect.Struct { ntvObjPtr := reflect.New(typeDesc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
return } p.expectKeyword("i") reval := constant.MakeFromLiteral(re, token.FLOAT, 0) if reval == nil { p.error("could not parse real component of complex literal") } imval := constant.MakeFromLiteral(im+"i", token.IMAG, 0) if imval == nil { p.error("could not parse imag component of complex literal") } val = constant.BinaryOp(reval, token.ADD, imval) typ = types.Typ[types.UntypedComplex]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0)