Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for requestKind (0.36 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/Connection.java

     * <ul>
     * <li>should allow separate threads for dispatching and receiving, i.e. single thread that dispatches
     * and a different single thread that receives should be perfectly safe</li>
     * <li>should allow stopping or requesting stopping from a different thread than receiving/dispatching</li>
     * <li>don't guarantee allowing multiple threads dispatching</li>
     * </ul>
     */
    public interface Connection<T> extends Dispatch<T>, Receive<T>, Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractFailure.java

        public boolean isFailure() {
            return true;
        }
    
        @Override
        public RuntimeException getFailure() {
            return failure;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) {
            throw new IllegalStateException();
        }
    
        protected static String withLeadingSlash(String path) {
            if (path.startsWith("/")) {
                return path;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResponseProducer.java

    interface ResponseProducer {
        default boolean isFailure() {
            return false;
        }
    
        /**
         * Called to handle a request. Is *not* called under lock.
         */
        void writeTo(int requestId, HttpExchange exchange) throws IOException;
    
        /**
         * Returns the failure, if any.
         */
        default RuntimeException getFailure() {
            throw new IllegalStateException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. pkg/test/echo/server/forwarder/util.go

    const (
    	hostHeader = "Host"
    )
    
    var fwLog = log.RegisterScope("forwarder", "echo clientside")
    
    func writeForwardedHeaders(out *bytes.Buffer, requestID int, header http.Header) {
    	for key, values := range header {
    		for _, v := range values {
    			echo.ForwarderHeaderField.WriteKeyValueForRequest(out, requestID, key, v)
    		}
    	}
    }
    
    func newDialer(cfg *Config) hbone.Dialer {
    	if cfg.Request.Hbone.GetAddress() != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

        validations:
          required: true
      - type: textarea
        id: retraction-reason
        attributes:
          label: "What is the reason that you could not retract this package instead?"
          description: |
            Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
            It does not affect the behaviour of proxy.golang.org or the go command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethodAndRunAction.java

            return path;
        }
    
        @Override
        public ResourceHandler create(WaitPrecondition precondition) {
            return this;
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) {
            action.execute(exchange);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/buildSrc/src/main/java/org/gradle/sample/transform/javamodules/ExtraModuleInfoPlugin.java

            Attribute<Boolean> javaModule = Attribute.of("javaModule", Boolean.class);
    
            // compile and runtime classpath express that they only accept modules by requesting the javaModule=true attribute
            project.getConfigurations().matching(this::isResolvingJavaPluginConfiguration).all(
                    c -> c.getAttributes().attribute(javaModule, true));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/CorePluginResolver.java

            if (!pluginRequest.isApply()) {
                throw new InvalidPluginRequestException(pluginRequest,
                    getCorePluginClarification(pluginRequest) + "which is already on the classpath. "
                        + "Requesting it with the 'apply false' option is a no-op."
                );
            }
        }
    
        private static String getCorePluginClarification(PluginRequestInternal pluginRequest) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/cc/training/coordinator.cc

      // TODO(yuefengz): deal with stragglers.
      {
        mutex_lock l(mu_);
        if (!should_stop_) {
          return Status(absl::StatusCode::kFailedPrecondition,
                        "Joining coordinator without requesting to stop.");
        }
      }
    
      {
        mutex_lock l(runners_lock_);
        for (const auto& t : runners_) {
          ReportStatus(t->Join());
        }
        runners_.clear();
      }
      return GetStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultToolchainSpec.java

                // https://github.com/gradle/gradle/issues/23155
                // This should make the spec invalid when the enum gets removed
                DeprecationLogger.deprecateBehaviour("Requesting JVM vendor IBM_SEMERU.")
                    .willBeRemovedInGradle9()
                    .withUpgradeGuideSection(8, "ibm_semeru_should_not_be_used")
                    .nagUser();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top