- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,295 for FIELD (0.04 seconds)
-
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
existingList.add("existing"); fieldLogMap.put("field", existingList); getMockRequest().setAttribute(Constants.FIELD_LOGS, fieldLogMap); queryContext = new QueryContext("test", true); queryContext.addFieldLog("field", "new"); List<String> list = fieldLogMap.get("field"); assertEquals(2, list.size()); assertEquals("existing", list.get(0));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
/** * Set a field with the specified date. If the field is not found, it is added. If the field is * found, the existing values are replaced. */ operator fun set( name: String, value: Date, ) = set(name, value.toHttpDateString()) /** * Set a field with the specified instant. If the field is not found, it is added. If the fieldCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
tests/test_compat.py
from fastapi._compat import v2 field_info = FieldInfo(annotation=list[str] | None) field = v2.ModelField(name="items", field_info=field_info) result = v2.serialize_sequence_value(field=field, value=["a", "b", "c"]) assert result == ["a", "b", "c"] assert isinstance(result, list) def test_serialize_sequence_value_with_optional_list_pipe_union():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-fields.md
# ボディ - フィールド { #body-fields } `Query`や`Path`、`Body`を使って *path operation関数* のパラメータに追加のバリデーションやメタデータを宣言するのと同じように、Pydanticの`Field`を使ってPydanticモデルの内部でバリデーションやメタデータを宣言することができます。 ## `Field`のインポート { #import-field } まず、以下のようにインポートします: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *} /// warning | 注意 `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 16:44:21 GMT 2026 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized Field recordNameField = NameServicePacket.class.getDeclaredField("recordName"); recordNameField.setAccessible(true); // Allow access to protected field Name recordName = (Name) recordNameField.get(nameQueryResponse);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
try { Field fileInfoClassField = Smb2QueryInfoRequest.class.getDeclaredField("fileInfoClass"); fileInfoClassField.setAccessible(true); byte actualFileInfoClass = (byte) fileInfoClassField.get(request); assertEquals(testFileInfoClass, actualFileInfoClass); Field infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java
/** * Gets the location of the specified field in the input * source. * * @param field The key of the field, must not be * <code>null</code>. * @return The location of the field in the input source or * <code>null</code> if unknown. */ public InputLocation getLocation(Object field); /** * Sets the location of the specified field. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/BeanFieldSetAccessibleFailureException.java
import java.lang.reflect.Field; /** * Signals that a field could not be made accessible. */ public class BeanFieldSetAccessibleFailureException extends ClRuntimeException { private static final long serialVersionUID = 1L; /** * The target class. */ protected final Class<?> targetClass; /** * The target field. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} @Override public Field getField() { return field; } /** * Sets the public field recognized as a property. * * @param field * The public field recognized as a property. */ public void setField(final Field field) { this.field = field; if (field != null && ModifierUtil.isPublic(field)) { readable = true;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
migrator.go
// Columns AddColumn(dst interface{}, field string) error DropColumn(dst interface{}, field string) error AlterColumn(dst interface{}, field string) error MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error // MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn. MigrateColumnUnique(dst interface{}, field *schema.Field, columnType ColumnType) error
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (0)