Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 227 for cpos (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/walk/closure.go

    	}
    
    	typ := typecheck.ClosureType(clo)
    
    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(clo.Esc())
    	clos.List = append([]ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, clofn.Nname)}, closureArgs(clo)...)
    	for i, value := range clos.List {
    		clos.List[i] = ir.NewStructKeyExpr(base.Pos, typ.Field(i), value)
    	}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(clo.Esc())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/topology/topology.go

    }
    
    // KeepOnly returns a new CPUDetails object with only the supplied cpus.
    func (d CPUDetails) KeepOnly(cpus cpuset.CPUSet) CPUDetails {
    	result := CPUDetails{}
    	for cpu, info := range d {
    		if cpus.Contains(cpu) {
    			result[cpu] = info
    		}
    	}
    	return result
    }
    
    // NUMANodes returns all of the NUMANode IDs associated with the CPUs in this
    // CPUDetails.
    func (d CPUDetails) NUMANodes() cpuset.CPUSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/xposmap.go

    func (m *xposmap) set(p src.XPos, v int32) {
    	s := m.mapFor(p.FileIndex())
    	if s == nil {
    		panic(fmt.Sprintf("xposmap.set(%d), file index not found in map\n", p.FileIndex()))
    	}
    	s.set(p.Line(), v)
    }
    
    // get returns the int32 associated with the file index and line of p.
    func (m *xposmap) get(p src.XPos) int32 {
    	s := m.mapFor(p.FileIndex())
    	if s == nil {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:48:16 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/reflectdata/helpers.go

    func kindRType(pos src.XPos, typ *types.Type, k types.Kind) ir.Node {
    	base.AssertfAt(typ.Kind() == k, pos, "want %v type, have %v", k, typ)
    	return TypePtrAt(pos, typ)
    }
    
    // mapRType asserts that typ is a map type, and returns an expression
    // that yields the *runtime._type value representing typ.
    func mapRType(pos src.XPos, typ *types.Type) ir.Node {
    	return kindRType(pos, typ, types.TMAP)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    // CHECK:           %[[TPOS:.*]] = stablehlo.transpose %[[REDUCE]], dims = [0, 3, 1, 2]
    // CHECK:              : (tensor<1x56x56x64xf32>) -> tensor<1x64x56x56xf32>
    // CHECK:           return %[[TPOS]] : tensor<1x64x56x56xf32>
    
    func.func @commute_transpose_reduce_window(
          %input: tensor<1x114x114x64xf32>,
          %cst: tensor<f32>) -> tensor<1x64x56x56xf32> {
      %tpos = stablehlo.transpose %input, dims = [0, 3, 1, 2]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top