- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 522 for recursion (0.19 sec)
-
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) -
src/internal/pkgbits/encoder.go
if !w.p.SyncMarkers() { return } // Writing out stack frame string references requires working // relocations, but writing out the relocations themselves involves // sync markers. To prevent infinite recursion, we simply trim the // stack frame for sync markers within the relocation header. var frames []string if !w.encodingRelocHeader && w.p.syncFrames > 0 { pcs := make([]uintptr, w.p.syncFrames)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0) -
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) -
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) -
src/path/filepath/match.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, ErrBadPattern } var m []string m, err = globWithLimit(dir, depth+1) if err != nil { return } for _, d := range m {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
// the scaled value and the target unit. The returned target unit // will be empty if uninteresting (could be skipped). func Scale(value int64, fromUnit, toUnit string) (float64, string) { // Avoid infinite recursion on overflow. if value < 0 && -value > 0 { v, u := Scale(-value, fromUnit, toUnit) return -v, u } for _, ut := range UnitTypes { if v, u, ok := ut.convertUnit(value, fromUnit, toUnit); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/encoding/gob/type.go
// are constructed. This is to retain the order of type id allocation after // a fix made to handle recursive types, which changed the order in // which types are built. Delaying the setting in this way preserves // type ids while allowing recursive types to be described. Structs, // done below, were already handling recursion correctly so they // assign the top-level id before those of the field. at.init(type0, t.Len())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
} return nil } // lockPath returns a typePath describing the location of a lock value // contained in typ. If there is no contained lock, it returns nil. // // The seen map is used to short-circuit infinite recursion due to type cycles. func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath { if typ == nil || seen[typ] { return nil } if seen == nil { seen = make(map[types.Type]bool) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/tfcompile_test.cc
EXPECT_EQ(fn.var_x(), 107); } TEST(TFCompileTest, VariableSequentialUpdates) { Eigen::ThreadPool tp(1); Eigen::ThreadPoolDevice device(&tp, tp.NumThreads()); // This implements the recursion: // x[0] = 2.0 // x[n+1] = x[n] - 0.1*(x[n-1] + y) VariableSequentialUpdatesComp fn; fn.var_x() = 2; *const_cast<float*>(fn.var_y_data()) = 1; fn.set_thread_pool(&device);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 26.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
return getMethod(ListSubListTester.class, "testSubList_subListRemoveAffectsOriginalLargeList"); } /* * TODO: perform all List tests on subList(), but beware infinite recursion */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 13.4K bytes - Viewed (0)