Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for exercise (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/crypto/ed25519/ed25519vectors_test.go

    import (
    	"crypto/ed25519"
    	"encoding/hex"
    	"encoding/json"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"testing"
    )
    
    // TestEd25519Vectors runs a very large set of test vectors that exercise all
    // combinations of low-order points, low-order components, and non-canonical
    // encodings. These vectors lock in unspecified and spec-divergent behaviors in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. src/sort/example_multi_test.go

    // the two items (one is less than the other). Note that it can call the
    // less functions twice per call. We could change the functions to return
    // -1, 0, 1 and reduce the number of calls for greater efficiency: an
    // exercise for the reader.
    func (ms *multiSorter) Less(i, j int) bool {
    	p, q := &ms.changes[i], &ms.changes[j]
    	// Try all but the last comparison.
    	var k int
    	for k = 0; k < len(ms.less)-1; k++ {
    		less := ms.less[k]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top