Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 597 for recursion (0.3 sec)

  1. 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)
  2. src/go/doc/testdata/e.go

    func (*T4) M() {}
    
    type T5 struct {
    	T4
    }
    
    // ----------------------------------------------------------------------------
    // Recursive type declarations must not lead to endless recursion.
    
    type U1 struct {
    	*U1
    }
    
    // U1.M should appear as method of U1.
    func (*U1) M() {}
    
    type U2 struct {
    	*U3
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer().apply {
          writeShort(0) // query id
          writeShort(256) // flags with recursion
          writeShort(1) // question count
          writeShort(0) // answerCount
          writeShort(0) // authorityResourceCount
          writeShort(0) // additional
    
          val nameBuf = Buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectStateInternal.java

            return state.ordinal() > State.IN_EVALUATE.ordinal();
        }
    
        public boolean isConfiguring() {
            // Intentionally asymmetrical to getExecuted()
            // This prevents recursion on `project.afterEvaluate { project.evaluate() }`
            return state == State.IN_BEFORE_EVALUATE || state == State.IN_EVALUATE || state == State.IN_AFTER_EVALUATE;
        }
    
        public boolean isUnconfigured() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:05 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    						t, a, prev)
    				}
    				if t.Kind() != reflect.Ptr {
    					return fmt.Errorf("%s: fact type %s is not a pointer", a, t)
    				}
    				factTypes[t] = a
    			}
    
    			// recursion
    			for _, req := range a.Requires {
    				if err := visit(req); err != nil {
    					return err
    				}
    			}
    			color[a] = black
    		}
    
    		if color[a] == grey {
    			stack := []*Analyzer{a}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                { it.group },
                { it.isPublic() },
                [{ it.projectIdentifier }, { a, e -> checkProjectIdentifier(a, e) }],
                { it.project.path }, // only check path to avoid infinite recursion
            ])
        }
    
        static void checkGradleProject(actual, expected) {
            assert expected instanceof GradleProject
            assert actual instanceof GradleProject
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top