Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for parseZone (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/SpecialRandom.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.Long.parseLong;
    
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

        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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static java.lang.Long.parseLong;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

         * @return The setting value as a long.
         */
        public long getAsLong(final String key, final long defaultValue) {
            return getAs(key, defaultValue, Long::parseLong);
        }
    
        /**
         * Retrieves a setting value as a float.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                        return value;
                    }
    
                    @Override
                    public Long getTimeAdjustTimeMillisAsLong() {
                        return Long.parseLong(value);
                    }
                };
    
                FessTimeResourceProvider testProvider = new FessTimeResourceProvider(testConfig);
                assertNotNull(testProvider);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  7. 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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertTrue(instanceId.contains(":"), "instanceId should contain ':' separator for PID");
            final String pidPart = instanceId.substring(instanceId.lastIndexOf(':') + 1);
            assertTrue(Long.parseLong(pidPart) > 0, "PID should be a positive number");
        }
    
        @Test
        public void test_isEoled() {
            assertEquals(systemHelper.getCurrentTimeAsLong() > systemHelper.eolTime, systemHelper.isEoled());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            if (StringUtil.isBlank(value)) {
                value = ComponentUtil.getFessConfig().getSystemProperty(AAD_STATE_TTL, "3600");
            }
            return Long.parseLong(value);
        }
    
        /**
         * Gets the reply URL for Entra ID authentication.
         * Uses new entraid.reply.url key with fallback to legacy aad.reply.url.
         * @param request The HTTP servlet request.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

         *
         * @return the wait timeout in milliseconds
         */
        protected long getConcurrencyWaitTimeoutMs() {
            return Long.parseLong(ComponentUtil.getFessConfig().getOrDefault(getConfigPrefix() + ".concurrency.wait.timeout", "30000"));
        }
    
        /**
         * Executes a chat request with concurrency control via Semaphore.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top