- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isExist (0.07 sec)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
} /** * @throws Exception */ public void testIsExist() throws Exception { assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties")); assertEquals("2", false, ResourceUtil.isExist("hoge")); } /** * @throws Exception */ public void testGetExtension() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
* The resource path. Must not be {@literal null} or empty string. * @return {@literal true} if the resource exists * @see #getResourceNoException(String) */ public static boolean isExist(final String path) { assertArgumentNotEmpty("path", path); return getResourceNoException(path) != null; } /** * Loads and returns a properties file from the context class loader.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
} final String dataPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + index + "/" + docType + ".bulk"); if (ResourceUtil.isExist(dataPath)) { insertBulkData(fessConfig, indexName, dataPath); } split(fessConfig.getAppExtensionNames(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(name -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
unsigned char is_list; // Length of the list if is_list is true. Undefined otherwise. int64_t list_size; // Type of elements of the list if is_list != 0. // Type of the single value stored in the attribute if is_list == 0. TF_AttrType type; // Total size the attribute value. // The units of total_size depend on is_list and type.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
final IndicesExistsResponse response = client.admin().indices().prepareExists(getSearchAlias(index)).execute().actionGet(suggestSettings.getIndicesTimeout()); if (!response.isExists()) { final String mappingSource = getDefaultMappings(); final String settingsSource = getDefaultIndexSettings(); final String indexName = createIndexName(index);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 20.7K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
for (final SuggestItem item : mergedItems) { final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30)); if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index); indexRequestBuilder.setId(item.getId())
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
log.trace("Using cached attributes (expires in {}ms)", this.attrExpiration - currentTime); return this.isExists; } // Fast path for already resolved existence with recent cache if (this.isExists && (currentTime - (this.attrExpiration - getContext().getConfig().getAttributeCacheTimeout())) < 5000) { log.trace("Using recent positive existence cache");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
boolean exists = false; try { final IndicesExistsResponse response = fesenClient.get(c -> c.admin().indices().prepareExists(index).execute()); exists = response.isExists(); } catch (final IndexNotFoundException e) { // ignore } if (!exists) { final CreateIndexResponse indexResponse = fesenClient.get(c -> {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0)