Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 263 for recursion (0.26 sec)

  1. src/fmt/doc.go

    (%s %q %x %X), it is treated identically to a string, as a single item.
    
    To avoid recursion in cases such as
    
    	type X string
    	func (x X) String() string { return Sprintf("<%s>", x) }
    
    convert the value before recurring:
    
    	func (x X) String() string { return Sprintf("<%s>", string(x)) }
    
    Infinite recursion can also be triggered by self-referential data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String fullMessage = (message != null) ? message : "";
    
            // To break out of possible endless loop when getCause returns "this", or dejaVu for n-level recursion (n>1)
            Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>());
            for (Throwable t = exception; t != null && t != t.getCause(); t = t.getCause()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .withFeatures(computeElementSetFeatures(parentBuilder.getFeatures()))
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<Void> {
        SUBMULTISET,
        DESCENDING;
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. src/go/types/predicates.go

    				//        m() interface{T}
    				//    }
    				//
    				// If two such (differently named) interfaces are compared,
    				// endless recursion occurs if the cycle is not detected.
    				//
    				// If x and y were compared before, they must be equal
    				// (if they were not, the recursion would have stopped);
    				// search the ifacePair stack for the same pair.
    				//
    				// This is a quadratic algorithm, but in practice these stacks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/loopreschedchecks.go

    			}
    		}
    		newphis[h] = change
    	}
    
    	for c := sdom[b.ID].child; c != nil; c = sdom[c.ID].sibling {
    		rewriteNewPhis(h, c, f, defsForUses, newphis, dfPhiTargets, sdom) // TODO: convert to explicit stack from recursion.
    	}
    }
    
    // addDFphis creates new trivial phis that are necessary to correctly reflect (within SSA)
    // a new definition for variable "x" inserted at h (usually but not necessarily a phi).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .withFeatures(computeElementSetFeatures(parentBuilder.getFeatures()))
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<Void> {
        SUBMULTISET,
        DESCENDING;
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/predicates.go

    				//        m() interface{T}
    				//    }
    				//
    				// If two such (differently named) interfaces are compared,
    				// endless recursion occurs if the cycle is not detected.
    				//
    				// If x and y were compared before, they must be equal
    				// (if they were not, the recursion would have stopped);
    				// search the ifacePair stack for the same pair.
    				//
    				// This is a quadratic algorithm, but in practice these stacks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/gcimporter_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 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

            private static String safeToString(Object owner) {
                try {
                    return owner.toString();
                } catch (Throwable e) {
                    // Calling e.getMessage() here can cause infinite recursion.
                    // It happens if e is CircularEvaluationException itself, because getMessage calls formatEvaluationChain.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. common/config/.golangci.yml

          - name: atomic
          - name: call-to-gc
          - name: duplicated-imports
          - name: string-of-int
          - name: defer
            arguments:
              - - "call-chain"
          - name: unconditional-recursion
          - name: identical-branches
            # the following rules can be enabled in the future
            # - name: empty-lines
            # - name: confusing-results
            # - name: empty-block
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top