Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 550 for recursion (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc

    namespace {
    
    // Check that there is no recursion in the module's call graph.
    LogicalResult CheckNoRecursion(ModuleOp module, CallGraph &call_graph) {
      for (llvm::scc_iterator<const CallGraph *> scci =
               llvm::scc_begin<const CallGraph *>(&call_graph);
           !scci.isAtEnd(); ++scci) {
        if (scci.hasCycle()) {
          auto err = module.emitError()
                     << "A recursive call graph cannot be transformed to "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator)
            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    
            ClasspathContainer cpc;
    
            List<MetadataGraphVertex> visited;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/io/fs/glob.go

    		}
    		return []string{pattern}, nil
    	}
    
    	dir, file := path.Split(pattern)
    	dir = cleanGlobPath(dir)
    
    	if !hasMeta(dir) {
    		return glob(fsys, dir, file, nil)
    	}
    
    	// Prevent infinite recursion. See issue 15879.
    	if dir == pattern {
    		return nil, path.ErrBadPattern
    	}
    
    	var m []string
    	m, err = globWithLimit(fsys, dir, depth+1)
    	if err != nil {
    		return nil, err
    	}
    	for _, d := range m {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/refs.go

    				// for circular ref, return an empty object as placeholder
    				SchemaProps: spec.SchemaProps{Type: []string{"object"}},
    			}, nil
    		}
    		visited.Insert(ref)
    		// restore visited state at the end of the recursion.
    		defer func() {
    			visited.Delete(ref)
    		}()
    		// replace the whole schema with the referred one.
    		resolved, ok := schemaOf(ref)
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/math/big/natdiv.go

    (Karatsuba multiplication is implemented in func karatsuba in nat.go.)
    That makes the overall recursive division algorithm take O(n^1.6) time as well,
    which is an improvement, but again only for large enough numbers.
    
    It is not critical to make sure that every recursion does only two recursive
    calls. While in general the number of recursive calls can change the time
    analysis, in this case doing three calls does not change the analysis:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

     * ```
     * ok
     * (ok)
     * ((ok))
     * (((ok)))
     * ```
     *
     * **WARNING** care must be taken to avoid infinite recursion, the delegate parser should always have
     * an input consuming parser at its front (e.g., in `p = paren(p) + p`, the `p` at the right would
     * cause an infinite recursion).
     */
    internal
    fun <T> reference(): ParserRef<T> = ParserRef()
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top