- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 168 for toInstant (0.08 sec)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
map.put(FieldNames.DOC_FREQ, docFreq); map.put(FieldNames.USER_BOOST, userBoost); map.put(FieldNames.SCORE, (queryFreq + docFreq) * userBoost); map.put(FieldNames.TIMESTAMP, timestamp.toInstant().toEpochMilli()); return map; } /** * Parses a source map and returns a SuggestItem instance. * @param source The source map. * @return A SuggestItem instance. */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli())); boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
responseData.setCharSet(getCharset()); responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant())); responseData.setMimeType(statObject.contentType()); statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond())); if (contentLengthHelper != null) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17.9K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
*/ public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) { final long start = System.currentTimeMillis(); final String query = FieldNames.TIMESTAMP + ":[* TO " + threshold.toInstant().toEpochMilli() + "] NOT " + FieldNames.KINDS + ':' + SuggestItem.Kind.USER; deleteByQuery(query); return new SuggestDeleteResponse(null, System.currentTimeMillis() - start); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
} public void test_getCurrentTimeAsLocalDateTime() { final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
void testDaclSecurityInfo() { assertEquals(0x4, SecurityInfo.DACL_SECURITY_INFO); } @Test @DisplayName("Test SACL_SECURITY_INFO constant value") void testSaclSecurityInfo() { assertEquals(0x8, SecurityInfo.SACL_SECURITY_INFO); } @Test @DisplayName("Test LABEL_SECURITY_INFO constant value") void testLabelSecurityInfo() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
void testDcerpcFaultInvalidTag() { assertEquals(0x1C000006, DcerpcError.DCERPC_FAULT_INVALID_TAG); } @Test @DisplayName("Should verify DCERPC_FAULT_CONTEXT_MISMATCH constant value") void testDcerpcFaultContextMismatch() { assertEquals(0x1C00001A, DcerpcError.DCERPC_FAULT_CONTEXT_MISMATCH); } @Test @DisplayName("Should verify DCERPC_FAULT_OP_RNG_ERROR constant value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
/** * File end-of-file information class constant. */ byte FILE_ENDOFFILE_INFO = 20; /** * File basic information class constant. */ byte FILE_BASIC_INFO = 0x4; /** * File standard information class constant. */ byte FILE_STANDARD_INFO = 0x5; /** * File internal information class constant. */ byte FILE_INTERNAL_INFO = 0x6; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0)