Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for inspectors (0.16 sec)

  1. pilot/pkg/networking/core/listener_inbound.go

    		inspectors[int(port)] = i
    	}
    
    	// Enable TLS inspector on any ports we need it
    	if needsTLS(inspectors) {
    		lf = append(lf, buildTLSInspector(inspectors))
    	}
    
    	// Note: the HTTP inspector should be after TLS inspector.
    	// If TLS inspector sets transport protocol to tls, the http inspector
    	// won't inspect the packet.
    	if needsHTTP(inspectors) {
    		lf = append(lf, buildHTTPInspector(inspectors))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_builder.go

    	// authzCustomBuilder provides access to CUSTOM authz configuration for the given proxy.
    	authzCustomBuilder *authz.Builder
    }
    
    // enabledInspector captures if for a given listener, listener filter inspectors are added
    type enabledInspector struct {
    	HTTPInspector bool
    	TLSInspector  bool
    }
    
    func NewListenerBuilder(node *model.Proxy, push *model.PushContext) *ListenerBuilder {
    	builder := &ListenerBuilder{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    // and found to degrade performance significantly (30%).
    
    import (
    	"go/ast"
    )
    
    // An Inspector provides methods for inspecting
    // (traversing) the syntax trees of a package.
    type Inspector struct {
    	events []event
    }
    
    // New returns an Inspector for the specified syntax trees.
    func New(files []*ast.File) *Inspector {
    	return &Inspector{traverse(files)}
    }
    
    // An event represents a push or a pop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/TypeInspectorTest.groovy

            def types = inspector.getReachableTypes(Parent)
            types == [Parent, Child] as Set
    
            def types2 = inspector.getReachableTypes(Child)
            types2 == types
        }
    
        def "inspects cyclic generic types"() {
            expect:
            def types = inspector.getReachableTypes(GenericChild)
            types == [GenericItem1, GenericItem2, GenericChild] as Set
    
            def types2 = inspector.getReachableTypes(GenericChild)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/inspect/inspect.go

    // Package inspect defines an Analyzer that provides an AST inspector
    // (golang.org/x/tools/go/ast/inspector.Inspector) for the syntax trees
    // of a package. It is only a building block for other analyzers.
    //
    // Example of use in another analysis:
    //
    //	import (
    //		"golang.org/x/tools/go/analysis"
    //		"golang.org/x/tools/go/analysis/passes/inspect"
    //		"golang.org/x/tools/go/ast/inspector"
    //	)
    //
    //	var Analyzer = &analysis.Analyzer{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/defers/defers.go

    				pass.Reportf(v.Pos(), "call to time.Since is not deferred")
    			}
    		case *ast.FuncLit:
    			return false // prune
    		}
    		return true
    	}
    
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.DeferStmt)(nil),
    	}
    
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		d := n.(*ast.DeferStmt)
    		ast.Inspect(d.Call, checkDeferCall)
    	})
    
    	return nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/appends/appends.go

    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.CallExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		call := n.(*ast.CallExpr)
    		b, ok := typeutil.Callee(pass.TypesInfo, call).(*types.Builtin)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go

    	// when !analysisutil.Imports(pass.Pkg, "encoding/...").
    	// TODO(taking): Consider using a prepass to collect typeutil.Callees.
    
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.CallExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		call := n.(*ast.CallExpr)
    		fn := typeutil.StaticCallee(pass.TypesInfo, call)
    		if fn == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go

    	// when !analysisutil.Imports(pass.Pkg, "time").
    	// TODO(taking): Consider using a prepass to collect typeutil.Callees.
    
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.CallExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		call := n.(*ast.CallExpr)
    		fn, ok := typeutil.Callee(pass.TypesInfo, call).(*types.Func)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. buildscripts/rewrite-old-new.sh

    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		mkdir -p inspects
    		(
    			cd inspects
    			"${WORK_DIR}/mc" admin inspect minio/healing-rewrite-bucket/verify-build.sh/**
    		)
    
    		"${WORK_DIR}/mc" mb play/inspects
    		"${WORK_DIR}/mc" mirror inspects play/inspects
    
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top