Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 480 for walkFn (0.18 sec)

  1. src/cmd/cover/cover.go

    				}
    				return f
    			}
    		}
    		f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace.
    	case *ast.IfStmt:
    		if n.Init != nil {
    			ast.Walk(f, n.Init)
    		}
    		ast.Walk(f, n.Cond)
    		ast.Walk(f, n.Body)
    		if n.Else == nil {
    			return nil
    		}
    		// The elses are special, because if we have
    		//	if x {
    		//	} else if y {
    		//	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer.go

    //  1. The payload is validated; if the payload is invalid, the function returns
    //
    //  2. The current timestamped directory is detected by reading the data directory
    //     symlink
    //
    //  3. The old version of the volume is walked to determine whether any
    //     portion of the payload was deleted and is still present on disk.
    //
    //  4. The data in the current timestamped directory is compared to the projected
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultLenientConfiguration.java

                }
            }
    
            CachingDirectedGraphWalker<DependencyGraphNodeResult, ResolvedArtifact> walker = new CachingDirectedGraphWalker<>(new ResolvedDependencyArtifactsGraph(artifactSets));
            for (DependencyGraphNodeResult node : getFirstLevelNodes(dependencySpec)) {
                walker.add(node);
            }
            walker.findValues();
            return CompositeResolvedArtifactSet.of(artifactSets);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/syscall/rlimit.go

    //
    // Go does not use select, so it should not be subject to these limits.
    // On some systems the limit is 256, which is very easy to run into,
    // even in simple programs like gofmt when they parallelize walking
    // a file tree.
    //
    // After a long discussion on go.dev/issue/46279, we decided the
    // best approach was for Go to raise the limit unconditionally for itself,
    // and then leave old software to set the limit back as needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/select.go

    // license that can be found in the LICENSE file.
    
    package walk
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    func walkSelect(sel *ir.SelectStmt) {
    	lno := ir.SetPos(sel)
    	if sel.Walked() {
    		base.Fatalf("double walkSelect")
    	}
    	sel.SetWalked(true)
    
    	init := ir.TakeInit(sel)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    // Visitor recursively walks through a structural schema.
    type Visitor struct {
    	// Structural is called on each Structural node in the schema, before recursing into
    	// the subtrees. It is allowed to mutate s. Return true if something has been changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/groovy/build.gradle

        scm 'some:unresolved:2.5'
    }
    
    // tag::walk-task[]
    tasks.register('walkDependencyGraph', DependencyGraphWalk) {
        dependencies = configurations.scm.incoming
    }
    
    abstract class DependencyGraphWalk extends DefaultTask {
    
        @Input
        abstract Property<ResolvableDependencies> getDependencies()
    
        @TaskAction
        void walk() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/kotlin/build.gradle.kts

        scm("some:unresolved:2.5")
    }
    
    // tag::walk-task[]
    tasks.register<DependencyGraphWalk>("walkDependencyGraph") {
        dependencies = configurations["scm"].incoming
    }
    
    abstract class DependencyGraphWalk: DefaultTask() {
    
        @get:Input
        abstract val dependencies: Property<ResolvableDependencies>
    
        @TaskAction
        fun walk() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. test/escape_calls.go

    	g(&f(x[:])[0])
    }
    
    type Node struct {
    	s           string
    	left, right *Node
    }
    
    func walk(np **Node) int { // ERROR "leaking param content: np"
    	n := *np
    	w := len(n.s)
    	if n == nil {
    		return 0
    	}
    	wl := walk(&n.left)
    	wr := walk(&n.right)
    	if wl < wr {
    		n.left, n.right = n.right, n.left // ERROR "ignoring self-assignment"
    		wl, wr = wr, wl
    	}
    	*np = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 22:06:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/patches/patches.go

    		}
    		patches = append(patches, string(patchJSON))
    	}
    
    	return &patchSet{
    		targetName: targetName,
    		patchType:  patchType,
    		patches:    patches,
    	}, nil
    }
    
    // getPatchSetsFromPath walks a path, ignores sub-directories and non-patch files, and
    // returns a list of patchFile objects.
    func getPatchSetsFromPath(targetPath string, knownTargets []string, output io.Writer) ([]*patchSet, []string, []string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top