Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for ParseInt (0.08 sec)

  1. internal/config/api/api.go

    	maxVerStr := env.Get(EnvAPIObjectMaxVersions, "")
    	if maxVerStr == "" {
    		maxVerStr = env.Get(EnvAPIObjectMaxVersionsLegacy, kvs.Get(apiObjectMaxVersions))
    	}
    	if maxVerStr != "" {
    		maxVersions, err := strconv.ParseInt(maxVerStr, 10, 64)
    		if err != nil {
    			return cfg, err
    		}
    		if maxVersions <= 0 {
    			return cfg, fmt.Errorf("invalid object max versions value: %v", maxVersions)
    		}
    		cfg.ObjectMaxVersions = maxVersions
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                        if (value != null) {
                            if (!currentDirectiveList.isEmpty() && !StringUtil.isEmpty(value)) {
                                try {
                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
                                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/FessBoot.java

         */
        protected static int getPort() {
            final String value = System.getProperty(FESS_PORT);
            if (value != null) {
                return Integer.parseInt(value);
            }
            return 8080;
        }
    
        /**
         * Gets the context path for the web application from system properties.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
            ace.flags = Integer.parseInt(flagsHex.substring(2), 16);
            assertEquals(expectedText, ace.getApplyToText());
        }
    
        @Test
        @DisplayName("Test toString format for allow ACE")
        void testToStringAllowACE() throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                int index = response.indexOf(' ');
                while (response.charAt(index) == ' ') {
                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
                throw new IOException(ex.getMessage());
            }
        }
    
        private void doHandshake() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = Integer.parseInt(obj.toString());
            }
    
            return value;
        }
    
        /**
         * Retrieves a setting value as a long.
         * @param key The key of the setting.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default int getSystemPropertyAsInt(final String key, final int defaultValue) {
            final String value = getSystemProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    // ignore
                }
            }
            return defaultValue;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            String clean = s.replaceAll("[^0-9A-Fa-f]", "");
            int len = clean.length();
            byte[] out = new byte[len / 2];
            for (int i = 0; i < len; i += 2) {
                out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16);
            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                for (int i = 0; i < maxLength; i++) {
                    int currentPart = i < currentParts.length ? Integer.parseInt(currentParts[i]) : 0;
                    int minPart = i < minParts.length ? Integer.parseInt(minParts[i]) : 0;
    
                    if (currentPart < minPart) {
                        return true;
                    } else if (currentPart > minPart) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top