- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for cpos (0.09 sec)
-
src/cmd/compile/internal/ir/func.go
} // NewFunc returns a new Func with the given name and type. // // fpos is the position of the "func" token, and npos is the position // of the name identifier. // // TODO(mdempsky): I suspect there's no need for separate fpos and // npos. func NewFunc(fpos, npos src.XPos, sym *types.Sym, typ *types.Type) *Func { name := NewNameAt(npos, sym, typ) name.Class = PFUNC sym.SetFunc(true) fn := &Func{Nname: name}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/pe.go
// first entry: extended relocs out.Write32(0) // placeholder for number of relocation + 1 out.Write32(0) out.Write16(0) n := relocfn() + 1 cpos := out.Offset() out.SeekSet(int64(sect.pointerToRelocations)) out.Write32(uint32(n)) out.SeekSet(cpos) if n > 0x10000 { n = 0x10000 sect.characteristics |= IMAGE_SCN_LNK_NRELOC_OVFL } else { sect.pointerToRelocations += 10 // skip the extend reloc entry
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0) -
src/cmd/internal/src/pos.go
} base := *orig base.inl = inlTreeIndex base.fileIndex = -1 if orig == orig.pos.base { base.pos.base = &base } return &base } var noPos Pos // Pos returns the position at which base is located. // If b == nil, the result is the zero position. func (b *PosBase) Pos() *Pos { if b != nil { return &b.pos } return &noPos }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 15.5K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// by number of free CPUs that their cores contain. Finally, for each core, the CPUs in it are // sorted by numerical ID. The order is always ascending. In other words, the relative order of two // CPUs is determined as follows: // 1. If the two CPUs belong to different sockets, the CPU in the socket with the smaller amount of // free CPUs appears first.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
if cpus.Intersection(availableCPUs).Size() > 0 { t.Errorf("expected intersection of taken cpus [%s] and acc.details.CPUs() [%s] to be empty", cpus, availableCPUs) } if !cpus.IsSubsetOf(acc.result) { t.Errorf("expected [%s] to be a subset of acc.result [%s]", cpus, acc.result) } } expNumCPUsNeeded := tc.numCPUs - totalTaken if acc.numCPUsNeeded != expNumCPUsNeeded {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
prevLine int64 prevColumn int64 } func (r *importReader) obj(name string) { tag := r.byte() pos := r.pos() switch tag { case 'A': typ := r.typ() r.declare(types.NewTypeName(pos, r.currPkg, name, typ)) case 'C': typ, val := r.value() r.declare(types.NewConst(pos, r.currPkg, name, typ, val)) case 'F', 'G': var tparams []*types.TypeParam if tag == 'G' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
if e.AvailablePhysicalCPUs > 0 { return fmt.Sprintf("SMT Alignment Error: not enough free physical CPUs: available physical CPUs = %d, requested CPUs = %d, CPUs per core = %d", e.AvailablePhysicalCPUs, e.RequestedCPUs, e.CpusPerCore) } return fmt.Sprintf("SMT Alignment Error: requested %d cpus not multiple cpus per core = %d", e.RequestedCPUs, e.CpusPerCore) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1_test.go
CpuIds: cpus, Memory: memory, DynamicResources: []*podresourcesapi.DynamicResource{}, }, }, }, }, }, }, { desc: "pod with dynamic resources", pods: pods, devices: []*podresourcesapi.ContainerDevices{}, cpus: cpus, memory: memory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static_test.go
expErr: nil, expCPUAlloc: false, expCSet: cpuset.New(), }, { // All the CPUs from Socket 0 are available. Some CPUs from each // Socket have been already assigned. // Expect all CPUs from Socket 0. description: "GuPodMultipleCores, topoQuadSocketFourWayHT, ExpectAllocSock0", topo: topoQuadSocketFourWayHT,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_manager.go
GetPodTopologyHints(pod *v1.Pod) map[string][]topologymanager.TopologyHint // GetAllocatableCPUs returns the total set of CPUs available for allocation. GetAllocatableCPUs() cpuset.CPUSet // GetCPUAffinity returns cpuset which includes cpus from shared pools // as well as exclusively allocated cpus GetCPUAffinity(podUID, containerName string) cpuset.CPUSet } type manager struct { sync.Mutex policy Policy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 19.9K bytes - Viewed (2)