Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 994 for cancels (0.18 sec)

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

            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            and:
            daemons.daemon.stops()
        }
    
        def "daemon is idle after the client disconnects and build cancels in a timely manner"() {
            buildFile << """
                task block {
                    doLast {
                        ${server.callFromBuild("block")}
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    	if err != nil {
    		atomic.AddInt64(&h.failedMessages, 1)
    		return
    	}
    	// Delete the event from store.
    	return h.store.Del(key.Name)
    }
    
    // Cancel - cancels the target
    func (h *Target) Cancel() {
    	// If queuestore is configured, cancel it's context to
    	// stop the replay go-routine.
    	if h.store != nil {
    		h.storeCtxCancel()
    	}
    
    	// Set logch to nil and close it.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/noderesources.go

    // and the gRPC stream that is used to retrieve that. The context
    // used by that stream can be canceled separately to stop
    // the monitoring.
    type activePlugin struct {
    	// cancel is the function which cancels the monitorPlugin goroutine
    	// for this plugin.
    	cancel func(reason error)
    
    	// resources is protected by the nodeResourcesController read/write lock.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/EventListener.kt

      ) {
      }
    
      /**
       * Invoked when a call is canceled.
       *
       * Like all methods in this interface, this is invoked on the thread that triggered the event. But
       * while other events occur sequentially; cancels may occur concurrently with other events. For
       * example, thread A may be executing [responseBodyStart] while thread B executes [canceled].
       * Implementations must support such concurrent calls.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    		atomic.AddInt64(&h.failedMessages, 1)
    		return errors.New("log buffer full")
    	}
    
    	return nil
    }
    
    // Cancel - cancels the target.
    // All queued messages are flushed and the function returns afterwards.
    // All messages sent to the target after this function has been called will be dropped.
    func (h *Target) Cancel() {
    	atomic.StoreInt32(&h.status, statusClosed)
    	h.storeCtxCancel()
    
    	// Wait for messages to be sent...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

                }
            """
    
            then:
            fails("b")
            failureDescriptionContains("Could not determine the dependencies of task ':b'.")
        }
    
        def "failure to determine inputs cancels build and has a reasonable message after initial success"() {
            when:
            def bFlag = file("bFlag")
            file("inputA").createFile()
            buildScript """
                task a {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  7. pilot/pkg/model/config.go

    //
    // Update notifications require the following consistency guarantee: the view
    // in the cache must be AT LEAST as fresh as the moment notification arrives, but
    // MAY BE more fresh (e.g. if _Delete_ cancels an _Add_ event).
    //
    // Handlers execute on the single worker queue in the order they are appended.
    // Handlers receive the notification event and the associated object.  Note
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    	//
    	// If RoundTrip returns an error, it cancels this context before returning.
    	//
    	// If RoundTrip returns no error:
    	//   - For an HTTP/1 request, persistConn.readLoop cancels this context
    	//     after reading the request body.
    	//   - For an HTTP/2 request, RoundTrip cancels this context after the HTTP/2
    	//     RoundTripper returns.
    	ctx, cancel := context.WithCancelCause(req.Context())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/context/context_test.go

    	defer cancel3()
    	checkNoGoroutine()
    
    	_, cancel3b := WithCancel(&myDoneCtx{ctx2})
    	defer cancel3b()
    	checkCreatedGoroutine() // ctx1 is not providing Done, must not be used
    
    	ctx4, cancel4 := WithTimeout(ctx3, veryLongDuration)
    	defer cancel4()
    	checkNoGoroutine()
    
    	ctx5, cancel5 := WithCancel(ctx4)
    	defer cancel5()
    	checkNoGoroutine()
    
    	cancel5()
    	checkNoGoroutine()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pilot/pkg/model/network.go

    	n.cleanupWatches(names)
    
    	out := make(map[string][]string, len(names))
    	for name := range names {
    		out[name] = n.resolveFromCache(name)
    	}
    
    	return out
    }
    
    // cleanupWatches cancels any scheduled re-resolve for names we no longer care about
    func (n *networkGatewayNameCache) cleanupWatches(names sets.String) {
    	for name, entry := range n.cache {
    		if names.Contains(name) {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top