Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 385 for Stopping (0.21 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

            busy()
    
            when:
            completeBuild()
    
            then:
            idle()
    
            when:
            stopDaemons()
    
            then:
            stopped()
        }
    
        def "stopping daemon that is building shows message"() {
            when:
            startBuild()
    
            then:
            waitForBuildToWait()
    
            when:
            stopDaemons()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. test/rotate.go

    `
    
    const checkFunc = `
    func check_XXX(desc string, have, want XXX) {
    	if have != want {
    		nfail++
    		fmt.Printf("%s = %T(%#x), want %T(%#x)\n", desc, have, have, want, want)
    		if nfail >= 100 {
    			fmt.Printf("BUG: stopping after 100 failures\n")
    			os.Exit(0)
    		}
    	}
    }
    `
    
    var (
    	uop = [2]func(x, y uint64) uint64{
    		func(x, y uint64) uint64 {
    			return x | y
    		},
    		func(x, y uint64) uint64 {
    			return x ^ y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

     *
     * TODO - this type could be simplified, as there is no longer any need to send/receive messages to/from multiple connections
     */
    public class MessageHub implements AsyncStoppable {
        private enum State {Running, Stopping, Stopped}
    
        private static final Discard DISCARD = new Discard();
        private final ManagedExecutor workers;
        private final String displayName;
        private final Action<? super Throwable> errorHandler;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

            when:
            async {
                queue.submit(execution)
                result = execution.await()
            }
    
            then:
            result == "foo"
        }
    
        def "stopping the queue stops the underlying executor"() {
            ExecutorFactory factory = Mock(ExecutorFactory)
            ManagedExecutor executor = Mock(ManagedExecutor)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    // fn triggers a GC STW. Otherwise, fn triggers an other STW.
    func testSchedPauseMetrics(t *testing.T, fn func(t *testing.T), isGC bool) {
    	m := []metrics.Sample{
    		{Name: "/sched/pauses/stopping/gc:seconds"},
    		{Name: "/sched/pauses/stopping/other:seconds"},
    		{Name: "/sched/pauses/total/gc:seconds"},
    		{Name: "/sched/pauses/total/other:seconds"},
    	}
    
    	stoppingGC := &m[0]
    	stoppingOther := &m[1]
    	totalGC := &m[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. pkg/controller/nodeipam/node_ipam_controller.go

    		go nc.legacyIPAM.Run(ctx)
    	} else {
    		go nc.cidrAllocator.Run(ctx)
    	}
    
    	<-ctx.Done()
    }
    
    // RunWithMetrics is a wrapper for Run that also tracks starting and stopping of the nodeipam controller with additional metric
    func (nc *Controller) RunWithMetrics(ctx context.Context, controllerManagerMetrics *controllersmetrics.ControllerManagerMetrics) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

            when:
            daemon.assertIdle()
            daemon.kill()
            poll(60) {
                server.tryStart(daemon.port)
            }
    
            then:
            //most fundamentally, stopping works ok:
            stopDaemonsNow()
    
            and:
            output.contains DaemonMessages.REMOVING_DAEMON_ADDRESS_ON_FAILURE
            output.contains DaemonMessages.UNABLE_TO_STOP_DAEMON
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/internal/trace/testtrace/validation.go

    					}
    					ctx.G = trace.NoGoroutine
    					state.binding = nil
    				} else {
    					e.Errorf("stopping goroutine %d not bound to any active context", id)
    				}
    			}
    		case trace.ResourceProc:
    			// Basic state transition validation.
    			id := tr.Resource.Proc()
    			old, new := tr.Proc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
                    logger.info("Stopping process {}", sessionId);
                }
                if ((destroyProcess(sessionId) == 0) && logger.isInfoEnabled()) {
                    logger.info("Stopped process {}", sessionId);
                }
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/build/PlannedNodeGraph.java

                }
    
                return nodeIdentityCache.computeIfAbsent(node, converter::getNodeIdentity);
            }
        }
    
        /**
         * Computes dependencies of a node in breadth-first order, stopping at each dependency for which identity is provided.
         */
        private static <T> List<NodeIdentity> computeDependencies(
            DependencyTraverser<T> traverser,
            IdentityProvider<T> identityProvider,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 22 15:46:00 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top