Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for numaux (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    				} else if l.numX != 0 || l.unitX != 0 {
    					numValues := numLabels[key]
    					units := numUnits[key]
    					if l.unitX != 0 {
    						var unit string
    						unit, err = getString(p.stringTable, &l.unitX, err)
    						units = padStringArray(units, len(numValues))
    						numUnits[key] = append(units, unit)
    					}
    					numLabels[key] = append(numLabels[key], l.numX)
    				}
    			}
    			if len(labels) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/deadcode.go

    			}
    			d.mark(rs, symIdx)
    		}
    		naux := d.ldr.NAux(symIdx)
    		for i := 0; i < naux; i++ {
    			a := d.ldr.Aux(symIdx, i)
    			if a.Type() == goobj.AuxGotype {
    				// A symbol being reachable doesn't imply we need its
    				// type descriptor. Don't mark it.
    				continue
    			}
    			d.mark(a.Sym(), symIdx)
    		}
    		// Record sym if package init func (here naux != 0 is a cheap way
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/reflect/abi_test.go

    			typ := fn.Type()
    			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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top