Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for parseLong (0.2 sec)

  1. guava/src/com/google/common/cache/CacheBuilderSpec.java

        protected abstract void parseLong(CacheBuilderSpec spec, long value);
    
        @Override
        public void parse(CacheBuilderSpec spec, String key, @Nullable String value) {
          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseLong(spec, Long.parseLong(value));
          } catch (NumberFormatException e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        protected abstract void parseLong(CacheBuilderSpec spec, long value);
    
        @Override
        public void parse(CacheBuilderSpec spec, String key, @Nullable String value) {
          if (isNullOrEmpty(value)) {
            throw new IllegalArgumentException("value of key " + key + " omitted");
          }
          try {
            parseLong(spec, Long.parseLong(value));
          } catch (NumberFormatException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  3. 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 );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. 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 {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. 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) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  6. android/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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K 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++) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/FacetInfo.java

                size = fessConfig.getQueryFacetFieldsSizeAsInteger();
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsMinDocCount())) {
                minDocCount = Long.parseLong(fessConfig.getQueryFacetFieldsMinDocCount());
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSort())) {
                sort = fessConfig.getQueryFacetFieldsSort();
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.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());
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/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);
                id >>= 8;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top