- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 227 for cpos (0.04 sec)
-
src/cmd/compile/internal/ir/const.go
func NewString(pos src.XPos, s string) Node { return NewBasicLit(pos, types.UntypedString, constant.MakeString(s)) } // NewUintptr returns an OLITERAL representing v as a uintptr. func NewUintptr(pos src.XPos, v int64) Node { return NewBasicLit(pos, types.Types[types.TUINTPTR], constant.MakeInt64(v)) } // NewZero returns a zero value of the given type. func NewZero(pos src.XPos, typ *types.Type) Node { switch { case typ.HasNil():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 18:53:26 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/noder/posmap.go
) // A posMap handles mapping from syntax.Pos to src.XPos. type posMap struct { bases map[*syntax.PosBase]*src.PosBase cache struct { last *syntax.PosBase base *src.PosBase } } type poser interface{ Pos() syntax.Pos } type ender interface{ End() syntax.Pos } func (m *posMap) pos(p poser) src.XPos { return m.makeXPos(p.Pos()) } func (m *posMap) end(p ender) src.XPos { return m.makeXPos(p.End()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 27 03:43:35 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/types.go
GetPodByName(namespace, name string) (*v1.Pod, bool) } // CPUsProvider knows how to provide the cpus used by the given container type CPUsProvider interface { // GetCPUs returns information about the cpus assigned to pods and containers GetCPUs(podUID, containerName string) []int64 // GetAllocatableCPUs returns the allocatable (not allocated) CPUs GetAllocatableCPUs() []int64 } type MemoryProvider interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 2.6K 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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
@Override protected void doProcess(Buffer buffer, int length, int type, int id) throws IOException { int originalBufferPosition = buffer.rpos() int pos = buffer.rpos() def command = commandMessage(buffer, type) buffer.rpos(pos) def matched = expectations.find { it.matches(buffer, type, id) } if (matched) { if (matched.failing) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_none_test.go
policy := &nonePolicy{} st := &mockState{ assignments: state.ContainerCPUAssignments{}, defaultCPUSet: cpuset.New(cpuIDs...), } cpus := policy.GetAllocatableCPUs(st) if cpus.Size() != 0 { t.Errorf("NonePolicy GetAllocatableCPUs() error. expected empty set, returned: %v", cpus) } } func TestNonePolicyOptions(t *testing.T) { var err error _, err = NewNonePolicy(nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); assertEquals("'test'", xmlAttributeEscaper.escape("\'test'")); // Test all escapes assertEquals( "a"b<c>d&e"f'", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); // Test '\t', '\n' and '\r' are escaped.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Mar 22 10:09:46 UTC 2020 - 17.6K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
}, { name: "TestCase04: Guaranteed Pod requests 2 CPUs", pod: testPod4, expectedCPU: 2, }, { name: "TestCase05: Guaranteed Pod requests 5 CPUs", pod: testPod5, expectedCPU: 5, }, { name: "TestCase06: The number of CPUs requested By app is bigger than the number of CPUs requested by init", pod: testPod6, expectedCPU: 5, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
func (b *Block) NewValue0(pos src.XPos, op Op, t *types.Type) *Value { v := b.Func.newValue(op, t, b, pos) v.AuxInt = 0 v.Args = v.argstorage[:0] return v } // NewValue0I returns a new value in the block with no arguments and an auxint value. func (b *Block) NewValue0I(pos src.XPos, op Op, t *types.Type, auxint int64) *Value { v := b.Func.newValue(op, t, b, pos) v.AuxInt = auxint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0)