Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for _retval (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  8. 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)
  9. 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)
  10. pkg/config/analysis/msg/messages.yaml

        code: IST0101
        level: Error
        description: "A resource being referenced does not exist."
        template: "Referenced %s not found: %q"
        args:
          - name: reftype
            type: string
          - name: refval
            type: string
    
      - name: "NamespaceNotInjected"
        code: IST0102
        level: Info
        description: "A namespace is not enabled for Istio injection."
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top