- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 710 for cyclic (0.11 sec)
-
test/fixedbugs/issue6703x.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Check for cycles in a pointer value's method call. package ptrmethcall type T int func (*T) pm() int { _ = x return 0 } var ( p *T x = p.pm() // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 382 bytes - Viewed (0) -
src/cmd/compile/internal/types2/mono.go
// time. Since v is the first vertex we found within the cycle, any // vertices we visited earlier cannot be part of the cycle. for stack[0] != v { stack = stack[1:] } // TODO(mdempsky): Pivot stack so we report the cycle from the top? err := check.newError(InvalidInstanceCycle) obj0 := check.mono.vertices[v].obj err.addf(obj0, "instantiation cycle:") qf := RelativeTo(check.pkg)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 00:05:29 UTC 2024 - 9.1K bytes - Viewed (0) -
test/fixedbugs/issue6703v.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 384 bytes - Viewed (0) -
test/fixedbugs/issue6703z.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 447 bytes - Viewed (0) -
src/runtime/mgcpacer_test.go
var cycle int return func() float64 { p := float64(cycle)/float64(period)*2*math.Pi + phase cycle++ if cycle == period { cycle = 0 } return math.Sin(p) * amp } } // ramp returns a stream that moves from zero to height // over the course of length steps. func ramp(height float64, length int) float64Stream { var cycle int return func() float64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 13:53:21 UTC 2023 - 39.3K bytes - Viewed (0) -
test/fixedbugs/issue6703n.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 437 bytes - Viewed (0) -
test/fixedbugs/issue6703r.go
// license that can be found in the LICENSE file. // Check for cycles in the method call of an embedded struct returned // from a function call. package funcembedmethcall type T int func (T) m() int { _ = x return 0 } func g() E { return E{0} } type E struct{ T } var ( e E x = g().m() // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 477 bytes - Viewed (0) -
subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultBuildController.java
// Visiting dependencies -> have found a cycle CachingDirectedGraphWalker<TaskInternal, Void> graphWalker = new CachingDirectedGraphWalker<>((node, values, connectedNodes) -> visitDependenciesOf(node, connectedNodes::add)); graphWalker.add(task); List<Set<TaskInternal>> cycles = graphWalker.findCycles(); Set<TaskInternal> cycle = cycles.get(0);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 20:29:05 UTC 2023 - 7.7K bytes - Viewed (0) -
internal/config/scanner/scanner.go
} cfg.MaxWait, err = time.ParseDuration(maxWait) if err != nil { return err } cycle := env.Get(EnvCycle, kvs.GetWithDefault(Cycle, DefaultKVS)) if cycle == "" { cycle = "1m" } cfg.Cycle, err = time.ParseDuration(cycle) if err != nil { return err } return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainerTest.groovy
} def "detects cycles early"() { replacements.module("o:a").replacedBy("o:b") when: replacements.module("o:b").replacedBy("o:a") then: def ex = thrown(InvalidUserDataException) ex.message == "Cannot declare module replacement o:b->o:a because it introduces a cycle: o:b->o:a->o:b" } def "detects transitive cycles early"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0)