- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for existence (0.38 seconds)
-
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* * - if Unsafe is removed entirely from JDKs (or already absent in some unusual environment * today). TODO: b/392974826 - Check for the existence of Unsafe and its methods * reflectively before attempting to access UnsafeComparator. Or, better yet, allow * UnsafeComparator to still initialize correctly even if Unsafe is unavailable. This wouldCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
docs/es/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *} ### Uso del parámetro `update` de Pydantic { #using-pydantics-update-parameter } Ahora, puedes crear una copia del modelo existente usando `.model_copy()`, y pasar el parámetro `update` con un `dict` que contenga los datos a actualizar. Como `stored_item_model.model_copy(update=update_data)`: {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *} ### Usando o parâmetro `update` do Pydantic { #using-pydantics-update-parameter } Agora, você pode criar uma cópia do modelo existente usando `.model_copy()`, e passar o parâmetro `update` com um `dict` contendo os dados para atualizar. Como `stored_item_model.model_copy(update=update_data)`: {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java
testDelete(); } @Test void testStartJob_notFound() { // Try to start a non-existent job checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/start").then().body("response.status", equalTo(1)); } @Test void testStopJob_notFound() { // Try to stop a non-existent job checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/stop").then().body("response.status", equalTo(1));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
public void test_get_nullProperty() { // Test getting non-existent property try { fessConfig.get("non.existent.property"); fail("Should throw exception for non-existent property"); } catch (ConfigPropertyNotFoundException e) { // Expected exception assertTrue(e.getMessage().contains("non.existent.property")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
} }; try { emptyEnv.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertTrue(e.getMessage().contains("non.existent.property")); } try { emptyEnv.is("non.existent.boolean"); fail("Should throw ConfigPropertyNotFoundException");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
"Status code should be 200, 400 or 500, but was " + statusCode); } @Test void testDownload_notFound() { // Try to download a non-existent file Response response = given().header("Authorization", getTestToken()).when().get(getApiPath() + "/download/nonexistent_file_12345.txt"); int statusCode = response.getStatusCode();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null); assertEquals(1, cmdList.size()); assertEquals("-Dnon.existent.property=default.value", cmdList.get(0)); // Test with property that doesn't exist and no default value cmdList.clear(); execJob.testAddSystemProperty(cmdList, "another.non.existent", null, null); assertEquals(0, cmdList.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
} } // Test getScriptEngine with non-existent name @Test public void test_getScriptEngine_nonExistentName() { try { scriptEngineFactory.getScriptEngine("nonexistent"); fail("Should throw ScriptEngineException for non-existent engine"); } catch (ScriptEngineException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key @Test public void test_getNonExistentKey() { assertNull(dataStoreParams.get("nonexistent")); } // Test getAsString with String value @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0)