- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for numSig (1.57 sec)
-
src/reflect/abi_test.go
if typ.Kind() != reflect.Func { t.Fatalf("test case is not a function, has type: %s", typ.String()) } if typ.NumIn() != typ.NumOut() { t.Fatalf("test case has different number of inputs and outputs: %d in, %d out", typ.NumIn(), typ.NumOut()) } var args []reflect.Value for i := 0; i < typ.NumIn(); i++ { args = append(args, genValue(t, typ.In(i), r)) } results := fn.Call(args)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 26.4K bytes - Viewed (0) -
src/testing/quick/quick.go
return SetupError("function does not return one value") } if fType.Out(0).Kind() != reflect.Bool { return SetupError("function does not return a bool") } arguments := make([]reflect.Value, fType.NumIn()) rand := config.getRand() maxCount := config.getMaxCount() for i := 0; i < maxCount; i++ { err := arbitraryValues(arguments, fType, config, rand) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0) -
src/internal/reflectlite/type.go
func (t rtype) NumField() int { tt := t.Type.StructType() if tt == nil { panic("reflect: NumField of non-struct type") } return len(tt.Fields) } func (t rtype) NumIn() int { tt := t.Type.FuncType() if tt == nil { panic("reflect: NumIn of non-func type") } return int(tt.InCount) } func (t rtype) NumOut() int { tt := t.Type.FuncType() if tt == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/reflect/badlinkname.go
func badlinkname_rtype_Name(*rtype) string //go:linkname badlinkname_rtype_NumField reflect.(*rtype).NumField func badlinkname_rtype_NumField(*rtype) int //go:linkname badlinkname_rtype_NumIn reflect.(*rtype).NumIn func badlinkname_rtype_NumIn(*rtype) int //go:linkname badlinkname_rtype_NumMethod reflect.(*rtype).NumMethod func badlinkname_rtype_NumMethod(*rtype) int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/v1reflect.gox
func...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 10.3K bytes - Viewed (0) -
pkg/printers/tablegenerator.go
if printFunc.Kind() != reflect.Func { return fmt.Errorf("invalid print handler. %#v is not a function", printFunc) } funcType := printFunc.Type() if funcType.NumIn() != 2 || funcType.NumOut() != 2 { return fmt.Errorf("invalid print handler." + "Must accept 2 parameters and return 2 value") } if funcType.In(1) != reflect.TypeOf((*GenerateOptions)(nil)).Elem() ||
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.9K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
funcname := f.cName(cdecl) attr := "__stdcall" if cdecl { attr = "__cdecl" } typename := "t" + funcname t := reflect.TypeOf(f.goFunc) cTypes := make([]string, t.NumIn()) cArgs := make([]string, t.NumIn()) for i := range cTypes { // We included stdint.h, so this works for all sized // integer types, and uint8Pair_t. cTypes[i] = t.In(i).Name() + "_t" if t.In(i).Name() == "uint8Pair" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/reflect/type.go
} tt := (*abi.FuncType)(unsafe.Pointer(t)) return toType(tt.InSlice()[i]) } func (t *rtype) NumIn() int { if t.Kind() != Func { panic("reflect: NumIn of non-func type " + t.String()) } tt := (*abi.FuncType)(unsafe.Pointer(t)) return tt.NumIn() } func (t *rtype) NumOut() int { if t.Kind() != Func { panic("reflect: NumOut of non-func type " + t.String()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// Returns true if the supplied NUMANode is fully available in `a.details`. // "fully available" means that all the CPUs in it are free. func (a *cpuAccumulator) isNUMANodeFree(numaID int) bool { return a.details.CPUsInNUMANodes(numaID).Size() == a.topo.CPUDetails.CPUsInNUMANodes(numaID).Size() } // Returns true if the supplied socket is fully available in `a.details`. // "fully available" means that all the CPUs in it are free.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer_test.go
{pkgpath: "nointerface", name: "I", want:...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:17:57 UTC 2022 - 7.2K bytes - Viewed (0)