- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,410 for data1 (0.47 sec)
-
tests/callbacks_test.go
err = e } } if len(data.err) > 0 && err == nil { t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err) } else if len(data.err) == 0 && err != nil { t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err) } if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok { t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
callbacks/preload.go
fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem) } datas, ok := identityMap[utils.ToStringKey(fieldValues...)] if !ok { return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface()) } for _, data := range datas { reflectFieldValue := rel.Field.ReflectValueOf(tx.Statement.Context, data) if reflectFieldValue.Kind() == reflect.Ptr && reflectFieldValue.IsNil() {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 11.7K bytes - Viewed (0) -
tests/create_test.go
} } func TestCreateEmptySlice(t *testing.T) { data := []User{} if err := DB.Create(&data).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } sliceMap := []map[string]interface{}{} if err := DB.Model(&User{}).Create(&sliceMap).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
data.setSessionId("session123"); data.setRuleId("rule456"); data.setMimeType("text/html"); data.setCharSet("UTF-8"); data.setContentLength(2048L); data.setExecutionTime(500L); data.setStatus(Constants.OK_STATUS); data.setNoFollow(false); byte[] content = "HTML content".getBytes(StandardCharsets.UTF_8);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
data.setContent(newContent); assertEquals(newContent, data.getContent()); data.setContent(null); assertNull(data.getContent()); } public void test_putValue() { // Test putValue method ExtractData data = new ExtractData(); data.putValue("title", "Test Title"); data.putValue("author", "John Doe"); String[] titleValues = data.getValues("title");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
schema/field.go
switch data := v.(type) { case **int64: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetInt(**data) } case **int: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetInt(int64(**data)) } case **int8: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetInt(int64(**data))Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 32.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Compresses data using the specified algorithm. * * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
tests/serializer_test.go
} data := SerializerStruct{} if err := DB.Create(&data).Error; err != nil { t.Fatalf("failed to create data, got error %v", err) } var result SerializerStruct if err := DB.First(&result, data.ID).Error; err != nil { t.Fatalf("failed to query data, got error %v", err) } AssertEqual(t, result, data)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue(); // write little-endian data[0] = (byte) (low); data[1] = (byte) (low >> 8); data[2] = (byte) (low >> 16); data[3] = (byte) (low >> 24); data[4] = (byte) (high); data[5] = (byte) (high >> 8);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
tests/test_schema_extra_examples.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 32.2K bytes - Viewed (0)