Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 458 for Parallel (0.23 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          log += "three:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).isEmpty()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactlyInAnyOrder(
          "one:run@100000 parallel=true",
          "two:run@100000 parallel=true",
          "three:run@100000 parallel=true",
        )
    
        taskFaker.assertNoMoreTasks()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tests/integration/README.md

                // ...
            }
    }
    ```
    
    Under the hood, this relies on Go's `t.Parallel()` and will, therefore, have the same behavior.
    
    A parallel test will run in parallel with siblings that share the same parent test. The parent test function
    will exit before the parallel children are executed. It should be noted that if the parent test is prevented
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. src/crypto/elliptic/elliptic_test.go

    		t.Run(test.name, func(t *testing.T) {
    			t.Parallel()
    			f(t, curve)
    		})
    	}
    }
    
    func TestOnCurve(t *testing.T) {
    	t.Parallel()
    	testAllCurves(t, func(t *testing.T, curve Curve) {
    		if !curve.IsOnCurve(curve.Params().Gx, curve.Params().Gy) {
    			t.Error("basepoint is not on the curve")
    		}
    	})
    }
    
    func TestOffCurve(t *testing.T) {
    	t.Parallel()
    	testAllCurves(t, func(t *testing.T, curve Curve) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * make it load its own version of FinalizableReferenceQueue. Then we need to interact with that
       * parallel version through reflection in order to exercise the parallel
       * FinalizableReferenceQueue, and then check that the parallel ClassLoader can be
       * garbage-collected after that.
       */
    
      public static class MyFinalizableWeakReference extends FinalizableWeakReference<Object> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/runtime/arena_test.go

    		t.Errorf("expected zero waiting arena chunks, found %d", n)
    	}
    }
    
    func runSubTestUserArenaNew[S comparable](t *testing.T, value *S, parallel bool) {
    	t.Run(reflect.TypeOf(value).Elem().Name(), func(t *testing.T) {
    		if parallel {
    			t.Parallel()
    		}
    
    		// Allocate and write data, enough to exhaust the arena.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. hack/make-rules/test.sh

    OPTIONS:
      -p <number>   : number of parallel workers, must be >= 1
    EOF
    }
    
    isnum() {
      [[ "$1" =~ ^[0-9]+$ ]]
    }
    
    PARALLEL="${PARALLEL:-1}"
    while getopts "hp:i:" opt ; do
      case ${opt} in
        h)
          kube::test::usage
          exit 0
          ;;
        p)
          PARALLEL="${OPTARG}"
          if ! isnum "${PARALLEL}" || [[ "${PARALLEL}" -le 0 ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/codehost/git_test.go

    	}
    	return NewRepo(ctx, vcsName, remote)
    }
    
    func TestTags(t *testing.T) {
    	t.Parallel()
    
    	type tagsTest struct {
    		repo   string
    		prefix string
    		tags   []Tag
    	}
    
    	runTest := func(tt tagsTest) func(*testing.T) {
    		return func(t *testing.T) {
    			t.Parallel()
    			ctx := testContext(t)
    
    			r, err := testRepo(ctx, t, tt.repo)
    			if err != nil {
    				t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

            }
    
            parallelWorkAction.writeToBuildFile()
            alternateParallelWorkAction.writeToBuildFile()
            withMultipleActionTaskTypeInBuildScript()
        }
    
        def "multiple work items can be executed in parallel in #isolationMode (wait for results: #waitForResults)"() {
            given:
            buildFile << """
                task parallelWorkTask(type: MultipleWorkItemTask) {
                    isolationMode = '$isolationMode'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  9. src/go/doc/testdata/testing.go

    func (c *common) Fatalf(format string, args ...any) {
    	c.log(fmt.Sprintf(format, args...))
    	c.FailNow()
    }
    
    // Parallel signals that this test is to be run in parallel with (and only with)
    // other parallel tests in this CPU group.
    func (t *T) Parallel() {
    	t.signal <- (*T)(nil) // Release main testing loop
    	<-t.startParallel     // Wait for serial tests to finish
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Network.java

       * an edge connecting node A to node B if this {@link Network} has an edge connecting A to B.
       *
       * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be
       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
       * in the {@link Graph} view may be less than the degree of the same node in this {@link Network}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top