- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for exercise (0.25 sec)
-
src/image/draw/bench_test.go
x := 3 * i % (dstw - srcw) y := 7 * i % (dsth - srch) DrawMask(dst, dst.Bounds().Add(image.Pt(x, y)), src, image.Point{}, mask, image.Point{}, op) } } // The BenchmarkFoo functions exercise a drawFoo fast-path function in draw.go. func BenchmarkFillOver(b *testing.B) { bench(b, color.RGBAModel, nil, nil, Over) } func BenchmarkFillSrc(b *testing.B) { bench(b, color.RGBAModel, nil, nil, Src)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; /** * Tests for {@link ClosingFuture} that exercise {@link * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}. */ public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
mockwebserver/README.md
// Start the server. server.start(); // Ask the server for its URL. You'll need this to make HTTP requests. HttpUrl baseUrl = server.url("/v1/chat/"); // Exercise your application code, which should make those HTTP requests. // Responses are returned in the same order that they are enqueued. Chat chat = new Chat(baseUrl); chat.loadMore();
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; /** * Tests for {@link ClosingFuture} that exercise {@link * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}. */ public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/benchmarks_test.go
b.Skip("skipping benchmark in race mode") } for _, call := range []struct { name string f func() }{ { // The number should match nAttrsInline in slog/record.go. // This should exercise the code path where no allocations // happen in Record or Attr. If there are allocations, they // should only be from Duration.String and Time.String. "5 args", func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 4.5K bytes - Viewed (0) -
src/testing/cover.go
// If coverage is not enabled, Coverage returns 0. // // When running a large set of sequential test cases, checking Coverage after each one // can be useful for identifying which test cases exercise new code paths. // It is not a replacement for the reports generated by 'go test -cover' and // 'go tool cover'. func Coverage() float64 { if goexperiment.CoverageRedesign { return coverage2() } var n, d int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:37:31 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go
} if len(c.watchers.allWatchers) > 0 || len(c.watchers.valueWatchers) > 0 { // We could consider terminating those watchers, but given // watchcache doesn't really support compaction and we don't // exercise it in tests, we just throw an error here. t.Error("Open watchers are not supported during compaction") } for c.watchCache.startIndex < c.watchCache.endIndex {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 20:43:52 UTC 2023 - 3.8K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // - 1.5 will be serialized as "1500m" // - 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a // floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, // but will be re-emitted in their canonical form. (So always use canonical // form, or don't diff.) //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
tests/integration/pilot/README.md
# Writing Tests for VMs This document describes the integration and extension mechanisms to exercise VM related code. The primary goals are to: 1. Test VM-related Istio code so that newly submitted commits won't break VM support 1. Ensure the code works on a range of supported OS types and versions. **Note: We currently use mock/simulated VMs for testing purposes. In the future, the testing might switch to utilize actual compute instances from different providers.**
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 07 21:28:34 UTC 2023 - 3.7K bytes - Viewed (0) -
src/os/user/user_test.go
t.Fatalf("Current: %v", err) } else { t.Skipf("skipping: %v", err) } } // TODO: Lookup() has a fast path that calls Current() and returns if the // usernames match, so this test does not exercise very much. It would be // good to try and test finding a different user than the current user. got, err := Lookup(want.Username) if err != nil { t.Fatalf("Lookup: %v", err) } compare(t, want, got) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 15:59:43 UTC 2023 - 4K bytes - Viewed (0)