Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for coordinator (0.14 sec)

  1. tensorflow/cc/training/coordinator.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/cc/training/coordinator.h"
    
    namespace tensorflow {
    
    Coordinator::Coordinator() : Coordinator(std::vector<error::Code>()) {}
    
    Coordinator::Coordinator(const std::vector<error::Code>& clean_stop_errors)
        : should_stop_(false) {
      if (clean_stop_errors.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

                coordinator.getIdleMillis() == 0L
            }
        }
    
        def "idle millis is > 0 when daemon is idle"() {
            when:
            coordinator.updateActivityTimestamp()
            sleep(10)
    
            then:
            idle
            coordinator.getIdleMillis() > 0
        }
    
        boolean isNotStopped() {
            return coordinator.state != Stopped && coordinator.state != ForceStopped
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        // Queue a task to interrupt the waiting coordinator.
        serialTaskQueue +=
          object : SerialTask {
            override fun start() {
              taskRunner.assertThreadHoldsLock()
              waitingCoordinatorInterrupted = true
              val coordinatorTask = waitingCoordinatorTask ?: error("no coordinator waiting")
              currentTask = coordinatorTask
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/cc/training/queue_runner.cc

      result->reset(new QueueRunner());
      return (*result)->Init(queue_runner_def);
    }
    
    Status QueueRunner::New(const QueueRunnerDef& queue_runner_def,
                            Coordinator* coord,
                            std::unique_ptr<QueueRunner>* result) {
      result->reset(new QueueRunner());
      (*result)->coord_ = coord;
      return (*result)->Init(queue_runner_def);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              return readyTask
            }
    
            // Notify the coordinator of a task that's coming up soon.
            coordinatorWaiting -> {
              if (minDelayNanos < coordinatorWakeUpAt - now) {
                backend.coordinatorNotify(this@TaskRunner)
              }
              return null
            }
    
            // No other thread is coordinating. Become the coordinator!
            else -> {
              coordinatorWaiting = true
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

      @Test fun onlyOneCoordinatorWaitingToStartFutureTasks() {
        // Enqueueing the red task starts a coordinator thread.
        redQueue.execute("red task", 100.µs) {
          log += "red:run@${taskFaker.nanoTime}"
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Enqueueing the blue task doesn't need a 2nd coordinator yet.
        blueQueue.execute("blue task", 200.µs) {
          log += "blue:run@${taskFaker.nanoTime}"
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. src/testing/fuzz.go

    		return !t.Failed()
    	}
    
    	switch f.fuzzContext.mode {
    	case fuzzCoordinator:
    		// Fuzzing is enabled, and this is the test process started by 'go test'.
    		// Act as the coordinator process, and coordinate workers to perform the
    		// actual fuzzing.
    		corpusTargetDir := filepath.Join(corpusDir, f.name)
    		cacheTargetDir := filepath.Join(*fuzzCacheDir, f.name)
    		err := f.fuzzContext.deps.CoordinateFuzzing(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. src/testing/internal/testdeps/deps.go

    	// to all processes in that group. This is not the case on Windows.
    	// If the worker is interrupted, return quickly and without error.
    	// If only the coordinator process is interrupted, it tells each worker
    	// process to stop by closing its "fuzz_in" pipe.
    	ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
    	defer cancel()
    	err := fuzz.RunFuzzWorker(ctx, fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/dist/test.go

    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    	// the caller lists specific tests to run. (as the continuous
    	// build coordinator does).
    	if len(t.runNames) > 0 {
    		for _, name := range t.runNames {
    			if !strings.Contains(name, ":") {
    				t.registerStdTest(name)
    			} else if strings.HasSuffix(name, ":racebench") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/coordination.k8s.io.v1.Lease.yaml

    apiVersion: coordination.k8s.io/v1
    kind: Lease
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top