- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 2,093 for Create (0.04 seconds)
-
docs/en/docs/tutorial/middleware.md
/// ## Create a middleware { #create-a-middleware } To create a middleware you use the decorator `@app.middleware("http")` on top of a function. The middleware function receives: * The `request`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
cmd/sts-handlers_test.go
defer cancel() // Create project buckets buckets := []string{"projecta", "projectb", "projectaorb", "other"} for _, bucket := range buckets { err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{}) if err != nil { c.Fatalf("bucket create error: %v", err) } } // Create policies for polName, polContent := range policyProjectsMap {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
tests/associations_has_many_test.go
import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestHasManyAssociation(t *testing.T) { user := *GetUser("hasmany", Config{Pets: 2}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Pets").Find(&user2.Pets)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
UnsupportedOperationException.class, () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3())))); } @MapFeature.Require(SUPPORTS_PUT) // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
UnsupportedOperationException.class, () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3())))); } @MapFeature.Require(SUPPORTS_PUT) // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15)); assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(20, -15)); } public void testEmptyMultimapsEqual() { Multimap<String, Integer> setMultimap = HashMultimap.create(); Multimap<String, Integer> listMultimap = ArrayListMultimap.create(); assertTrue(setMultimap.equals(listMultimap));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15)); assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(20, -15)); } public void testEmptyMultimapsEqual() { Multimap<String, Integer> setMultimap = HashMultimap.create(); Multimap<String, Integer> listMultimap = ArrayListMultimap.create(); assertTrue(setMultimap.equals(listMultimap));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
.github/workflows/update-jdks.yml
sed -n '/^version:/,$p' .teamcity/jdks.yaml >> .teamcity/jdks.yaml.tmp mv .teamcity/jdks.yaml.tmp .teamcity/jdks.yaml - name: Create Pull Request id: create-pull-request uses: peter-evans/create-pull-request@v8 with: signoff: true sign-commits: true commit-message: "Update jdks.yaml" add-paths: .teamcity/jdks.yaml
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 22:14:16 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
} @Override public List<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
suite.addTest( QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override protected Queue<String> create(String[] elements) { return MinMaxPriorityQueue.create(asList(elements)); } }) .named("MinMaxPriorityQueue") .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.1K bytes - Click Count (0)