Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for parseLong (0.26 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 May 03 12:43:13 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K 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.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  6. 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;
        }
    
        protected String getDefaultString(final String key, final String defaultValue) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            if (props != null) {
                String rawVal = props.getProperty(key);
                if (rawVal != null) {
                    try {
                        return new Date(Long.parseLong(rawVal));
                    } catch (NumberFormatException e) {
                        getLogger().debug("Cannot parse lastUpdated date: '" + rawVal + "'. Ignoring.", e);
                    }
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K 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);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("role info is expired: {} > {}", time, maxAge);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                final List<EsAccessResult> arList) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final long maxDocumentRequestSize = Long.parseLong(fessConfig.getIndexerWebfsMaxDocumentRequestSize());
            for (final EsAccessResult accessResult : arList) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Indexing {}", accessResult.getUrl());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
Back to top