Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 115 for ParseInt (0.07 sec)

  1. internal/s3select/sql/value.go

    // Converts untyped value into int. The bool return implies success -
    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    	bytes, _ := v.ToBytes()
    	i, err := strconv.ParseInt(strings.TrimSpace(string(bytes)), 10, 64)
    	return i, err == nil
    }
    
    // Converts untyped value into float. The bool return implies success
    // - it returns false only if there is a conversion failure.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal bigMean =
            new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
        // parseInt blows up on overflow as opposed to intValue() which does not.
        return Long.parseLong(bigMean.toString());
      }
    
      private static boolean fitsInLong(BigInteger big) {
        return big.bitLength() <= 63;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
                    if (threads <= 0) {
                        throw new IllegalArgumentException(
                                "Invalid threads value: '" + threadConfiguration + "'. Value must be positive.");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //             Policy.setPolicy(permissivePolicy());
      //             System.setSecurityManager(new SecurityManager());
      //         }
      //         int iters = (args.length == 0) ? 1 : Integer.parseInt(args[0]);
    
      //         Test s = suite();
      //         for (int i = 0; i < iters; ++i) {
      //             junit.textui.TestRunner.run(s);
      //             System.gc();
      //             System.runFinalization();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                return null;
            }
            final String value = namedItem.getTextContent();
            if (value == null) {
                return null;
            }
            try {
                return Integer.parseInt(value);
            } catch (final NumberFormatException e) {
                if (value.endsWith("%") || value.endsWith("px")) {
                    return null;
                }
                return 0;
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. src/main/webapp/js/jquery-3.7.1.min.js

    er-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                final HighlightInfo highlightInfo = new HighlightInfo();
                final String widthStr = req.getParameter(SCREEN_WIDTH);
                if (StringUtil.isNotBlank(widthStr)) {
                    final int width = Integer.parseInt(widthStr);
                    updateHighlightInfo(highlightInfo, width);
                    final HttpSession session = req.getSession(false);
                    if (session != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //             Policy.setPolicy(permissivePolicy());
      //             System.setSecurityManager(new SecurityManager());
      //         }
      //         int iters = (args.length == 0) ? 1 : Integer.parseInt(args[0]);
    
      //         Test s = suite();
      //         for (int i = 0; i < iters; ++i) {
      //             junit.textui.TestRunner.run(s);
      //             System.gc();
      //             System.runFinalization();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. internal/config/notify/parse.go

    			return nil, err
    		}
    
    		pingIntervalEnv := target.EnvNATSPingInterval
    		if k != config.Default {
    			pingIntervalEnv = pingIntervalEnv + config.Default + k
    		}
    
    		pingInterval, err := strconv.ParseInt(env.Get(pingIntervalEnv, kv.Get(target.NATSPingInterval)), 10, 64)
    		if err != nil {
    			return nil, err
    		}
    
    		queueLimitEnv := target.EnvNATSQueueLimit
    		if k != config.Default {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    			if sizeStr[0] == "" {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    				return
    			}
    			size, err = strconv.ParseInt(sizeStr[0], 10, 64)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    	}
    
    	if size == -1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top