Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for recursion (0.14 sec)

  1. src/cmd/compile/internal/types2/named.go

    		// (for example, in recursive type declarations).
    		assert(check != nil)
    	}
    
    	if orig.tparams.Len() != targs.Len() {
    		// Mismatching arg and tparam length may be checked elsewhere.
    		return Typ[Invalid]
    	}
    
    	// Ensure that an instance is recorded before substituting, so that we
    	// resolve n for any recursive references.
    	h := n.inst.ctxt.instanceHash(orig, targs.list())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/go/types/named.go

    		// (for example, in recursive type declarations).
    		assert(check != nil)
    	}
    
    	if orig.tparams.Len() != targs.Len() {
    		// Mismatching arg and tparam length may be checked elsewhere.
    		return Typ[Invalid]
    	}
    
    	// Ensure that an instance is recorded before substituting, so that we
    	// resolve n for any recursive references.
    	h := n.inst.ctxt.instanceHash(orig, targs.list())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/go/internal/fsys/fsys.go

    		volumeLen, dir = cleanGlobPathWindows(dir)
    	} else {
    		dir = cleanGlobPath(dir)
    	}
    
    	if !hasMeta(dir[volumeLen:]) {
    		return glob(dir, file, nil)
    	}
    
    	// Prevent infinite recursion. See issue 15879.
    	if dir == pattern {
    		return nil, filepath.ErrBadPattern
    	}
    
    	var m []string
    	m, err = Glob(dir)
    	if err != nil {
    		return
    	}
    	for _, d := range m {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

      auto it = is_pure_function_.find(func_op);
      if (it == is_pure_function_.end()) {
        bool is_pure = true;
        is_pure_function_[func_op] = is_pure;  // prevent infinite recursion
        func_op->walk([&](Operation* op) {
          if (op == func_op) {
            return WalkResult::advance();
          }
          // AssertOp is not, technically, pure. However, we treat functions
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. src/runtime/crash_test.go

    }
    
    func TestGoexitInPanic(t *testing.T) {
    	// External linking brings in cgo, causing deadlock detection not working.
    	testenv.MustInternalLink(t, false)
    
    	// see issue 8774: this code used to trigger an infinite recursion
    	output := runTestProg(t, "testprog", "GoexitInPanic")
    	want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
    	if !strings.HasPrefix(output, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    	s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/encoding/gob/encoder_test.go

    		0x00, 0x01, 0xff, 0xd4, 0x00, 0x00, 0x07, 0xff,
    		0xd4, 0x00, 0x02, 0x01, 0x00, 0x00,
    	}
    	dec := NewDecoder(bytes.NewReader(data))
    	// Issue 10415: This caused infinite recursion.
    	err := dec.Decode(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Another bug from golang-nuts, involving nested interfaces.
    type Bug0Outer struct {
    	Bug0Field any
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/issues_test.go

    	s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Join combined with collect" suppressId="join_with_collect" problemDescriptor="Use a `join` method overload" text="$callJoin$($sep$, $callCollect$($src$, $transform$))" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" useStaticImport="true" replacement="org.gradle.util.internal.CollectionUtils.join($sep$, $src$, $transform$)">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/helpers_test.go

    		"fooptr.foo",
    		"bars[*].foo",
    		"barMap[*].foo",
    		"skipRecurseStruct",   // skip recursing a struct
    		"skipRecursePointer",  // skip recursing a struct pointer
    		"skipRecurseList1",    // skip recursing a list
    		"skipRecurseList2[*]", // skip recursing list items
    		"skipRecurseMap1",     // skip recursing a map
    		"skipRecurseMap2[*]",  // skip recursing map items
    	)
    	result := allPrimitiveFieldPaths(t, expect, reflect.TypeOf(&bar{}), nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top