- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,255 for yearly (0.16 sec)
-
src/runtime/race/testdata/rangefunc_test.go
} // TestRaceRangeFuncIterator races because x%5 can be equal to 4, // therefore foo can early exit. func TestRaceRangeFuncIterator(t *testing.T) { x := foo(4) t.Logf("foo(4)=%d", x) } // TestNoRaceRangeFuncIterator does not race because x%5 is never 5, // therefore foo's loop will not exit early, and this it will not race. func TestNoRaceRangeFuncIterator(t *testing.T) { x := foo(5) t.Logf("foo(5)=%d", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy
class CancellationCrossVersionSpec extends ToolingApiSpecification { def setup() { settingsFile << ''' rootProject.name = 'cancelling' ''' } def "early cancel stops the build before beginning"() { buildFile << """ throw new GradleException("should not run") """ def cancel = GradleConnector.newCancellationTokenSource()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java
/** * Interface used to locate the root directory for a given project. * * The root locator is usually looked up from the plexus container. * One notable exception is the computation of the early {@code session.rootDirectory} * property which happens very early. The implementation used in this case * will be discovered using the JDK service mechanism. * * The default implementation will look for a {@code .mvn} child directory
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/cache/cache_test.go
now := time.Now() c.SetWithExpiration("EARLY", "123", 10*time.Millisecond) c.SetWithExpiration("LATER", "123", 20*time.Millisecond+123*time.Nanosecond) evictExpired(now) s := c.Stats() _, ok := c.Get("EARLY") if !ok { t.Errorf("Got no value, expected EARLY to be present") } _, ok = c.Get("LATER") if !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0) -
src/math/rand/v2/auto_test.go
// license that can be found in the LICENSE file. package rand_test import ( . "math/rand/v2" "testing" ) // This test is first, in its own file with an alphabetically early name, // to try to make sure that it runs early. It has the best chance of // detecting deterministic seeding if it's the first test that runs. func TestAuto(t *testing.T) { // Pull out 10 int64s from the global source
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:09:26 UTC 2023 - 1.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java
@Named public class DefaultRootLocator implements RootLocator { public boolean isRootDirectory(Path dir) { if (Files.isDirectory(dir.resolve(".mvn"))) { return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml"); try (InputStream is = Files.newInputStream(pom)) { XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/test/util/assert/tracker.go
var err error retry.UntilSuccessOrFail(t.t, func() error { t.mu.Lock() defer t.mu.Unlock() if len(t.events) == 0 { return fmt.Errorf("no events") } if t.events[0] != event { // Exit early instead of continuing to retry err = fmt.Errorf("got events %v, want %v (%d)", t.events, event, i) return nil } // clear the event t.events[0] = ptr.Empty[T]() t.events = t.events[1:] return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.6K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue6977.go
type U9 interface { M32; M64 /* ERROR "duplicate method" */ } // Verify that repeated embedding of the same interface(s) // eliminates duplicate methods early (rather than at the // end) to prevent exponential memory and time use. // Without early elimination, computing T29 may take dozens // of minutes. type ( T0 interface { m() } T1 interface { T0; T0 } T2 interface { T1; T1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:04:33 UTC 2024 - 2.6K bytes - Viewed (0) -
releasenotes/notes/51377.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management issue: - 51377 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 201 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22600.go
package main import ( "fmt" "os" ) func test() { pwd, err := os.Getwd() if err != nil { fmt.Println(err) os.Exit(1) } fmt.Println(pwd) } func main() { growstack() // Use stack early to prevent growth during test, which confuses gdb test() } var snk string //go:noinline func growstack() { snk = fmt.Sprintf("%#v,%#v,%#v", 1, true, "cat")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 358 bytes - Viewed (0)