- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 92 for recursion (0.23 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) -
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/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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy
[{ it.contentRoots }, { a, e -> checkContentRoot(a, e) }], [{ it.gradleProject }, { a, e -> checkGradleProject(a, e) }], { it.project.languageLevel.level }, // shallow check to avoid infinite recursion { it.compilerOutput.inheritOutputDirs }, { it.compilerOutput.outputDir }, { it.compilerOutput.testOutputDir }, [{ it.dependencies }, { a, e -> checkDependency(a, e) }],
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.9K bytes - Viewed (0) -
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) -
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) -
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) -
src/index/suffixarray/suffixarray_test.go
// We use this pattern: // 1 255 1 254 1 253 1 ... 1 2 1 255 2 254 2 253 2 252 2 ... // This gives approximately 2¹⁵ distinct LMS-substrings. // We need to repeat at least one substring, though, // or else the recursion can be bypassed entirely. x := make([]byte, 100000, 100001) lo := byte(1) hi := byte(255) for i := range x { if i%2 == 0 { x[i] = lo } else { x[i] = hi hi--
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
src/fmt/print.go
reordered bool // goodArgNum records whether the most recent reordering directive was valid. goodArgNum bool // panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion. panicking bool // erroring is set when printing an error string to guard against calling handleMethods. erroring bool // wrapErrs is set when the format string may contain a %w verb. wrapErrs bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0)