code: func (p *podEvaluator) MatchingResources(input []corev1.ResourceName) []corev1.ResourceName {
  	result := quota.Intersection(input, podResources)
  	for _, resource := range input {
  		// for resources with certain prefix, e.g. hugepages
  		if quota.ContainsPrefix(podResourcePrefixes, resource) {
  			result = append(result, resource)
  		}
  		// for extended resources
  		if isExtendedResourceNameForQuota(resource) {
  			result = append(result, resource)
  		}
  	}
  
  	return result
  }
docs: // MatchingResources takes the input specified list of resources and returns the set of resources it matches.