- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 2,362 for treats (0.41 sec)
-
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); assertEquals(3, multimap.expectedValuesPerKey); } public void testCreateFromArrayListMultimap() { ArrayListMultimap<String, Integer> original = ArrayListMultimap.create(15, 20); ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
tests/error_translator_test.go
} city := City{Name: "Amsterdam"} err = db.Create(&city).Error if err != nil { t.Fatalf("failed to create city: %v", err) } err = db.Create(&Museum{Name: "Eye Filmmuseum", CityID: city.ID}).Error if err != nil { t.Fatalf("failed to create museum: %v", err) } err = db.Create(&Museum{Name: "Dungeon", CityID: 123}).Error if !errors.Is(err, gorm.ErrForeignKeyViolated) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 12 13:21:22 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); bimap = EnumHashBiMap.create(emptyBimap); assertTrue(bimap.isEmpty()); /* Map can be empty if it's an EnumBiMap. */ Map<Currency, Country> emptyBimap2 = EnumBiMap.create(Currency.class, Country.class); EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2); assertTrue(bimap2.isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/object-handlers_test.go
if err != nil { // Failed to create NewMultipartUpload, abort. t.Fatalf("MinIO %s : <ERROR> %s", instanceType, err) } uploadIDs = append(uploadIDs, res.UploadID) } // Parts with size greater than 5 MiB. // Generating a 6 MiB byte array. validPart := bytes.Repeat([]byte("abcdef"), 1*humanize.MiByte) validPartMD5 := getMD5Hash(validPart) // Create multipart parts.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
} public void testRemainingCapacity_maxSize0() { EvictingQueue<String> queue = EvictingQueue.create(0); assertEquals(0, queue.remainingCapacity()); } public void testRemainingCapacity_maxSize1() { EvictingQueue<String> queue = EvictingQueue.create(1); assertEquals(1, queue.remainingCapacity()); queue.add("hi"); assertEquals(0, queue.remainingCapacity()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} } fun initReaderAndWriter( name: String, streams: Streams, ) { val extensions = this.extensions!! synchronized(this) { this.name = name this.streams = streams this.writer = WebSocketWriter( isClient = streams.client, sink = streams.sink, random = random, perMessageDeflate = extensions.perMessageDeflate,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
return suite; } protected SetMultimap<String, Integer> create() { return TreeMultimap.create(); } /** Create and populate a {@code TreeMultimap} with the natural ordering of keys and values. */ private TreeMultimap<String, Integer> createPopulate() { TreeMultimap<String, Integer> multimap = TreeMultimap.create(); multimap.put("google", 2); multimap.put("google", 6);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
src/main/assemblies/extension/kibana/README.md
1. Go to kibana home [http://localhost:5601/](http://localhost:5601/). 1. Click **Management**. 1. Click **Index Patterns**. 1. Click **Create index pattern** button 1. Input "fess\_log\*" to the textbox of **index pattern**. 1. Click **Next step**. 1. Set "requestedAt" to the **Time Filter field name**. 1. Click **Create index pattern**. 1. Click **Saved Objects**. 1. Click **Import** and select "fess\_log.ndjson" to import example settings.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Aug 12 01:26:21 UTC 2019 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
/// ```Python hl_lines="10" {!> ../../docs_src/security/tutorial001.py!} ``` //// But that is still not that useful. Let's make it give us the current user. ## Create a user model First, let's create a Pydantic user model. The same way we use Pydantic to declare bodies, we can use it anywhere else: //// tab | Python 3.10+ ```Python hl_lines="5 12-16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
public void testPutAllIntoEmpty() { Multimap<K, V> target = getSubjectGenerator().create(); assertEquals(!multimap().isEmpty(), target.putAll(multimap())); assertEquals(multimap(), target); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll() { Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), v3()), mapEntry(k3(), v3())); assertTrue(multimap().putAll(source));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4K bytes - Viewed (0)