Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 624 for walkIf (0.13 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/path/filepath/example_unix_walk_test.go

    	}
    
    	return tmpDir, nil
    }
    
    func ExampleWalk() {
    	tmpDir, err := prepareTestDirTree("dir/to/walk/skip")
    	if err != nil {
    		fmt.Printf("unable to create test dir tree: %v\n", err)
    		return
    	}
    	defer os.RemoveAll(tmpDir)
    	os.Chdir(tmpDir)
    
    	subDirToSkip := "skip"
    
    	fmt.Println("On Unix:")
    	err = filepath.Walk(".", func(path string, info fs.FileInfo, err error) error {
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/go/chdir_test.go

    	script, err := os.ReadFile("testdata/script/chdir.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var walk func(string, *base.Command)
    	walk = func(name string, cmd *base.Command) {
    		if len(cmd.Commands) > 0 {
    			for _, sub := range cmd.Commands {
    				walk(name+" "+sub.Name(), sub)
    			}
    			return
    		}
    		if !cmd.Runnable() {
    			return
    		}
    		if cmd.CustomFlags {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                                bool predecessors, bool successors) {
      // Walk the input and output dependencies of the Ops in `operations` to form
      // the closer of Ops needed to evaluate 'operations'. Input dependencies are
      // walked if 'predecessors' is true and output dependencies are walked if
      // 'successors' is true. In either case, if a discoverd Op is in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast_go118.go

    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return n.TypeParams
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top