Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for eachDir (0.19 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java

         *   include 'baz'
         *   project(':baz').projectDir = file('foo/baz')
         *
         *   // include many projects whose project dirs do not match the logical project paths
         *   file('subprojects').eachDir { dir ->
         *     include dir.name
         *     project(":${dir.name}").projectDir = dir
         *   }
         * </pre>
         *
         * @param projectPaths the projects to add.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/net/http/routing_tree_test.go

    		fmt.Fprintf(w, "%s%q\n", indent, n.pattern)
    	}
    	if n.emptyChild != nil {
    		fmt.Fprintf(w, "%s%q:\n", indent, "")
    		n.emptyChild.print(w, level+1)
    	}
    
    	var keys []string
    	n.children.eachPair(func(k string, _ *routingNode) bool {
    		keys = append(keys, k)
    		return true
    	})
    	slices.Sort(keys)
    
    	for _, k := range keys {
    		fmt.Fprintf(w, "%s%q:\n", indent, k)
    		n, _ := n.children.find(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/net/http/routing_tree.go

    	if methodSet["GET"] {
    		methodSet["HEAD"] = true
    	}
    }
    
    func (n *routingNode) matchingMethodsPath(path string, set map[string]bool) {
    	if n == nil {
    		return
    	}
    	n.children.eachPair(func(method string, c *routingNode) bool {
    		if p, _ := c.matchPath(path, nil); p != nil {
    			set[method] = true
    		}
    		return true
    	})
    	// Don't look at the empty child. If there were an empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top