Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dup2 (0.1 sec)

  1. pkg/config/validation/validation.go

    			emptyMatchEncountered = rulen
    			continue
    		}
    
    		duplicateMatches := 0
    		for matchn, match := range route.Match {
    			dupn, ok := matchesEncountered[asJSON(match)]
    			if ok {
    				reportIneffective(routeName(route, rulen), requestName(match, matchn), routeName(routes[dupn], dupn))
    				duplicateMatches++
    				// no need to handle for totally duplicated match rules
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    // it panics.
    func Register(name string, driver driver.Driver) {
    	driversMu.Lock()
    	defer driversMu.Unlock()
    	if driver == nil {
    		panic("sql: Register driver is nil")
    	}
    	if _, dup := drivers[name]; dup {
    		panic("sql: Register called twice for driver " + name)
    	}
    	drivers[name] = driver
    }
    
    func unregisterAllDrivers() {
    	driversMu.Lock()
    	defer driversMu.Unlock()
    	// For tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top