- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 2,147 for only2 (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
} private static Set<Feature<?>> computeKeySetFeatures(Set<Feature<?>> mapFeatures) { Set<Feature<?>> keySetFeatures = computeCommonDerivedCollectionFeatures(mapFeatures); // TODO(lowasser): make this trigger only if the map is a submap // currently, the KeySetGenerator won't work properly for a subset of a keyset of a submap keySetFeatures.add(CollectionFeature.SUBSET_VIEW);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
Key<?> keyType = key.getTypeParameter(0); Key<Object> valueType = key.getTypeParameter(1); if (keyType.getRawType() != String.class) { throw new DIException("Only String keys are supported for maps: " + key); } return () -> { var comparator = getBindingComparator(); Map<String, Binding<?>> map = new HashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testAddNullEqualObject() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, (Object[]) null)); } /** * Test adding objects only by addEqualityGroup, with no reference object specified in the * constructor. */ public void testAddEqualObjectWithOArgConstructor() { equalsTester.addEqualityGroup(equalObject1, notEqualObject1); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * }</pre> * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. * * @author mike nonemacher * @author Martin Buchholz * @since 11.0 */ @GwtIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
verifyTableSize(100, 2, 4); verifyTableSize(100, 5, 8); verifyTableSize(100, 33, 64); verifyTableSize(60, 60, 128); verifyTableSize(120, 60, 256); // if the table is only double the necessary size, we don't bother resizing it verifyTableSize(180, 60, 128); // but if it's even bigger than double, we rebuild the table verifyTableSize(17, 17, 32); verifyTableSize(17, 16, 32);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
throttleBytesPerPeriod = bytesPerPeriod throttlePeriodNanos = unit.toNanos(period) } /** * Set the delayed time of the response body to [delay]. This applies to the response body * only; response headers are not affected. */ fun bodyDelay( delay: Long, unit: TimeUnit, ) = apply { bodyDelayNanos = unit.toNanos(delay) } fun headersDelay(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
* the key would be inserted into the list: the index of the next higher element in the list, or * {@code list.size()} if there is no such element. * * <p>Note that the return value will be {@code >= 0} if and only if there is an element of the * list that compares as equal to the key. * * <p>This is equivalent to the behavior of {@link java.util.Collections#binarySearch(List,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
docs/en/docs/fastapi-people.md
## Top Translation Reviewers These users are the **Top Translation Reviewers**. 🕵️
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
We can do better... ## What makes a dependency Up to now you have seen dependencies declared as functions. But that's not the only way to declare dependencies (although it would probably be the more common). The key factor is that a dependency should be a "callable". A "**callable**" in Python is anything that Python can "call" like a function.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
response = client.put( "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 403, response.text assert response.json() == {"detail": "You can only update the item: plumbus"} @needs_py39 def test_admin(client: TestClient): response = client.post( "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"} )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0)