Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for inspectors (0.31 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    	Requires:         []*analysis.Analyzer{inspect.Analyzer},
    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.StructType)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		styp, ok := pass.TypesInfo.Types[n.(*ast.StructType)].Type.(*types.Struct)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    func (c *CFGs) FuncLit(lit *ast.FuncLit) *cfg.CFG {
    	return c.funcLits[lit].cfg
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	// Because CFG construction consumes and produces noReturn
    	// facts, CFGs for exported FuncDecls must be built before 'run'
    	// returns; we cannot construct them lazily.
    	// (We could build CFGs for FuncLits lazily,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	if !analysisutil.Imports(pass.Pkg, "testing") {
    		return nil, nil
    	}
    
    	toDecl := localFunctionDecls(pass.TypesInfo, pass.Files)
    
    	// asyncs maps nodes whose statements will be executed concurrently
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	if !analysisutil.Imports(pass.Pkg, contextPackage) {
    		return nil, nil
    	}
    
    	// Call runFunc for each Func{Decl,Lit}.
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    	nodeTypes := []ast.Node{
    		(*ast.FuncLit)(nil),
    		(*ast.FuncDecl)(nil),
    	}
    	inspect.Preorder(nodeTypes, func(n ast.Node) {
    		runFunc(pass, n)
    	})
    	return nil, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. .gitignore

    coverage.txt
    .vscode/
    *.tar.bz2
    parts/
    prime/
    stage/
    .sia_temp/
    config.json
    node_modules/
    mc.*
    s3-check-md5*
    xl-meta*
    healing-*
    inspect*.zip
    200M*
    hash-set
    minio.RELEASE*
    mc
    nancy
    inspects/*
    .bin/
    *.gz
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 802 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/CoreBuildSessionServices.java

            FileSystem fileSystem,
            CrossBuildFileHashCacheWrapper crossBuildCache,
            BuildSessionScopeFileTimeStampInspector inspector,
            FileHasherStatistics.Collector statisticsCollector
        ) {
            return new DefaultChecksumService(stringInterner, crossBuildCache.delegate, fileSystem, inspector, statisticsCollector);
        }
    
        // Wraps CrossBuildFileHashCache so that it doesn't conflict
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/annotations.kt

     * excessive class loading on startup.
     *
     * The [KaCachedService] annotation itself is currently not enforced by any checkers or inspections, but it serves as an anchor for
     * documentation and improves discoverability of cached services.
     */
    @Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FIELD])
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtImportOptimizer.kt

    }
    
    public typealias KtImportOptimizer = KaImportOptimizer
    
    public interface KaImportOptimizerMixIn : KaSessionMixIn {
    
        /**
         * Takes [file] and inspects its imports and their usages,
         * so they can be optimized based on the resulting [KaImportOptimizerResult].
         *
         * Does **not** change the file.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/checker.go

    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package echo
    
    var noChecker Checker = func(_ CallResult, err error) error {
    	return err
    }
    
    // Checker inspects echo call results for errors.
    type Checker func(CallResult, error) error
    
    func (c Checker) Check(result CallResult, err error) error {
    	return c(result, err)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1000 bytes
    - Viewed (0)
  10. testing/integ-test/build.gradle.kts

        integTestImplementation(testFixtures(project(":platform-native")))
        integTestImplementation(libs.jgit)
        integTestImplementation(libs.javaParser) {
            because("The Groovy compiler inspects the dependencies at compile time")
        }
    
        integTestDistributionRuntimeOnly(project(":distributions-full"))
        crossVersionTestDistributionRuntimeOnly(project(":distributions-full"))
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top