- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for int_field (0.24 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
document.put("string_field", "value1"); document.put("string_array_field", new String[] { "value2", "value3" }); document.put("list_field", java.util.Arrays.asList("value4", "value5")); document.put("int_field", 123); String[] stringValues = defaultContentsParser.getFieldValues(document, "string_field"); assertEquals(1, stringValues.length);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 12.1K bytes - Click Count (0) -
tests/scan_test.go
DB.Save(&User{}) rows, err := DB.Table("users"). Select(` NULL AS bool_field, NULL AS int_field, NULL AS int8_field, NULL AS int16_field, NULL AS int32_field, NULL AS int64_field, NULL AS uint_field, NULL AS uint8_field, NULL AS uint16_field, NULL AS uint32_field, NULL AS uint64_field, NULL AS float32_field, NULL AS float64_field,
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
import org.junit.Test; /** * @author y-komori * */ public class FieldUtilTest { /** */ public Object objectField; /** */ public int intField; /** */ public String stringField; /** */ public static final int INT_DATA = 987654321; /** */ public static final String STRING_DATA = "Hello World!"; /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.1K bytes - Click Count (0) -
tests/test_datetime_custom_encoder.py
class ModelWithDatetimeField(BaseModel): dt_field: datetime @field_serializer("dt_field") def serialize_datetime(self, dt_field: datetime): return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat() app = FastAPI() model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8)) @app.get("/model", response_model=ModelWithDatetimeField)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 817 bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
assertEquals(buffer.length, bytesRead); // Access private field 'info' java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info"); infoField.setAccessible(true); Info info = (Info) infoField.get(trans); assertNotNull(info); assertEquals(attributes, info.getAttributes()); assertEquals(create, info.getCreateTime());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
pass class MyDict(TypedDict): dt_field: safe_datetime instance = MyDict(dt_field=safe_datetime.now()) encoded_instance = jsonable_encoder( instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")} ) assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S") encoded_instance = jsonable_encoder(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
info502.sd_size = securityDescriptorBytes.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Test getSecurity - with no DACL, it should return null ACE[] result = msrpcShareGetInfo.getSecurity();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo1, shareInfo2 }; // Inject the ShareInfoCtr1 using reflection Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareEnum, shareInfoCtr1); // Test getEntries method FileEntry[] entries = msrpcShareEnum.getEntries(); assertNotNull(entries);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
assertEquals("0", list.get(0).get(ID_FIELD)); assertEquals("9", list.get(1).get(ID_FIELD)); assertEquals("1", list.get(2).get(ID_FIELD)); assertEquals("8", list.get(3).get(ID_FIELD)); assertEquals("2", list.get(4).get(ID_FIELD)); assertEquals("7", list.get(5).get(ID_FIELD)); assertEquals("3", list.get(6).get(ID_FIELD));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java
* Tests exception handling improvements including InterruptedException and ExecutionException. */ public class RankFusionProcessorErrorHandlingTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test handling of searcher that throws RuntimeException. */ @Test public void test_searcherThrowsRuntimeException() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.3K bytes - Click Count (0)