- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for numaux (0.14 sec)
-
pkg/kubelet/cm/devicemanager/topology_hints_test.go
return m.hint } func (m *mockAffinityStore) GetPolicy() topologymanager.Policy { return nil } func makeNUMADevice(id string, numa int) pluginapi.Device { return pluginapi.Device{ ID: id, Topology: &pluginapi.TopologyInfo{Nodes: []*pluginapi.NUMANode{{ID: int64(numa)}}}, } } func makeSocketMask(sockets ...int) bitmask.BitMask { mask, _ := bitmask.NewBitMask(sockets...) return mask }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 47.5K bytes - Viewed (0) -
src/runtime/os_linux.go
var sysTHPSizePath = []byte("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size\x00") func getHugePageSize() uintptr { var numbuf [20]byte fd := open(&sysTHPSizePath[0], 0 /* O_RDONLY */, 0) if fd < 0 { return 0 } ptr := noescape(unsafe.Pointer(&numbuf[0])) n := read(fd, ptr, int32(len(numbuf))) closefd(fd) if n <= 0 { return 0 } n-- // remove trailing newline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
nreloc += uint32(len(s.R)) } } w.Uint32(nreloc) // Symbol Info indexes h.Offsets[goobj.BlkAuxIdx] = w.Offset() naux := uint32(0) for _, list := range lists { for _, s := range list { w.Uint32(naux) naux += uint32(nAuxSym(s)) } } w.Uint32(naux) // Data indexes h.Offsets[goobj.BlkDataIdx] = w.Offset() dataOff := int64(0) for _, list := range lists {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/net/rpc/server.go
} continue } // Method needs one out. if mtype.NumOut() != 1 { if logErr { log.Printf("rpc.Register: method %q has %d output parameters; needs exactly one\n", mname, mtype.NumOut()) } continue } // The return type of the method must be error. if returnType := mtype.Out(0); returnType != typeOfError {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
src/internal/abi/type.go
} func (t *FuncType) In(i int) *Type { return t.InSlice()[i] } func (t *FuncType) NumIn() int { return int(t.InCount) } func (t *FuncType) NumOut() int { return int(t.OutCount & (1<<15 - 1)) } func (t *FuncType) Out(i int) *Type { return (t.OutSlice()[i]) } func (t *FuncType) InSlice() []*Type { uadd := unsafe.Sizeof(*t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
for i := 0; i < n; i++ { if *update && i > 0 { fmt.Fprintf(&buf, "\n") } r := New(NewPCG(1, 2)) rv := reflect.ValueOf(r) m := rv.Type().Method(i) mv := rv.Method(i) mt := mv.Type() if mt.NumOut() == 0 { continue } for repeat := 0; repeat < 20; repeat++ { var args []reflect.Value var argstr string if mt.NumIn() == 1 { var x any switch mt.In(0).Kind() { default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go
ft := fv.Type() if ft.Kind() != reflect.Func { return fmt.Errorf("expected func, got: %v", ft) } if ft.NumIn() != 2 { return fmt.Errorf("expected two 'in' params, got: %v", ft) } if ft.NumOut() != 1 { return fmt.Errorf("expected one 'out' param, got: %v", ft) } if ft.In(0) != ft.In(1) { return fmt.Errorf("expected arg 1 and 2 to have same type, but got %v", ft) } var forReturnType bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 20 17:18:42 UTC 2022 - 10.8K bytes - Viewed (0) -
src/testing/quick/quick.go
if config == nil { config = &defaultConfig } fVal, fType, ok := functionAndType(f) if !ok { return SetupError("argument is not a function") } if fType.NumOut() != 1 { return SetupError("function does not return one value") } if fType.Out(0).Kind() != reflect.Bool { return SetupError("function does not return a bool") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
typedef struct SP_DeviceFns { size_t struct_size; void* ext; // reserved for future use // [Optional] // Returns the NUMA node associated with this device, for use in // determining socket locality. If the NUMA node could not be determined, -1 // is returned. // Negative values are treated as "unset". int32_t (*get_numa_node)(const SP_Device* device); // [Optional]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
func (r *Reader) Relocs(i uint32) []Reloc { off := r.RelocOff(i, 0) n := r.NReloc(i) return (*[huge]Reloc)(unsafe.Pointer(&r.b[off]))[:n:n] } // NAux returns the number of aux symbols of the i-th symbol. func (r *Reader) NAux(i uint32) int { auxIdxOff := r.h.Offsets[BlkAuxIdx] + i*4 return int(r.uint32At(auxIdxOff+4) - r.uint32At(auxIdxOff)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0)