- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,396 for create (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
return emptySet(); } public Test testsForEmptyList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return emptyList(); } }) .named("emptyList") .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
tests/hooks_test.go
t.Fatalf("An error from before create callbacks happened when create with invalid value") } if DB.Where("code = ?", "Invalid").First(&Product{}).Error == nil { t.Fatalf("Should not save record that have errors") } if DB.Save(&Product{Code: "dont_save", Price: 100}).Error == nil { t.Fatalf("An error from after create callbacks happened when create with invalid value") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
public final class LinkedHashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> { /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create() { return new LinkedHashMultiset<>(); } /** * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct * elements. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
protected Table<String, Integer, Character> create(@Nullable Object... data) { Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> table = transpose(original); table.clear(); populate(table, data); return table; } public void testTransposeTransposed() { Table<Integer, String, Character> original = HashBasedTable.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public static class ImmutableListOfGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { return ImmutableList.copyOf(elements); } } public static class BuilderAddListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
helm-releases/minio-5.0.2.tgz
uptions/ ## podDisruptionBudget: enabled: false maxUnavailable: 1 ## Specify the service account to use for the MinIO pods. If 'create' is set to 'false' ## and 'name' is left unspecified, the account 'default' will be used. serviceAccount: create: true ## The name of the service account to use. If 'create' is 'true', a service account with that name ## will be created. name: "minio-sa" metrics: serviceMonitor: enabled: false # scrape each node/pod individually for additional metrics includeNode:...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Dec 18 07:57:10 UTC 2022 - 20.4K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt
private val moshiConverterFactory = MoshiConverterFactory.create(moshi) private val retrofit = Retrofit.Builder() .baseUrl(SslLabsApi.BASE_URL) .addConverterFactory(moshiConverterFactory) .callFactory(callFactory) .build() private val sslLabsApi = retrofit.create(SslLabsApi::class.java) suspend fun clients(): List<Client> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/associations_test.go
orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}} if err := DB.Create(&orders).Error; err != nil { t.Errorf("failed to create orders, got %v", err) } coupon2 := Coupon{ AppliesToProduct: []*CouponProduct{{Desc: "coupon-description"}}, } DB.Session(&gorm.Session{FullSaveAssociations: true}).Create(&coupon2) var result Coupon
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
tests/prepared_stmt_test.go
t.Fatalf("no error should happen but got %v", err) } user2 := *GetUser("prepared_stmt2", Config{}) if err := txCtx.Create(&user2).Error; err == nil { t.Fatalf("should failed to create with timeout context") } if err := tx.Create(&user2).Error; err != nil { t.Fatalf("failed to create, got error %v", err) } var result3 User if err := tx.Find(&result3, user2.ID).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.7K bytes - Viewed (0)