Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 119 of 119 for visitTar (0.14 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

    import org.codehaus.groovy.ast.stmt.WhileStatement;
    import org.codehaus.groovy.classgen.BytecodeExpression;
    
    import java.util.List;
    import java.util.ListIterator;
    
    /**
     * Groovy AST visitor that allows to replace both statements and expressions.
     */
    public class ExpressionReplacingVisitorSupport extends StatementReplacingVisitorSupport {
        private Expression replacementExpr;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

            this.scriptSourceDescription = scriptSourceDescription;
            this.location = location;
            this.sourceUnit = sourceUnit;
        }
    
        // Not part of a normal visitor, see ClosureCreationInterceptingVerifier
        public static void visitGeneratedClosure(ClassNode node) {
            MethodNode closureCallMethod = AstUtils.getGeneratedClosureImplMethod(node);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

    import static org.objectweb.asm.Opcodes.H_INVOKESTATIC;
    import static org.objectweb.asm.Type.getMethodDescriptor;
    import static org.objectweb.asm.Type.getType;
    
    /**
     * A class visitor that makes all lambdas in code serializable.
     * It adds {@link LambdaMetafactory#FLAG_SERIALIZABLE} to all bootstrap methods that create lambdas and generate synthetic deserialization method in the processed class.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cgroup_manager_linux.go

    		pids, err = getCgroupProcs(dir)
    		if err != nil {
    			continue
    		}
    		pidsToKill.Insert(pids...)
    
    		// WalkFunc which is called for each file and directory in the pod cgroup dir
    		visitor := func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				klog.V(4).InfoS("Cgroup manager encountered error scanning cgroup path", "path", path, "err", err)
    				return filepath.SkipDir
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  5. pkg/volume/util/atomic_writer_test.go

    	dataDirPath := filepath.Join(targetDir, dataDirName)
    	// use filepath.Walk to reconstruct the payload, then deep equal
    	observedPayload := make(map[string]FileProjection)
    	visitor := func(path string, info os.FileInfo, _ error) error {
    		if info.IsDir() {
    			return nil
    		}
    
    		relativePath := strings.TrimPrefix(path, dataDirPath)
    		relativePath = strings.TrimPrefix(relativePath, "/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

        interface Host : HostServiceProvider {
    
            val currentBuild: VintageGradleBuild
    
            fun createBuild(settingsFile: File?): ConfigurationCacheBuild
    
            fun visitBuilds(visitor: (VintageGradleBuild) -> Unit)
    
            fun <T> factory(serviceType: Class<T>): Factory<T>
        }
    
        private
        lateinit var cacheAction: ConfigurationCacheAction
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/requirements.txt

        --hash=sha256:ce3711610ddce217e6d113a2732fafad960a03fd0318c91faa79481e35c11224
        # via
        #   -r requirements.in
        #   requests
    visitor==0.1.3 \
        --hash=sha256:2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a
        # via flask-bootstrap
    werkzeug==3.0.3 \
        --hash=sha256:097e5bfda9f0aba8da6b8545146def481d06aa7d3266e7448e2cccf67dd8bd18 \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 45.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    		sel, ok := n.(*ast.SelectorExpr)
    		if ok && isTopName(sel.X, name) {
    			used = true
    		}
    	}), f)
    
    	return
    }
    
    type visitFn func(node ast.Node)
    
    func (fn visitFn) Visit(node ast.Node) ast.Visitor {
    	fn(node)
    	return fn
    }
    
    // imports reports whether f has an import with the specified name and path.
    func imports(f *ast.File, name, path string) bool {
    	for _, s := range f.Imports {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. src/go/parser/resolver.go

    			ast.Walk(r, expr)
    		}
    	}
    }
    
    func (r *resolver) walkStmts(list []ast.Stmt) {
    	for _, stmt := range list {
    		ast.Walk(r, stmt)
    	}
    }
    
    func (r *resolver) Visit(node ast.Node) ast.Visitor {
    	if debugResolve && node != nil {
    		r.trace("node %T@%v", node, node.Pos())
    	}
    
    	switch n := node.(type) {
    
    	// Expressions.
    	case *ast.Ident:
    		r.resolve(n, true)
    
    	case *ast.FuncLit:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top