Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for Parallel (0.17 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    	linkshared     = flag.Bool("linkshared", false, "")
    	updateErrors   = flag.Bool("update_errors", false, "update error messages in test file based on compiler output")
    	runoutputLimit = flag.Int("l", defaultRunOutputLimit(), "number of parallel runoutput tests to run")
    	force          = flag.Bool("f", false, "ignore expected-failure test lists")
    	target         = flag.String("target", "", "cross-compile tests for `goos/goarch`")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			t.Parallel()
    			for validRule, expectedCost := range tt.expectCost {
    				validRule := validRule
    				expectedCost := expectedCost
    				testName := validRule
    				if len(testName) > 127 {
    					testName = testName[:127]
    				}
    				t.Run(testName, func(t *testing.T) {
    					t.Parallel()
    					s := withRule(*tt.schema, validRule)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_test.go

    	// ConnectionState of the resulting connection. It returns false if the
    	// ConnectionState is unacceptable.
    	validate func(ConnectionState) error
    	// wait, if true, prevents this subtest from calling t.Parallel.
    	// If false, runServerTest* returns immediately.
    	wait bool
    }
    
    var defaultClientCommand = []string{"openssl", "s_client", "-no_ticket"}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1/types.go

    	// pod-1, etc) and the controller will wait until each pod is ready before
    	// continuing. When scaling down, the pods are removed in the opposite order.
    	// The alternative policy is `Parallel` which will create pods in parallel
    	// to match the desired scale without waiting, and on scale down will delete
    	// all pods at once.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodAddsBatching(t *testing.T) {
    	t.Parallel()
    
    	type podAdd struct {
    		delay time.Duration
    	}
    
    	tests := []struct {
    		name             string
    		batchPeriod      time.Duration
    		adds             []podAdd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    		},
    	}
    
    	for _, tc := range testCases {
    		// If using t.Parallel() you must copy the iteration to a new local variable
    		// https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			t.Parallel()
    			// Setup kube caches
    			controller, fx := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/runtime/framework.go

    	if len(plugins) > 0 {
    		logger := klog.FromContext(ctx)
    		verboseLogs := logger.V(4).Enabled()
    		if verboseLogs {
    			logger = klog.LoggerWithName(logger, "Score")
    		}
    		// Run Score method for each node in parallel.
    		f.Parallelizer().Until(ctx, len(nodes), func(index int) {
    			nodeName := nodes[index].Node().Name
    			logger := logger
    			if verboseLogs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    	key  string
    }{
    	{"ECDSA", ecdsaCertPEM, ecdsaKeyPEM},
    	{"RSA", rsaCertPEM, rsaKeyPEM},
    	{"RSA-untyped", rsaCertPEM, keyPEM}, // golang.org/issue/4477
    }
    
    func TestX509KeyPair(t *testing.T) {
    	t.Parallel()
    	var pem []byte
    	for _, test := range keyPairTests {
    		pem = []byte(test.cert + test.key)
    		if _, err := X509KeyPair(pem, pem); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            }
    
            final Deque<ActivationFrame> stk = new LinkedList<>();
    
            final Supplier<String> pathSupplier = () -> {
                final boolean parallel = false;
                return StreamSupport.stream(((Iterable<ActivationFrame>) stk::descendingIterator).spliterator(), parallel)
                        .map(ActivationFrame::location)
                        .collect(Collectors.joining("."));
            };
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * Use native <<#rel5.0:bom_import,BOM import>> in your builds.
     * The <<worker_api.adoc#worker_api,Worker API>> for enabling units of work to run in parallel.
     * A new API for <<#rel4.9:lazy_task_creation,creating and configuring tasks lazily>> that can significantly improve your build's configuration time.
    
    Other notable changes to be aware of that may break your build include:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top