Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 228 for recursion (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    	return info.Types[arg].Type
    }
    
    // typeOKForCgoCall reports whether the type of arg is OK to pass to a
    // C function using cgo. This is not true for Go types with embedded
    // pointers. m is used to avoid infinite recursion on recursive types.
    func typeOKForCgoCall(t types.Type, m map[types.Type]bool) bool {
    	if t == nil || m[t] {
    		return true
    	}
    	m[t] = true
    	switch t := t.Underlying().(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

                     << ", operand idx: " << curr_operand->getOperandNumber()
                     << ", loc: " << const_op_cloned->getLoc() << "\n");
        } else if (IsOutputCompileTimeConstantOrBounded(defining_op)) {
          // Stop the recursion early when the output of the defining op is
          // considered compile-time constant from the XLA compiler's perspective.
          continue;
        } else if (!defining_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/encoding/xml/read.go

    		case StartElement:
    			consumed := false
    			if sv.IsValid() {
    				// unmarshalPath can call unmarshal, so we need to pass the depth through so that
    				// we can continue to enforce the maximum recursion limit.
    				consumed, err = d.unmarshalPath(tinfo, sv, nil, &t, depth)
    				if err != nil {
    					return err
    				}
    				if !consumed && saveAny.IsValid() {
    					consumed = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

         * climbing up the syntax tree, passing control back and forth between the
         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/debug/garbage.go

    // There may be a system-imposed maximum stack limit regardless
    // of the value provided to SetMaxStack.
    //
    // SetMaxStack is useful mainly for limiting the damage done by
    // goroutines that enter an infinite recursion. It only limits future
    // stack growth.
    func SetMaxStack(bytes int) int {
    	return setMaxStack(bytes)
    }
    
    // SetMaxThreads sets the maximum number of operating system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/start.go

    		// child.
    		//
    		// On the other hand, if telemetryChildVar were simply unset, then the
    		// delegated go commands would fork themselves recursively. Short-circuit
    		// this recursion.
    		os.Setenv(telemetryChildVar, "2")
    		upload := os.Getenv(telemetryUploadVar) == "1"
    		child(reportCrashes, upload, config.UploadStartTime, config.UploadURL)
    		os.Exit(0)
    	case "2":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    	if b == r {
    		return
    	}
    	if b.buf == nil {
    		b.buf = make([]byte, defaultBufSize)
    	}
    	b.reset(b.buf, r)
    }
    
    func (b *Reader) reset(buf []byte, r io.Reader) {
    	*b = Reader{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    	if tok != '\n' {
    		in.Error("syntax error in #undef for macro:", name)
    	}
    	delete(in.macros, name)
    }
    
    func (in *Input) Push(r TokenReader) {
    	if len(in.tr) > 100 {
    		in.Error("input recursion")
    	}
    	in.Stack.Push(r)
    }
    
    func (in *Input) Close() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        static final NonPublicConstantIgnored INSTANCE = new NonPublicConstantIgnored();
    
        private NonPublicConstantIgnored() {}
      }
    
      public static class NonStaticFieldIgnored {
        // This should cause infinite recursion. But it shouldn't be used anyway.
        public final NonStaticFieldIgnored instance = new NonStaticFieldIgnored();
    
        private NonStaticFieldIgnored() {}
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	ast.Inspect(n, func(node ast.Node) bool {
    		if node == n { // push n
    			return true // recur
    		}
    		if node != nil { // push child
    			children = append(children, node)
    		}
    		return false // no recursion
    	})
    
    	// Then add fake Nodes for bare tokens.
    	switch n := n.(type) {
    	case *ast.ArrayType:
    		children = append(children,
    			tok(n.Lbrack, len("[")),
    			tok(n.Elt.End(), len("]")))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top