- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 203 for setTime (0.1 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
} } public int getCount(final Consumer<SearchRequestBuilder> callback) { final TotalHits totalHits = getClient().get(c -> { final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true); callback.accept(builder); return builder.execute(); }).getHits().getTotalHits(); return totalHits != null ? (int) totalHits.value : 0; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07")); } /** * @throws Exception
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
switch( enc ) { case TIME_1970_SEC_32BE: return enc_uint32be( (int)(date.getTime() / 1000L), dst, di ); case TIME_1970_SEC_32LE: return enc_uint32le( (int)(date.getTime() / 1000L), dst, di ); case TIME_1904_SEC_32BE: return enc_uint32be( (int)((date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970) & 0xFFFFFFFF), dst, di );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 10.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
/** {@inheritDoc} */ public boolean hasClassifier() { return artifact.hasClassifier(); } /** {@inheritDoc} */ public void setFile(File destination) { artifact.setFile(destination); project.getArtifact().setFile(destination); } /** {@inheritDoc} */ public String getBaseVersion() { return artifact.getBaseVersion(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
switch ( enc ) { case TIME_1970_SEC_32BE: return enc_uint32be((int) ( date.getTime() / 1000L ), dst, di); case TIME_1970_SEC_32LE: return enc_uint32le((int) ( date.getTime() / 1000L ), dst, di); case TIME_1904_SEC_32BE: return enc_uint32be((int) ( ( date.getTime() / 1000L + SEC_BETWEEEN_1904_AND_1970 ) & 0xFFFFFFFF ), dst, di); case TIME_1904_SEC_32LE:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
syspropActivated.setId("syspropActivated"); Activation syspropActivation = new Activation(); ActivationProperty syspropProperty = new ActivationProperty(); syspropProperty.setName("java.version"); syspropActivation.setProperty(syspropProperty); syspropActivated.setActivation(syspropActivation); Profile defaultActivated = new Profile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
} public PopularWordsRequestBuilder setIndex(final String index) { request.setIndex(index); return this; } public PopularWordsRequestBuilder setSize(final int size) { request.setSize(size); return this; } public PopularWordsRequestBuilder addTag(final String tag) { request.addTag(tag); return this; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java
throw new SkipThisScenarioException(); } Random rng = new Random(); for (int i = 0; i < 0x1000; i++) { double setSize = rng.nextDouble(); if (setSize < emptySetProportion) { sets[i] = ImmutableSet.of(); } else if (setSize < emptySetProportion + singletonSetProportion) { sets[i] = ImmutableSet.of(PRESENT); } else { sets[i] = ImmutableSet.of(PRESENT, new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
} if (responseData.getLastModified() == null) { return true; } if (responseData.getLastModified().getTime() <= lastModified.getTime() && httpStatusCode == 200) { log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0)