Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 2,448 for request (0.31 sec)

  1. internal/grid/grid_test.go

    	errFatal(err)
    
    	// Start sending requests.
    	go func() {
    		for i := range byte(100) {
    			st.Requests <- []byte{i}
    		}
    		close(st.Requests)
    	}()
    	// Now do 100 other requests to ensure that the server doesn't block.
    	for range 100 {
    		_, err := remoteConn.Request(ctx, handlerTest2, []byte(testPayload))
    		errFatal(err)
    	}
    	// Start processing requests.
    	close(processHandler)
    
    	// Drain responses
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // All sizes should be accepted without exception
            assertDoesNotThrow(() -> request.setFileId(shortFileId), "Should handle 8-byte file ID");
            assertDoesNotThrow(() -> request.setFileId(standardFileId), "Should handle 16-byte file ID");
            assertDoesNotThrow(() -> request.setFileId(longFileId), "Should handle 32-byte file ID");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. cmd/jwt.go

    	return jwt.SignedString([]byte(secretKey))
    }
    
    // Check if the request is authenticated.
    // Returns nil if the request is authenticated. errNoAuthToken if token missing.
    // Returns errAuthentication for all other errors.
    func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) {
    	token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. cmd/healthcheck-handler.go

    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	return objLayer
    }
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := checkHealth(w)
    	if objLayer == nil {
    		return
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                final RequestParam... params) throws CIFSException {
            return this.treeConnection.send(this.resourceLoc, request, response, params);
        }
    
        /**
         *
         * @param request
         * @param response
         * @param params
         * @return response
         * @throws CIFSException
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SmbNegotiation.java

            this.request = request;
            this.response = response;
            this.negoReqBuffer = negoReqBuffer;
            this.negoRespBuffer = negoRespBuffer;
        }
    
        /**
         * Gets the negotiation request.
         *
         * @return the request
         */
        public SmbNegotiationRequest getRequest() {
            return this.request;
        }
    
        /**
         * Gets the negotiation response.
         *
         * @return the response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * The URL for the HTTP request.
         */
        protected String url;
    
        /**
         * The proxy to be used for the HTTP request.
         */
        protected Proxy proxy;
    
        /**
         * The character encoding for the request.
         */
        protected String encoding = "UTF-8";
    
        /**
         * The threshold size for the request body.
         */
        protected int threshold = 1024 * 1024; // 1MB
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/FessActionValidator.java

        /**
         * Constructs a new FessActionValidator with the specified components.
         *
         * @param requestManager the request manager for handling HTTP requests
         * @param messagesCreator the creator for user messages
         * @param runtimeGroups the runtime validation groups
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    		t.Errorf("Expected service command %v but received %v", expectedCmd, serviceCmd)
    	}
    }
    
    // getServiceCmdRequest - Constructs a management REST API request for service
    // subcommands for a given cmdType value.
    func getServiceCmdRequest(cmd cmdType, cred auth.Credentials) (*http.Request, error) {
    	queryVal := url.Values{}
    	queryVal.Set("action", string(cmd.toServiceAction()))
    	queryVal.Set("type", "2")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            request.setGoals(context.options().goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!context.options().nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(context.options().offline().orElse(request.isOffline()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top