Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for longValue (0.06 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            long q = BigInteger.probablePrime(bits, rand).longValue();
            assertFalse(LongMath.isPrime(p * q));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeThrowsOnNegative() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            if (!arList.isEmpty()) {
                final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue();
                for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) {
                    if (ar.getCreateTime().longValue() > execTime - commitMarginTime) {
                        arList.remove(ar);
                    }
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                }).collect(Collectors.joining(","));
                buf.append(json);
                buf.append('}');
            } else if (value instanceof Long || value instanceof Integer) {
                buf.append(((Number) value).longValue());
            } else if (value instanceof Number) {
                buf.append(((Number) value).doubleValue());
            } else {
                buf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        checkNotNull(updaterFunction);
        Long result =
            map.compute(
                key, (k, value) -> updaterFunction.applyAsLong(value == null ? 0L : value.longValue()));
        return requireNonNull(result);
      }
    
      /**
       * Updates the value currently associated with {@code key} with the specified function, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
                    long maxTime = timings.stream().mapToLong(Long::longValue).max().orElse(0L);
                    long minTime = timings.stream().mapToLong(Long::longValue).min().orElse(0L);
    
                    double variance = (maxTime - minTime) / avgTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

                    };
                    cache = CacheBuilder.newBuilder()
                            .maximumSize(fessConfig.getSuggestPopularWordCacheSizeAsInteger().longValue())
                            .expireAfterWrite(fessConfig.getSuggestPopularWordCacheExpireAsInteger().longValue(), TimeUnit.MINUTES)
                            .build();
                }
            };
            popularWordHelper.init();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        }
    
        protected long getSizeMax() {
            return ComponentUtil.getFessConfig().getHttpFileuploadMaxSizeAsInteger().longValue();
        }
    
        protected long getFileCountMax() {
            return ComponentUtil.getFessConfig().getHttpFileuploadMaxFileCountAsInteger().longValue();
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            searchLogList.stream().forEach(searchLog -> {
                if (searchLog.getHitCount() == null
                        || searchLog.getHitCount().longValue() < fessConfig.getSuggestMinHitCountAsInteger().longValue()) {
                    return;
                }
    
                final String sessionId;
                if (searchLog.getUserSessionId() != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            boolean isInBounds =
                expected.compareTo(MAX_LONG_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_LONG_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.longValue(), DoubleMath.roundToLong(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_maximumSize() {
        CacheBuilderSpec spec = parse("maximumSize=9000");
        assertNull(spec.initialCapacity);
        assertEquals(9000, spec.maximumSize.longValue());
        assertNull(spec.concurrencyLevel);
        assertNull(spec.keyStrength);
        assertNull(spec.valueStrength);
        assertNull(spec.writeExpirationTimeUnit);
        assertNull(spec.accessExpirationTimeUnit);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top