Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for IsVariadic (0.13 sec)

  1. src/runtime/mfinal.go

    		return
    	}
    
    	if ftyp.Kind_&abi.KindMask != abi.Func {
    		throw("runtime.SetFinalizer: second argument is " + toRType(ftyp).string() + ", not a function")
    	}
    	ft := (*functype)(unsafe.Pointer(ftyp))
    	if ft.IsVariadic() {
    		throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string() + " because dotdotdot")
    	}
    	if ft.InCount != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/reflect/value.go

    	isSlice := op == "CallSlice"
    	n := t.NumIn()
    	isVariadic := t.IsVariadic()
    	if isSlice {
    		if !isVariadic {
    			panic("reflect: CallSlice of non-variadic function")
    		}
    		if len(in) < n {
    			panic("reflect: CallSlice with too few input arguments")
    		}
    		if len(in) > n {
    			panic("reflect: CallSlice with too many input arguments")
    		}
    	} else {
    		if isVariadic {
    			n--
    		}
    		if len(in) < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

          getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
    }
    
    void TFRFuncOp::print(OpAsmPrinter &p) {
      function_interface_impl::printFunctionOp(
          p, *this, /*isVariadic=*/false, getFunctionTypeAttrName(),
          getArgAttrsAttrName(), getResAttrsAttrName());
    }
    
    }  // namespace TFR
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  4. src/internal/abi/type.go

    		uadd += unsafe.Sizeof(UncommonType{})
    	}
    	return (*[1 << 17]*Type)(addChecked(unsafe.Pointer(t), uadd, "outCount > 0"))[t.InCount : t.InCount+outCount : t.InCount+outCount]
    }
    
    func (t *FuncType) IsVariadic() bool {
    	return t.OutCount&(1<<15) != 0
    }
    
    type PtrType struct {
    	Type
    	Elem *Type // pointer element (pointed at) type
    }
    
    type StructField struct {
    	Name   Name    // name is always non-empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top