Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for parseLong (0.13 sec)

  1. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            } else if (o instanceof String) {
                return toPrimitiveLong((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Long.parseLong(new SimpleDateFormat(pattern).format(o));
                }
                return ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? 1 : 0;
            } else {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            final List<String> fields = SuggestUtil.getAsList(source.get(FieldNames.FIELDS));
            final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString());
            final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString());
            final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            if (commandTimeoutStr != null) {
                commandTimeout = Long.parseLong(commandTimeoutStr);
            }
            final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout");
            if (commandDestroyTimeoutStr != null) {
                commandDestroyTimeout = Long.parseLong(commandDestroyTimeoutStr);
            }
        }
    
        @Override
        public void destroy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SpecialRandom.java

     *
     * @author Nicholaus Shupe
     */
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
      }
    
      public SpecialRandom(long seed) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
            if ( tmp.startsWith("0x") )
                id = Long.parseLong(tmp.substring(2), 16);
            else
                id = Long.parseLong(tmp);
    
            this.identifier_authority = new byte[6];
            for ( int i = 5; id > 0; i-- ) {
                this.identifier_authority[ i ] = (byte) ( id % 256 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                    clickLog.setUrl(url);
                    clickLog.setRequestedAt(systemHelper.getCurrentTimeAsLocalDateTime());
                    clickLog.setQueryRequestedAt(DfTypeUtil.toLocalDateTime(Long.parseLong(form.rt)));
                    clickLog.setUserSessionId(userSessionId);
                    clickLog.setDocId(form.docId);
                    clickLog.setQueryId(form.queryId);
                    if (form.order != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TestLocking.java

                    ai++;
                    t.numIter = Integer.parseInt(args[ai]);
                } else if (args[ai].equals("-d")) {
                    ai++;
                    t.delay = Long.parseLong(args[ai]);
                } else {
                    t.url = args[ai];
                }
            }
    
            Thread[] threads = new Thread[t.numThreads];
            int ti;
    
            for (ti = 0; ti < t.numThreads; ti++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
      public static long parseUnsignedLong(String string) {
        return parseUnsignedLong(string, 10);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            // for performance, check digits instead of relying later on catching NumberFormatException
            if (!isDigits(s)) {
                return null;
            }
    
            try {
                long longValue = Long.parseLong(s);
                if (longValue > Integer.MAX_VALUE) {
                    return null;
                }
                return (int) longValue;
            } catch (NumberFormatException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top