Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for Parallel (0.19 sec)

  1. src/time/tick_test.go

    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"fmt"
    	"runtime"
    	"sync"
    	"testing"
    	. "time"
    )
    
    func TestTicker(t *testing.T) {
    	t.Parallel()
    
    	// We want to test that a ticker takes as much time as expected.
    	// Since we don't want the test to run for too long, we don't
    	// want to use lengthy times. This makes the test inherently flaky.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/os/exec_test.go

    	select {
    	case <-time.After(1 * time.Second):
    		t.Error("timeout waiting for signal")
    	case <-c:
    		// Good
    	}
    }
    
    func TestProcessReleaseTwice(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatalf("Pipe() got err %v, want nil", err)
    	}
    	defer r.Close()
    	defer w.Close()
    
    	p, err := os.StartProcess(testenv.GoToolPath(t), []string{"go"}, &os.ProcAttr{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cluster/gce/upgrade.sh

            # Wait for each of the parallel node upgrades to finish.
            for pid in "${pids[@]}"; do
              wait "$pid"
              ret_code_sum=$(( ret_code_sum + $? ))
            done
            # Return even if at least one of the node upgrades failed.
            if [[ ${ret_code_sum} != 0 ]]; then
              echo "== Some of the ${node_upgrade_parallelism} parallel node upgrades failed. =="
              return ${ret_code_sum}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

    @LeaksFileHandles
    class CrossVersionToolingApiSpecificationRetryTest extends ToolingApiSpecification {
    
        def setup() {
            //these meta tests mess with the daemon log: do not interfere with other tests when running in parallel
            toolingApi.requireIsolatedDaemons()
        }
    
        def iteration = 0
    
        def "does not retry if NPE is thrown in daemon registry in >=1.8"() {
            given:
            iteration++
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. samples/addons/loki.yaml

        app.kubernetes.io/version: "3.0.0"
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/component: single-binary
        app.kubernetes.io/part-of: memberlist
    spec:
      replicas: 1
      podManagementPolicy: Parallel
      updateStrategy:
        rollingUpdate:
          partition: 0
      serviceName: loki-headless
      revisionHistoryLimit: 10
      
      persistentVolumeClaimRetentionPolicy:
        whenDeleted: Delete
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return True if the <code>Mojo</code> is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public boolean isThreadSafe() {
            return threadSafe;
        }
    
        /**
         * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel
         * @since 3.0-beta-2
         */
        public void setThreadSafe(boolean threadSafe) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultBuildTreeModelControllerServices.kt

    
    class DefaultBuildTreeModelControllerServices : BuildTreeModelControllerServices {
        companion object {
            private
            val parallelBuilding = InternalFlag("org.gradle.internal.tooling.parallel", true)
    
            private
            val invalidateCoupledProjects = InternalFlag("org.gradle.internal.invalidate-coupled-projects", true)
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
              </description>
              <defaultValue>false</defaultValue>
            </field>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyGraphBuilder.java

                }
            }
            // Only download in parallel if there is more than 1 component to download
            if (requiringDownload != null && requiringDownload.size() > 1) {
                final ImmutableList<ComponentState> toDownloadInParallel = ImmutableList.copyOf(requiringDownload);
                LOGGER.debug("Submitting {} metadata files to resolve in parallel for {}", toDownloadInParallel.size(), node);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      FillOp fill = builder.create<FillOp>(loc, shape, zero);
      fill->setAttr(kICIWeightDistributionMlirBridgeMarker,
                    builder.getBoolAttr(true));
      return fill;
    }
    
    // Add parallel collection of inputs to the replicated op.
    LogicalResult AppendReplicatedInput(OpBuilder& builder, ReplicateOp replicate,
                                        ValueRange inputs, Type type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top