Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for parse_log (0.1 sec)

  1. src/main/java/jcifs/Config.java

         */
        public static long getLong(final Properties props, final String key, long def) {
            final String s = props.getProperty(key);
            if (s != null) {
                try {
                    def = Long.parseLong(s);
                } catch (final NumberFormatException nfe) {
                    log.error("Not a number", nfe);
                }
            }
            return def;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

        protected Long getDefaultLong(final String key, final Long defaultValue) {
            final String value = systemProperties.getProperty(key);
            if (value != null) {
                try {
                    return Long.parseLong(value);
                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        /**
         * Retrieves a string value from system properties with a default fallback.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

         */
    
        public static long getLong(final String key, long def) {
            final String s = prp.getProperty(key);
            if (s != null) {
                try {
                    def = Long.parseLong(s);
                } catch (final NumberFormatException nfe) {
                    if (LogStream.level > 0) {
                        nfe.printStackTrace(log);
                    }
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            int securityMode = Integer.decode(securityModeHex);
            int capabilities = (int) Long.parseLong(capabilitiesHex.substring(2), 16);
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, 0, null);
            byte[] buffer = new byte[512];
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

      }
    
      /**
       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                            try {
                                if (Constants.MAPPING_TYPE_LONG.equalsIgnoreCase(mapping.getValue2())) {
                                    dataMap.put(mapping.getValue1(), Long.parseLong(values[0]));
                                } else if (Constants.MAPPING_TYPE_DOUBLE.equalsIgnoreCase(mapping.getValue2())) {
                                    dataMap.put(mapping.getValue1(), Double.parseDouble(values[0]));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String string, int radix) {
        checkNotNull(string);
        long result = Long.parseLong(string, radix);
        if ((result & INT_MASK) != result) {
          throw new NumberFormatException(
              "Input " + string + " in base " + radix + " is not in the range of an unsigned integer");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

                String key = entry.getKey();
                int lastUnderscore = key.lastIndexOf('_');
                if (lastUnderscore > 0) {
                    try {
                        long window = Long.parseLong(key.substring(lastUnderscore + 1));
                        return window < currentWindow - 2; // Keep current and previous window
                    } catch (NumberFormatException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         */
        private static class LongItem implements Item {
            private final long value;
    
            LongItem(String str) {
                this.value = Long.parseLong(str);
            }
    
            @Override
            public int getType() {
                return LONG_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return value == 0;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        void testServerInfo1GetTypeVariousTypes(String typeHex, int expectedType) throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = (int) Long.parseLong(typeHex.substring(2), 16);
            assertEquals(expectedType, server.getType());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getName")
        void testServerInfo1GetName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top