- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,523 for Create (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
tester.testAllPublicStaticMethods(AtomicLongMap.class); AtomicLongMap<Object> map = AtomicLongMap.create(); tester.testAllPublicInstanceMethods(map); } public void testCreate_map() { Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L); AtomicLongMap<String> map = AtomicLongMap.create(in); assertFalse(map.isEmpty()); assertEquals(3, map.size()); assertTrue(map.containsKey("1"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
new TestStringSetMultimapGenerator() { @Override protected SetMultimap<String, String> create(Entry<String, String>[] entries) { SetMultimap<String, String> multimap = LinkedHashMultimap.create(); for (Entry<String, String> entry : entries) { multimap.put(entry.getKey(), entry.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
// share access specified in SmbFile // create disposition /* Creates a new file or supersedes the existing one */ static final int FILE_SUPERSEDE = 0x0; /* Open the file or fail if it does not exist * aka OPEN_EXISTING */ static final int FILE_OPEN = 0x1; /* Create the file or fail if it does not exist * aka CREATE_NEW */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.6K bytes - Viewed (0) -
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)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
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-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
} @Override public T create(Object... elements) { UnhashableObject[] array = createArray(elements.length); int i = 0; for (Object e : elements) { array[i++] = (UnhashableObject) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K 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) -
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
public void testCreateWithNegativeSize() throws Exception { assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1)); } public void testCreateWithZeroSize() throws Exception { EvictingQueue<String> queue = EvictingQueue.create(0); assertEquals(0, queue.size()); assertTrue(queue.add("hi")); assertEquals(0, queue.size()); assertTrue(queue.offer("hi"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.6K 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)