Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for genConcat2 (0.08 sec)

  1. src/net/http/routing_index_test.go

    			collect(c)
    		}
    	}
    }
    
    // genConcat2 generates the cross product of the strings of g1 concatenated
    // with those of g2.
    func genConcat2(g1, g2 generator) generator {
    	return func(collect func(string)) {
    		g1(func(s1 string) {
    			g2(func(s2 string) {
    				collect(s1 + s2)
    			})
    		})
    	}
    }
    
    // genConcat generalizes genConcat2 to any number of generators.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top