Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for longValue (0.14 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                if (timeToLive != null) {
                    // timeToLive minutes
                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                    return new Date(now + timeToLive.longValue() * 1000 * 60);
                }
            }
            return documentExpires != null ? new Date(documentExpires) : null;
        }
    
        protected long getExpiredTime(final int days) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    if (seqNo != null) {
                        builder.setIfSeqNo(seqNo.longValue());
                    }
                    if (primaryTerm != null) {
                        builder.setIfPrimaryTerm(primaryTerm.longValue());
                    }
                    response = builder.execute().actionGet(fessConfig.getIndexIndexTimeout());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashCodeTest.java

        if (expectedHashCode.asLong == null) {
          try {
            hash.asLong();
            fail();
          } catch (IllegalStateException expected) {
          }
        } else {
          assertEquals(expectedHashCode.asLong.longValue(), hash.asLong());
        }
        assertEquals(expectedHashCode.toString, hash.toString());
        assertSideEffectFree(hash);
        assertReadableBytes(hash);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                return (T) Integer.valueOf(value.intValue());
            }
            if (clazz.equals(Long.class)) {
                final Number value = (Number) field;
                return (T) Long.valueOf(value.longValue());
            }
            return (T) field;
        }
    
        @Override
        public void iterate(final String sessionId, final AccessResultCallback<OpenSearchAccessResult> callback) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

            1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
    
        bytes = "test test test".getBytes(UTF_8);
        assertEquals(
            UnsignedLong.valueOf("12313169684067793560").longValue(),
            Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
        // Expected data is 0x0100010100000000
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            }
            final Long seqNo = esEntity.asDocMeta().seqNo();
            if (seqNo != null && seqNo.longValue() != SequenceNumbers.UNASSIGNED_SEQ_NO) {
                esEntity.asDocMeta().seqNo(seqNo);
            }
            final Long primaryTerm = esEntity.asDocMeta().primaryTerm();
            if (primaryTerm != null && primaryTerm.longValue() != SequenceNumbers.UNASSIGNED_PRIMARY_TERM) {
                esEntity.asDocMeta().primaryTerm(primaryTerm);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            }
            final Long seqNo = esEntity.asDocMeta().seqNo();
            if (seqNo != null && seqNo.longValue() != SequenceNumbers.UNASSIGNED_SEQ_NO) {
                esEntity.asDocMeta().seqNo(seqNo);
            }
            final Long primaryTerm = esEntity.asDocMeta().primaryTerm();
            if (primaryTerm != null && primaryTerm.longValue() != SequenceNumbers.UNASSIGNED_PRIMARY_TERM) {
                esEntity.asDocMeta().primaryTerm(primaryTerm);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            sb.append(input);
            if (input.indexOf('?') == -1) {
                try {
                    final Long value = resourceHashCache.get(input);
                    if (value.longValue() > 0) {
                        sb.append("?t=").append(value.toString());
                    }
                } catch (final ExecutionException e) {
                    logger.debug("Failed to access {}", input, e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top