- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for isExist (0.52 seconds)
-
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.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
for (final String[] call : testClient.addMappingCalls) { assertNotNull(call); } // The loadBulkData=true path triggers getResourcePath + ResourceUtil.isExist checks. // In test environment resource files don't exist, so insertBulkData won't be called, // but the overall flow should still succeed. assertTrue(testClient.calledMethods.contains("addMapping"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
runner.refresh(); GetResponse getResponse = runner.client().prepareGet().setIndex(suggester.getIndex()).setId(item.getId()).get(TimeValue.timeValueSeconds(30)); assertTrue(getResponse.isExists()); } @Test public void test_writeItemsWithUpdate() throws Exception { String[][] readings = new String[1][]; readings[0] = new String[] { "test" };Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.3K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
import importlib import pytest from dirty_equals import IsList from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial005_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
return ret; } status->status = tensorflow::AttrTypeByName(*attr_types_, attr_name, &ret, is_list); return ret; } TF_AttrType TFE_OpNameGetAttrType(TFE_Context* ctx, const char* op_or_function_name, const char* attr_name, unsigned char* is_list, TF_Status* status) { TF_AttrType ret;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern TF_AttrType TFE_OpGetAttrType(TFE_Op* op, const char* attr_name, unsigned char* is_list, TF_Status* status); // Get an attribute type given an op name; a fusion of TFE_NewOp and // TFE_OpGetAttrType for use from Python without the overhead of the individual
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (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);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.6K bytes - Click Count (3) -
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 -> {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
try { final IndicesExistsResponse response = client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout()); if (!response.isExists()) { createAnalyzerSettings(loadIndexSettings(), loadIndexMapping()); } analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 24.4K bytes - Click Count (0)