Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for parseRequest (0.14 sec)

  1. guava/src/com/google/common/primitives/ParseRequest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ParseRequest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. pkg/test/echo/server/forwarder/dns.go

    }
    
    func checkIn(got string, want ...string) error {
    	for _, w := range want {
    		if w == got {
    			return nil
    		}
    	}
    	return fmt.Errorf("got value %q, wanted one of %v", got, want)
    }
    
    func parseRequest(inputURL string) (dnsRequest, error) {
    	req := dnsRequest{}
    	u, err := url.Parse(inputURL)
    	if err != nil {
    		return req, err
    	}
    	qp, err := url.ParseQuery(u.RawQuery)
    	if err != nil {
    		return req, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 10 18:09:08 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            elementsFile = new Hashtable<>();
            elementsAll = new Hashtable<>();
        }
    
        protected List<FileItem> parseRequest(final HttpServletRequest request, final ServletFileUpload upload) throws FileUploadException {
            return upload.parseRequest(request);
        }
    
        protected void mappingParameter(final HttpServletRequest request, final List<FileItem> items) {
            showFieldLoggingTitle();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        return;
                    }
                    try {
                        List<FileItem> multiparts = new ServletFileUpload(new DiskFileItemFactory()).parseRequest(request);
                        for (FileItem item : multiparts) {
                            if (!item.isFormField()) {
                                // item is not form field.
                            } else {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInts.java

       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedLongs.java

       *     value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static long decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *     value
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static long decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top