kubernetes/pkg/kubelet/cm/memorymanager/policy_static_test.go

const mb

const gb

const pageSize1Gb

const hugepages1Gi

var containerRestartPolicyAlways

var requirementsGuaranteed

var requirementsBurstable

func areMemoryBlocksEqual(mb1, mb2 []state.Block) bool {}

func areContainerMemoryAssignmentsEqual(t *testing.T, cma1, cma2 state.ContainerMemoryAssignments) bool {}

type testStaticPolicy

func initTests(t *testing.T, testCase *testStaticPolicy, hint *topologymanager.TopologyHint, initContainersReusableMemory reusableMemory) (Policy, state.State, error) {}

func newNUMAAffinity(bits ...int) bitmask.BitMask {}

func TestStaticPolicyNew(t *testing.T) {}

func TestStaticPolicyName(t *testing.T) {}

func TestStaticPolicyStart(t *testing.T) {}

func TestStaticPolicyAllocate(t *testing.T) {}

func TestStaticPolicyAllocateWithInitContainers(t *testing.T) {}

func TestStaticPolicyAllocateWithRestartableInitContainers(t *testing.T) {}

func TestStaticPolicyRemoveContainer(t *testing.T) {}

func TestStaticPolicyGetTopologyHints(t *testing.T) {}

func Test_getPodRequestedResources(t *testing.T) {}

func Test_isAffinityViolatingNUMAAllocations(t *testing.T) {}