Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 354 for Dispatch (0.15 sec)

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

     * limitations under the License.
     */
    
    package org.gradle.internal.remote.internal.hub;
    
    import org.gradle.internal.serialize.*;
    import org.gradle.internal.dispatch.MethodInvocation;
    
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.util.HashMap;
    import java.util.Map;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/cors.go

    		w.Header().Set("Access-Control-Allow-Credentials", allowCredentials)
    
    		// Stop here if its a preflight OPTIONS request
    		if req.Method == "OPTIONS" {
    			w.WriteHeader(http.StatusNoContent)
    			return
    		}
    
    		// Dispatch to the next handler
    		handler.ServeHTTP(w, req)
    	})
    }
    
    // isOriginAllowed returns true if the given origin header in the
    // request is allowed CORS.
    //
    // From https://www.rfc-editor.org/rfc/rfc6454#page-13
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 15 13:59:10 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

    import java.io.IOException
    import okhttp3.Protocol
    import okio.BufferedSource
    
    /**
     * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client.
     * Implementations must quickly dispatch callbacks to avoid creating a bottleneck.
     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                }
    
                @Override
                public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
                        throws java.io.IOException, ServletException {
    
                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        MockWebServer server = new MockWebServer();
        server.useHttps(sslContext.getSocketFactory(), false);
        server.setDispatcher(this);
        server.start(port);
      }
    
      @Override public MockResponse dispatch(RecordedRequest request) {
        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
          File file = new File(root + path);
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

                    try {
                        final ReportStatus statusCommand = new ReportStatus(idGenerator.generateId(), daemon.getToken());
                        final Status status = reportStatusDispatcher.dispatch(connection, statusCommand);
                        if (status != null) {
                            statuses.add(status);
                        } else { // Handle failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. docs/features/calls.md

    Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled.
    
    ## Dispatch
    
    For synchronous calls, you bring your own thread and are responsible for managing how many simultaneous requests you make. Too many simultaneous connections wastes resources; too few harms latency.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. pkg/kubelet/container/os.go

    	Glob(pattern string) ([]string, error)
    	Open(name string) (*os.File, error)
    	OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
    	Rename(oldpath, newpath string) error
    }
    
    // RealOS is used to dispatch the real system level operations.
    type RealOS struct{}
    
    // MkdirAll will call os.MkdirAll to create a directory.
    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.remote.internal.hub
    
    import org.gradle.internal.dispatch.MethodInvocation
    import org.gradle.internal.serialize.kryo.KryoBackedDecoder
    import org.gradle.internal.serialize.kryo.KryoBackedEncoder
    import spock.lang.Specification
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/scope_internal.h

      const string& name() const { return name_; }
      const std::vector<Operation>& control_deps() const { return control_deps_; }
    
     private:
      friend class Scope;
    
      // Tag types to choose the constructor to dispatch.
      struct Tags {
        enum class ScopeName;
        enum class OpName;
        enum class ControlDeps;
        enum class Device;
        enum class SingleUseScope;
        enum class ExitOnError;
        enum class KernelLabel;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top