Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for Stopping (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            }
        }
    
        private void stopBeforeTaskGraphCalculation() {
            buildFile << """
                gradle.projectsEvaluated {
                    throw new RuntimeException("stopping before task graph calculation")
                }
            """
        }
    
        private void register(String name) {
            buildFile << """
                tasks.register("$name")
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    }
    
    // Stop stops the gRPC server. Can be called without a prior Start
    // and more than once. Not safe to be called concurrently by different
    // goroutines!
    func (m *Stub) Stop() error {
    	klog.InfoS("Stopping device plugin server")
    	if m.server == nil {
    		return nil
    	}
    
    	m.kubeletRestartWatcher.Close()
    
    	m.server.Stop()
    	m.wg.Wait()
    	m.server = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    			}
    			if objectName != testCase.object {
    				t.Errorf("failed expected bucket name \"%s\", got \"%s\"", testCase.object, objectName)
    			}
    		})
    	}
    }
    
    // Add tests for starting and stopping different profilers.
    func TestStartProfiler(t *testing.T) {
    	_, err := startProfiler("")
    	if err == nil {
    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	filter := func(string, labels.Set, fields.Set) bool { return true }
    	forget := func(drainWatcher bool) {
    		lock.Lock()
    		defer lock.Unlock()
    		count++
    		// forget() has to stop the watcher, as only stopping the watcher
    		// triggers stopping the process() goroutine which we are in the
    		// end waiting for in this test.
    		w.setDrainInputBufferLocked(drainWatcher)
    		w.stopLocked()
    	}
    	initEvents := []*watchCacheEvent{
    		{Object: &v1.Pod{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

         * This method does not quite conform to the semantics of the Stoppable contract in that it will NOT
         * wait for any executing builds to stop before returning. This is by design as we currently have no way of
         * gracefully stopping a build process and blocking until it's done would not allow us to tear down the jvm
         * like we need to. This may change in the future if we create a way to interrupt a build.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharStreams.java

        String line;
        while ((line = lineReader.readLine()) != null) {
          result.add(line);
        }
        return result;
      }
    
      /**
       * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
       * or all lines have been read and returning the result produced by the processor. Does not close
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/worker.go

    // stop channel is closed. The worker uses the probe Manager's statusManager to get up-to-date
    // container IDs.
    type worker struct {
    	// Channel for stopping the probe.
    	stopCh chan struct{}
    
    	// Channel for triggering the probe manually.
    	manualTriggerCh chan struct{}
    
    	// The pod containing this probe (read-only)
    	pod *v1.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// The cache pruning thread that removes files with expired blocks.
      std::unique_ptr<TF_Thread, std::function<void(TF_Thread*)>> pruning_thread_;
    
      /// Notification for stopping the cache pruning thread.
      absl::Notification stop_pruning_thread_;
    
      /// Guards access to the block map, LRU list, and cached byte count.
      mutable absl::Mutex mu_;
    
      /// The block map (map from Key to Block).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  9. src/runtime/metrics.go

    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.timeToRun.write(out)
    			},
    		},
    		"/sched/pauses/stopping/gc:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeGC.write(out)
    			},
    		},
    		"/sched/pauses/stopping/other:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeOther.write(out)
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharStreams.java

        String line;
        while ((line = lineReader.readLine()) != null) {
          result.add(line);
        }
        return result;
      }
    
      /**
       * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
       * or all lines have been read and returning the result produced by the processor. Does not close
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top