Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sequenceToPidLister (0.14 sec)

  1. pkg/util/oom/oom_linux_test.go

    // The PID lister returns pidListSequence[i] on the ith call. If i >= length of pidListSequence
    // then return the last element of pidListSequence (the sequence is considered to have) stabilized.
    func sequenceToPidLister(pidListSequence [][]int) func(string) ([]int, error) {
    	var numCalls int
    	return func(cgroupName string) ([]int, error) {
    		numCalls++
    		if len(pidListSequence) == 0 {
    			return []int{}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top