Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clearSubNames (0.09 sec)

  1. src/testing/match.go

    	if skip && !partialSkip {
    		return name, false, false
    	}
    
    	return name, ok, partial
    }
    
    // clearSubNames clears the matcher's internal state, potentially freeing
    // memory. After this is called, T.Name may return the same strings as it did
    // for earlier subtests.
    func (m *matcher) clearSubNames() {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	clear(m.subNames)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top