Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for possiblyConflictingPatterns (0.27 sec)

  1. src/net/http/server.go

    		pat.loc = "unknown location"
    	} else {
    		pat.loc = fmt.Sprintf("%s:%d", file, line)
    	}
    
    	mux.mu.Lock()
    	defer mux.mu.Unlock()
    	// Check for conflict.
    	if err := mux.index.possiblyConflictingPatterns(pat, func(pat2 *pattern) error {
    		if pat.conflictsWith(pat2) {
    			d := describeConflict(pat, pat2)
    			return fmt.Errorf("pattern %q (registered at %s) conflicts with pattern %q (registered at %s):\n%s",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top