Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SubexpNames (0.1 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    func reSubMatchMap(r *regexp.Regexp, str string) map[string]string {
    	match := r.FindStringSubmatch(str)
    	if match == nil {
    		return nil
    	}
    	subMatchMap := make(map[string]string)
    	for i, name := range r.SubexpNames() {
    		if i != 0 {
    			subMatchMap[name] = match[i]
    		}
    	}
    	return subMatchMap
    }
    
    func isValidCGroupPathMatches(matches map[string]string) bool {
    	if matches == nil {
    		return false
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top