Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 111 for _retval (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      OpBuilder builder(op);
      builder.setInsertionPointAfter(op);
      for (auto retval :
           llvm::enumerate(func.front().getTerminator()->getOperands())) {
        if (propagate_caller_callee_constants_) {
          auto retval_op = retval.value().getDefiningOp();
          if (isa_and_nonnull<TF::ConstOp>(retval_op)) {
            op->getResult(retval.index())
                .replaceAllUsesWith(builder.clone(*retval_op)->getResult(0));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. pkg/config/analysis/msg/messages.gen.go

    // NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound.
    func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message {
    	return diag.NewMessage(
    		ReferencedResourceNotFound,
    		r,
    		reftype,
    		refval,
    	)
    }
    
    // NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK-NEXT: %[[SIZE:.*]] = "tf.Reshape"(%[[NUM]], %[[SIZE_SHAPE]])
      %tl = "tf.TensorListReserve"(%elem_shape, %num) : (tensor<0xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<f32>>>
      // CHECK-NEXT: %[[SETVAL:.*]] = "tf._SomeOp"()
      %elem = "tf._SomeOp"() : () -> tensor<f32>
      // CHECK-NEXT: %[[SIZE_SHAPE1:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_EXEC_SYS_UNREGISTER    = 466 // { int exec_sys_unregister(int id); }
    	SYS_SYS_CHECKPOINT         = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); }
    	SYS_MOUNTCTL               = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top