- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 248 for exercise (0.13 sec)
-
test/heapsampling.go
func main() { // Sample at 16K instead of default 512K to exercise sampling more heavily. runtime.MemProfileRate = 16 * 1024 if err := testInterleavedAllocations(); err != nil { panic(err.Error()) } if err := testSmallAllocations(); err != nil { panic(err.Error()) } } // Repeatedly exercise a set of allocations and check that the heap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 27 21:36:06 UTC 2022 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
import com.google.common.util.concurrent.ClosingFuture.DeferredCloser; import java.io.Closeable; import java.util.concurrent.ExecutionException; /** Tests for {@link ClosingFuture} that exercise {@link ClosingFuture#finishToFuture()}. */ public class ClosingFutureFinishToFutureTest extends AbstractClosingFutureTest { public void testFinishToFuture_throwsIfCalledTwice() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
import com.google.common.util.concurrent.ClosingFuture.DeferredCloser; import java.io.Closeable; import java.util.concurrent.ExecutionException; /** Tests for {@link ClosingFuture} that exercise {@link ClosingFuture#finishToFuture()}. */ public class ClosingFutureFinishToFutureTest extends AbstractClosingFutureTest { public void testFinishToFuture_throwsIfCalledTwice() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy
when: // Exercise setters bean.url = 'lower-case' bean.URL = 'upper-case' bean.cCompiler = 'lower-case first char' bean.CCompiler = 'upper-case first char' bean.cppCompiler = 'cppCompiler' bean.CPPCompiler = 'CPPCompiler' bean.a = 'some a' bean.b = 'some b' then: // Exercise getters
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.8K bytes - Viewed (0) -
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) -
src/net/dial_unix_test.go
err := oldConnectFunc(fd, addr) t.Logf("connect(%d, addr) = %v", fd, err) if err == nil { // On some operating systems, localhost // connects _sometimes_ succeed immediately. // Prevent that, so we exercise the code path // we're interested in testing. This seems // harmless. It makes FreeBSD 10.10 work when // run with many iterations. It failed about // half the time previously. return syscall.EINPROGRESS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go
exerciseTimingRatioHistogram(t, testHistogramName, t0, clk, registry, tro) } // exerciseTimingRatioHistogram does a rough behavioral test of a // RatioedObserver. A fake clock is used, and the exercise consists // of repeatedly changing that fake clock by an amount of time chosen // uniformly at random from a range that goes from a little negative // to somewhat more than two milliseconds. The negative changes are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 16:03:06 UTC 2022 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/node_expansion_test.py
# imported into MLIR for "no-op" node expansion. def testVarHandleOp(self): x = constant_op.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]]) # Note: we purposely make multiple calls to VarHandleOp to exercise the # cached kernal lookup path that was exhibiting the VarHandleOp import # issue. unused_ = gen_resource_variable_ops.VarHandleOp( dtype=dtypes.float32, shape=[3, 2])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 3.9K 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)