Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 552 for recursion (0.29 sec)

  1. src/cmd/link/internal/ld/testdata/stackcheck/main.s

    TEXT ·chain1(SB),NOSPLIT,$48-0 // Doesn't go over
    	RET
    TEXT ·chain2(SB),NOSPLIT,$64-0
    	CALL ·chainEnd(SB)
    	RET
    TEXT ·chainEnd(SB),NOSPLIT,$1000-0 // Should be reported twice
    	RET
    
    // Test reporting of rootless recursion
    TEXT ·startRec(SB),NOSPLIT|NOFRAME,$0-0
    	CALL ·startRec0(SB)
    	RET
    TEXT ·startRec0(SB),NOSPLIT|NOFRAME,$0-0
    	CALL ·startRec(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 21:35:26 UTC 2023
    - 950 bytes
    - Viewed (0)
  2. src/go/types/unify.go

    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    	// due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656).
    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    	// unification failure.
    	panicAtUnificationDepthLimit = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/.clang-tidy

    Checks: >
            # LINT.IfChange(checks)
            -*,clang-diagnostic-*,llvm-*,misc-*,
            -misc-unused-parameters,
            -misc-non-private-member-variables-in-classes,
            -misc-no-recursion,
            bugprone-argument-comment,
            bugprone-assert-side-effect,
            bugprone-branch-clone,
            bugprone-copy-constructor-init,
            bugprone-dangling-handle,
            bugprone-dynamic-static-initializers,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. src/go/internal/srcimporter/srcimporter_test.go

    // verifyInterfaceMethodRecvs verifies that method receiver types
    // are named if the methods belong to a named interface type.
    func verifyInterfaceMethodRecvs(t *testing.T, named *types.Named, level int) {
    	// avoid endless recursion in case of an embedding bug that lead to a cycle
    	if level > 10 {
    		t.Errorf("%s: embeds itself", named)
    		return
    	}
    
    	iface, _ := named.Underlying().(*types.Interface)
    	if iface == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/unify.go

    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    	// due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656).
    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    	// unification failure.
    	panicAtUnificationDepthLimit = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/noder/posmap.go

    		absfn := trimFilename(b0)
    
    		if b0.IsFileBase() {
    			b1 = src.NewFileBase(fn, absfn)
    		} else {
    			// line directive base
    			p0 := b0.Pos()
    			p0b := p0.Base()
    			if p0b == b0 {
    				panic("infinite recursion in makeSrcPosBase")
    			}
    			p1 := src.MakePos(m.makeSrcPosBase(p0b), p0.Line(), p0.Col())
    			b1 = src.NewLinePragmaBase(p1, fn, absfn, b0.Line(), b0.Col())
    		}
    		if m.bases == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 27 03:43:35 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/compress/bzip2/huffman.go

    		}
    
    		// In this case the recursion doesn't always reduce the length
    		// of codes so we need to ensure termination via another
    		// mechanism.
    		if level == 31 {
    			// Since len(codes) >= 2 the only way that the values
    			// can match at all 32 bits is if they are equal, which
    			// is invalid. This ensures that we never enter
    			// infinite recursion.
    			return 0, StructuralError("equal symbols in Huffman tree")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // a signature, and the hash value of t must depend only on t's index and
    // constraint: signatures are considered identical modulo type parameter
    // renaming. To avoid infinite recursion, we only hash the type parameter
    // index, and rely on types.Identical to handle signatures where constraints
    // are not identical.
    //
    // Otherwise the hash of t depends only on t's pointer identity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    func (c *CFGs) buildDecl(fn *types.Func, di *declInfo) {
    	// buildDecl may call itself recursively for the same function,
    	// because cfg.New is passed the callMayReturn method, which
    	// builds the CFG of the callee, leading to recursion.
    	// The buildDecl call tree thus resembles the static call graph.
    	// We mark each node when we start working on it to break cycles.
    
    	if !di.started { // break cycle
    		di.started = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. pkg/controller/serviceaccount/tokengetter.go

    // uses the specified client to retrieve service accounts, pods, secrets and nodes.
    // The client should NOT authenticate using a service account token
    // the returned getter will be used to retrieve, or recursion will result.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top